Chapter 5 Instruction Specifications
5-63
Item number
Arithmetic instructions-18
Name
Signed <> Relational expression
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
d = s1 S<> s2
DER
ERR
SD
V
C
z
z
z
z
z
Command format
Number of steps
48
Condition
Steps
d = s1 S<> s2
s is a double word
6
Bit
Word
Double word
Usable I/O
X
Y
R,
L,
M
TD, SS,
CU, CT
WX WY
WR,
WM
TC DX DY
DR,
DM
C
o
ns
ta
nt
Other
d
Substitution destination
{
{
s1 Comparand
{
{
{
{
s2 Relational number
{
{
{
{
Function
z
Substitutes 1 when s1 is not equal to s2 and otherwise 0 into d, assuming s1 and s2 as signed binary data.
z
s1 and s2 are both signed binary data. When the most significant bit is 0, the value is positive; when the most significant
bit is 1, the value is negative.
s1, s2
– 2147483648 to +2147483647 (decimal)
H80000000 to H7FFFFFFF (hexadecimal)
b31
b16 b15
b0
Sign bit: 0 - Positive; 1 - Negative
Program example
Y00100 = DR0000 S<> DR0002
[
Y00100 = DR0000 S<> DR0002
]
Program description
z
When the values of DR0000 and DR0002 are not equal, Y00100 is turned on. Otherwise, Y00100 is turned off.
d =
s1
S
<
>
s2
Summary of Contents for HIDIC MICRO-EH
Page 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Page 12: ...MEMO ...
Page 14: ...Chapter 1 Features 1 2 MEMO ...
Page 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Page 196: ...Chapter 5 Instruction Specifications 5 146 ...
Page 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...