Rockwell Automation 20-COMM-R Remote I/O Adapter User Manual

Page 56

Advertising
background image

4-20

Using Discrete and Block Transfer I/O

20-COMM-R Remote I/O Adapter User Manual

Publication 20COMM-UM004D-EN-P

Figure 4.13 SLC 500 Example Ladder Logic for Main Routine (I/O User Logic) -

continued

This rung moves the AT SPEED status bit from the drive to the user display.

0007

I:1.9

8

1747-SN

Drive
AT SPEED
Status

N7:10

2

User
DRIVE AT SPEED
Status

This rung moves the drive Feedback word from the Block Transfer Read file to the Operator Station.

0008

MOV

Move
Source

N11:110

30000 <

Dest

N7:11

30000 <

MOV

This rung executes the I/O BTW logic. See Figure 4.12, SLC Block Transfer I/O Write.

0009

JSR

Jump To Subroutine
SBR File Number

U:3

JSR

This rung executes the I/O BTR Logic. See Figure 4.13, SLC Block Transfer I/O Read.

0010

JSR

Jump To Subroutine
SBR File Number

U:4

JSR

This rung executes the messaging Block Transfer logic. See Figure 5.5, SLC Block Transfer Messaging.

0011

JSR

Jump To Subroutine
SBR File Number

U:5

JSR

0012

END

This rung moves the Reference from the User Operator Station to the Block Transfer Write file where it is moved to the drive by Block Transfer.

0004

MOV

Move
Source

N7:1

30000 <

Dest

N10:10

30000 <

MOV

This rung moves the READY status bit from the drive to the user display.

0005

I:1.9

0

1747-SN

Drive
READY
Status

N7:10

0

User
DRIVE READY
Status

This rung moves the RUNNING status bit from the drive to the user display.

0006

I:1.9

1

1747-SN

Drive
RUNNING
Status

N7:10

1

User
DRIVE RUNNING
Status

Advertising