beautypg.com

6 using i/o messaging – Rockwell Automation 22-COMM-E EtherNet/IP Adapter User Manual

Page 50

background image

5-6

Using I/O Messaging

Figure 5.5 Example ControlLogix Ladder Logic Program for I/O Messaging (Cont.)

7KLVUXQJGLVSOD\VWKH)HHGEDFNZRUGIURPWKH3RZHU)OH[1RWHWKDWLWLVVHWLQ+]DQGQRWLQHQJLQHHULQJXQLWVOLNH

3RZHU)OH[&ODVVGULYHV)RUH[DPSOHHTXDWHVWR+]WKHGHFLPDOSRLQWLVDOZD\VLPSOLHG

0RYH

6RXUFH 3)B'HPR,'DWD>@

'HVW

)HHGEDFN

029

3)

)HHGEDFN

7KLVUXQJGLVSOD\VWKH)HHGEDFNZRUGIURPWKH3RZHU)OH[1RWHWKDWLWLVVHWLQ+]DQGQRWLQHQJLQHHULQJXQLWVOLNH

3RZHU)OH[&ODVVGULYHV)RUH[DPSOHHTXDWHVWR+]WKHGHFLPDOSRLQWLVDOZD\VLPSOLHG

/RJLF&RPPDQGELWFRQWUROUXQJVDUHSURYLGHGIRUGLVSOD\SXUSRVHVRQO\7KH3)B'HPR2'DWD>@[ELWVFRXOGEHXVHG

GLUHFWO\HOVHZKHUHLQWKHODGGHUSURJUDP

6WRSB&RPPDQG

3)'HPR

/RJLF&RPPDQG

6723

3)B'HPR2'DWD>@

/RJLF&RPPDQGELWFRQWUROUXQJVDUHSURYLGHGIRUGLVSOD\SXUSRVHVRQO\7KH3)B'HPR2'DWD>@[ELWVFRXOGEHXVHG

GLUHFWO\HOVHZKHUHLQWKHODGGHUSURJUDP

6WDUWB&RPPDQG

3)'HPR

/RJLF&RPPDQG

67$57

3)B'HPR2'DWD>@

&OHDU)DXOWB&RPPDQG

3)'HPR

/RJLF&RPPDQG

&/($5)$8/76

3)B'HPR2'DWD>@

)RUZDUGB&RPPDQG

3)'HPR

/RJLF&RPPDQG

)25:$5'

3)B'HPR2'DWD>@

)RUZDUGB&RPPDQG

3)'HPR

/RJLF&RPPDQG

5(9(56(

3)B'HPR2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