Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 52

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

Advertisement

Processing details
• These instructions start time measurement, triggered by the coil specified by Coil, when the operation result up to the OUT
instruction is on. When time is up (current value ≥ set value), the normally open contact turns on (continuity state) and the
normally closed contact turns off (non-continuity state).
• When the operation result up to the OUT instruction turns off, the contact responds as shown below.
Type
Low-speed timer
High-speed timer
Low-speed retentive timer
High-speed retentive timer
• To clear the current value of the retentive timer and turn off the contact after time is up, use the RST instruction.
• When the timer set value is 0, the time will be up at execution of the OUT instruction.
• The following operations are performed at execution of the OUT instruction.
• The coil used as a trigger of the OUT_T, OUTH_T, OUT_ST, or OUTH_ST instruction turns on or off.
• The contact used as a trigger of the OUT_T, OUTH_T, OUT_ST, or OUTH_ST instruction turns on or off.
• The current value of the OUT_T, OUTH_T, OUT_ST, or OUTH_ST instruction is changed.
• If the same OUT_T, OUTH_T, OUT_ST, or OUTH_ST instruction is executed two times or more in a single scan, the current
value is updated by the number of times the instruction is executed.
• The timer limit value is set in parameter using the engineering tool.
Low-speed timer/low-speed retentive timer: 1 to 10000 ms (in increments of 1 ms) (Default: 100 ms)
High-speed timer/high-speed retentive timer: 1 to 10000 μ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 timer contact triggers the operation of another timer, program the 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 Time_0 to Time_2 are programmed in order from the one that measures last
[Label definitions]
Label name
Time_0
Time_1
Time_2
Flag_Label
ENO_Label
[Program]
ENO_Label := OUT_T(Time_1.S,Time_2,1);
ENO_Label := OUT_T(Time_0.S,Time_1,1);
ENO_Label := OUT_T(Flag_Label,Time_0,1);
5 SEQUENCE INSTRUCTIONS
50
5.1 Output Instructions
Timer coil
Current value
Off
0
Off
Current value
retained
Data type
Timer
Timer
Timer
Bit
Bit
Before time is up
Normally open
Normally closed
contact
contact
Non-continuity
Continuity
Non-continuity
Continuity
(1) Timer Time_2 starts measurement from the next scan after the contact of
timer Time_1 turns on.
(2) Timer Time_1 starts measurement from the next scan after the contact of
timer Time_0 turns on.
(3) Timer Time_0 starts measurement when Flag_Label turns on.
After time is up
Normally open
Normally closed
contact
contact
Non-continuity
Continuity
Continuity
Non-continuity
Class
VAR
VAR
VAR
VAR
VAR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents