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

Page 68

Advertising
background image

5-18

Using I/O Messaging

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

Station 2 Speed Reference
PowerFlex 70 Speed Ref A Sel (Pr.90) needs to be set to 'DPI Port 5'.
N19:15 is controlled elsewhere in the user program.

0006

MOV

Move
Source

N19:15

8192 <
Dest

N20:15

8192 <

MOV

Station 2
Speed Reference
Write

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

0007

MOV

Move
Source

N19:16

50<
Dest

N20:16

50<

MOV

Station 2
Datalink A1
Write

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

0008

MOV

Move
Source

N19:17

50<
Dest

N20:17

50<

MOV

Station 2
Datalink A2
Write

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

Advertising