VA Motion Controller Programming Manual
149
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 GE 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 C004 is 0N , the
instruction is executed; the value of
the V010 value and the V011 value
are compared; when the value in
the V010 address is greater than or equal
to V011 , the output V012 is 1 ;
Execution result: V010>V011=V012=1
10.1.17 GT (greater than instruction )
LD, FBD programming language
Function: The GT instruction is used to compare the size of two values. When the first input is
greater than the second , the output is 1 and the others are 0 .