MLSmpConnect

Pipe Network motion icon

 Function - Connects a sampler block to a pipe network axis or pipe block.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID Name of the SMP function block in the Pipe Network.

PipeBlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID Name of the pipe block the sampler is connected to.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

N/A

Returns TRUE if the Sampler is connected.

See Function - General Rules.

Remarks

None

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Connect a Sampler pipe block named “EncoderMaster1” to a PipeNetwork Axis block named AXIS1
MLSmpConnect( PipeNetwork.EncoderMaster1, PipeNetwork.AXIS1 ) ;

See Also