6 Standard Function Blocks
6.2 F_TRIG(_E)
209
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 OFF from ON, and the device specified in
remains ON only for 1 operation cycle.
1) Function without EN/ENO(F_TRIG)
2) Function with EN/ENO(F_TRIG_E)
[Structured ladder]
[ST]
[Structured ladder]
[ST]
d
s
d
F_TRIG
F_TRIG_Instance
g_bool1
_CLK
Q
g_bool2
F_TRIG_Instance(_CLK:=g_bool1);g_bool2:=F_TRIG_Instance.Q;
F_TRIG_E
F_TRIG_E_Instance
EN
ENO
Q
g_bool2
Y010
X000
g_bool1
_CLK
F_TRIG_E_Instance(EN:=X000,_CLK:=g_bool1);Y010=F_TRIG_E_Instance;
g_bool2:=F_TRIG_E_Instance.Q;