Function blocks
161
1SVC 440 795 M1100
Contacts
BC01E1 to BC32E1: The number of comparison elements
exceeds one of the comparison ranges.
BC01E2 to BC32E2: The two comparison ranges overlap.
BC01E3 to BC32E3: The specified offset of the comparison
ranges is outside of the permissible range.
BC01EQ to BC32EQ: Output of the comparison result. Only
valid if the BC..EN enable has been triggered. Status 0 =
Comparison ranges not equal, Status 1 = Comparison
ranges equal
Coils
BC01EN to BC32EN: Enable coil of the data block
comparator function block.
Memory requirement of the data block comparator
function block
The comparator function block requires 48 bytes of memory
plus 4 bytes per constant on the function block inputs.
Function of the data block comparator function block
The data block comparator function block compares two
contiguous data blocks.
The comparison is active if the BC..EN (enable) is triggered.
The error outputs E1, E2 and E3 are evaluated regardless of
the status of the enable.
Example:
Comparison of marker blocks, definition of marker ranges
direct
Two marker blocks are to be compared. Block 1 starts at
MB10, Block 2 starts at MB40. Each block is 10 bytes long.
Parameters of BC01 function block:
Comparison range 1:
>I1 MB10
Comparison range 2:
>I2 MB40
Number of bytes:
>NO 10
h
No data blocks are compared if an error is present.
Содержание CL Series
Страница 1: ... APPLICATION MANUAL Display system CL range ...
Страница 115: ...112 1SVC 440 795 M1100 ...
Страница 345: ...342 1SVC 440 795 M1100 ...
Страница 427: ...1SVC 440 795 M1100 424 ...