Improving Refresh Response For Cpu Bus Unit Data - Omron CS1G/H-CPUxx-EV1 Programming Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Cycle Time/High-speed Processing
1,2,3...
6-1-8

Improving Refresh Response for CPU Bus Unit Data

262
Data is refreshed between this area and the CPU Unit each cycle during I/O
refreshing, but this cyclic refreshing can be disabled for individual Units in the
PLC Setup.
There are basically three reasons to disable cyclic refreshing:
1. Cyclic refreshing for Special I/O Units can be disabled when the cycle time
is too long because so many Special I/O Units are installed.
2. If the I/O refreshing time is too short, the Unit's internal processing may not
be able to keep pace, the Special I/O Unit Error Flag (A40206) will be
turned ON, and the Special I/O Unit will not operate properly.
In this case, the cycle time can be extended by setting a minimum cycle
time in the PLC Setup or cyclic I/O refreshing with the Special I/O Unit can
be disabled.
3. Always disable cyclic refreshing for a Special I/O Unit when it will be re-
freshed in an interrupt task by IORF(097). An interrupt task error will occur
and the Interrupt Task Error Flag (A40213) will be turned ON if cyclic re-
freshing and IORF(097) refreshing are performed simultaneously for the
same Unit.
When cyclic refreshing has been disabled, the Special I/O Unit's data can be
refreshed during program execution with IORF(097).
PLC Setup
The Cyclic Refreshing Disable Bits for Special I/O Units 0 to 95 correspond
directly to the 96 bits in addresses 226 through 231.
Address
226 bit 0
Cyclic Refreshing Disable Bit
for Special I/O Unit 0
:
231 bit 15
Cyclic Refreshing Disable Bit
for Special I/O Unit 95
This function is supported only by CS1-H, CJ1-H, CJ1M, or CS1D CPU Units.
Normally, data links and other special data for CPU Bus Units are refreshed
along with the CIO and DM Area words allocated to the Units during the I/O
refresh period following program execution.
The following table lists some example of special data for CPU Bus Units.
Units
Controller Link Units and
SYSMAC LINK Units
CS/CJ-series DeviceNet
Units
The following functions can be used to improve the refresh response for spe-
cial CPU Bus Unit data with CS1-H, CJ1-H, CJ1M, or CS1D CPU Units.
• Reducing the cycle time by using parallel processing mode or high-speed
instructions (Parallel processing mode is not supported by CS1D CPU
Units for Duplex-CPU Systems.)
• Executing DLNK(226) to refresh specific CPU Bus Units by specifying
their unit numbers (DLNK(226) can be used more than once in the pro-
gram.)
Name
Setting
0: Enabled
1: Disabled
:
0: Enabled
1: Disabled
Special data
Controller Link and SYSMAC LINK data links (includ-
ing automatically and user-set links)
DeviceNet remote I/O communications (including
fixed allocations and user-set allocations)
Section 6-1
Default
0 (Enabled)
:
:
0 (Enabled)

Advertisement

Table of Contents
loading

Table of Contents