Tof(_E) - 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.8

TOF(_E)

Outline
When the input signal turns OFF, this function block turns OFF the output signal after the specified time.
1. Format
Function name
TOF
TOF_E
*1.
Refer to caution points.
2. Set data
Variable
EN
Input
IN
(
variable
PT (
ENO
Output
Q
(
variable
ET (
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
When a device specified in
When a device specified in
after the time specified in
The elapsed time until a device specified in
When a device specified in
resets the elapsed time.
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling 32-bit data in structured programs, you cannot specify 16-bit devices directly, different
from simple projects. Use labels when handling 32-bit data.
You can specify 32-bit counters directly, however, because they are 32-bit devices.
Use global labels when specifying labels.
3) Expression of function blocks in each language
*1.
Set the instance when using a function block.
Describe the instance name when programming a function block.
FX
3U(C)
Expression in each language
Structured ladder
Instance name
TOF
M0
IN
Q
Label 1
PT
ET
Instance name
X000
TOF_E
EN
ENO
M0
IN
Q
Label 1
PT
ET
Execution condition
Input signal
)
s
OFF duration data
)
n
Execution status
Output signal
)
d1
OFF duration current value
)
d2
turns ON, this function block turns ON a device specified in
s
turns OFF from ON, this function block turns OFF a device specified in
s
.
n
turns ON again, this function block turns ON a device specified in
s
FX
FX
FX
3G
2N(C)
1N(C)
TOF(IN,PT); *1
Example:
Instance name(IN:=M0,
PT:=Label 1);
M10
M10:=Instance name.Q;
Label 2
Label 2:=Instance name. ET;
TON_F(EN,IN,PT); *1
Example:
Instance name(EN:=X000,
IN:=M0,PT:=Label 1);
M10
M10:=Instance name.Q;
Label 2
Label 2:=Instance name.ET;
Description
turns OFF is set to a device specified in
d1
6 Standard Function Blocks
6.8 TOF(_E)
FX
FX
/FX
FX
1S
U
2C
0N
ST
Data type
Bit
Bit
Time
Bit
Bit
Time
.
d1
.
d2
1
FX
0(S)
2
3
4
5
6
A
d1
and
d1
221

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents