Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual

Page 173

Advertising
background image

Publication 1760-UM002B-EN-P - March 2005

Wiring with Pico GFX-70 4-63

After a rising edge from 0 to 1 at coil BT01T_ the values are copied to the
appropriate range.

Example:
Copying of marker bytes, destination range violation error.

The value of marker bytes MB81 to MB96 is to be transferred to MD93,
MD94, MD95 and MD96. The length is 16 bytes.

Parameters of BT01 function block:
Source range:

>I1 MB81

Destination range:

>I2 MD93

Number of bytes:

>NO 18

The error message “Number of elements exceeds the destination range” is
output.

BT01E1 is 1.

Example
Comparison of marker blocks, range overlap error.

12 bytes are to be copied starting from MW60. MW64 is specified as
destination address.

Parameters of BT01 function block:
Comparison range 1:

>I1 MW60

Comparison range
1

Value of marker range 1
(decimal/binary)

Comparison range 2

Value of marker range 2
(decimal/binary)

MD60

866143319/ 0011001110100000
0100110001010111

MW40 (LSW)

19543/0011001110100000
0100110001010111

MD60

866143319/ 0011001110100000
0100110001010111

MW41 (MSW)

13216/0011001110100000
0100110001010111

MD61

173304101/0000101001010100

0110100100100101

MW42 (LSW)

26917/0000101001010100
0110100100100101

MD61

173304101/0000101001010100
0110100100100101

MB43 (MSW)

2644/0000101001010100
0110100100100101

MD62

982644150/ 0011101010010001
1111010110110110

MB44 (LSW)

62902/0011101010010001
1111010110110110

MD62

982644150/0011101010010001

1111010110110110

MB45 (MSW)

14993/0011101010010001
1111010110110110

IMPORTANT

The transfer is in byte format. MD93 to MD96 is 16 bytes.
18 bytes were incorrectly defined as length.

Advertising