6 Standard Function Blocks
6.1 R_TRIG(_E)
207
FXCPU Structured Programming Manual
(Application Functions)
1
O
utlin
e
2
Function Li
st
3
Functi
on
Cons
tructi
on
4
Ho
w t
o R
ea
d
Explanati
on of
Func
tions
5
Appl
ie
d
Functions
6
Stan
dard
Functi
on
Blocks
A
Correspondence
be
tw
een Dev
ice
s
an
d A
ddres
ses
Program example
In this program, a device specified in
turns ON when the bit data stored in a device specified in
turns ON from OFF, and the device specified in
remains ON only for 1 operation cycle.
1) Function without EN/ENO(R_TRIG)
2) Function with EN/ENO(R_TRIG_E)
[Structured ladder]
[ST]
[Structured ladder]
[ST]
d
s
d
R_TRIG
R_TRIG_Instance
g_bool1
_CLK
Q
g_bool2
R_TRIG_Instance(_CLK:=g_bool1);g_bool2:=R_TRIG_Instance.Q;
R_TRIG_E
R_TRIG_E_Instance
EN
ENO
Q
g_bool2
Y010
X000
g_bool1
_CLK
R_TRIG_E_Instance(EN:=X000,_CLK:=g_bool1);Y010=R_TRIG_E_Instance.ENO;
g_bool2:=R_TRIG_E_Instance.Q;