Chapter 5 Instruction Specifications
5-62
Item number
Arithmetic instructions-17
Name
<> Relational expression
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
d = s1 <> s2
DER
ERR
SD
V
C
z
z
z
z
z
60
Instruction format
Number of steps
Condition
Steps
d = s1 <> s2
s is a word
4
46
s is a double Word
6
Bit
Word
Double word
Usable I/O
X
Y
R,
M
TD, SS,
CU, CT
WX WY
WR,
WM TC DX DY
DR,
DM
C
onstant
Other
d
Substitution destination
{
{
s1 Comparand
{
{
{
{
{
{
{
{
s2 Relational number
{
{
{
{
{
{
{
{
Function
•
Substitutes 1 when s1 is not equal to s2 and otherwise 0 into d, assuming s1 and s2 as binary data.
Notes
•
The combinations of d, s1 and s2 are as follows:
d
s1
s2
Bit
Word
Word
Bit
Double word
Double word
Program example
Y00000= WR0000 < > WR0001
[
Y00000= WR0000 < > WR0001
]
Program description
•
When WR0000
≠
WR0001, “1” is set in Y00000. Otherwise, Y00000 is reset to “0.”
d =
s1
<>
s
2
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 ...