Timer_100_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.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
Function name
TIMER_100_FB_M
*1.
Refer to "Cautions".
2. Set data
Variable
Coil
Input
Preset
variable
ValueIn
ValueOut
Output
variable
Status
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.
[Structured ladder]
Var_M0
10
1
[ 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.
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.
228
FX
3U(C)
Structured ladder
Instance name
TIMER_100_FB_M
Coil
ValueOut
Preset
ValueIn
Execution condition
Timer set value
Initial timer value
Current timer value
Timer output contact
Instance name
TIMER_100_FB_M
Coil
ValueOut
Var_D10
Preset
Status
Var_M10
ValueIn
FX
FX
FX
3G
2N(C)
Expression in each language
TIMER_100_FB_M(Coil,
Preset,ValueIn); *1
Status
Description
timing chart
Var_M0
*1
*2
Value of Var_D10
Var_M10
6 Standard Function Blocks
6.12 TIMER_100_FB_M
FX
FX
/FX
1N(C)
1S
U
2C
ST
Bit
Word [signed]
Word [signed]
ANY16
Bit
ON
1
900ms
FX
FX
0N
0(S)
Data type
10
ON

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents