Initialization At Startup - Omron CP1L Operation Manual

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

CPU Unit Operation
2-4-4

Initialization at Startup

84
IORF
St
E
Example
IORF
If high-speed response is required from input to output, execute IORF(097)
before and after the relevant instructions.
Note
IORF(097) has a relatively long execution time which increases with the num-
ber of words being refreshed. Be sure to consider the affect of this time on the
overall cycle time. Refer to the CP Series Programmable Controllers Program-
ming Manual for instruction execution times.
The following initializing processes will be performed once each time the
power is turned ON.
• Confirm mounted Units and I/O allocations.
• Clear the non-holding areas of I/O memory according to the status of the
IOM Hold Bit. (See note 1.)
• Clear forced status according to the status of the Forced Status Hold Bit.
(See note 2.)
• Automatically transfer data from the Memory Cassette if one is mounted
and automatic transfer at startup is specified.
• Perform self-diagnosis (user memory check).
• Restore the user program. (See note 3.)
Note
(1) The I/O memory is held or cleared according to the status of the IOM Host
Bit and the setting for IOM Hold Bit Status at Startup in the PLC Setup
(read only when power is turned ON).
PLC Setup setting
IOM Hold Bit Status
at Startup
Note When the mode is changed between PROGRAMMING mode and
RUN or MONITOR mode, I/O memory initialization is according to
the status of the IOM Hold Bit at that time.
(2) The forced status held or cleared according to the status of the Force Sta-
tus Hold Bit and the setting for Forced Status Hold Bit Status at Startup
in the PLC Setup (read only when power is turned ON).
PLC Setup setting
Forced Status Hold
Bit Status at Startup
St: Starting word
E: End word
All the words from St to E, inclusive
are refreshed.
Here, the four words from CIO 2
to CIO 5 are refreshed.
2
5
Auxiliary bit
Clear
At power ON: Clear
(OFF)
At mode change: Clear
Hold
(ON)
Auxiliary bit
Clear
(OFF)
Hold
(ON)
IOM Hold Bit (A500.12)
Clear (OFF)
Forced Status Hold Bit (A500.13)
Clear (OFF)
At power ON: Clear
At mode change: Clear
Section 2-4
Hold (ON)
At power ON: Clear
At mode change: Hold
At power ON: Hold
At mode change: Hold
Hold (ON)
At power ON: Clear
At mode change: Hold
At power ON: Hold
At mode change: Hold

Advertisement

Table of Contents
loading

Table of Contents