IDEC MICRO/I HG2J-7U Hardware Manual page 119

Table of Contents

Advertisement

Output delay
The min-to-max delay time for the Output (#Q, #D and LEY) to fire from the expansion module is 1 millisecond to 1
millisecond + the Execution Period.
There will be maximum output delay if output is made to the
expansion module immediately after the output refresh ends. The
processor waits for the output refresh in the next scan before
reflecting the output to the Output (#Q, #D and LEY).
Cyclic Script
A Cyclic Script refers to three processes: input refresh, I/O control (the specified script), and output refresh.
For details about setting cyclic script, refer to Chapter 4 "Expansion Module Tab" in the WindO/I-NV4 User's Manual.
• Only internal devices can be used in the Cyclic Script.
• The actual execution time of the Cyclic Script is stored in HMI Special Data Register LSD38 (current value
x msec), LSD39 (max value x msec), and LSD40 (min value x msec).
• LINE function, RECTANGLE function, and CIRCLE function cannot be used in the Cyclic Script.
Sleep
Sleep refers to the time used by the Cyclic Script subtracted from the Execution Period. This is when the processor
executes display processing.
Execution Period
The Execution Period refers to one scan of the Cyclic Script (input refresh + I/O control + output refresh) and display
processing time (sleep).
The Cyclic Script is executed once every specified execution interval.
• If execution of the Cyclic Script takes more than half of the time specified for the Execution Period, the
processor automatically extends the Execution Period so that the Cyclic Script completes within 1/2 of the
Execution Period. In this instance, error number 7 will be stored in HMI Special Data Register LSD53.
• If the execution time of the Cyclic Script exceeds 3,000 milliseconds, it pauses to allow the output refresh
to be executed. Thereafter, the script goes to sleep and the Cyclic Script executes on the next scan. In
this instance, error number 6 will be stored in HMI Special Data Register LSD53.
There is a delay in the I/O control. Please take this delay time into consideration when specifying the
Execution Period. For instance, if it is necessary to take in external inputs within 100 milliseconds, set the
Execution Period to 80 milliseconds.
Display processing
Parts laid out on the screen are processed from top to bottom only when the Cyclic Script is in sleep mode.
Display processing is paused when execution of the next Cyclic Script begins, and resumes when the script goes to
sleep again.
When processing reaches the bottom of the screen, processing returns to the top of the screen.
MICRO/I Hardware Manual
1 Overview
Input refresh
I/O control
Output refresh
Output
(#Q, #D, LEY)
Sleep
(Display
processing
Output delay
executed)
(maximum)
Input refresh
I/O control
External
output
Output refresh
2-11
2

Advertisement

Table of Contents
loading

Table of Contents