![background image](http://html1.mh-extra.com/html/eaton/easye4-series/easye4-series_manual_3910990310.webp)
6. Function blocks
6.1 Manufacturer function blocks
6.1.5 Data and register function blocks
6.1.5.1 BC - Block compare
General
easyE4 base devices provide 32 block comparison function
blocks,
BC01 through BC32. This function block compares values from
two contiguous marker ranges. Moreover, this comparison can be
carried out within the entire marker range (1024 bytes).
Addresses are byte-based, including the range that can only be
addressed with words or double words. (MB513 through
MB1024) → Section "Organizing marker ranges", page 163
Operating principle
The reference data block starts at the source address specified at input I1. This data
block will be compared with the data block that starts at the destination address spe-
cified at I2. You can use constants or operands, in which case the data value of the oper-
and at runtime will be used as the corresponding address.
The NO input is used to specify the size of the data block (number of elements) in bytes.
If the comparison of two data blocks finds that there is no difference between them, the
Boolean output EQ will be set to 1.
The following operands can be used:
l
Constant NU
l
ACTUAL value ..QV.. of a function block
l
Analog input IA.. or analog output QA..
l
Timer constant
Example value 0
A value <0> at input I1 means that the reference data block for the comparison starts at
MB01. A value of <100> at I2 means that the target data block for the compare oper-
ation begins at MB101.
Marker byte example
You wish to compare the content of marker bytes MB11-MB14 with the content of
marker bytes MB381-MB384 (MD96). A value <10> at input I1 means that the ref-
erence data block for the comparison starts at MB11. A value <380> at I2 means that
the destination data block for the comparison starts at MB381.
Marker addresses are always specified using byte addresses.
easySoft 7 no longer supports addresses without an offset.
306
easyE4
11/18 MN050009 EN www.eaton.com
Содержание easyE4 series
Страница 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Страница 4: ......
Страница 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Страница 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Страница 40: ...1 easyE4 control relays description 1 10 Safety regulations 36 easyE4 11 18 MN050009 EN www eaton com...
Страница 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Страница 462: ...6 Function blocks 6 4 Timing and counter relay example 458 easyE4 11 18 MN050009 EN www eaton com...
Страница 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Страница 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Страница 524: ...10 Diagnostics messages of the operating system 10 2 Diagnostics buffer 520 easyE4 11 18 MN050009 EN www eaton com...
Страница 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Страница 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Страница 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Страница 594: ...590 easyE4 11 18 MN050009 EN www eaton com...
Страница 614: ...610 easyE4 11 18 MN050009 EN www eaton com...