MLSyncWriteDeltaS

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - 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-113: Set output phasing after MLSyncStart

Set output phasing after MLSyncStop

Figure 7-114: 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 BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. Execute Successfully

See Function - General Rules for more information.
 

Data type

BOOL

 

Unit

n/a

Example

Structured Text

 

MLSyncWriteDeltaS( PipeNetwork.SYN, 45 );

 

Ladder Diagram

MLSyncWriteDeltaS: LD example

Function Block Diagram

MLSyncWriteDeltaS: FBD example