Rockwell Automation 2706-LV2P_LV2R_LV4P_LV4R DL40 PLUS USER MANUAL User Manual

Page 175

Advertising
background image

Remote I/O Application Examples

E–4

Publication 2706-807

Block Transfer Message Triggering - PLC5 Example Program
(Message Variable Slave Mode)

Note: If the Block Transfer DIP Switch (Switch 2–4) is enabled, all
exchanges between the PLC & DL40 Plus must be Block Transfers.

[Switch 2–4 on DL40 Plus must be enabled]

Block Transfer Read
Module Type

Generic Block Transfer

Rack

001

Group

0

Module

0

Control Block

N11:0

Data File

N9:0

Length

13

Continuous

No

BTR

0000

0001

Move
Source

30

30<

Dest

N9:21

0<

MOV

0002

Move
Source

0

0<

Dest

N9:2

0<

MOV

0003

0004

ENTER MESSAGE NUMBER OR SPECIAL
MESSAGE NUMBER TO TRIGGER HERE:
(Word 1 of the Block Transfer Write contains the Message Number
Information. In this case the Data File begins at N9:20; therefore,
N9:21 would be would be word 1 of the Block Transfer Write)

BTR_ENABLE

N11:0

BTW_ENABLE

N11:5

15

15

<EN>

<DN>

<ER>

Block Transfer Write
Module Type

Generic Block Transfer

Rack

001

Group

0

Module

0

Control Block

N11:5

Data File

N9:20

Length

13

Continuous

No

BTW

BTW_ENABLE

N11:5

BTR_ENABLE

N11:0

15

15

<EN>

<DN>

<ER>

ENTER BCD SIGN BIT DATA FOR 1st VARIABLE IN TRIGGERED MESSAGE
(ONLY VALID FOR BCD VARIABLES)

ENTER BCD SIGN BIT DATA FOR 2nd VARIABLE IN TRIGGERED MESSAGE
(ONLY VALID FOR BCD VARIABLES)

Move
Source

0

0<

Dest

N9:3

0<

MOV

Advertising