17
Basic PC Operation and I/O Processes
Section 1-3
1-3-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 units used for the maximum and current cycle times recorded in AR
26 and AR 27 (4-digit BCD) 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
2.
If the cycle time is 1 s or longer, the cycle time read from Programming De-
vices will be 999.9 ms. The correct maximum and current cycle times will
be recorded in the AR area.
Example
If 0230 is set in DM 6618, an FALS 9F error will not occur until the cycle time
exceeds 3 s. If the actual cycle time is 2.59 s, the current cycle time stored in
the AR area will be 2590 (ms), but the cycle time read from a Programming
Device will be 999.9 ms.
A “cycle time over” error (non-fatal) will be generated when the cycle time
exceeds 100 ms unless detection of long cycle times is disable using the set-
ting in DM 6655.
15
0
DM 6618
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-digit BCD; unit set in bits 08 to 15.)
Default:
120 ms.