CRC required for Modbus slave request

bluffit

Member
Join Date
Apr 2011
Location
Western Southland
Posts
33
This is my first post to the group. It's also the first day of trying to integrate my PLC (A DirectLogic 06) with a PT100 RTU heat sensor monitor: http://www.contrel.it/eng/ctt8.php over Modbus RTU. ( See manual attached ).

Having dug into the manual, I am now very concerned that my expensive investment in this analog data capture unit may have been misplaced. The manual for its modbus communications indicates that I have to create a CRC of the data I'm sending. However, the DirectLogic 06 PLC has no CRC function, or from what I can see no advanced math/string library or even bitwise operations.

Am hoping that this is all my misundertanding, but any help would be much appreciated.

On a final note, I'm a software guy, and hardware terrifies. me. I hope this won't be another of "those" experiences! sigh.
 
If you are simply polling repeatedly for the same information do not try to calculate the CRC in the PLC. Just work it out yourself and then hard code the data request into your PLC programme. Checking the CRC for the received data is not normally required unless there are serious consequences if bad data is received since the data is normally updated frequently and you can check for "silly" values using much simpler techniques.
 
Thanks guys. It seems the PLC should implement this for me so it might have been a case of panicing uncessarily. One day I hope to overcome my HW phobia! Really appreciate the prompt replies!
 
Further to this, I've realised getting my first Modbus program actually talking and working is going to be harder than first thought. There's a bunch of stuff like just familiarising myself with the DL06, checking registers, stepping through code, and writing Ladder logic, that I'm simply a total newbie at.

If there's anyone who'd like an hours work helping get me started, please feel free to get in touch. I could give you a Remote Desktop connection into a workstation with DirectSoft5 running on it. Once I can read registers, I should be away.

Feel free to drop me an email - andrew at bluffit.co.nz. cheers
 
Last edited:

Similar Topics

Hi, I'm setting up a new cell with a Fanuc R30iB and Compact Guardlogix 5380 PLC. I have gone through my robot setup as usual, but have not...
Replies
2
Views
734
Hello, i am connected l&t energy meter to PLC through RS485 in tia portal v15. i was reading values in plc. my problem is how to check crc 16 in...
Replies
2
Views
1,698
Wondering if any of you old timers have seen a case where you can download to the processor no problem, but on power cycle: fault, and no program...
Replies
8
Views
2,128
Hi All, I'm currently working on a project with some fuji drives (frenic mini) and a micro850. Communication is through Modbus RTU. I don't...
Replies
2
Views
1,771
Hi, I need to activate PUT/GET acces in a TIA PLC. But the CPU has safety onboard. If I activate PUT/GET mechanism, will this change the CRC...
Replies
3
Views
1,180
Back
Top Bottom