CHAPTER 12
12.1
S. >
Compare Greater Than
12.1
S. >
S.>
Structured ladder/FBD
EN
s1
s2
Input argument
EN
S1
S2
Output argument
ENO
D1
D2
Setting
Internal devices
data
Bit
Word
––
S1
––
D1
––
S2
––
D2
*1
Special register SD1506 can be specified as a dummy device.
Function
Compares the input value 1 (E1) and input value 2 (E2) and outputs the result of comparison.
COMPARISON OPERATION
INSTRUCTIONS
Ladder diagram
StartContact
S_GT
ENO
d1
d2
: Execution condition
: Input data start device
: Operation constant start device
: Execution result
: Block memory start device
*1
: Dummy device
J
\
R, ZR
Bit
S.>
S1
D1
Structured text language
ENO:=S_GT(EN,s1,s2,d1,d2);
: Bit
: Array of real data type (0..1)
: Array of real data type (0..1)
: Bit
: Array of any 16-bit data (0..2)
: Real data type
U
\G
Word
––
––
––
––
S. >
S2
D2
Zn
Constant
Other
1
2
3
12
6
7
8
233