5.10 Standard Edge Detection Function Blocks
5.10.1 Rising edge detector
5-191
5
APPLICATION
FUNCTIONS
R_TRIG(_E)
R_TRIG(_E)
Operation result
(1) Function without EN/ENO
An operation is executed and the operation value is output from .
(2) Function with EN/ENO
The following table shows the executing conditions and operation results.
*1 The previous operation output value is held at even if EN is FALSE.
Operation Error
No operation error occurs in the execution of the R_TRIG (_E) function.
Program Example
The program which turns ON for one scan when bit type data input to is turned from OFF
to ON.
(a) Function without EN/ENO (R_TRIG)
[Structured ladder]
[ST]
R_TRIG_Inst ( g_bool1, g_bool2 );
(b) Function with EN/ENO (R_TRIG_E)
[Structured ladder]
[ST]
R_TRIG_E_Inst ( g_bool1, g_bool2 );
EN ENO
TRUE (Operation execution) TRUE Operation output value
FALSE (Operation stop) FALSE
Previous output value
*1
d
d
d
d s
Instance