Timer_Cont_Fb_M - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
6.11

TIMER_CONT_FB_M

Outline
This function block counts the period of time while the condition is satisfied, and generates an output when
the timer counts up the specified time.
1. Format
Function name
TIMER_
CONT_FB_M
*1.
Refer to "Cautions".
2. Set data
Variable
Coil
Input
Preset
variable
ValueIn
ValueOut
Output
variable
Status
Function and operation explanation
1) This is a retentive timer that counts the time when the variable is ON. It starts counting the current value
when the execution condition of the input argument Coil turns ON.
The timer starts counting from "ValueIn × 1 to 1000 ms". When it counts up to "Preset × 1 to 1000 ms",
the output argument Status turns ON.
The current measurement value is outputted into ValueOut.
2) The condition of measurement ValueOut and output argument ON/OFF status is maintained even if the
execution condition of the input argument Coil turns OFF.
When the execution condition of the input argument Coil turns ON, the timer resume counting from the
measurement it holds.
[Structured ladder]
Var_M0
200
0
[ ST ]
Instance name (Coil:= Var_M0,Preset:= 10,Valueln:= 1);
Var_D10:=Instance name.ValueOut;
Var_M10:=Instance name.Status;
*1.
Var_D10 is a global label and is defined as D10.
*2.
Var_M10 is a global label and is defined as M10.
226
FX
3U(C)
Structured ladder
Instance name
TIMER_CONT_FB_M
Coil
Preset
ValueIn
Execution condition
Timer set value
Initial timer value
Current timer value
Timer output contact
Instance name
TIMER_CONT_FB_M
Coil
ValueOut
Var_D10
Preset
Status
Var_M10
ValueIn
FX
FX
FX
3G
2N(C)
Expression in each language
TIMER_CONT_FB_M(Coil,
ValueOut
Preset,ValueIn); *1
Status
Description
timing chart
Var_M0
*1
*2
Value of Var_D10
Var_M10
6 Standard Function Blocks
6.11 TIMER_CONT_FB_M
FX
FX
/FX
1N(C)
1S
U
2C
ST
Bit
Word [signed]
Word [signed]
ANY16
Bit
ON
15 sec
0
1
-
FX
FX
0N
0(S)
Data type
ON
5 sec
150
151-200
ON

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents