Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
28 Applied Instructions (Data Comparison)
28.1 LD =, >, <, <>, <=, >= / Data Comparison
670
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
*1. Refer to "Cautions".
2. Set data
3. Applicable devices
S: Refer to "Cautions"
Function and operation explanation
These data comparison instructions are connected to bus lines.
The contents of the devices specified by are compared with the contents of the device specified by
in the binary format, and a contact becomes conductive (ON) or non-conductive (OFF) depending on the
comparison result.
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD
ST
*1
LDD< 32 bits Continuous -
LDD<> 32 bits Continuous -
LDD<= 32 bits Continuous -
LDD>= 32 bits Continuous -
Variable Description
Data type
16-bit
operation
32-bit
operation
Input
variable
EN Execution condition Bit
Device storing comparison data ANY16 ANY32
Device storing comparison data ANY16 ANY32
Output
variable
ENO Execution state Bit
Operand
type
Bit Devices Word Devices Others
System user Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
"
"
P
zzzzzzz
S1 S2
zz z zz
zzzzzzz
S1 S2
zz z zz
16-bit instruction 32-bit instruction ON condition OFF condition
LD= LDD=
=
LD> LDD>
>
LD< LDD<
<
LD<> LDD<>
=
LD<= LDD<=
>
LD>= LDD>=
<
LDD<
EN
s1
s2
ENO
LDD<>
EN
s1
s2
ENO
LDD<=
EN
s1
s2
ENO
LDD>=
EN
s1
s2
ENO