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.
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 disk synchronization
- Convenient provision of status information (StatusWord, WarningWord, ErrorWord)
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 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-level technological software modules, such as multi belt control, which are published as industry-specific standard applications in Industry Online Support.
"LAxisCtrl_DBAnyBased" manual (07/2021) for TIA Portal V17 (1,8 MB)
STEP 7 Professional V16 (TIA Portal)
"LAxisCtrl_DBAnyBased" library (V1.1.1) for TIA Portal V16 (1,7 MB) - One axis function block for all axis types using DB_ANY
"LAxisCtrl" library (V1.1.1) for TIA Portal V16 (1,3 MB)
"LAxisCtrl_Addon" library (V1.1.1) for TIA Portal V16 (291,1 KB) - Allows the control of the holding brake incl. feedback
STEP 7 Professional V15 (TIA Portal)
Manual (12/2017) for TIA Portal V15 (2.4 MB)
"LAxisCtrl" library (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)
STEP 7 Professional V14 SP1 (TIA Portal)
Manual (04/2017) for TIA Portal V14 SP1 (2.2 MB)
"LAxisCtrl" library (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)
STEP 7 Professional V13 SP2 (TIA Portal)
"LAxisCtrl" library (V1.0.2) for TIA Portal V13 SP2 (2,2 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
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry