Eaton easySafety Manual page 212

Control relay
Table of Contents

Advertisement

Standard function blocks
208
Example 4: Copying of marker bytes, destination range
violation error
Marker range MB81 to MB96 is to be transferred to MD93
to MD96. The length is 16 bytes.
• Parameters of function block BT01:
– Source range:
– Destination range:
– Number of bytes:
h
The transfer is in byte format. MD93 to MD96 is 16 bytes.
18 bytes were incorrectly defined as length.
The error message "Number of elements exceeds the
destination range" is output.
BT01E1 is 1.
Example 5: Comparison of marker blocks, range overlap
error
12 bytes are to be copied starting from MW60. MW64 is
specified as destination address.
• Parameters of function block BT01:
– Source range:
– Destination range:
– Number of bytes:
h
The copy operation is in byte format. MW60 to MW64 is 8
bytes. The number of bytes is 12 bytes.
The error message "Both ranges overlap" is output.
BT01E2 is 1.
02/16 MN05013001Z EN
>I1 MB81
>I2 MD93
>NO
18
>I1 MW60
>I2 MW64
>NO
12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents