Function blocks
179
1SVC 440 795 M1100
Function of Boolean operation function block
The function block creates the operation depending on the
operating mode.
AND Boolean operation
OR Boolean operation
XOR Boolean operation
h
If you associate a negative value, e.g.: –10
dec
, the CPU
will form the two’s complement of the amount.
Example:
–10
dec
= 10000000000000000000000000001010
bin
Two’s complement =
11111111111111111111111111110110
bin
=
FFFFFFF6
hex
Bit 32 is the signed bit and remains as 1.
Value
>I1:
13219
dec
= 0011001110100011
bin
Value
>I2:
57193
dec
= 1101111101101001
bin
Result QV>:
4897
dec
= 0001001100100001
bin
Value
>I1:
13219
dec
= 0011001110100011
bin
Value
>I2:
57193
dec
= 1101111101101001
bin
Result QV>:
65515
dec
= 1111111111101011
bin
Value
>I1:
13219
dec
= 0011001110100011
bin
Value
>I2:
dez57193
dec
= 1101111101101001
bin
Result QV>:
60618
dec
= 1110110011001010
bin
Содержание 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 ...