MLSyncInit

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. - Initializes 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. Pipe 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.

ModuloPosition

LREAL

No range

User units

No default

The modulo distance.

CurveType

DINT

1, 2

N/A

No default

The curve type to the motion when starting and stopping synchronization.

The options are:

  • 1 = Parabolic
  • 2 = Polynomial

DeltaS

LREAL

No range

User units

No default

The Distance to get in or out of synchronization.

This parameter is used in MLSyncStart and MLSyncStop.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

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

PipeNetwork(MLPN_CREATE_OBJECTS);

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Initialize  a synchronizer  Pipe Block named “ SYN” with a modulo of 360, Curve Type of Parabolic, and a distance (DeltaS) of 30 to get in and out of synchronization
MLSyncInit( PipeNetwork.SYN, 360, 1, 30 );

See Also

MLSyncWriteDeltaS