beautypg.com

Multicast connections – Rockwell Automation AutoMax ControlNet Communication Interface Module User Manual

Page 34

background image

Page 34 AutoMax ControlNet Module

Publication number DSMBCN-UM001B-EN-P February 2003

0200 IF NAMSTATE% = 12 THEN GOTO 300 \!ATTACHED

0210 DELAY 1 TICKS

0220 GOTO 200

\! WAIT FOR ONLINE

0300 CN_RUN@ = 1

\! PUT THE MBCN IN RUN

0400 OUT_WRD_0% = INP_WRD_0%

\!COPY INPUT WORD

0410 IF OUT_WRD_1% > 10000 THEN OUT_WRD_1% = 0 \! LOOP

0420 OUT_WRD_1% = OUT_WRD_1% + 1

\!INCREMENT OUTPUT

0430 DELAY 1 TICKS

0500 GOTO 400

32767 END

Multicast Connections

To create listen-only or input-only connections to devices to consumed
data, use the previous procedures but set the Connection Name to Listen
Only or Input Only.

RSNetWorx automatically sets the output size to 0 for these connections.