Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 55

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• The timer limit value is set in parameter using the engineering tool.
Long timer/long retentive timer: 1 to 1000000 μs (in increments of 1 μs) (Default: 500 μs)
• For the counting method, refer to the following.
 MELSEC iQ-R CPU Module User's Manual (Application)
Precautions
To create a program in which the operation of a long timer contact triggers the operation of another long timer, program the
long timers in order from the one that operates last.
In the following cases, if a program is created in order of timer measurements, all timers turn on in the same scan.
• The set value is smaller than the scan time.
• The set value is 1.
Ex.
When timers LTime_0 to LTime_2 are programmed in order from the one that measures last
[Label definitions]
Label name
LTime_0
LTime_1
LTime_2
Flag_Label
ENO_Label
[Program]
ENO_Label := OUT_LT(LTime_1.S,LTime_2,1);
ENO_Label := OUT_LT(LTime_0.S,LTime_1,1);
ENO_Label := OUT_LT(Flag_Label,LTime_0,1);
Ex.
When long timers LTime_0 to LTime_2 are programmed in order of measurement
[Label definitions]
Label name
LTime_0
LTime_1
LTime_2
Flag_Label
ENO_Label
[Program]
ENO_Label := OUT_LT(Flag_Label,LTime_0,1);
ENO_Label := OUT_LT(LTime_0.S,LTime_1,1);
ENO_Label := OUT_LT(LTime_1.S,LTime_2,1);
Operation error
There is no operation error.
Data type
Long timer
Long timer
Long timer
Bit
Bit
(1) Long timer LTime_2 starts measurement from the next scan after the
contact of long timer LTime_1 turns on.
(2) Long timer LTime_1 starts measurement from the next scan after the
contact of long timer LTime_0 turns on.
(3) Long timer LTime_0 starts measurement when Flag_Label turns on.
Data type
Long timer
Long timer
Long timer
Bit
Bit
(1) Long timer LTime_0 starts measurement when Flag_Label turns on.
(2) When the contact of timer LTime_0 turns on, the contacts of timers
LTime_1 and LTime_2 also turn on.
Class
VAR
VAR
VAR
VAR
VAR
Class
VAR
VAR
VAR
VAR
VAR
5 SEQUENCE INSTRUCTIONS
5.1 Output Instructions
5
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents