A pulse is not a standard statement for ST. I don't know the GX IEC Developper.
What I do in ST compare the new state of the input with the previous state of the input.
Example positive puls:
PROGRAM PLC_PRG
VAR
In: BOOL;
Inold: BOOL;
ut: BOOL;
END_VAR
IF In = Inold THEN
ut:=FALSE;
ELSE
IF In THEN
ut:=TRUE;
END_IF
END_IF
Inold:=In;
I think ST programming is the best
But where is the output from the oneshot???
The Test_TRIG is the FB "R_TRIG" (IEC) and the variable for execute the FB is "Start" (_CLK) , but where is the (Q) output??
Dariusch
All the info you need about F_TRIG, R_TRIG and how to use FBs is in the specification. Don't rely on the software vendor's documentation alone. It is good to know how what the specification really is instead of the vendor's version of it.