5: S
PECIAL
F
UNCTIONS
5-50
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
Constant Scan Time
The scan time may vary whether basic and advanced instructions are executed or not depending on input conditions to
these instructions. The scan time can be made constant by entering a required scan time preset value into special data
register D8022 reserved for constant scan time. When performing accurate repetitive control, make the scan time con-
stant using this function. The constant scan time preset value can be between 1 and 1,000 ms.
The scan time error is ±1 ms of the preset value normally. When the data link or other communication functions are used,
the scan time error may be increased to several milliseconds.
When the actual scan time is longer than the scan time preset value, the scan time cannot be reduced to the constant
value.
Special Data Registers for Scan Time
In addition to D8022, three more special data registers are reserved to indicate current, maximum, and minimum scan
time values.
D8022
Constant Scan Time Preset Value (1 to 1,000 ms)
D8023
Scan Time Current Value (ms)
D8024
Scan Time Maximum Value (ms)
D8025
Scan Time Minimum Value (ms)
Example: Constant Scan Time
This example sets the scan time to a constant value of 500 ms.
M8120
REP
M8120 is the initialize pulse special internal relay.
When the CPU starts operation, the MOV (move) instruction stores 500 to spe-
cial data register D8022.
The scan time is set to a constant value of 500 ms.
S1 –
500
D1 –
D8022
MOV(W)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]