Using i/o messaging 5-19 – Rockwell Automation 20-COMM-P Profibus Adapter User Manual

Page 69

Advertising
background image

Using I/O Messaging

5-19

Figure 5.7 Example SLC Ladder Logic - Station 2 Program (Continued)

Station 2 Datalink B1
Datalink B1 (Pr. 302) set to Jog Speed (Pr. 100).

0009

N19:18 is controlled elsewhere in the user program.

MOV

Move
Source

N19:18

100<

Dest

N20:18

100<

MOV

Station 2
Datalink B1
Write

Station 2 Datalink B2
Datalink B2 (Pr. 303) set to Stop Mode A (Pr. 155).
N19:19 is controlled elsewhere in the user program.

0010

MOV

Move
Source

N19:19

1<

Dest

N20:19

1<

MOV

Station 2
Datalink B2
Write

Station 2 Datalink C1
Datalink C1 (Pr. 304) set to Preset Speed 1 (Pr. 101).
N19:20 is controlled elsewhere in the user program.

0011

MOV

Move
Source

N19:20

100<

Dest

N20:20

100<

MOV

Station 2
Datalink C1
Write

20COMM-UM006A-EN-P.book Page 19 Friday, September 28, 2001 10:43 AM

Advertising