Item number
FUN instructions-4
Ladder format
FUN 82 (s)
* (SLREF (s))
Instruction format
FUN 82 (s)
* (SLREF (s))
Usable I/O
s
Number of points
s+1 and
Slot location number
beyond
Function
•
Performs refresh of the designated module for the number of points specified by s, starting with area s+1.
•
Refresh is performed by slot.
•
The slot location numbers stored in areas s+1 and subsequent are designated by the unit number and slot number.
•
The maximum number of points to be refreshed (n) is 64 points. The points exceeding 64 points are not refreshed.
•
If refresh processing is completed normally, DER is set to "0."
*
( ) indicates the display when the Ladder Editor is used.
Program example
R000
DIF0
Program description
•
Upon leading of R000, the two slots designated after WR0001 (unit 0, slot 0) and (unit 1, slot 0) are 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
Number of points to be refreshed
s
Refresh slot location number
s+1
s+2
Refresh slot location number
:
:
:
:
Refresh slot location number
s+n
WR0000 = H0002
WR0001 = H0000
WR0002 = H0010
FUN 82 (WR0000)
5-127
Chapter 5 Instruction Specifications
I/O Refresh (slot)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
311
Steps
3
Word
Double word
WR,
DR,
WM TC DX DY
DM
n ≤ 64
Refresh slot location number is
designated by unit and slot number.
LD
AND
[
WR0000 = H0002
WR0001 = H0000
WR0002 = H0010
FUN82
]
Remark
Other
Designate the slot
location.
R000
DIF0
(WR0000)