PLS![This function or function block supports PLCopen motion PLCopen motion icon](../Resources/Images/Icon_PLCopen.png)
A function block groups an algorithm and a set of private data. It has inputs and outputs. - Pulse
When the step gets activated, the action is activated for a single execution, and possibly once again when the step is deactivated signal generator
Inputs
RUN : BOOL Enabling command
CYCLE : TIME Signal period
Outputs
Q : BOOL Output pulse signal
Time diagram
Remarks
On every period, the output is set to TRUE during one cycle only. In FFLD language, the input rung is the IN command. The output rung is the Q output signal.
ST Language
(* MyPLS is a declared instance of PLS function block *)
MyPLS (RUN, CYCLE);
Q := MyPLS.Q;
FBD Language
FFLD Language
IL Language
(* MyPLS is a declared instance of PLS function block *)
Op1: CAL MyPLS (RUN, CYCLE)
FFLD MyPLS.Q
ST Q
See also