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. - Sets the output phasing value of a synchronizer block.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID name of the Pipe Network Block.

DeltaS

LREAL

No range

User units

No default

Slope to be used during Start and stop of Synchronization.

This parameter is used in MLSyncStart and MLSyncStop.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

N/A

Function block executed successfully.

See Pipe Network - General Rules for more information.

Remarks

  • 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 de-synchronize with the input and come to a stop when MLSyncStop block is executed.

Get Output Phasing after MLSyncStart

Figure 6-201: Set output phasing after MLSyncStart

Get Output Phasing after MLSyncStop

Figure 6-202: Set output phasing after MLSyncStop

FBD Language Example

MLSyncWriteDeltaS: FBD example

FFLD Language Example

MLSyncWriteDeltaS: LD example

IL Language Example

Not available.

ST Language Example

MLSyncWriteDeltaS( PipeNetwork.SYN, 45 );