CIP message development

mbmorrison

Member
Join Date
Mar 2012
Location
Canton, OH
Posts
1
Does anyone know how to calculate the "abbreviated data type" value of a UDT that includes a STRING data type?

I am trying to send CIP messages from ControlLogix to a computer without the EWEB or EN2T. I am decoding the CIP message with a C# application. Instead of calculating a CRC for the packet, CIP uses an "abbreviated data type" value which is the crc calculation of the UDT Type Encoding String. Much of the details can be found in this RA document: http://www.rockwellautomation.com/enabled/pdf/TypeEncode_CIPRW.pdf

The missing information from this document is the STRING datatype. The CRC for a STRING datatype is ce 0f no matter the length of the string.

I can seperate the STRING data types from the UDT's, but I would like to keep them together.

Does anyone know how to calculate the "abbreviated data type" value of a UDT that includes a STRING data type?
 

Similar Topics

Wizards, It has been a few, but you all have always done me well. I have acquired a 1769-L33ER and want to use it as my collection PLC to...
Replies
5
Views
518
Hello forum! Long time user, first time poster. I am currently designing a control system that has a Production system, linked to live plant...
Replies
0
Views
172
Hello, PLCS.net guys. I'm learning about MSG for TCP communication recently. I'm trying to use CIP Generic. And the main flow is like the one...
Replies
6
Views
1,231
What's the easiest way to monitor a CIP data table read or write instruction. I'm reading and writing from a Compact logix to a micro 820, over...
Replies
3
Views
1,498
MicroLogix 1400 Using Messages to talk to PowerFlex 40P 22E-Comm Card. I have it working and when I download an updated Program (nothing in the...
Replies
9
Views
2,374
Back
Top Bottom