Ken Roach
Lifetime Supporting Member + Moderator
Start simple: create two array tags that have a datatype of INT[62], and make the Block Transfer message number of elements equal to 62.
C594_DNet_Input[0] will be the Destination Element for the BTR message.
C594_DNet_Output[0] will be the Source Element for the BTW message.
Start with those two array tags before moving on to any sort of aliasing or copying into and out of UDTs.
C504_DNet_Output[0].0 will be the SDN RUN bit.
C504_DNet_Input[1] will be the first word of data mapped into the ControlLogix from the DeviceNet.
C504_DNet_Output[1] will be the first word of data mapped from the ControlLogix to the DeviceNet.
The location of all the rest of the data depends on how you've mapped it into the 62-word Block Transfer using RSNetworx for DeviceNet.
C594_DNet_Input[0] will be the Destination Element for the BTR message.
C594_DNet_Output[0] will be the Source Element for the BTW message.
Start with those two array tags before moving on to any sort of aliasing or copying into and out of UDTs.
C504_DNet_Output[0].0 will be the SDN RUN bit.
C504_DNet_Input[1] will be the first word of data mapped into the ControlLogix from the DeviceNet.
C504_DNet_Output[1] will be the first word of data mapped from the ControlLogix to the DeviceNet.
The location of all the rest of the data depends on how you've mapped it into the 62-word Block Transfer using RSNetworx for DeviceNet.