Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-127
Item number FUN instructions-4 Name I/O Refresh (slot)
Ladder format Condition code
Processing time (µs)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
FUN 82 (s) DER ERR SD V C
* (SLREF (s))
zzzz
Instruction format Number of steps
311
Condition Steps
FUN 82 (s) 3
* (SLREF (s))
Bit Word Double word
Usable I/O
XY
R,
M
TD, SS,
CU, CT WX WY
WR,
WM TC DX DY
DR,
DM
Constant
Other
s Number of points {
s+1 and
beyond
Slot location number
{
Designate the slot
location.
Function
s
s+1
s+2
:
:
s+n
Number of points to be refreshed
Refresh slot location number
Refresh slot location number
Refresh slot location number
n
64
Refresh slot location number is
designated by unit and slot number.
:
:
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
WR0000 = H0002
WR0001 = H0000
WR0002 = H0010
FUN 82
(
WR0000
)
LD R000
AND DIF0
[
WR0000 = H0002
WR0001 = H0000
WR0002 = H0010
FUN82 (WR0000)
]
Program description
Upon leading of R000, the two slots designated after WR0001 (unit 0, slot 0) and (unit 1, slot 0) are refreshed.
FUN 82 (s)