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

Page 66

Advertising
background image

5-16

Using I/O Messaging

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

The Station 1 program can either end here or, if Explicit Messaging is
needed, Parameter Protocol logic can be added. (See

Figure 6.5

.)

Station 1 Datalink D1
Datalink D1 (Pr. 306) set to Preset Speed 3 (Pr. 103).
N19:8 is controlled elsewhere in the user program.

0013

MOV

Move
Source

N19:8

300<
Dest

N20:8

300<

MOV

Station 1
Datalink D1
Write

Station 1 Datalink D2
Datalink D2 (Pr. 307) set to Preset Speed 4 (Pr. 104).
N19:9 is controlled elsewhere in the user program.

0014

MOV

Move
Source

N19:9

400<
Dest

N20:9

400<

MOV

Station 1
Datalink D2
Write

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

Advertising