MLCNVConnect

 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. - Connects a converter Pipe Block to the specified axis.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initiated Converter object.

AxisID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initiated Axis object.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Returns TRUE if the converter is connected to the Axis object.

See Pipe Network - General Rules.

Remarks

Figure 1: MLCNVConnect



  • All converters in the Pipe Network can be connected at once with the command Pipe Network(MLPN_Connect).
    This calls automatically generated code with MLCNVConnect commands for each Converter block.
    In a multi-axis program only one command can be used to connect Pipe Blocks instead of writing code for each Axis separately.


  • The converter block has the ability to control the analog output on the AKD.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Connect a converter Pipe Block named “CNV1”  to Pipe Block AXIS1
MLCNVConnect( PipeNetwork.CNV1, AXIS1 );

See Also