VA Motion Controller Programming Manual
144
program demonstration
Find the quotient of time 5s divided by the integer 2 ;
When the contact C000 bit
is ON , the instruction is executed,
and the value of the address V000 is
divided by the value of the
address V001 and stored in V002 .
Execution
result: V000/V001=V002
10.1.11 DIV_T_AN ( division ( time divided by an integer, a
real number ) command )
LD, FBD programming language
Function:
DIV_T_AN
instruction is used to divide time by integer or real operation
OUT:=DIV_T_AN ( IN1 , IN2 )
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
DIV_T_AN instruction processing data types
program demonstration