4. Motion Control Instructions
DVP-MC operating manual 4-97
4.6.15. XOR
API
Controller
142
XOR
Logical XOR operation
10MC11T
Explanation of the instruction:
XOR is used for logical XOR operation of two bit devices.
When “EN” is on, XOR operation of S1 and S2 is conducted and the result is saved to the bit device specified
by Q; when “EN” is off, the state of Q is unchanged.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “XOR” is executed as “EN” turns on BOOL M,I,Q,constant
S1 Operand S1 BOOL M,I,Q,constant
S2 Operand S2 BOOL M,I,Q,constant
Q The result from XOR operation of operand S1and S2 BOOL M,Q
4.6.16. NOT
API
Controller
143
NOT
Logical NOT operation
10MC11T
Explanation of the instruction:
NOT is used for logical NOT operation of one bit device.
When “EN” is on, NOT operation of S is conducted and the result is saved to the bit device specified by Q;
when “EN” is off, the state of Q is unchanged.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “NOT” is executed as “EN” turns on BOOL M,I,Q,constant
S Operand S BOOL M,I,Q,constant
Q The result from NOT operation of operand S BOOL M,Q
Comments to this Manuals