Ioref (I/O Refresh) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

IOREF (I/O Refresh)

IOREF
*****
Applicable CPU Modules
FC4A-C10R2/C
FC4A-C16R2/C
X
Valid Operands
Operand
S1 (Source 1)
Only input or output numbers available on the CPU module can be designated as S1. Input and output numbers for expan-
sion I/O modules cannot be designated as S1. For the valid operand number range, see pages 6-1 and 6-2.
Input Operand Numbers and Allocated Internal Relays
Input Operand
I0
I1
I2
I3
I4
Note *: Slim type CPU modules FC4A-D40K3 and FC4A-D40S3 cannot use I10 through I15 as source operand S1; only I0
through I7 can be designated as source operand S1 for the FC4A-D40K3 and FC4A-D40S3.
During normal execution of a user program, I/O statuses are refreshed simultaneously when the END instruction is exe-
cuted at the end of a scan. When a real-time response is needed to execute an interrupt, the IOREF instruction can be used.
When the input to the IOREF instruction is turned on, the status of the designated input or output is read or written imme-
diately.
When the IOREF instruction is executed for an input, the filter does not take effect and the input status at the moment is
read to a corresponding internal relay.
The actual input status of the same input number is read to the internal input memory when the END instruction is exe-
cuted as in the normal scanning, then the filter value has effect as designated in the Function Area Settings. See page 5-24.
When input is on, 1-bit I/O data designated by source operand S1 is refreshed immedi-
S1
ately regardless of the scan time.
When I (input) is used as S1, the actual input status is immediately read into an internal
relay starting with M300 allocated to each input available on the CPU module.
When Q (output) is used as S1, the output data in the RAM is immediately written to the
actual output available on the CPU module.
FC4A-C24R2/C
X
X
Function
I/O for refresh
Internal Relay
Input Operand
M300
M301
M302
M303
M304
« FC4A M
18: P
FC4A-D20K3/S3
X
I
X
Internal Relay
I5
M305
I6
M306
I7
M307
I10 *
M310
I11 *
M311
S
U
'
M
ICRO
MART
SER
S
ANUAL
B
ROGRAM
RANCHING
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
X
Q
M
R
T
C
D
X
— — — — —
Input Operand
I12 *
I13 *
I14 *
I15 *
»
I
NSTRUCTIONS
Constant
Repeat
Internal Relay
M312
M313
M314
M315
18-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents