Standard Function Blocks; R_Trig_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.

Standard Function Blocks

6.1
R_TRIG(_E)
Outline
This function block detects the rising edge of a signal, and outputs pulse signal.
1. Format
Function name
R_TRIG

R_TRIG_E

*1.
Refer to caution points.
2. Set data
Variable
EN
Input
variable
_CLK
ENO
Output
variable
Q
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
keeps ON the device specified in
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
indexing, M8316 (I/O inexistence error) turns ON.
(Applicable to the FX
2) When a device (M, T or C) other than I/O number is specified in
does not exist due to indexing, an operation error (Error code: 6706) occurs.
206
FX
3U(C)
Expression in each language
Structured ladder
Instance name
R_TRIG
M0
_CLK
Q
Instance name
R_TRIG_E
X000
EN
ENO
M0
_CLK
Q
Execution condition
Input signal whose rising edge is to be detected
(
)
s
Execution status
Output signal
(
)
d
only for 1 operation cycle.
d
and FX
PLCs only)
3U
3UC
FX
FX
FX
3G
2N(C)
1N(C)
R_TRIG(_CLK); *1
Example:
Instance name(_CLK:=M0);
M10
M10:=Instance name.Q;
R_TRIG_E(EN,_CLK); *1
Example:
Instance name(EN:=X000,
_CLK:=M0);
M10
M10:=Instance name.Q;
Description
when a device specified in
d
and the specified output number does not exist due to
d
6 Standard Function Blocks
6.1 R_TRIG(_E)
FX
FX
/FX
FX
1S
U
2C
0N
ST
Data type
Bit
Bit
Bit
Bit
turns ON, and
s
and the specified device number
d
FX
0(S)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents