Rockwell Automation 1779-KP3R DATA HIGHWAY II User Manual

Page 50

Advertising
background image

Programming

Chapter 3

3Ć15

The following table contains examples of using the MOVE command to
move a block of words:

To move data

from:

Command line example:

Explanation:

PLC-3 to PLC-2 MOVE FROM :66$010,1024 TO $B2:3

or

M F :66$010,1024 T $B2:3

Transfers 1024 words beginning at

word 010 at node 66 to word 3 of

binary file 2.

PLC-3 to PLC-2 MOVE FROM $B2:3,1024 TO :66$010

or

M F $B2:3,1024 T :66$010

Transfers 1024 words beginning at

word 3 of binary file 2 to word

address 010 at node 66.

PLC-3 to PLC-3 MOVE FROM :76$I4:50 TO $B2:3,444

or

M F :76$I4:50 T $B2:3,444

Transfers 444 words beginning at

word 50 of input file 4 at node 76 to

word 3 of binary file 2.

PLC-3 to PLC-2 MOVE FROM $B2:3 TO :76$010,444

or

M F $B2:3 T :76$010,444

Transfers 444 words beginning at

word 3 of binary file 2 to word

address 010 at node 76.

PLC-3 to PLC-5 MOVE FROM $B2:3,1024 TO

:40.2$E0.10.2.0 or

M F $B2:3,1024 T :40.2$E0.10.2.0

Transfers 1024 words beginning at

word 3 in binary file 2 to file 10

beginning at word 2 in the PLC-5

address 2 connected to KP5 node

40.

The following table contains examples of using the MOVE command to
move a bit:

To move data

from:

Command line example:

Explanation:

PLC-3 to PLC-2 MOVE FROM :66$010/1 TO $B2:3/4 or

M F :66$010/1 T $B2:3/4

Transfers bit 1 of word 010 from

node 66 to bit 4 of word 3 of binary

file 2.

PLC-3 to PLC-2 MOVE FROM $B2:3/011 TO

:66$010/015 or

M F $B2:3/011 T :66$010/015

Transfers bit 11 of word 3 of binary

file 2 to bit 15 of word address 010

at node 66.

PLC-3 to PLC-3 MOVE FROM :76$I4:50/2 TO $B2:3/4

or

M F :76$I4:50/2 T $B2:3/4

Transfers bit 2 of word 50 of input

file 4 from node 76 to bit 4 of word 3

of binary file 2.

PLC-3 to PLC-3 MOVE FROM $B2:3/4 TO :76$B40:50/2

or

M F $B2:3/4 T :76$B40:50/2

Transfers bit 4 of word 3 of binary

file 2 to bit 2 of word 50 on binary

file 40 at node 76.

PLC-3 to PLC-2 MOVE #1 TO :76$0222/3 or

M #1 T :76$0222/3

Transfers the integer constant 1 to

bit 3 of word address 222 at node

76.

PLC-3 to PLC-3 MOVE #0 TO :76$B2:3/4 or

M #0 T :76$B2:3/4

Transfers the integer constant 0 to

bit 4 of word 3 of binary file 2 at

node 76.

Advertising
This manual is related to the following products: