PLCopen programming

Within the scope of the Motion Control Platform (MCP) different function blocks (FB) for the motion tasks are made available. This FB's act on a single axis and are operated via the PLC. Here each axis in the system is configured as a so-called Single Axis Interpolator (SAI).

Alternatively such axes also can be controlled via the NC program, because in the system a SAI always is configured like a normal spindle. For that purpose for the following FB's special NC commands are available. These commands enable a PLCopen conformable programming in NC syntax.

The following topology displays the basic integration of the SAI (spindle) axis in the overall system:

PLCopen programming 1:

In part program a SAI axis is programmed in spindle specific syntax. For that reason it has to be configured by its name and further data analogous to a normal spindle in the channel parameter list. The most important settings in the channel parameters especially are:

For more information see the documentation [1]-Chapter: Configuration of spindles- and chapter Configuring spindles .

The PLCopen functions

require additional specific SAI characteristics of the spindle axis, which are configured in the axes parameters. The necessary settings are described in the documentation [2]-Chapter: Settings for SAI- .

In the following for each NC command the corresponding FB is displayed. The syntax of these commands and the units of the programmed values are based on the corresponding input pins (VAR_INPUT) of the assigned FB's.

General syntax of a (SAI-)NC command:

<spindle_name>[<FB name> <Input_pin1> < Input_pin2> < Input_pin n...>]

The axis name on the beginning of the NC command addresses the (SAI) spindle axis, which can be activated via the NC channel.

The description of the input pins and the units and value ranges can also be taken from the documentation [9].

PLCopen programming 2:

The input pin "Execute" always is set implicitly by the programming of the NC command. That's why for this pin no specific keyword is available.