Timer Function Block - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

36.8

Timer Function Block

TIMER__M
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• [RnPCPU (redundant)] If these function blocks are used in a program executed in both systems, there are restrictions on their operation when the systems
are switched. ( MELSEC iQ-R CPU Module User's Manual (Application))
These function blocks start counting a timer when the execution condition is satisfied, and continue counting until the timer
reaches the set value.
Ladder, FBD/LD
s1
d1
s2
d2
s3
( is to be replaced by any of the following: TIMER_10_FB_M,
TIMER_100_FB_M, TIMER_HIGH_FB_M, TIMER_LOW_FB_M,
TIMER_CONT_FB_M, or TIMER_CONTHFB_M.)
Setting data
■Description, type, data type
Argument
Description
s1 (Coil)
Execution condition (TRUE: Executed, FALSE: Not executed)
s2 (Preset)
Timer setting value
s3 (ValueIn)
Initial timer value
d1 (ValueOut)
Current timer value
d2 (Status)
Output
Processing details
■TIMER_10_FB_M
• When (s1) turns on, measurement of the current value starts. The measurement starts from (s3)10ms. When the value
reaches (s2)10ms, (d2) turns on. The measured current value is output to (d1).
• When (s1) turns off, the current value returns to the initial value (s3), and (s2) also turns off.
• If the unit of measurement of the high-speed timer (in the timer limit setting) is changed from the default value using the
engineering tool, a warning will be issued during compilation.
• The valid setting range of (s2) is 0 to 32767.
• The valid setting range of (s3) is -32768 to 32767. Note that if a negative value is specified, 0 will be used as the initial
value.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Structured text
Instance name(Coil:=s1,Preset:=s2,ValueIn:=s3,ValueOut:=d1,Status:=d2);
Type
Input variable
Input variable
Input variable
Output variable
Output variable
36 COUNTER/TIMER FUNCTION BLOCKS
Data type
BOOL
INT
INT
ANY16
BOOL
1997
36.8 Timer Function Block
36

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents