Stand-By Type Program - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Displayed items
Item
Interruption Occurrence
ON of Bit Data (TRUE)
Clear Output and Current Value of Timer
Passing Time
Unit
Clear Output
and Current
Value of Timer
When "Clear Output and Current Value of Timer" is enabled together with "ON of Bit Data (TRUE)" or
"Passing Time", the current values of the output (Y) and timer (T) of this program can be cleared at the first
execution turn of this program that comes after the trigger turns OFF.

Stand-by type program

This program is executed only when there is an execution request.
Saving programs in library
Subroutine programs or interrupt programs are saved as standby type programs so that they can be used when controlled
separately from the main routine program. Multiple subroutine programs and interrupt programs can be created in one
standby type program.
Scan execution type program
Main routine
program
Subroutine
P100
program
Interrupt
I0
program
How to execute
Execute standby type programs as follows.
• Create sub-routine programs and interrupt programs in the standby type program which is called up by a pointer, etc. or
when an interrupt is generated.
Description
Sets the interrupt pointer used as the trigger.
Sets the device used as the trigger.
Sets that the current values of the output (Y), and timer (T)
used in this program are cleared at the execution turn of the
event execution type program that comes after the specified
bit data is OFF.
Sets the time passed.
Sets that the current values of the output (Y), and timer (T)
used in this program are cleared at the execution turn of the
event execution type program that comes after the specified
time passes.
Scan execution type program
Main routine
program
Stand-by type program
Subroutine
P100
program
Interrupt
I0
program
Setting range
I0 to I23, I50 to I177
Page 29 Bit data ON (TRUE)
• Do Not Clear
• Clear
• When "ms" is selected: 1 to
65535 ms (in units of 1 ms)
• When "s" is selected: 1 to
65535 s (in units of 1 s)
• Do Not Clear
• Clear
1 PROGRAM EXECUTION
1.4 Execution Type of Program
Default
1
Do Not
Clear
31

Advertisement

Table of Contents
loading

Table of Contents