SIMATIC S7-1500 / S7-1500T: Standard application axis control
Two variants of the application example are available:
- "LAxisBasics" library
This variant supplies blocks for the basic functions for controlling and diagnosing axes (axis enable, homing and jogging). The example shows the application of the integrated PLCopen functions and can be extended by you as required.
- "LAxisCtrl" library
This standard application provides an axis function block with very extensive functions for simple control of axes. You do not need to familiarize yourself with the code of the axis block, you only use the interface of the block, which behaves according to PLCopen.
Both variants of the application example differ in their basic configuration. Switching between the two variants is only possible with changes in the user program.
You can access a variant for SIMOTION in entry ID 48816191
A comparison of the functional scope of the two variants can be found in the table at the end of this entry.
The blocks of the "LAxisBasics" library enable you to control and monitor technology objects of the axis type (speed, positioning, synchronous axis) in the basic functions.
The axis-type-specific blocks offer the following basic functions:
- Axis enable (power)
- Moving in jog mode (jog)
- Status information (StatusWord, WarningWord, ErrorWord and ErrorDetail) in plain text.
Two additional modules also contain the following functions:
- Moving of an axis between two selectable positions for commissioning and servicing purposes
- Moving an axis to a fixed stop with a predefinable clamping force
The "LAxisBasics" library and the appropriate example project is mainly created in the programming language LAD/FBD and shows the call and application of the PLCopen blocks used. You can use the included functions immediately, as well as extend them by individual functions .
The integration into the user program can be done in all available programming languages, e.g. LAD/FBD or SCL.
The "LAxisBasics" library contains HMI operating screens for all functions and displays, which have a modular structure and can optionally be transferred into customized user programs.
Manual (1,8 MB)
mobile friendly manual
"LAxisBasics" block library with HMI for TIA Portal V15.1 (1,8 MB)
Example project S7-1500 with HMI for TIA Portal V15.1 (9,5 MB)
"LAxisBasics" block library with HMI for TIA Portal V15 (1.3 MB)
Example project S7-1500 with HMI for TIA Portal V15 (8.8 MB)
License conditions and copyright notices of Open Source Software (HMI):
ReadMe_OSS - material-design-icons - V3.0.1 (21.7 KB)
The standard application with the blocks of the "LAxisCtrl" library enables you to easily control extensive motion control functions of the axis type technology objects. By viewing the axis via a central block, programming and commissioning of axes can be made considerably easier. As an application developer, you do not need to familiarize yourself with the code of the axis module. You only use the interface of the block that behaves according to PLCopen. Technological peculiarities, e.g. when replacing cam disc synchronization, are taken into account internally in the module. A separate function module is available for each axis type (speed, positioning, synchronous axis, external encoder), whose interface is respectively tailored to the available functions of the axis type. The axis blocks therefore contain the sum of the inputs and outputs of the integrated PLCopen blocks. The uniform configuration of the different axis blocks makes it easy to switch between the different axis types.
The block for a synchronous axis provides the following extensive functions, for example:
- Axis enable
- Moving in jog mode
- Torque reduction and fixed stop detection
- Cam disc synchronization
- Convenient provision of status information (StatusWord, WarningWord, ErrorWord and ErrorDetail)
A detailed overview of the features can be found in the table at the end of the entry.
The integration into individual user programs can be done in all available programming languages, e.g. LAD/FBD or SCL. Due to the extensive functionality, the configuration of the commands, e.g. for dynamics and position specifications, are not via individual block inputs, but via a variable structure of the "LAxisCtrl_typeAxisConfig" data type HMI operator screens as control panel for single axes are also available in the example project.
The "AxisCtrl" axis function block is also used as a basis in higher-quality technological software modules, such as multi-pull control, which are published as industry-specific standard applications in Industry Online Support.
Manual (12/2017) for TIA Portal V15 (2.4 MB) - Only available in English.
"LAxisCtrl" library block (V1.0.4) for TIA Portal V15 (1.3 MB)
Example project S7-1500T with HMI (V1.0.4) for TIA Portal V15 (5.7 MB)
Manual (04/2017) for TIA Portal V14 SP1 (2.2 MB) - Only available in English.
"LAxisCtrl" library block (V1.0.3) for TIA Portal V14 SP1 (1.6 MB)
Example project S7-1500T with HMI (V1.0.3) for TIA Portal V14 SP1 (5.4 MB)
Comparison of the functional scope of the two variants
|Function||"LAxisBasics" library||"LAxisCtrl" library|
|Resetting/cancelling axis enable||Yes||Yes|
|Manual opening and closing of holding brake||No||Yes|
|Resetting of an axis (fault acknowledgment on the technology object) / restarting the technology object||Yes||Yes|
|Homing (active / passive / setting position value / absolute value encoder adjustment)||Yes||Yes|
|Homing to fixed stop||No||Yes|
|Specifying speed (position-controlled / speed-controlled)||Yes||Yes|
|Moving an axis using torque reduction with / without fixed stop detection and clamping|| Yes|
|Positioning between two selectable positions for measurement and optimization purposes|| Yes|
|Cam disc synchronization (relative/absolute, offset and scaling, cyclic and non-cyclic cam disc, several synchronization mechanisms)||No||Yes|
|Setting an offset for an existing synchronization (phasing)||No||Yes|
|Stopping and removing the axis enable of a slave axis while maintaining the synchronous relationship (SynchronizedMotionSimulation)||No||Yes|
|Flying change of speed, target position, gear factor and phase relationship||No||Yes|
|Mixed operation of the axis via the library blocks and the motion control functions of the CPU according to PLCopen.||Yes||Yes|
|Convenient provision of status information of an axis (StatusWord, WarningWord, ErrorWord)|| Yes|
(also via enclosed HMI operating screens)
|HMI operating screen||Yes||Yes|
motioncontrol_apc_applications, AxisBasics, axisbasics, AxisBasic, axisbasic, AxisCtrl, axisctrl, AxisControl, axiscontrol, Achs-FB, AxisFB, Achs-Funktionsbaustein, Axis Function Block, LAxisCtrl