8-3
Section
Cycle Time
113
8-2-2 Startup Operation after a Power Interruption
The Customizable Counter Unit will start operating in any one of the following
cases depending on the status of the RUN/STOP Command Bit (word n bit 00)
and the
RUN/STOP Command Enable/Disable and Operating Mode at Startup (
word m
bits 00 to 07):
•
The RUN/STOP Command Enable/Disable and Operating Mode at Start-
up is 00 Hex and the RUN/STOP Command Bit (word n bit 00) is ON (RUN
mode).
•
The RUN/STOP Command Enable/Disable and Operating Mode at Start-
up is 04 Hex (RUN mode) or 03 Hex (MONITOR mode).
•
The RUN/STOP Command Enable/Disable and Operating Mode at Start-
up is 01 Hex (Programming Console mode), the Programming Console is
connected, and its mode selector is set to RUN or MONITOR mode.
8-3
Cycle Time
This section describes calculating the cycle time and I/O response time for the
Customizable Counter Unit.
8-3-1 Overview
The processes involved in a single execution cycle are shown in the following
table, and their respective processing times are explained. The total time re-
quired for this processing is called the cycle time.
Process
Content
Time requirements
Overseeing
Refreshing bits in SR and AR Areas and
check for errors.
16
µ
s
Program execution
User program is executed.
Total time for executing instructions. (Varies
according to content of user’s program.)
Cycle time calculation
Standby until set time, when minimum cycle
time is set. (See note 1.)
Calculation of cycle time.
Preset cycle time monitoring time.
33
µ
s, excluding standby processing.
I/O refresh in
Customizable Counter
Unit
Contact input information is read to input
bits.
Output information (results of executing
program) is written to contact outputs.
Special I/O refreshed (pulse I/O for HCP22
and pulse inputs/analog outputs for HCA22).
Memory shared between CPU Unit and
Customizable Counter Unit refreshed.
CS1W-HIO01: 25
µ
s
CS1W-HCP22: 45
µ
s
Immediate refresh via instructions for
CS1W-HCA22: 105
µ
s (END refresh)
45
µ
s (immediate refresh)
The above times are for when data is
exchanged with CPU Unit using only the
words allocated in the SR Area.
Peripheral servicing
Devices connected to peripheral port
serviced. (See note 3.)
Events between CPU Unit and Customizable
Counter Unit services.
Flash memory written.
Peripheral Connection Switch OFF: 3
µ
s
Peripheral Connection Switch ON but not
monitoring: 35
µ
s
Peripheral Connection Switch ON and
monitoring: 0.2 ms (See note 2.)
Note
1. Set in Unit Setup Area word DM 6619.
2. The time can be set in Unit Setup Area word DM 6617. The default is 0.2 ms
fixed and the setting range is 0.1 to 50.0 ms variable.
3. The communications processing time for devices connected to the periph-
eral port will be essentially 0 if the Peripheral Connection Switch is turned
OFF.
Summary of Contents for CS1 -
Page 1: ...Cat No W378 E1 1 Customizable Counter Units SYSMAC CS1 CS1W HI001 HCP22 HCA22 OPERATION MANUAL...
Page 2: ......
Page 3: ...CS1W HIO01 HCP22 HCA22 Customizable Counter Units Operation Manual Produced January 2001...
Page 4: ...iv...
Page 6: ...vi...
Page 10: ......
Page 20: ......
Page 40: ......
Page 60: ......
Page 146: ......
Page 166: ......