201] Bit And/Nand Operation - BONFIGLIOLI AGILE Applications Manual

Hide thumbs Also See for AGILE:
Table of Contents

Advertisement

Example: I1 = 0xF00F
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Note:
Since output I2 output the bitwise inverted value of output O1, O2 = I1.

5.11.2 [201] Bit AND/NAND operation

Type
%
input value 1
I1
I2
%
input value 2
b
Master Set
I3
I4
b
Master Reset
Description:
The input value at I1 is AND combined. Via P2, you can select:
− P2 = 1: I1 and I2 are AND combined.
− P2 = 2: I1 and P1 are AND combined.
− P2 = 3: I1, I2 and P1 are AND combined.
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Examples:
P2
1) AND (I1 I2)
2) AND (I1 P1)
3) AND (I1 I2 P1)
08/10
08/10
O1 = 0x0FF0, O2 = 0xF00F
Function
Type
%
O1
O2
%
%
P1
P2
i
I1
I2
0xF00F
0x0F0F
0xF00F
-
0xF00F
0x0F0F
Function
O1=AND (I1 I2) if P2=1,
O1=AND (I1 P1) if P2=2,
O1=AND (I1 I2 P1) if P2=3
inverted output = (NAND)
Mask
Operation mode (1, 2 or 3)
P1
O1
-
0x000F
0xFFF0
0x00FF
0x000F
0xFFF0
0x00FF
0x000F
0xFFF0
VPLC / PLC
VPLC / PLC
O2
127
127

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Active cube

Table of Contents