Download Softmotion User Manual

Transcript
Content
Content
1 Softmotion Concept and Components Overview
1-1
2 The SoftMotion Drive Interface
2-1
2.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3
2.3.1
2.3.2
2.4
PLC Configuration for SoftMotion ...................................................................... 2-1
SM_DriveBasic.lib and automatic Code Generation.......................................... 2-5
Mathematic auxiliary modules of SM_DriveBasic.lib ......................................... 2-5
Axis group modules ........................................................................................... 2-5
Configuration Modules ....................................................................................... 2-7
Controller Mode Modules................................................................................... 2-7
Virtual time axis.................................................................................................. 2-8
Referencing via digital hardware inputs ............................................................. 2-8
Diagnosis modules............................................................................................. 2-10
Encoder.............................................................................................................. 2-11
Visualization templates ...................................................................................... 2-11
Drive Driver <BusInterfaceName>Drive.lib ........................................................ 2-11
SercosDrive.lib................................................................................................... 2-12
SM_CAN.lib ....................................................................................................... 2-12
Variables of the AXIS_REF structure................................................................. 2-12
3 The CNC-Editor in CoDeSys
3.1
3.2
3.3
3.4
3.5
3.6
3.7
Overview ............................................................................................................ 3-1
Supported and extended elements of the CNC-language DIN66025 ................ 3-2
Start, Inserting and Managing of CNC Programs .............................................. 3-4
CNC Text editor ................................................................................................. 3-7
CNC Graphic Editor ........................................................................................... 3-8
Commands and Options in the CNC-Editor ....................................................... 3-8
Automatic structure filling in the CNC-Editor...................................................... 3-11
4 The CAM-Editor
4.1
4.2
4.3
4.4
4.4.1
4.4.2
4.4.3
4.5
4.5.1
4-1
Overview ............................................................................................................ 4-1
Definition of a CAM for SoftMotion..................................................................... 4-1
Starting the CAM-Editor and Inserting a new CAM............................................ 4-1
Editing a CAM .................................................................................................... 4-3
General Editor Settings...................................................................................... 4-3
Editing the properties of a particular CAM element: .......................................... 4-4
Commands of the 'Extras' and 'Insert' Menus.................................................... 4-6
CAM data structures .......................................................................................... 4-8
Example for a manually created CAM ............................................................... 4-10
5 The Library SM_PLCopen.lib
5.1
5.2
5.3
5.4
3-1
5-1
Overview ............................................................................................................ 5-1
PLCopen-Specification "Function blocks for motion control, Version 1.0"......... 5-1
Modules for Controlling Single-Axis Motions ..................................................... 5-2
Modules for Synchronized Motion Control ......................................................... 5-15
SoftMotion in CoDeSys 2.3
i