Hitachi HIDIC MICRO-EH Applications Manual page 65

Table of Contents

Advertisement

Item number
Basic instructions-3, 4
Ladder format
n
n
Instruction format
AND
n
ANI
n
Usable I/O
n
I/O number
Function
n
Obtains AND of the previous operation result and the a-contact operation.
AND n
n
Obtains AND of the previous operation result and the b-contact operation.
ANI n
Notes
Edge detection (DIF, DFN) cannot be used in respect to ANI.
Pay close attention if the external output is to be monitored when counter input (coincidence output), PWM output, or pulse
output is set with the PI/O function.
R0
Y100 DIF1
WR0 = WR0 + 1
Y100 will not change when monitored. It will remain the same value previously set using functions such as
set/reset.
For example, if Y100 is off, the Y100 status will not change while being monitored and WRO will also remain unchanged.
Program example
X00002
R010
X00003
R011
Program description
When input X00002 and R010 are both on, output Y00100 is on and all others are off.
When input X00003 is on and R011 is off, output Y00101 is on and all others are off.
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
Y00100
Y00101
5-15
Chapter 5 Instruction Specifications
Contact serial connection (AND, ANI)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
0.8
Steps
1
Word
Double word
WR,
DR,
WM TC DX DY
DM
LD
X00002
AND
R010
OUT
Y00100
LD
X00003
R011
ANI
Y00101
OUT
Remark
Other

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents