Rockwell Automation 1203-GK5 DeviceNet Communications Module FRN 1.xxx-3.xxx User Manual

Page 65

Advertising
background image

Creating a Ladder Logic Program

5-5

Figure 5.2
Example PLC Ladder Logic Program (Continued)

The following table represents the control file for the block transfers.

0007

I:000

12

Operator Input
Drive Jog
Command Bit

N10:1

2

1305 Drive
JOG
Command Bit

0008

I:000

13

Operator Input
Drive Clear Faults
Command Bit

N10:1

3

1305 Drive
CLEAR FAULT
Command Bit

0009

MOV

Move
Source

N21:0

0<

Dest

N10:2

0<

MOV

1305 Drive
REFERENCE
Command Word

The Block Transfer Write in this rung send the drive command data to the scanner and out to the drive via DeviceNet.

0010

BT20:0

EN

EN

DN

ER

BTW

Block Transfer Write
Module Type Generic Block Transfer
Rack

000

Group

0

Module

0

Control Block

BT20:1

Data File

N10:0

Length

62

Continuous

No

BTW

0011

END

This rung enables the scanner.

0004

N10:0

0

1771-SDN Scanner
Port A Enable

Rungs 0005 through 0009 move the operator’s inputs from the operator station to the Block Transfer Write data file
where they will be sent to the scanner and out to the drive via DeviceNet.

0005

I:000

10

Operator Input
Drive Start
Command Bit

N10:1

1

1305 Drive
START
Command Bit

0006

I:000

11

Operator Input
Drive Stop
Command Bit

N10:1

0

1305 Drive
STOP
Command Bit

Offset

EN

ST

DN

ER

CO

EW

NR

TO

RW

RLEN

DLEN

FILE

ELEM

R

G

S

BT20:0

0

0

0

0

0

0

0

0

0

62

0

9

0

00

0

0

BT20:1

0

0

0

0

0

0

0

0

0

62

0

10

0

00

0

0

Advertising
This manual is related to the following products: