Pipe Network Functions for the PLC
After creating the Pipe Network, the complete project must be compiled before using the Pipe Network in PLC "Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events 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:
Included Function Blocks (for 2 axis system) |
|
---|---|
MLPipeAct( PipeAXIS1 ); MLPipeAct( PipeAXIS2 ); |
|
MLCNVConnect( CNV1, AXIS1 ); MLCNVConnect( CNV2, AXIS2 ); |
|
MLAxisPower( AXIS1 ); MLAxisPower( AXIS2 ); |
|
MLAxisPowerOFF( AXIS1 ); MLAxisPowerOFF( AXIS2 ); |
|
MLPipeDeact( PipeAXIS1 ); MLPipeDeact( PipeAXIS2 ); |
See Use the Defines List 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.