Programmable Logic Controllers
Pico Controllers
PicoGFX Memory Functions
Boolean Operation for Pico GFX

Symbol in the function
block diagram
The devices allow the use of 32 BV01...BV32 function blocks for linking values in Boolean operations. Use the Boolean operation Association possible.
The Function Block and its Parameters
| Description | Note | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Function block inputs (DWord) | ||||||||||||||
| I1 | First setpoint | Associate a negative value, such as: -10 (dec) the central processing unit (CPU) forms the two's complement of the amount. Example: -10 (dec) = 10000000 00000000 00000000 00001010 (bin) Two's complement = 11111111 11111111 11111111 11110110 (bin) = FFFFFFF6 (hex) Bit 32 is retained at 1 as a sign bit. |
||||||||||||
| I2 | Second setpoint | |||||||||||||
| Function block output | ||||||||||||||
| QV | Result of the operation | |||||||||||||
| Contact (bit output) | ||||||||||||||
| ZE | Status 1 if the value of the QV function block output (i.e. the operation result) is zero | |||||||||||||
| Coil | ||||||||||||||
| - | - | |||||||||||||
| Operating mode | ||||||||||||||
| AND | AND operation | Example: I1 AND I2 = QV
|
||||||||||||
| OR | OR operation | Example: I1 OR I2 = QV
|
||||||||||||
| XOR | Exclusive OR operation (eXclusive OR) | Example: I1 XOR I2 = QV
|
||||||||||||
| NOT | Inverts the individual bits of the value at I1. The inverted value is shown as a signed decimal value. | Example: NOT I1 = QV
|
||||||||||||
| Parameter set | ||||||||||||||
| Call enabled | Function block parameters can be viewed on the device. | |||||||||||||
| Simulation | ||||||||||||||
| Possible |
Memory Requirement
The Boolean operation function block requires 40 bytes of memory plus 4 bytes per constant at the function block inputs.
