Function Block MLFB_PlsTimeFwPipe Network motion icon

Description

This function block should be used in the command position path with ascending position. A dedicated comparator pipe block is needed. The Boolean output oPLS is set to TRUE if the position of the comparator has crossed the start position and a timer with iOnTime is started. When the timer has expired the output is set to FALSE. The function block is executed cyclically. The modulo position is considered. The function block has the possibility to compensate a delay time of the connected device, e .g. glue nozzles.

Arguments

Input

ibExecute

Description

Enable PLS

 

Data type

BOOL

iDedicatedCmpID

Description

ID of dedicated comparator

 

Data type

DINT

iStartPos

Description

Start position of PLS

 

Data type

LREAL

iOnTime

Description

Time PLS is on

 

Data type

TIME

iDelayTime

Description

Delay time for compensation

 

Data type

TIME

ibForce

Description

Force PLS

 

Data type

BOOL

Output

oPLS

Description

Position limit switch

 

Data type

BOOL

Example

Timing

ST

//PLSOutput is True when chosen comparator passes 180 for 3 seconds a T#2ms delay

//Can also force the output to be true with ForceOuput variable

Inst_MLFB_PlsTimeFw( EnablePLS, PipeNetwork.COMPARATOR, 180, T#3s, T#2ms, ForceOutput );
PLSOutput := Inst_MLFB_PlsTimeFw.oPLS;

FBD

FFLD

Go back to the top of the page [Top]