6 Standard Function Blocks
6.12 TIMER_100_FB_M
228
FXCPU Structured Programming Manual
(Application Functions)
6.12 TIMER_100_FB_M
Outline
This function block generates an output when the condition continues for the specified time.
The initial value and setting value of the timer is multiplied by 100 ms.
1. Format
*1. Refer to "Cautions".
2. Set data
Function and operation explanation
1) When the execution condition of the input argument Coil turns ON, counting the current value starts.
The timer starts counting from "ValueIn × 100 ms". When it counts up to "Preset × 100 ms", the output
argument Status turns ON.
The current measurement value is outputted into ValueOut.
2) When the execution condition of the input argument Coil turns OFF, the current value takes on the value
of ValueIn and the output argument Status also turns OFF.
*1. Var_D10 is a global label and is defined as D10.
*2. Var_M10 is a global label and is defined as M10.
Cautions
1) Expression in each language of function block
*1. Set the instance when using the function block.
Describe the instance name when programming the function block.
2) For the function block, the automatic allocation device needs to be set as the timer numbers are allocated
automatically.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S
FX
U
/FX
2C
FX0N FX0(S)
Function name
Expression in each language
Structured ladder ST
TIMER_100_FB_M
TIMER_100_FB_M(Coil,
Preset,ValueIn); *1
Variable Description Data type
Input
variable
Coil Execution condition Bit
Preset Timer set value Word [signed]
ValueIn Initial timer value Word [signed]
Output
variable
ValueOut Current timer value ANY16
Status Timer output contact Bit
TIMER_100_FB_M
Coil ValueOut
Preset
ValueIn
Status
Instance name
[Structured ladder]
ON
Var_M0
Var_M10
Value of Var_D10
ON
1
10
900ms
timing chart
Instance name (Coil:= Var_M0,Preset:= 10,Valueln:= 1);
Var_D10:=Instance name.ValueOut;
Var_M10:=Instance name.Status;
[ ST ]
Instance name
TIMER_100_FB_M
Coil ValueOut
10
Preset
ValueIn
1
Var_D10
*1
Status
Var_M10
*2
Var_M0