6 Standard Function Blocks
6.2 F_TRIG(_E)
208
FXCPU Structured Programming Manual
(Application Functions)
6.2 F_TRIG(_E)
Outline
This function block detects the falling edge of a signal, and outputs pulse signal.
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
This function block sets to ON a device specified in when a device specified in turns OFF, and
keeps ON the device specified in only for 1 operation cycle.
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) 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.
Error
1) When an output number is specified in and the specified output number does not exist due to
indexing, M8316 (I/O inexistence error) turns ON.
(Applicable to the FX
3U and FX3UC PLCs only)
2) When a device (M, T or C) other than I/O number is specified in and the specified device number
does not exist due to indexing, an operation error (Error code: 6706) occurs.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S
FX
U
/FX
2C
FX0N FX0(S)
Function name
Expression in each language
Structured ladder ST
F_TRIG
F_TRIG(_CLK); *1
Example:
Instance name(_CLK:=M0);
M10:=Instance name.Q;
F_TRIG_E
F_TRIG_E(EN,_CLK); *1
Example:
Instance name(EN:=X000,
_CLK:=M0);
M10:=Instance name.Q;
Variable Description Data type
Input
variable
EN Execution condition Bit
_CLK ( )
Input signal whose falling edge is to be detected Bit
Output
variable
ENO Execution status Bit
Q()
Output signal Bit
F_TRIG
Q
M10_CLKM0
Instance name
F_TRIG_E
EN ENO
Q
M10
X000
_CLKM0
Instance name
s
d
d s
d
d
d