Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Example
P1 I1 O1 O2
1) 1: Bit 1 0xF00F 1 0
2) 4: Bit 4 0x00FF 1 0
3) 4: Bit 4 0xFF00 0 1
In example 2):
5.11.10 [221] Unite four bits to form a word
Type Function Type Function
I1 b input value 1 O1 % I1, I1, I3, I4 united to form a
word
I2 b input value 2 O2 % inverted output
I3 b input value 3 P1 i Number of 1st bit (0 … 15)
I4 b input value 4 P2 - -
Description:
The state of input 1 is copied to the bit of output O1 specified via P1, the state of input 2 to the
next bit, etc. All other bits of the output value are zero. If P1 > 12, bits will be lost.
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Exam-
ple
P1 Copy I4 I3 I2 I1 O1 O2
1) 0
I1 to bit 0 of O1,
I2 to bit 1 of O1,
I3 to bit 2 of O1,
I4 to bit 3 of O1
1 0 1 0 0x000A 0xFFF5
2) 5
I1 to bit 5 of O1,
I2 to bit 6 of O1,
I3 to bit 7 of O1,
I4 to bit 8 of O1
1 0 1 0 0x0140 0xFEBF
3) 14
(P1>12)
I1 to bit 14 of O1,
I2 to bit 15 of O1,
I3 not copied,
I4 not copied
1 0 1 0 0x4000 0xBFFF
Re example 2):