Basavaraju KM
MrPLC Member-
Content count
2 -
Joined
-
Last visited
Posts posted by Basavaraju KM
-
-
On 8/9/2015 at 3:06 PM, Inntele said:As well known, FX3U-serie in its instruction list has a special instruction FNC188 for Modbus CRC16 calculation, while lower models doesn't have. The library, developed by me, allow to realize the same function in any lower model of PLC, e.g. FX1S, occupying a minimum of program memory, system variables, processing time. In contrast to libraries of other developers, the algorithm of CRC calculation is original and specially sharpened to meet PLC computing capabilities. It does not use traditional methods like rotary shift in FOR-NEXT loop or pre-calculated CRC table, but achieves the same result just using a simple sequence of basic instructions. Below you can see the results for GX IEC Developer (ver.7.03 of compiler): Program memory: FX1S, FX1N, FX2N - 130 steps for entire project + 20 steps for each FB instance FX3S, FX3G - 105 steps for entire project + 20 steps for each FB instance System variables: D - 1 word; Z - 1 word, M - 33 bits, P - 1 label (for entire project) A processing time for different PLCs can be calculated by following formula: T = T1 + T2*nn, where the 'nn' is a quantity of bytes in array, which should be processed into CRC. Thus, for example, with FX3S PLC a processing time to calculate CRC for 124-bytes array will be equal to 9,59 + 20,56*124 = 2559,03 [usec] = 2,56 [ms]. The FB_CRC operates in 16- or 8-bit mode, according to a state of M8161 special flag: 16-bit at M8161=OFF 8-bit at M8161=ON
Hello,
I am using FX3G-PLC with and wrongly selected FX3G-485 BD for modbus connection with meter but finally I realized that modbus communication is not possible with this module.
I am trying to do with RS instruction I need to caluclate CRC for the same I saw you have developed a code for the same kindly help me calculate CRC.
I am using GXworks 2 software Ladder logic and my project is almost completed.
GX Works3 Projectlib Locked
in Mitsubishi
Posted
Hi,
I am getting the above error. I am not able to open my GX works 3 file its read protected I know the pass word but I am not getting option to authonticate.Attached screen shots for your reference please help me to open.When I click for file password communication error is popping up . The project is copied from old to PC to Hard disk and hard disk back to my new PC is it something related to that.