Chapter 4 CPU modules MASTER-K
4-2
4.2 Operation processing of CPU
4.2.1 Operation method
1) The repetitive operation
The repetitive operation method repeats execution of a series of operations. The CPU
repeats the operation processing as following;
Step Description
The preparation step to execute scan operation
Executed only 1 time when power is turned on or
CPU is reset.
The following operation is executed;
- I/O module reset
- Self-diagnosis operation
- Clear non-retentive data
- Read I/O information and assign address
Before start of scan operation, read the status of
input module and store it to the input image data
area.
Execute the user program from step 0 to the last
step
After the last step is executed, output the operation
result of output image data area to the output
module
Before restart scan operation, the following
operation is executed;
- Self-diagnosis operation
- Update the current value of timer and counter
- Execute data transmission with network module
- Check the operation mode is changed or not
Start of operation
Initializing operation
Refresh input image data
Program execution
0 step
Last step
Refresh output image data
Execute END operation