6 Standard Function Blocks
6.10 TIMER_10_FB_M
225
FXCPU Structured Programming Manual
(Application Functions)
1
Outline
2
Function List
3
Function
Construction
4
How to Read
Explanation of
Functions
5
Applied
Functions
6
Standard
Function Blocks
A
Correspondence
between Devices
and Addresses
6.10 TIMER_10_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 10 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 × 10 ms". When it counts up to "Preset × 10 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_10_FB_M
TIMER_10_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_10_FB_M
Coil ValueOut
Preset
ValueIn
Status
Instance name
TIMER_10_FB_M
Coil ValueOut
10
Preset
ValueIn
1
Var_D10
*1
Status
Var_M10
*2
Var_M0
[Structured ladder]
ON
Var_M0
Var_M10
Value of Var_D10
ON
1
10
90ms
timing chart
[ ST ]
Instance name
Instance name (Coil:= Var_M0,Preset:= 10,Valueln:= 1);
Var_D10:=Instance name.ValueOut;
Var_M10:= Instance name.Status;