14 using i/o messaging – Rockwell Automation 20-COMM-P Profibus Adapter User Manual

Page 64

Advertising
background image

5-14

Using I/O Messaging

Figure 5.6 Example SLC Ladder Logic - Station 1 Program (Continued)

Station 1 Datalink A1
Datalink A1 (Pr. 300) set to Acceleration Time 1 (Pr. 140).
N19:2 is controlled elsewhere in the user program.

0007

MOV

Move
Source

N19:2

50<
Dest

N20:2

50<

MOV

Station 1
Datalink A1
Write

Station 1 Datalink A2
Datalink A2 (Pr. 301) set to Deceleration Time 1 (Pr. 142).
N19:3 is controlled elsewhere in the user program.

0008

MOV

Move
Source

N19:3

50<
Dest

N20:3

50<

MOV

Station 1
Datalink A2
Write

Station 1 Datalink B1
Datalink B1 (Pr. 302) set to Jog Speed (Pr. 100).
N19:4 is controlled elsewhere in the user program.

0009

MOV

Move
Source

N19:4

100<
Dest

N20:4

100<

MOV

Station 1
Datalink B1
Write

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

Advertising