theColonel26
Lifetime Supporting Member
I've wrapped a Function Block around a OneShot/R_TRIG and I want to use it in structured text.
I have an Input bool called In and a Output called Out. My FB instance is called OneShot1.
However I am getting these errors
The FB Logic
ST using the FB
I have an Input bool called In and a Output called Out. My FB instance is called OneShot1.
However I am getting these errors
- unexpected syntax for the '.'
- Undefined identifier 'Out'
Code:
OneShot1(In:=Running);
If OneShot1.Out = true Then
END_IF;
The FB Logic
ST using the FB