VA Motion Controller Programming Manual
140
Note :
IL, ST
language programming needs to insert variables
IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
Data type processed by AND instruction
Result :
IN1=0 , IN2=0, OUT=0;
IN1=0 , IN2=1, OUT=0;
IN1=1, IN2=0, OUT=0;
IN1=1, IN2=1, OUT=1;
program demonstration
Find the result of the logical AND of two data
When the contact
C008
bit is
ON
,
the instruction is executed to phase the two
operands;
Execution result:
V021&V022=V023
10.1.6 ASIN ( anti-sinusoidal command)
LD, FBD programming language
Function: ASIN instruction for seeking inverse sine
Note :
IL, ST
language programming needs to insert variables
IN
and
OUT
or use constants in
the current
POU
variable worksheet