Hitachi HIDIC MICRO-EH Applications Manual page 176

Table of Contents

Advertisement

Item number
FUN instructions-3
Ladder format
FUN 81 (s)
* (IOREF (s))
Instruction format
FUN 81 (s)
* (IOREF (s))
Usable I/O
s
Type
Function
s
Input type
Depending on the I/O type of the area specified by s, refresh is performed with respect to I/O modules only, output modules
only.
Refresh is performed by each slot assignment according to the I/O assignment.
If the refresh processing is completed normally, DER is set to '0.'
*
( ) indicates the display when the Ladder Editor is used.
Notes
If the I/O type is other than H00 or H01, DER is set to "1" and no processing will be performed.
If the argument s exceeds the maximum I/O number, DER is set to "1" and no processing will be performed.
Program example
R000
DIF0
R001
DIF1
Program description
Upon leading of R000, the input module is refreshed.
Upon leading of R001, the output module is refreshed.
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
H00: Input refresh
H01: Output refresh
WR0004 = 0
FUN 81 (WR0004 )
WR0004 = 1
FUN 81 (WR0004 )
5-126
Chapter 5 Instruction Specifications
I/O refresh (Input/output)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
244
Steps
3
Word
Double word
WR,
DR,
WM TC DX DY
DM
LD
AND
[
WR0004 = 0
FUN 81 (WR0004)
]
LD
AND
[
WR0004 = 1
FUN 81 (WR0004)
]
Remark
Other
R000
DIF0
R001
DIF1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents