Description:
The function sets output O1 to TRUE if a motion block is running.
If input I4 (wait) is set, further instructions will only be processed when the motion block (in-
cluding repetitions, if applicable) or automatic sequence of motion blocks is finished. The
process cannot be stopped by other instructions or resetting I3.
Motion block
running
I4 O1=
yes 0 1
no x 0
yes 1 Wait
5.11 Bit functions for analog input values
Each individual bit of input 1 is combined with the corresponding bits of input 2 and parame-
ter 1 (if available to the selected function). The result is saved in the corresponding bit of the
output value.
For example, bit 3 of the output value depends on
− bit 3 of input value 1 and
− bit 3 of input value 2 and
− Bit 3 of parameter 1.
Parameter 2 indicates of input value I1 is to be combined with input value I2 or parameter P1:
−
P2 = 1: Combination of input value I1 with input value I2
− P2 = 2: Combination of input value I1 with parameter P1
− P2 = 3: Combination of input value I1 with input value I2 and parameter P1
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
At output O2, the bitwise inverted value O1 is output.
Example: O1 = 0xFF00
Æ O2 = 0x00FF.
5.11.1 [200] Bit NOT operation
Type Function Type Function
I1 % input value 1 O1 %
1I (I1 bitwise inverted)
I2 - - O2 % inverted output (=I1)
I3 b Master Set P1 - -
I4 b Master Reset P2 - -
Description:
At output 1 O1, the bitwise inverted value of input I1 is output (O1 =
1I ).