VA Motion Controller Programming Manual
150
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
GT
instruction
As a result, when
IN1 > IN2
,
OUT
is
1
program demonstration
Compare the size of
the two V010 and V011 addresses:
When the contact
C002
is
ON
, the
instruction is executed. When the value of
the address
V006
is greater than the value of
the address
V007
,
V008
is
V 006.
10.1.18 LE (less than or equal to the instruction )
LD, FBD
programming language
Function: The LE instruction is used to compare the size of two values. When the first input
is less than or equal to the second one, the output is 1 and the others are 0.
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
LE
instruction