Pipe Network Functions for the PLC

After creating the Pipe Network, the complete project must be compiled before using the Pipe Network in PLC Programs.

  • Compiling creates a list of Functions used in the PLC Program.
  • These Functions simplify programming by combining the same function block for all axes in the Pipe Network:

Pipe Network Function

Included Function Blocks (for 2 axis system)

MLPN_ACTIVATE

MLPipeAct( PipeAXIS1 );

MLPipeAct( PipeAXIS2 );

MLPN_CONNECT

MLCNVConnect( CNV1, AXIS1 );

MLCNVConnect( CNV2, AXIS2 );

MLPN_POWER_ON

MLAxisPower( AXIS1 );

MLAxisPower( AXIS2 );

MLPN_POWER_OFF

MLAxisPowerOFF( AXIS1 );

MLAxisPowerOFF( AXIS2 );

MLPN_DEACTIVATE

MLPipeDeact( PipeAXIS1 );

MLPipeDeact( PipeAXIS2 );

See click here... for more information about constant definitions related to Pipe Network.


  • To see how these functions are used, open a project, go to Project Explorer, right-click on PipeNetwork and select the Show compiled Code command.