PLS
Function Block - Pulse signal generator.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
RUN |
BOOL |
FALSE, TRUE |
|
|
Enabling command. |
|
CYCLE |
TIME |
|
|
|
Signal period. |
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Q |
BOOL |
FALSE, TRUE |
|
Output pulse signal. |
Remarks
- On every period, the output is set to TRUE during one cycle only.
Time Diagram
FBD Language Example
FFLD Language Example
- In the FFLD Language, the input rung is the IN command.
- The output rung is the Q output.
IL Language Example
Not available.
ST Language Example
(* MyPLS is a declared instance of PLS function block. *)
MyPLS (RUN, CYCLE);
Q := MyPLS.Q;
See Also




