64
Rockwell Automation Publication 42EF-UM001A-EN-P - September 2015
Message Structure and Configuration Example Configuration Examples
Read Data from the Sensor
Once the data in the Message Instruction dialog box has been populated, trigger
the rung of logic that contains the message instruction and the “Vendor Name” is
read from the 42EF and copied into the “Read_Assembly” Array. When viewed
as ASCII the name Allen-Bradley is displayed.
Example Format of a Write Message
It is possible to Write a unique name to the 42EF sensor. This Parameter is called
“Application Specific Name.” In
Appendix B
we can find the Index Number for
this Parameter (24) and the maximum length of the String (32 characters). Each
character is equivalent to one byte. This example shows the steps necessary to
write “Test” to the Application Specific Name index.
The source element Array is “Write_Assembly,” byte zero is the channel
followed by the data to be written.
The screen capture that is shown is the Message Configuration dialog box that
shows all of the information that is needed to Write to the Application Specific