
Series 30i/ 31i/ 32i-MODEL A
PMC Supplemental Programming Manual
01 04.09.30
S. Hasegawa
New registration
B-63983EN/02-2
EDIT
DATE
DESIG.
DESCRIPTION
23/56
DRAW.NO.
3.2.5 Signed Binary Comparison (>=)
GEB (1-byte length: SUB 212)
GEW (2-bytes length: SUB 213)
GED (4-bytes length: SUB 214)
Using this instruction, you can know whether the "Data 1" is equal or
greater than the "Data 2" or not.
The GEB instruction handles 1-byte length signed binary data.
The GEW instruction handles 2-bytes length signed binary data.
The GED instruction handles 4-bytes length signed binary data.
Format
Fig. 3.2.5 shows the ladder format and Table 3.2.5 shows the mnemonic
format.
Fig. 3.2.5 Format of GEB, GEW and GED instructions
Table 3.2.5 Mnemonic of GEB, GEW and GED instructions
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1 RD
{{{{
.{ ACT ACT
2 SUB 212
213
214
GEB instruction
GEW instruction
GED instruction
3 (PRM)
{{{{
Data 1 (Constant or Address)
4 (PRM)
{{{{
Data 2 (Constant or Address)
5 WRT
{{{{
. { Result W1
SUB 212
GEB
Data 1
(Constant
or
Address)
ACT W1
Data 2
(Constant
or
Address)
SUB 213
GEW
Data 1
(Constant
or
Address)
ACT W1
Data 2
(Constant
or
Address)
SUB 214
GED
Data 1
(Constant
or
Address)
ACT W1
Data 2
(Constant
or
Address)