×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109749348, Entry date: 06/06/2018
(3)
Rate

SIMATIC S7-1500 / S7-1500T: Standard application axis control

  • Entry
  • Associated product(s)
Function blocks for simple and central control of the basic motion control functions of axes (technology objects) of a SIMATIC S7-1500 or S7-1500T. The central view of each axis via this standard application enables easy programming, fast commissioning and direct testing of your application.


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.


"LAxisBasics" library

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)
  • Homing
  • 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.


Downloads "LAxisBasics"
  Manual (1,8 MB)
  mobile friendly manual

 Registrierung notwendig  "LAxisBasics" block library with HMI for TIA Portal V15.1 (1,8 MB)
 Registrierung notwendig  Example project S7-1500 with HMI for TIA Portal V15.1 (9,5 MB)

 Registration required  "LAxisBasics" block library with HMI for TIA Portal V15 (1.3 MB)
 Registration required  Example project S7-1500 with HMI for TIA Portal V15 (8.8 MB)

License conditions and copyright notices of Open Source Software (HMI):
 Registration required  ReadMe_OSS - material-design-icons - V3.0.1 (21.7 KB) 



"LAxisCtrl" library

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
  • Homing
  • Moving in jog mode
  • Positioning
  • Torque reduction and fixed stop detection
  • Gearing
  • 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.

Downloads "LAxisCtrl"
  Manual (12/2017) for TIA Portal V15 (2.4 MB) - Only available in English.
 Registration required  "LAxisCtrl" library block (V1.0.4) for TIA Portal V15 (1.3 MB)
 Registration required  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.
 Registration required  "LAxisCtrl" library block (V1.0.3) for TIA Portal V14 SP1 (1.6 MB)
 Registration required  Example project S7-1500T with HMI (V1.0.3) for TIA Portal V14 SP1 (5.4 MB)

 Registration required  "LAxisCtrl" (V1.0.2) library block 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
Continuous jogging  Yes Yes
Incremental jogging No Yes
Specifying speed (position-controlled / speed-controlled) Yes Yes
Stop/quick stop No Yes
Positioning (relative/absolute) No Yes
Superimposed positioning No Yes
Moving an axis using torque reduction with / without fixed stop detection and clamping Yes
(FB "MoveToEndPos")
 Yes
Positioning between two selectable positions for measurement and optimization purposes Yes
(FB "AlternateMotion")
 Yes
(applicative)
Gearing (relative/absolute) No 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. YesYes 
Convenient provision of status information of an axis (StatusWord, WarningWord, ErrorWord) Yes
(also via enclosed HMI operating screens)
 Yes
HMI operating screen Yes Yes

 

Additional Keywords
motioncontrol_apc_applications, AxisBasics, axisbasics, AxisBasic, axisbasic, AxisCtrl, axisctrl, AxisControl, axiscontrol, Achs-FB, AxisFB, Achs-Funktionsbaustein, Axis Function Block, LAxisCtrl



Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.