Rockwell Automation 2706-LV2P_LV2R_LV4P_LV4R DL40 PLUS USER MANUAL User Manual

Page 173

Advertising
background image

Remote I/O Application Examples

E–2

Publication 2706-807

Discrete I/O Message Triggering - PLC5 Program Example
(Message Variable Slave Mode)

PLC5 at Rack #1, Group #0, – 1/4 Rack
Enter Message Number or Special Message Number to Trigger Here:

Move
Source

904

904<

Dest

N9:10

904<

MOV

0000

For a 1/4 rack the message number occupies the low 12 bits of the
output image table. This means that messages 1–4096 using binary
format or 1–999 using BCD format can be triggered using RIO and a
1/4 rack DL40 Plus.

Bit Field Distributor
Source

N9:10

904<

Source Bit

0

Dest

N9:20

904<

Dest Bit

0

Length

10

BTD

0001

Masked Move
Source

N9:20

904<

Mask

0FFFH

4095<

Dest

O:010

0<

MVM

0002

Move
Source

0

0<

Dest

N9:3

0<

MOV

0003

0004

# Enter Variable Data Number data Here:
Format: 0 = First Variable

1 = Second Variable
2 = Third Variable
3 – Fourth Variable

(With a 1/4 rack the variable number can be
specified in Word 0 bits 14 and 15)

Bit Field Distributor
Source

N9:3

0<

Source Bit

0

Dest

O:010

0<

Dest Bit

12

Length

2

BTD

Advertising