Mitsubishi Electronics FXCPU Welding System User Manual


 
6 Standard Function Blocks
6.6 TP(_E)
217
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.6 TP(_E)
Outline
This function block keeps ON a signal for specified duration.
1. Format
*1. Refer to caution points.
2. Set data
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
When a device specified in turns ON, this function block turns ON a device specified in , and keeps
it ON for duration specified in .
The elapsed time while a device specified in remains ON is set to a device specified in .
A device specified in turns OFF when the elapsed time reaches the set value.
Even if a device specified in turns OFF, this function block does not reset the elapsed time. When a
device specified in turns ON from OFF next time, this function block resets the elapsed time and turns
ON again a device specified in .
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.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S
FX
U
/FX
2C
FX0N FX0(S)
Function name
Expression in each language
Structured ladder ST
TP
TP(IN,PT); *1
Example:
Instance name(IN:=M0,
PT:=Label 1);
M10:=Instance name.Q;
Label 2:=Instance name. ET;
TP_E
TP_E(EN,IN,PT); *1
Example:
Instance name(EN:=X000,
IN:=M0,PT:=Label 1);
M10:=Instance name.Q;
Label 2:=Instance name. ET;
Variable Description Data type
Input
variable
EN Execution condition Bit
IN ( )
ON start input signal Bit
PT ( )
ON duration data Time
Output
variable
ENO Execution status Bit
Q( )
Output signal Bit
ET ( )
ON duration current value Time
TP
Q
M10INM0
PTLabel 1 ET Label 2
Instance name
TP_E
EN ENO
X000
Q
M10INM0
PTLabel 1 ET Label 2
Instance name
s
n
d1
d2
s d1
n
d1 d2
d1
d1
s
d1