For this example, we have created a ConveyLinx-ECO Module in our Ethernet Tree and added a MSG Instruction to a ladder rung. We named this MSG block “ReadZPA” and created the Controller Tag for it. With this MSG Instruction we are going to read all 21 registers from PLC Inputs for ZPA Mode. We also created a Controller Tag called “ZPA_Inputs” which is an INT array of 21 elements in order to hold the data.

From the Message Type drop down, select CIP Generic
From the Service Type drop down, select Get Attribute Single
For the Instance Field, enter “105” which is the Assembly vale for the ZPA Mode inputs
For the Class Field, enter “4”
For the Attribute Field, enter “3”
For the Destination Element, use the Tag Browser drop down to select ZPA_Inputs and expand to select the [0] element

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment