FX Series Programmable Controlers Applied Instructions 5
5-68
5.6.1 REF (FNC 50)
Operation:
Standard PLC operation processes output and input
status between the END instruction of one program
scan and step 0 of the following program scan. If an
immediate update of the I/O device status is required
the REF instruction is used. The REF instruction can only be used to update or refresh blocks of
8 (n) consecutive devices. The head address of the refreshed devices should always have its
last digit as a 0 (zero), i.e. in units of 10.
Mnemonic Function
Operands
Program steps
Dn
REF
FNC 50
(
Refresh)
Forces an
immediate update
of inputs or
outputs as
specified
X, Y
)
Note:
D should always be a
multiple of 10, i.e. 00,
10, 20, 30 etc.
K, H
)
Note:
n should always be a
multiple of 8, i.e. 8, 16,
24, 32 etc.
REF, REFP:
5steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
X0
X 10
[ D ]
K 8REF
[ n ]
Note: A short delay will occur before the I/O device is physically updated, in the case of inputs
a time equivalent to the filter setting, while outputs will delay for their set energized time.