Refresh Timing - Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Basic Concepts

2-1-10 Refresh Timing

Cyclic Refresh
Immediate Refresh
Instructions with Refresh
Variation (!)
40
The following methods are used to refresh external I/O.
• Cyclic refresh
• Immediate refresh (instruction with the ! specification, IORF(097),
FIORF(225), or DLNK(226))
Note FIORF(225) is supported by CJ1-H-R CPU Units only.
Refer to the section on CPU Unit operation in the CS/CJ Series Operation
Manual for details on the I/O refresh.
Every program allocated to a ready cyclic task or a task where interrupt condi-
tion has been met will execute starting from the beginning program address
and will run until the END(001) instruction. After all ready cyclic tasks or tasks
where interrupt condition have been met have executed, cyclic refresh will
refresh all I/O points at the same time.
Note Programs can be executed in multiple tasks. I/O will be refreshed after the
final END(001) instruction in the program allocated to the highest number
(among all ready cyclic tasks) and will not be refreshed after the END(001)
instruction in programs allocated to other cyclic tasks.
Top
! LD 000101
! OUT 000209
END
Top
! MOV 0003
END
I/O refresh
Execute an IORF instruction for all required words prior to the END(001)
instruction if I/O refreshing is required in other tasks.
I/O will be refreshed as shown below when an instruction is executing if an
real I/O bit is specified as an operand.
Units
C200H Basic I/O Units (CS Series only)
CJ Basic I/O Units
15
CIO 0001
15
CIO 0002
15
CIO 0003
15
CIO 0004
Cyclic refresh
(batch processing)
All real data
Refreshed data
I/O will be refreshed for the 16 bits con-
taining the bit.
Section 2-1
0
16-bit units
0
0
16-bit units
0

Advertisement

Table of Contents
loading

Table of Contents