VA Motion Controller Programming Manual
148
10.1.15 EXPT of ( a power of ( X to Y -th
power ) instruction )
LD, FBD
programming language
Function: The EXPT instruction is used to calculate the Y power of X , where X is the first input
and Y is the second input.
Note :
IL, ST
language programming needs to insert variables
IN
and
OUT
or use constants in
the current
POU
variable worksheet
EXPT of
instruction processing data types
As a result, the
IN2
power of
IN1
Funtion and action examples
Find the value of the 2nd power of 3 :
When the contact
C020
is
ON
, the
instruction is executed, with
V076
as the
base,
V077
is the index, and the result of
the operation exists
V056;
Result of execution:
V076
V077
=V056
10.1.16 GE (greater than or equal to the command )
LD, FBD
programming language
Function: GE instruction for comparing two values, when the first input is greater than or
equal to the first time two, the output is 1 , the other is 0 .