21
Basic PC Operation and I/O Processes Section 1-2
Interrupt response time for other interrupts will be improved if interrupt pro-
cessing is set to 00 when high-speed timer processing is not required. This
includes any time the cycle time is less than 10 ms.
Note If the SPED(64) instruction is used and pulses are output at a frequency of
500 Hz or greater, then set the number of high-speed timers with interrupt
processing to four or less. Refer to information on the SPED(64) instruction for
details.
1-2-9 DSW(87) Input Digits & Output Refresh Method (CQM1 Only)
Make the settings shown below to set the number of input digits the DSW(87)
instruction, and to set the output refresh method.
Refer to SECTION 2 Special Features for details on the DSW(87) instruction
and to SECTION 7 PC Operations and Processing Time for details on I/O
refresh methods.
1-2-10 Error Log Settings
Make the settings shown below for detecting errors and storing the error log.
Cycle Monitor Time (DM 6618)
The cycle monitor time is used for checking for extremely long cycle times, as
can happen when the program goes into an infinite loop. If the cycle time
exceeds the cycle monitor setting, a fatal error (FALS 9F) will be generated.
Note 1. The unit used for the maximum and current cycle times recorded in the AR
area (AR 26 and AR 27 in the CQM1, AR 14 and AR 15 in the CPM1/
CPM1A/SRM1) depend on the unit set for the cycle monitor time in
DM 6618, as shown below.
Bits 08 to 15 set to 01: 0.1 ms
Bits 08 to 15 set to 02: 1 ms
Bits 08 to 15 set to 03: 10 ms
Number of input digits for the DSW(87)
00: 4 digits
01: 8 digits
15 0
DM 6639
Bit
Output refresh method
00: Cyclic
01: Direct
Default: The number of input digits for the DSW(87) instruc-
tion is set to "4" and the output refresh method is cyclic.
15 0
DM6618
Bit
Cycle Monitor Time Enable and Unit
00: Setting disabled (time fixed at 120 ms)
01: Setting in 00 to 07 enabled; unit:10 ms
02: Setting in 00 to 07 enabled; unit:100 ms
03: Setting in 00 to 07 enabled; unit:1 s
Cycle monitor time setting (When bits 08 to 15 are not 00)
00 to 99 (2 digits BCD; unit set in bits 08 to 15.)