Slc example, Slc example -21, Figure 6.16 – Rockwell Automation 160-DN2 160-DN2 DeviceNet Communication Module FRN 3.xx User Manual

Page 59: Using i/o messaging (continued), Figure 6.16 example slc ladder logic program

Advertising
background image

Publication 0160-5.18 - June 2003

Using 160-DN2 with DeviceNet Scanner

6-21

Using I/O Messaging (Continued)

SLC Example

Figure 6.16
Example SLC Ladder Logic Program

0000

Copy File
Source

#M1:1:0

Dest

#N9:0

Length

128

CO P

0001

N9:0

1

Bulletin 160
RUNNING
Status Bit

O:3.0

0

1746-O*8

Operator Display
Drive Running
Status Bit

0002

7

1

0003

Move
Source

N9:1

0<

Dest

N21:1

0<

MOV

0004

I:2.0

0

1746-I*16

Operator Input
Drive Start
Command Bit

N10:0

1

Bulletin 160
START
Command Bit

0005

I:2.0

1

0

0006

2

2

O:3.0

Operator Display
Drive Faulted
Status Bit

1746-O*8

N9:0

Bulletin 160
FAULTED
Status Bit

Operator Display
Drive Feedback
Status Word

Operator Input
Drive Stop
Command Bit

I:2.0

Operator Input
Drive Jog
Command Bit

1746-I*16

N10:0

Bulletin 160
STOP
Command Bit

N10:0

Bulletin 160
JOG
Command Bit

1746-I*16

The scanner gathers drive status data via the DeviceNet
network. The M-File is copied into the N9 data file in the SLC
to move the drive status information to a convenient location.

These rungs move the drive status from
the N9 data file to an operator display.

These rungs move the inputs of the
operator from the operator station to the
N9 data file. They will then be sent to the
scanner and out to the drive via the
DeviceNet network.

Advertising