FunctionMLSyncWriteDeltaSPipe Network motion icon

Description

Set the output phasing value of a synchronizer block. Returns TRUE if the function succeeded. Output phasing is the distance or the slope the output takes to synchronize with the input when MLSyncStart Block is executed. It also affects the distance or the slope the output takes to desynchronize with the input and come to a stop when MLSyncStop Block is executed.

Set output phasing after MLSyncStart

Figure 7-114: Set output phasing after MLSyncStart

Set output phasing after MLSyncStop

Figure 7-115: Set output phasing after MLSyncStop

Arguments

Input

BLockID

Description

Name of the Pipe Network Block

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

n/a

 

Default

DeltaS

Description

Slope to be used during Start and stop of Synchronization

 

Data type

LREAL

 

Range

 

Unit

User unit

 

Default

Output

Default (.Q)

Description

Function BlockClosedA function block groups an algorithm and a set of private data. It has inputs and outputs. Execute Successfully

See more details here.

 

Data type

BOOL

 

Unit

n/a

Example

Structured Text

 

MLSyncWriteDeltaS( PipeNetwork.SYN, 45 );

 

Ladder Diagram

MLSyncWriteDeltaS: LD example

Function Block Diagram

MLSyncWriteDeltaS: FBD example