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 synchronizerClosed Combines an axis or axes group (as slave) with an axis as master. The slave executes its path with synchronization to the progress of the master. This is linked to a one dimension source for synchronization. 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

FALSE, TRUE

N/A

Function blockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. executed successfully.

See Pipe Network - General Rules.

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.

Figure 1: Set output phasing after MLSyncStart

Figure 2: Set output phasing after MLSyncStop

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLSyncWriteDeltaS( PipeNetwork.SYN, 45 );