SM3_Basic Library Documentation¶
- Company
3S - Smart Software Solutions GmbH
- Title
SM3_Basic
- Version
4.13.0.0
- Categories
Intern|SoftMotion
- Author
None
- Placeholder
SM3_Basic
Description 1¶
SM3_Basic is the basic library of a CODESYS SoftMotion V3 application and thus must be included in a CODESYS project. This will be done automatically when a CODESYS SoftMotion device is inserted.
The library provides the following function blocks and functions:
Function blocks according to “PLCopen Function Blocks for Motion Control Version 2.0”.
These enabling you to implement the controlling of a single axis motion as well as the synchronized motion of two axes. Besides library elements for status check, parameterizing and general operating, there are function blocks for actuating axes with defined speed and acceleration parameters. Further on, there are modules for synchronizing master and slave axes or gearing axes.
Several proprietary motion control function blocks.
DriveInterface basic driver function blocks (AXIS_REF_SM3, AXIS_REF_VIRTUAL_SM3, AXIS_REF_MAPPING_SM3).
Utility functions for example for file service or error report.
Function blocks for the implementation of specific drive interfaces, extending the basic driver function blocks. These specific driver function blocks (named
AXIS_REF_*
) are typically included in a separate library that is referred to by the corresponding device description of this device.
Attention
All motion-generating function blocks or generally all function blocks, that have a VAR_IN_OUT
of type AXIS_REF_*
, need
to be called in the bus cycle task of the drive device that is represented by this AXIS_REF_SM3.
Supported compiler defines:
- SM3_BASIC_LOG_ACYCLIC_COM
Log all acyclic telegrams
- SoftMotionPerformance
Activate timing measurements, results are stored in AXIS_REF_SM3.perfTimers