Slc ladder logic example - station 1 program, Figure 5.6, Using i/o messaging 5-13 – Rockwell Automation 20-COMM-P Profibus Adapter User Manual

Page 63

Advertising
background image

Using I/O Messaging

5-13

Figure 5.6 Example SLC Ladder Logic - Station 1 Program

SLC Ladder Logic Example - Station 1 Program

Controlling the Logic Command word in the drive. B3:20 /* bits are controlled elsewhere in the user program.

0000

B3:20

1

Station 1
Start
Command

N20:0

1

Station 1
Logic Command
START

0001

B3:20

0

Station 1
Stop
Command

N20:0

0

Station 1
Logic Command
STOP

0002

B3:20

2

Station 1
Jog
Command

N20:0

2

Station 1
Logic Command
JOG

0003

B3:20

3

Station 1
Clear Faults
Command

N20:0

3

Station 1
Logic Command
CLEAR FAULTS

0004

B3:20

4

Station 1
Reverse
Command

N20:0

4

Station 1
Logic Command
FORWARD

0005

B3:20

4

Station 1
Reverse
Command

N20:0

5

Station 1
Logic Command
REVERSE

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

0006

MOV

Move
Source

N19:1

8192 <
Dest

N20:1

8192 <

MOV

Station 1
Speed Reference

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

Advertising