VA Motion Controller Programming Manual
139
When the contact
C016
is
ON
,
the instruction is executed, and
two
16
-bit integers are added to
obtain a
16
-bit integer;
Execution
result:
VO43+V044=V045
10.1.4 ADD_T_T (Time Addition Instruction )
LD, FBD programming language
Function: ADD_T_T instruction is used to find the sum of two time data
OUT:=ADD_T_T ( IN1 , IN2 )
Note :
IL, ST
language programming needs to insert variables
IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
ADD_T _T instruction processing data types
program demonstration
Find the value of T#1s+T#50ms
When
C001
is
ON
, the instruction is
executed, and the time data types are added
to be added;
Execution result:
V002+V003=V004
10.1.5 AND ( Logic and Instruction )
LD, FBD
programming language
Function: AND instruction is used for the logical AND operation of two data