
22
CPM2C-S Structure and Operation
Section 1-3
The cycle time will vary slightly depending on the processing being performed
in each cycle, so the calculated cycle time will not always match the actual
cycle time.
Program Execution in
Cyclic Operation
The following diagram shows the cyclic operation of the CPM2C-S when the
program is being executed normally.
Normally, the results of program execution are transferred to I/O memory just
after program execution (during I/O refreshing), but IORF(97) can be used to
refresh a specified range of I/O words during program execution. The speci-
fied range of I/O words will be refreshed when IORF(97) is executed.
The cycle time is the sum of the time required for program execution, I/O
refreshing, and communications port servicing.
A minimum cycle time (1 to 9,999 ms) can be set in the PC Setup (DM 6619).
When a minimum cycle time has been set, CPU operation is paused after pro-
gram execution until the minimum cycle time is reached. CPU operation will
not be paused if the actual cycle time is longer than the minimum cycle time
set in DM 6619.
Note
A fatal error will occur and PC operation will stop if a maximum cycle time has
been set in the PC Setup (DM 6618) and the actual cycle time exceeds that
setting.
The default settings for RS-232C and peripheral port servicing are 5% each of
the cycle time, but these settings can be changed (between 0% and 99%) in
the PC Setup. The RS-232C port’s setting is in DM 6616 and the peripheral
port’s setting is in DM 6617.
Refer to
SECTION 7 Cycle Time and I/O Response Time
for more details and
precautions on the cycle time.
Cycle
time
Overseeing processes
Main program
I/O refreshing
RS-232C port servicing
Peripheral port servicing
If a minimum cycle time has been
set in DM 6619, CPU operation is
paused until the minimum cycle
time is reached.
The servicing time can be set
in DM 6616.
The servicing time can be set
in DM 6617.
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......