Interrupt Occurrence - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Data collection during the END processing after specified time interval
This option causes data collection to be performed at the timing of the END processing rather than during the course of
program execution. Ensure that the "Scan time" is less than "Time specification". If the scan time is longer than the specified
time and the collection interval or the collection timing occurs more than once during the same scan, data is collected only
once during the END processing. Data collection is performed on a scan by scan basis, which is the same behavior as when
"Each scan" is used.
Ex.
10 milliseconds (10ms)
Set time
Program
0
1 scan

Interrupt occurrence

Data are collected at specified time interval after the execution of an interrupt program. The time interval is specified by
"Interrupt cycle specified sampling intervals" "Interval". Interrupt pointers which can be specified are I28 to I31, I44, I45, I48,
and I49.
Ex.
When multiple CPU synchronous interrupt (I45) is used (multiple CPU synchronous interrupt is set to 0.22 milliseconds
(0.22ms) and interval to 3):
Fixed scan
communication
cycle
0.22ms
Since data collection is performed at the timing of the execution of the interrupt program, data is collected only
when all of the following conditions are met:
• The specified interrupt meets the operating condition.
• The specified interrupt pointer exists in the program.
• The current state is an EI state and the interrupt mask of the interrupt pointer has been reset.
11 DATA LOGGING FUNCTION
174
11.2 Data Collection Conditions
10ms
END
0
END
END processing
END processing
0.22ms
0.22ms
Sampling
10ms
0
END
0
END processing
Sampling
0.22ms
Sampling
10ms
END
0
END processing
Sampling
0.22ms
0.22ms
END
END processing
0.22ms
Sampling

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents