Technosoft IBL2403-RS232, IBL2403 Series, IBL2403-CAN Technical Reference

IBL2403-RS232
IBL2403-CAN
Intelligent Servo Drive for
Step, DC, Brushless DC and
Intelligent Servo Drive
Technical
Reference
© Technosoft 2007
TECHNOSOFT
IBL2403-RS232
IBL2403-CAN
Technical Reference
P091.037.IBL2403.UM.1007
Technosoft S.A.
Buchaux 38
CH-2022 Bevaix, NE
Switzerland Tel.: +41 (0) 32 732 5500 Fax: +41 (0) 32 732 5504
e-mail: contact@technosoftmotion.com
http://www.technosoftmotion.com/
© Technosoft 2007 III IBL2403 Technical Reference
Read This First
Whilst Technosoft believes that the information and guidance given in this manual is correct, all parties must rely upon their own skill and judgment when making use of it. Technosoft does not assume any liability to anyone for any loss or damage caused by any error or omission in the work, whether such error or omission is the result of negligence or any other cause. Any and all such liability is disclaimed.
All rights reserved. No part or parts of this document may be reproduced or transmitted in any form or by any means, electrical or mechanical including photocopying, recording or by any information-retrieval system without permission in writing from Technosoft S.A.
The information in this document is subject to change without notice.
About This Manual
This book is a technical reference manual for the IBL2403 family of intelligent servo drives,
including the following products:
IBL2403-RS232 (p/n P037.001.E001) - Universal Drive for Brushless, DC and step motors. IBL2403-CAN (p/n P037.001.E002) - Universal Drive for Brushless, DC and step motors. Standard execution using Technosoft TMLCAN protocol on CANbus IBL2403-CAN, CANopen (BL) (p/n P037.001.E012) - Servo Drive for Brushless and DC motors
using CANopen protocol on CANbus
IBL2403-CAN, CANopen (ST) (p/n P037.001.E013) - Stepper Drive using CANopen protocol on
CANbus
In order to operate the IBL2403 drives, you need to pass through 3 steps:
Step 1 Hardware installationStep 2 Drive setup using Technosoft EasySetUp software for drive commissioning  Step 3 Motion programming using one of the options:
A CANOpen master (for the IBL2403 CANopen version) The drive built-in motion controller executing a Technosoft Motion Language (TML)
program developed using Technosoft EasyMotion Studio software
A TML_LIB motion library for PCs (Windows or Linux) A TML_LIB motion library for PLCs A distributed control approach which combines the above options, like for example
a host calling motion functions programmed on the drives in TML
This manual covers Step 1 in detail. It describes the IBL2403 hardware including the technical
data, the connectors and the wiring diagrams needed for installation. The manual also presents
© Technosoft 2007 IV IBL2403 Technical Reference
an overview of the following steps, and includes the scaling factors between the real SI units and the drive internal units. For detailed information regarding the next steps, refer to the related documentation.
Notational Conventions
This document uses the following conventions:
TML – Technosoft Motion Language
• SI units – International standard units (meter for length, seconds for time, etc.)
IU units – Internal units of the drive
IBL2403 – all products described in this manual
IBL2403 CANopen – the CANopen executions from the IBL2403 family
IBL2403 CAN – the CAN standard executions
Related Documentation
MotionChip™ II TML Programming (part no. P091.055.MCII.TML.UM.xxxx) describes in
detail TML basic concepts, motion programming, functional description of TML instructions for high level or low level motion programming, communication channels and protocols. Also give a detailed description of each TML instruction including syntax, binary code and examples.
MotionChip II Configuration Setup (part no. P091.055.MCII.STP.UM.xxxx)
describes the MotionChip II operation and how to setup its registers and parameters starting from the user application data. This is a technical reference manual for all the MotionChip II registers, parameters and variables.
Help of the EasySetUp software describes how to use EasySetUp to quickly setup
any Technosoft drive for your application using only 2 dialogues. The output of EasySetUp is a set of setup data that can be downloaded into the drive EEPROM or saved on a PC file. At power-on, the drive is initialized with the setup data read from its EEPROM. With EasySetUp it is also possible to retrieve the complete setup information from a drive previously programmed. EasySetUp includes a firmware programmer with allows you to update your drive firmware to the latest revision.
EasySetUp can be downloaded free of charge from Technosoft web page
CANopen Programming (part no. P091.063.UM.xxxx) – explains how to program the
Technosoft intelligent drives using CANopen protocol and describes the associated object dictionary for the DS-301 communication profile and the DSP-402 device
profile
Help of the EasyMotion Studio software describes how to use the EasyMotion Studio
to create motion programs using in Technosoft Motion Language (TML). EasyMotion
Studio platform includes EasySetUp for the drive/motor setup, and a Motion Wizard for the motion programming. The Motion Wizard provides
a simple,
graphical way of creating motion programs and automatically generates all the TML
© Technosoft 2007 V IBL2403 Technical Reference
instructions. With EasyMotion Studio you can fully benefit from a key advantage of
Technosoft drives – their capability to execute complex motions without requiring an
external motion controller, thanks to their built-in motion controller. A demo version
of EasyMotion Studio (with EasySetUp part fully functional) can be downloaded free of charge from Technosoft web page
TML_LIB v2.0 (part no. P091.040.v20.UM.xxxx) – explains how to program in C,
C++,C#, Visual Basic or Delphi Pascal a motion application for the Technosoft
intelligent drives using TML_LIB v2.0 motion control library for PCs. The TML_lib
includes ready-to-run examples that can be executed on Windows or Linux (x86
and x64).
TML_LIB_LabVIEW v2.0 (part no. P091.040.LABVIEW.v20.UM.xxxx) – explains how to
program in LabVIEW a motion application for the Technosoft intelligent drives using
TML_LIB_Labview v2.0 motion control library for PCs. The TML_Lib_LabVIEW includes over 40 ready-to-run examples.
TML_LIB_S7 (part no. P091.040.S7.UM.xxxx) – explains how to program in a PLC
Siemens series S7-300 or S7-400 a motion application for the Technosoft
intelligent drives using TML_LIB_S7 motion control library. The TML_LIB_S7 library
is IEC61131-3 compatible.
TML_LIB_CJ1 (part no. P091.040.CJ1.UM.xxxx) – explains how to program a PLC
Omron series CJ1 a motion application for the Technosoft intelligent drives using TML_LIB_CJ1 motion control library for PCs. The TML_LIB_CJ1 library is
IEC61131-3 compatible.
TechnoCAN (part no. P091.063.TechnoCAN.UM.xxxx) – presents TechnoCAN protocol
– an extension of the CANopen communication profile used for TML commands
If you Need Assistance …
If you want to … Contact Technosoft at …
Visit Technosoft online
World Wide Web: http://www.technosoftmotion.com/
Receive general information or assistance (see Note)
Ask questions about product operation or report suspected problems (see Note)
Make suggestions about, or report errors in documentation (see Note)
World Wide Web: http://www.technosoftmotion.com/ Email: contact@technosoftmotion.com
Fax: (41) 32 732 55 04 Email: hotline@technosoftmotion.com
Mail: Technosoft SA
Buchaux 38 CH-2022 Bevaix, NE Switzerland
© Technosoft 2007 VI IBL2403 Technical Reference
© Technosoft 2007 VII IBL2403 Technical Reference
Contents
Read This First ...................................................................................................III
1. Safety information......................................................................................3
1.1. Warnings ................................................................................................3
1.2. Cautions .................................................................................................4
2. Product Overview.......................................................................................4
2.1. Introduction.............................................................................................4
2.2. Key Features
..........................................................................................6
2.3. Supported Motor-Sensor Configurations
................................................7
2.4. IBL2403 Dimensions ............................................................................ 11
2.5. Electrical Specifications........................................................................ 12
3. Step 1. Hardware Installation ..................................................................17
3.1. Mounting ..............................................................................................17
3.2. Connectors and Connection Diagrams................................................. 18
3.2.1. Connectors Layout.......................................................................................18
3.2.2. Identification Labels ..................................................................................... 18
3.2.3. J1 Connector pinout.....................................................................................19
3.2.4. J2 Connector pinout.....................................................................................20
3.2.5. 24V Digital I/O connection ...........................................................................21
3.2.6. 5V Digital I/O connection .............................................................................22
3.2.7. Analog inputs connection.............................................................................23
3.2.8. Motor connections........................................................................................ 24
3.2.9. Feedback connections ................................................................................. 29
3.2.10. Supply connection ....................................................................................34
3.2.11. Serial RS-232 connection ......................................................................... 36
3.2.12. CAN connection (IBL2403-CAN drives).................................................... 37
3.2.13. Special connection (Non-Autorun)............................................................39
3.2.14. Master - Slave encoder connection .......................................................... 40
3.2.15. Connectors Type and Mating Connectors ................................................ 41
© Technosoft 2007 VIII IBL2403 Technical Reference
4. Step 2. Drive Setup ..................................................................................42
4.1. Installing EasySetUp ............................................................................ 42
4.2. Getting Started with EasySetUp........................................................... 42
4.2.1. Establish communication ............................................................................. 43
4.2.2. Setup drive/motor......................................................................................... 44
4.2.3. Download setup data to drive/motor ............................................................ 45
4.2.4. Evaluate drive/motor behaviour (optional) ................................................... 46
4.3. Changing the drive Axis ID................................................................... 46
4.4. Setting CANbus rate ............................................................................ 47
4.5. Creating an Image File with the Setup Data......................................... 48
5. Step 3. Motion Programming ..................................................................49
5.1. Using a CANopen Master (for IBL2403 CANopen execution) .............. 49
5.1.1. DS-301 Communication Profile Overview.................................................... 49
5.1.2. TechnoCAN Extension (for IBL2403 CAN execution).................................. 50
5.1.3. DSP-402 and Manufacturer Specific Device Profile Overview .................... 50
5.1.4. Checking Setup Data Consistency ..............................................................50
5.2. Using the built-in Motion Controller and TML ....................................... 50
5.2.1. Technosoft Motion Language Overview ......................................................51
5.2.2. Installing EasyMotion Studio........................................................................51
5.2.3. Getting Started with EasyMotion Studio ...................................................... 52
5.2.4. Creating an Image File with the Setup Data and the TML Program ............ 58
5.3. Combining CANopen /or other host with TML ...................................... 58
5.3.1. Using TML Functions to Split Motion between Master and Drives .............. 59
5.3.2. Executing TML programs............................................................................. 59
5.3.3. Loading Automatically Cam Tables Defined in EasyMotion Studio ............. 59
5.3.4. Customizing the Homing Procedures (for IBL2403 CAN executions).......... 59
5.3.5. Customizing the Drive Reaction to Fault Conditions (for IBL2403 CAN
executions)................................................................................................................ 60
5.4. Using Motion Libraries for PC-based Systems..................................... 60
5.5. Using Motion Libraries for PLC-based Systems................................... 61
6. Scaling factors .........................................................................................62
6.1. Position units........................................................................................ 62
6.1.1. Brushless / DC brushed motor with quadrature encoder on motor.............. 62
© Technosoft 2007 IX IBL2403 Technical Reference
6.1.2. Brushless motor with linear Hall signals ......................................................62
6.1.3. DC brushed motor with quadrature encoder on load and tacho on motor ... 63
6.1.4. Stepper motor open-loop control. No feedback device................................ 63
6.1.5. Stepper motor open-loop control. Incremental encoder on load.................. 64
6.2. Speed units ..........................................................................................64
6.2.1. Brushless / DC brushed motor with quadrature encoder on motor.............. 64
6.2.2. Brushless motor with linear Hall signals ......................................................64
6.2.3. DC brushed motor with quadrature encoder on load and tacho on motor ... 65
6.2.4. DC brushed motor with tacho on motor .......................................................65
6.2.5. Stepper motor open-loop control. No feedback device................................ 65
6.2.6. Stepper motor closed-loop control. Incremental encoder on motor ............. 66
6.3. Acceleration units ................................................................................. 67
6.3.1. Brushless / DC brushed motor with quadrature encoder on motor.............. 67
6.3.2. Brushless motor with linear Hall signals ......................................................67
6.3.3. DC brushed motor with quadrature encoder on load and tacho on motor ... 68
6.3.4. Stepper motor open-loop control. No feedback device................................ 68
6.3.5. Stepper motor open-loop control. Incremental encoder on load.................. 68
6.3.6. Stepper motor closed-loop control. Incremental encoder on motor ............. 69
6.4. Jerk units..............................................................................................69
6.4.1. Brushless / DC brushed motor with quadrature encoder on motor.............. 69
6.4.2. Brushless motor with linear Hall signals ......................................................70
6.4.3. DC brushed motor with quadrature encoder on load and tacho on motor ... 70
6.4.4. Stepper motor open-loop control. No feedback device................................ 71
6.4.5. Stepper motor open-loop control. Incremental encoder on load.................. 71
6.4.6. Stepper motor closed-loop control. Incremental encoder on motor ............. 71
6.5. Current units......................................................................................... 72
6.6. Voltage command units........................................................................72
6.7. Voltage measurement units.................................................................. 72
6.8. Time units
.............................................................................................73
6.9. Drive temperature units
........................................................................73
6.10. Master position units
............................................................................73
6.11. Master speed units
...............................................................................73
6.12. Motor position units .............................................................................. 74
6.12.1. Brushless / DC brushed motor with quadrature encoder on motor........... 74
6.12.2. Brushless motor with linear Hall signals ................................................... 74
© Technosoft 2007 X IBL2403 Technical Reference
6.12.3. DC brushed motor with quadrature encoder on load and tacho on motor 74
6.12.4. Stepper motor open-loop control. No feedback device............................. 74
6.12.5. Stepper motor open-loop control. Incremental encoder on load............... 75
6.12.6. Stepper motor closed-loop control. Incremental encoder on motor..........75
6.13. Motor speed units................................................................................. 75
6.13.1. Brushless / DC brushed motor with quadrature encoder on motor........... 75
6.13.2. Brushless motor with linear Hall signals ................................................... 75
6.13.3. DC brushed motor with quadrature encoder on load and tacho on motor 76
6.13.4. DC brushed motor with tacho on motor .................................................... 76
6.13.5. Stepper motor open-loop control. No feedback device or incremental
encoder on load ........................................................................................................ 76
6.13.6. Stepper motor closed-loop control. Incremental encoder on motor..........77
7. Memory
Map.............................................................................................78
© Technosoft 2007 3 IBL2403 Technical Reference
1. Safety information
Read carefully the information presented in this chapter before carrying out the drive installation and setup! It is imperative to implement the safety instructions listed hereunder.
This information is intended to protect you, the drive and the accompanying equipment during the product operation. Incorrect handling of the drive can lead to personal injury or material damage.
Only qualified personnel may install, setup, operate and maintain the drive. A “qualified person” has the knowledge and authorization to perform tasks such as transporting, assembling, installing, commissioning and operating drives.
The following safety symbols are used in this manual:
WARNING!
SIGNALS A DANGER TO THE OPERATOR WHICH MIGHT CAUSE BODILY INJURY. MAY INCLUDE INSTRUCTIONS TO PREVENT THIS SITUATION
CAUTION!
SIGNALS A DANGER FOR THE DRIVE WHICH MIGHT DAMAGE THE PRODUCT OR OTHER EQUIPMENT. MAY INCLUDE INSTRUCTIONS TO AVOID THIS SITUATION
CAUTION!
INDICATES AREAS SENSITIVE TO ELECTROSTATIC DISCHARGES (ESD) WHICH REQUIRE HANDLING IN AN ESD PROTECTED ENVIRONMENT
1.1. Warnings
WARNING!
THE VOLTAGE USED IN THE DRIVE MIGHT CAUSE ELECTRICAL SHOCKS. DO NOT TOUCH LIVE PARTS WHILE THE POWER SUPPLIES ARE ON
WARNING!
TO AVOID ELECTRIC ARCING AND HAZARDS, NEVER CONNECT / DISCONNECT WIRES FROM THE DRIVE WHILE THE POWER SUPPLIES ARE ON
© Technosoft 2007 4 IBL2403 Technical Reference
WARNING!
THE DRIVE MAY HAVE HOT SURFACES DURING OPERATION.
WARNING!
DURING DRIVE OPERATION, THE CONTROLLED MOTOR WILL MOVE. KEEP AWAY FROM ALL MOVING PARTS TO AVOID INJURY
1.2. Cautions
CAUTION!
THE POWER SUPPLIES CONNECTED TO THE DRIVE MUST COMPLY WITH THE PARAMETERS SPECIFIED IN THIS DOCUMENT
CAUTION!
TROUBLESHOOTING AND SERVICING ARE PERMITTED ONLY FOR PERSONNEL AUTHORISED BY TECHNOSOFT
CAUTION!
THE DRIVE CONTAINS ELECTROSTATICALLY SENSITIVE COMPONENTS WHICH MAY BE DAMAGED BY INCORRECT HANDLING. THEREFORE THE DRIVE SHALL BE REMOVED FROM ITS ORIGINAL PACKAGE ONLY IN AN ESD PROTECTED ENVIRONMENT
To prevent electrostatic damage, avoid contact with insulating materials, such as synthetic fabrics or plastic surfaces. In order to discharge static electricity build-up, place the drive on a grounded conductive surface and also ground yourself.
2. Product Overview
2.1. Introduction
The IBL2403 is a family of fully digital intelligent servo drives, based on the latest DSP technology
and they offer unprecedented drive performance combined with an embedded motion controller.
Suitable for control of brushless DC, brushless AC (vector control), DC brushed motors and step motors, the IBL2403 drives accept as position feedback incremental encoders (quadrature) and linear Halls signals.
All drives perform position, speed or torque control and work in either single-, multi-axis or stand­alone configurations. Thanks to the embedded motion controller, the IBL2403 drives combine controller, drive and PLC functionality in a single compact unit and are capable to execute
© Technosoft 2007 5 IBL2403 Technical Reference
complex motions without requiring intervention of an external motion controller. Using the high-
level Technosoft Motion Language (TML) the following operations can be executed directly at
drive level:
Setting various motion modes (profiles, PVT, PT, electronic gearing or camming
1
, etc.)
Changing the motion modes and/or the motion parameters
Executing homing sequences
2
Controlling the program flow through:
Conditional jumps and calls of TML functions
TML interrupts generated on pre-defined or programmable conditions
(protections triggered, transitions on limit switch or capture inputs, etc.)
Waits for programmed events to occur
Handling of digital I/O and analogue input signals
Executing arithmetic and logic operations
Performing data transfers between axes
Controlling motion of an axis from another one via motion commands sent between
axes
Sending commands to a group of axes (multicast). This includes the possibility to start
simultaneously motion sequences on all the axes from the group
Synchronizing all the axes from a network
Using EasyMotion Studio for TML programming you can really distribute the intelligence
between the master and the drives in complex multi-axis applications, reducing both the development time and the overall communication requirements. For example, instead of trying to command each movement of an axis, you can program the drives using TML to execute complex motion tasks and inform the master when these tasks are done. Thus, for each axis control the master job may be reduced at: calling TML functions stored in the drive EEPROM (with possibility to abort their execution if needed) and waiting for a message, which confirms the TML functions execution.
Apart from a CANopen master, the IBL2403 drives can also be controlled from a PC or PLC using
the family of TML_LIB motion libraries.
For all motion programming options, the IBL2403 commissioning for your application is done
using EasySetUp.
1
Optional for IBL2403 CANopen execution
2
Available only for the IBL2403 CAN executions
© Technosoft 2007 6 IBL2403 Technical Reference
2.2. Key Features
Digital drives for control of brushless DC, brushless AC , DC brushed and step motors with built-in controller and high-level TML motion language
Position, speed or torque control
Various motion programming modes:
Position profiles with trapezoidal or S-curve speed shape
Position, Velocity, Time (PVT) 3
rd
order interpolation
Position, Time (PT) 1
st
order interpolation
Electronic gearing and camming
1
External analogue or digital reference
1
33 Homing modes
Single-ended, differential and/or open-collector encoder interface
Single-ended, open collector Hall sensor interface
Linear Hall sensor interface
2
7 dedicated digital input-output lines (5V and 24V compatible):
5 digital input lines
2 digital output lines
RS-232 serial interface (up to 115200 bps)
CAN-bus 2.0B up to 1Mbit/s, with communication protocol:
CANopen
3
– compatible with CiA standards: DS301 and DSP402
TMLCAN
4
– compatible with all Technosoft drives with CANbus interface
1.5K × 16 internal SRAM memory
8K × 16 E
2
ROM to store TML programs and data
Nominal PWM switching frequency: 20 kHz
5
Power supply: 12-28 V; 3A;
6 A PEAK
Minimal load inductance: 50 μH @ 12 V, 100 μH @ 24 V
Operating ambient temperature: 0-40°C
Hardware Protections:
All I/Os are ESD protected
1
Optional for the IBL2403 CANopen execution
2
Available only for the IBL2403 CAN executions
3
Available only for the IBL2403 CANopen execution
4
Available only for the IBL2403-CAN execution
5
Nominal values cover all cases. Higher values may be programmed for configurations with brushless DC, DC brush and
step motors.
© Technosoft 2007 7 IBL2403 Technical Reference
2.3. Supported Motor-Sensor Configurations
IBL2403 supports the following configurations:
1. Position, speed or torque control of a brushless AC rotary motor with an incremental quadrature encoder on its shaft. The brushless motor is vector controlled like a permanent magnet synchronous motor. It works with sinusoidal voltages and currents.
Scaling factors take into account the transmission ratio between motor and load (rotary or linear). Therefore, the motion commands (for position, speed and acceleration) expressed in SI units (or derivatives) refer to the load
1
, while the same commands,
expressed in IU units, refer to the motor.
Figure 2.1. Brushless AC rotary motor. Position/speed/torque control. Quadrature encoder on motor.
2. Position, speed or torque control of a brushless DC rotary motor with digital Hall sensors and an incremental quadrature encoder on its shaft. The brushless motor is
controlled using Hall sensors for commutation. It works with rectangular currents and
trapezoidal BEMF voltages. Scaling factors take into account the transmission ratio
between motor and load (rotary or linear). Therefore, the motion commands (for position, speed and acceleration) expressed in SI units (or derivatives) refer to the load, while the same commands, expressed in IU units, refer to the motor.
Figure 2.2. Brushless DC rotary motor. Position/speed/torque control. Hall sensors and quadrature encoder
on motor
1
Motion commands can be referred to the motor by setting in EasySetUp a rotary to rotary transmission with ratio 1:1
© Technosoft 2007 8 IBL2403 Technical Reference
3. Position, speed or torque control of a brushless AC rotary motor with linear Hall
signals
2
. The brushless motor is vector controlled like a permanent magnet synchronous
motor. It works with sinusoidal voltages and currents. Scaling factors take into account
the transmission ratio between motor and load (rotary or linear). Therefore, the motion commands (for position, speed and acceleration) expressed in SI units (or derivatives) refer to the load
1
, while the same commands, expressed in IU units, refer to the motor.
Figure 2.3. Brushless AC rotary motor with linear Hall signals.. Position/speed/torque control
4. Position, speed or torque control of a brushless AC linear motor with linear Hall signals
2
. The brushless motor is vector controlled like a permanent magnet synchronous
motor. It works with sinusoidal voltages and currents. Scaling factors take into account
the transmission ratio between motor and load (rotary or linear). Therefore, the motion commands (for position, speed and acceleration) expressed in SI units (or derivatives) refer to the load, while the same commands, expressed in IU units, refer to the motor.
Figure 2.4. Brushless AC linear motor with linear Hall signals.. Position/speed/torque control
5. Position, speed or torque control of a DC brushed rotary motor with an incremental quadrature encoder on its shaft. Scaling factors take into account the transmission ratio
between motor and load (rotary or linear). Therefore, the motion commands (for position,
1
Motion commands can be referred to the motor by setting in EasySetUp a rotary to rotary transmission with ratio 1:1
2
Available only for the IBL2403 CAN executions
IBL2403
© Technosoft 2007 9 IBL2403 Technical Reference
speed and acceleration) expressed in SI units (or derivatives) refer to the load1, while the same commands, expressed in IU units, refer to the motor.
Figure 2.5. DC brushed rotary motor. Position/speed/torque control. Quadrature encoder on motor
6. Load position control using an incremental quadrature encoder on load, combined with speed control of a DC brushed rotary motor having a tachometer on its shaft. The
motion commands (for position, speed and acceleration) in both SI and IU units refer to the load
Figure 2.6. DC brushed rotary motor. Position/speed/torque control. Quadrature encoder on load plus
tachometer on motor
7. Speed or torque control of a DC brushed rotary motor with a tachometer on its shaft.
Scaling factors take into account the transmission ratio between motor and load (rotary or linear). Therefore, the motion commands (for speed and acceleration) expressed in SI units (or derivatives) refer to the load
1
, while the same commands, expressed in IU units,
refer to the motor
Figure 2.7. DC brushed rotary motor. Speed/torque control. Tachometer on motor
8. Open-loop control of a 2 or 3-phase step motor in position or speed. Scaling factors take
into account the transmission ratio between motor and load (rotary or linear). Therefore, the motion commands (for position, speed and acceleration) expressed in SI units (or
© Technosoft 2007 10 IBL2403 Technical Reference
derivatives) refer to the load, while the same commands, expressed in IU units, refer to the motor.
Figure 2.8. No position or speed feedback. Open-loop control: motor position or speed .
9. Closed-loop control of load position using an encoder on load, combined with open­loop control of a 2 phase step motor in speed, with speed reference provided by the
position controller. The motion commands in both SI and IU units refer to the load.
Figure 2.9. Encoder on load. Closed-loop control: load position, open-loop control: motor speed
10. Closed-loop control of a 2-phase step motor in position, speed or torque. Scaling factors
take into account the transmission ratio between motor and load (rotary or linear). Therefore, the motion commands expressed in SI units (or derivatives) refer to the load
1
,
while the same commands, expressed in IU units refer to the motor.
Figure 2.10. Encoder on motor shaft. Closed-loop control: motor position, speed or torque
1
Motion commands can be referred to the motor by setting in EasySetUp a rotary to rotary transmission with ratio 1:1
© Technosoft 2007 11 IBL2403 Technical Reference
2.4. IBL2403 Dimensions
44.0 mm
58.0 mm
65.0 mm
19.0 mm
18.0 mm
50.0 mm
2.5 mm
4 mm
4.0 mm
0.098 “
0.748 “
1.732 “
2.283 “
0.157 “
0.157 “0.709 “
1.968 “
2.559 “
Figure 2.11. IBL2403 drive dimensions
© Technosoft 2007 12 IBL2403 Technical Reference
2.5. Electrical Specifications
All parameters were measured under the following conditions (unless otherwise specified): T
amb
= 25°C, power supply (VDC) = 24VDC;
Supplies start-up / shutdown sequence: -any-
;
Load current 3 A
RMS
.
Supply Input
Measured between +VDC and GND.
Min. Typ. Max. Units
Nominal values 12 24 28 VDC
Supply voltage
Absolute maximum values, continuous
-0.5 35 V
DC
Idle 100 250 mA Supply current
Operating -6.1 ±3 +6.1 A
Motor Outputs
All voltages referenced to GND.
Min. Typ. Max. Units
Motor output current
Continuous operation, +V
DC
= 24 V,
F
PWM
= 20 kHz
-3 +3 A
RMS
Motor output current, peak Thermal limited to <= 0.5 s -6.1 +6.1 A
On-state voltage drop
Output current = ±3 A
-900
±250
+300 mV
Off-state leakage current -1
±0.1
+1 mA
F
PWM
= 20 kHz, +V
MOT
= 12 V 50
μH
Motor inductance
F
PWM
= 20 kHz, +V
MOT
= 24 V 100
μH
Digital Inputs
All voltages referenced to GND.
Min. Typ. Max. Units
Logic “LOW” -0.5 0 0.8
Logic “HIGH” 2 5÷24 28
Input voltage
Absolute maximum, surge (duration 1S)
-25 +30
V
Logic “HIGH”; Internal 470 Ω pull-up to +5V
0 0 0
Input current
Logic “LOW” 8 10 13
mA
Input frequency 0 250 KHz
Minimum pulse width 5 µS
© Technosoft 2007 13 IBL2403 Technical Reference
Digital Outputs
All voltages referenced to GND.
Min. Typ. Max. Units
Logic “LOW” -0.5 0 0.2
Logic “HIGH” ; Output current = 0 2.4 4.4 +VDC
Output voltage
Absolute maximum, duration < 1 ms -1
+V
DC
+
0.5
V
Logic “HIGH”; Load connected to GND 10
Output current
Logic “LOW” 50
mA
ESD Protection
Human Body Model (100 pF, 1.5 kΩ)
±25
KV
Encoder Inputs
Min. Typ. Max. Units
Standards compliance
Differential / TTL / CMOS /
open-collector
Low level input current
Internal 470 Ω pull-ups to +5 V
DC
10 12 mA
Input threshold voltage
In single-ended mode (TTL / CMOS / / open-collector)
1.8 1.9 2 V
Input hysteresis 0.1 0.2 0.5 V
Analog Inputs (Ref, Tacho)
Referenced to GND
Min. Typ. Max. Units
Voltage range 0 +5 V
Input impedance 16
KΩ
Resolution 10 bits
Differential linearity Guaranteed 10-bit no-missing-codes 0.09
% FS
1
Offset error
±0.3
% FS
1
Gain error
±5
% FS
1
Bandwidth (-3 dB)
250 Hz
Linear Hall Inputs (LH1, LH2, LH3)
Referenced to GND
Min. Typ. Max. Units
Maximum range 0 +5 V
Voltage range
Operating range Programmable
Input current -0.5 +0.5 mA
Bandwidth (-3 dB)
1 KHz
© Technosoft 2007 14 IBL2403 Technical Reference
Hall Inputs (digital)
All voltages referenced to GND.
Min. Typ. Max. Units
Logic “LOW” -0.5 0 0.8
Logic “HIGH” 2 5 5.5
Input voltage
Absolute maximum, surge
(duration 1ms)
-8 +8
V
Low level input current
Internal 1 kΩ pull-ups to +5 V
DC
5 6 mA
RS-232
Min. Typ. Max. Units
Standards compliance TIA/EIA-232-C
Bit rate Depending on software settings 9600 115200 Baud
ESD Protection
Human Body Model (100 pF, 1.5 kΩ)
±15
KV
Input voltage RX232 input -25 - +25 V
Output short-circuit withstand TX232 output to GND Guaranteed
CAN-Bus
All voltages referenced to GND
Min. Typ. Max. Units
Standards compliance
CAN-Bus 2.0B error active;
ISO 11898-2
Recommended transmission line impedance
Measured at 1MHz 90 120 150
Ω
Bit rate Depending on software settings 125K 1M Baud
Bit rate = 125kbps …250kbps 64 -
Bit rate = 500kbps 50 -
Number of network nodes
Bit rate = 1Mbps 32 -
ESD Protection Human Body Model
±15
KV
Supply Output
Min. Typ. Max. Units
+5V
OUT
Voltage 4.75 5 5.25 V
+5V
OUT
available current 220 mA
© Technosoft 2007 15 IBL2403 Technical Reference
Others
Min. Typ. Max. Units
Operating 0 40
°C
Temperature
Storage (not powered) -40 85
°C
Operating 0 90 %RH
Humidity (Non-condensing)
Storage 0 100 %RH
Altitude (referenced to sea level) 0 ÷ 1 +4 Km
Altitude / pressure12
Ambient Pressure 0.64 0.9 ÷ 1 4.0 atm
Dimensions Length x Width x Height 65 x 58 x 19 mm
Weight 0.1 Kg
Protection degree IP20 (according to IEC529)
1
“FS” stands for “Full Scale”
Stresses beyond values listed under “absolute maximum ratings” may cause permanent damage to the device.
Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
T.B.D. = To be determined
Figure 2.12. De-rating with ambient temperature
13
14
Figure 2.13. De-rating with altitude
12
At altitudes over 1,000m, current and power rating are reduced due to thermal dissipation efficiency at higher altitudes.
See Figure 2.13 – De-rating with altitude
13
I
NOM
– the nominal current
14
Stand-alone operation, vertical mounting
© Technosoft 2007 16 IBL2403 Technical Reference
Figure 2. 14. Current De-rating with PWM
frequency
Figure 2.15. Output Voltage De-rating with PWM
frequency
15
CAUTION!
For PWM frequencies less than 20kHz, correlate the PWM frequency with the motor parameters in order to avoid possible motor damage.
Figure 2.16. Power De-rating with PWM
frequency
16
Figure 2.17. Over-current diagram
15
V
OUT
– the output voltage, V
MOT
– the motor supply voltage
16
P
NOM
– the nominal power
© Technosoft 2007 17 IBL2403 Technical Reference
3. Step 1. Hardware Installation
3.1. Mounting
Figure 3.1. IBL2403 drive connectors
The IBL2403 drive was designed to be cooled by natural convection. It can be mounted horizontally (with label upwards) or vertically inside a cabinet (see Figure 3.2). In both cases, leave at least 25mm between the drive and surrounding walls/drives, to allow for free air circulation.
CAUTION !
Before connecting the motor, be sure you have the right application programmed to E2ROM, else you can damage the motor and drive. At power-on, the TML application is automatically executed. See paragraph 3.2.13 to disable this feature.
© Technosoft 2007 18 IBL2403 Technical Reference
3.2. Connectors and Connection Diagrams
3.2.1. Connectors Layout
IBL2403-CAN
Intelligent Servo Drive
Figure 3.2. IBL2403 drive connectors
3.2.2. Identification Labels
T E C H N O S O F T
AB1234
Drive Name
Article Number
Serial Number
Manufacturer
Figure 3.3. IBL2403-RS232 Identification Label
T E C H N O S O F T
AB1234
Drive Name
Article Number
Serial Number
Manufacturer
Figure 3.4. IBL2403-CAN (CAN execution) Identification Label
T E C H N O S O F T
AB1234
Drive Name
Article Number
Serial Number
Manufacturer
Figure 3.5. IBL2403-CAN (CANopen execution for Brushless and DC motors with incremental encoder )
Identification Label
IBL2403-RS232
P037.001.E001
IBL2403-CAN
P037.001.E002
IBL2403-CAN
P037.001.E012
© Technosoft 2007 19 IBL2403 Technical Reference
T E C H N O S O F T
AB1234
Drive Name
Article Number
Serial Number
Manufacturer
Figure 3.6. IBL2403-CAN (CANopen execution for Step motors with incremental encoder ) Identification
Label
3.2.3. J1 Connector pinout
Pin
Pin name TML name Type Function/Alternate function/ Comments
1
+V
DC
- I
Positive terminal of the motor supply: 12 to 28V
DC
2
GND
- -
Ground
3
+5V
OUT
- O
5V output (internally generated)
4
Ref
AD5
I
Unipolar 0 V…+5 V analog input. May be used as analog position, speed or torque reference.
5
Pulse
IN#38 / PULSE
I
5V or 24V compatible digital input
Can be used as PULSE input in Pulse & Direction
motion mode
Can be used as second encoder A signal, for single- ended encoder
6
Dir
IN#37 / DIR
I
5V or 24V compatible digital input
Can be used as DIRECTION input in Pulse &
Direction motion mode
Can be used as second encoder B signal, for single- ended encoder
7
Enable
IN#16 /
ENABLE
I
5V or 24V compatible digital input
Enable. Connect to high to disable PWM outputs
8
LSP
IN#2 / LSP I
5V or 24V compatible digital input
Positive limit switch
9
LSN
IN#24 / LSN
I
5V or 24V compatible digital input
Negative limit switch
10
/ Error
OUT#13 O
5V or 24V compatible digital output
Error
11
/ Ready
OUT#25 O
5V or 24V compatible digital output
Ready
12
CAN_H
- I/O
Can-Bus positive line (positive during dominant bit)
Not connected on the no-CAN execution of the
IBL2403 drive (P037.001.E001)
13
CAN_L
-
I/O
CAN-Bus negative line (negative during dominant bit)
Not connected on the no-CAN execution of the
IBL2403 drive (P037.001.E001)
14
GND
-
- Ground
15
232Tx
- O
RS-232 Data Transmission
16
232Rx
-
I RS-232 Data Reception
IBL2403-CAN
P037.001.E013
© Technosoft 2007 20 IBL2403 Technical Reference
3.2.4. J2 Connector pinout
Pin Pin name TML name Type Function/Alternate function/ Comments
1
A / A+
- O
Phase A for brushless motors
Phase A+ for step motors
Motor+ for DC brush motors
2
C / B+
- O
Phase C for brushless motors
Phase B+ for step motors
3
B / A-
- O
Phase B for brushless motors
Phase A- for step motors
Motor- for DC brush motors
4
B -
- O
Phase B- for step motors
5
GND
- -
Ground
6
Hall 1
- I
Hall 1 signal for digital Hall sensor
Not-autorun. Connect all 3 Hall signals to GND in
order to disable the Autorun
7
Hall 2
-
I
Hall 2 signal for digital Hall sensor
Not-autorun. Connect all 3 Hall signals to GND in
order to disable the Autorun
8
Hall 3
-
I
Hall 3 signal for digital Hall sensor
Not-autorun. Connect all 3 Hall signals to GND in
order to disable the Autorun
9
Enc A+
- I
Single-ended encoder A signal
Differential encoder positive A input
10
Enc B+
- I
Single-ended encoder B signal
Differential encoder positive B input
11
Enc Z+
- I
Single-ended encoder Z signal
Differential encoder positive Z input
12
A- / LH1
-
I
Differential encoder negative A signal
Linear Hall 1 signal
13
B- / LH2
-
I
Differential encoder negative B signal
Linear Hall 2 signal
14
Z- / LH3
-
I
Differential encoder negative Z signal
Linear Hall 3 signal
15
Tacho
AD2 I
Unipolar 0 V…+5 V analog input. May be used as analog position or speed feedback (from a tachometer)
16
+5 V
OUT
- O
5V logic supply (internally generated)
© Technosoft 2007 21 IBL2403 Technical Reference
3.2.5. 24V Digital I/O connection
Pulse
9
IBL2403 v1.124V I/O Connection
+3.3V
Dir
11
Enable
Ready
470R
MotionChip
TM
24V
1K
10
1
J1
7
8
6
GND
Error
Rmin= 560R
+3.3V
470R
10K
+3.3V
470R
10K
470R
+3.3V
10K
1K
470R
1K
1K
+5V
LSN
2
LSP
+
+5V
LOAD
5
+V (24 V Supply)
DC
+V
DC
+5V
+5V
LOAD
Rmin= 560R
Inputs
Outputs
Figure 3.7. 24V Digital I/O connection
Remarks:
1. In order to use 24V outputs, an external resistor needs to be connected to a supply of +V
DC
2. The minimum value of external resistors must be 560 Ω.
© Technosoft 2007 22 IBL2403 Technical Reference
3.2.6. 5V Digital I/O connection
Pulse
9
IBL2403 v1.1 5V I/O Connection
+3.3V
Dir
11
Enable
Ready
470R
MotionChip
TM
1K
10
5
J1
7
8
6
LSP
LOAD
Error
max. 6mA
LOAD
1K
470R
1K
+3.3V
470R
10K
+3.3V
470R
10K
+5V
1K
+5V
LSN
+5V
Inputs
Outputs
+5V
max. 6mA
470R
+5V
470R
Figure 3.8. 5V Digital I/O connection
© Technosoft 2007 23 IBL2403 Technical Reference
3.2.7. Analog inputs connection
3.2.7.1 Analog inputs connection
+5V
OUT
IBL2403 v1.1Analog Inputs
Connection
+3.3V
Ref
Tacho
MotionChip
TM
5
10K
TG
1...10K
3
J1
2
4
20K
+3.3V
10K
J2
15
GND
GND
+5V
20K
+3.3V
0÷5V
(+/-10V optional)
0÷5V
(+/-10V optional)
Figure 3.9. Analog inputs connection
Remark: Default input range for analog inputs is 0÷5 V. For a +/-10 V range, please contact
Technosoft.
3.2.7.2 Recommendation for wiring
a)
If the analogue signal source is single-ended, use a 2-wire shielded cable as follows: 1
st
wire connects the live signal to the drive positive input (+); 2
nd
wire connects the signal
ground to the drive negative input (-).
b) If the analogue signal source is differential and the signal source ground is isolated from
the drive GND, use a 3-wire shielded cable as follows: 1
st
wire connects the signal plus to
the drive positive input (+); 2
nd
wire connects the signal minus to the drive negative input
(-) and 3
rd
wire connects the source ground to the drive GND
© Technosoft 2007 24 IBL2403 Technical Reference
c) If the analogue signal source is differential and the signal source ground is common with
the drive GND, use a 2-wire shielded cable as follows: 1
st
wire connects the signal plus to
the drive positive input (+); 2
nd
wire connects the signal minus to the drive negative input
(-).
3.2.8. Motor connections
3.2.8.1 Brushless Motor connection
J2
Brushless motor connection
GND
IBL2403
v1.1
MotionChip
TM
Figure 3.10. Brushless Motor connection
CAUTION !
Before connecting the motor, be sure you have the right application programmed to E2ROM, else you can damage the motor and drive. At power-on, the TML application is automatically executed. See paragraph 3.2.13 to disable this feature.
© Technosoft 2007 25 IBL2403 Technical Reference
3.2.8.2 2-phase Step Motor connection
J2
2-phase step motor connection
GND
1 coil per phase
IBL2403
v1.1
MotionChip
TM
Figure 3.11. Step Motor connection
CAUTION !
Before connecting the motor, be sure you have the right application programmed to E2ROM, else you can damage the motor and drive. At power-on, the TML application is automatically executed. See paragraph 3.2.13 to disable this feature.
© Technosoft 2007 26 IBL2403 Technical Reference
A1+ A1­A2+ B1+
B1­B2+
A2-
B2-
2 coils per phase in series connection
J2
A / A+
C / B+
B / A-
B-
1
4
3
2
B1+ B2+
A1­A2-
B1­B2-
A1+ A2+
A / A+
C / B+
B / A-
B-
J2
2 coils per phase in parallel connection
1
4
3
2
Figure 3.12. Step Motor connection
CAUTION !
Before connecting the motor, be sure you have the right application programmed to E2ROM, else you can damage the motor and drive. At power-on, the TML application is automatically executed. See paragraph 3.2.13 to disable this feature.
© Technosoft 2007 27 IBL2403 Technical Reference
3.2.8.3 3-phase Step Motor connection
J2
3-phase step motor connection
GND
1 coil per phase
IBL2403
v1.1
MotionChip
TM
Figure 3.13. 3-phase Step Motor connection
CAUTION !
Before connecting the motor, be sure you have the right application programmed to E2ROM, else you can damage the motor and drive. At power-on, the TML application is automatically executed. See paragraph 3.2.13 to disable this feature.
© Technosoft 2007 28 IBL2403 Technical Reference
3.2.8.4 DC Motor connection
J2
GND
IBL2403
v1.1
MotionChip
TM
DC motor connection
Figure 3.14. DC Motor connection
CAUTION !
Before connecting the motor, be sure you have the right application programmed to E2ROM, else you can damage the motor and drive. At power-on, the TML application is automatically executed. See paragraph 3.2.13 to disable this feature.
3.2.8.5 Recommendations for motor wiring
a)
Avoid running the motor wires in parallel with other wires for a distance longer than 2 meters. If this situation cannot be avoided, use a shielded cable for the motor wires. Connect the cable shield to the IBL2403 GND pin. Leave the other end disconnected.
b) The parasitic capacitance between the motor wires must not bypass 100nF. If very long
cables (hundreds of meters) are used, this condition may not be met. In this case, add series inductors between the IBL2403 outputs and the cable. The inductors must be
© Technosoft 2007 29 IBL2403 Technical Reference
magnetically shielded (toroidal, for example), and must be rated for the motor surge current. Typically the necessary values are around 100 μH.
c) A good shielding can be obtained if the motor wires are running inside a metallic cable
guide.
3.2.9. Feedback connections
3.2.9.1 Single-ended encoder connection
+3.3V
Single-ended encoder connection
Shield
IBL2403
v1.1
J2
+5V
MotionChip
TM
+5V
OUT
Enc A+
Enc B+
Enc Z +
GND
+5V
+2V
+5V
+2V
+5V
+2V
470R
47K
1K
1K
1K
470R
47K
470R
47K
Figure 3.15. Single-ended encoder connection
© Technosoft 2007 30 IBL2403 Technical Reference
3.2.9.2 Differential encoder connection
+3.3V
Differential encoder connection
Shield
IBL2403
v1.1
J2
+5V
MotionChip
TM
+5V
OUT
Enc A+
A-/LH1
Enc B+
B-/LH2
Enc Z +
Z-/LH3
GND
+5V
+2V
+5V
+2V
+5V
+2V
470R
47K
1K
1K
1K
470R
47K
470R
47K
120R
terminator
120R
terminator
120R
terminator
Figure 3.16. Differential encoder connection
Remark: 120- (0.25-W) terminators are required for long encoder cables, or noisy
environments.
© Technosoft 2007 31 IBL2403 Technical Reference
3.2.9.3 Hall connection
16
6
+5V
OUT
J2
GND
+3.3V
Hall1
Hall2
7
Hall connection
Internally generated
IBL2403
v1.1
MotionChip
TM
+3.3V
Hall3
5
+5V
3 x 1K
3 x 1K
+5V
Figure 3.17. Hall connection
© Technosoft 2007 32 IBL2403 Technical Reference
3.2.9.4 Linear Hall connection
5
GND
+3.3V
B- / LH2
C- / LH3
14
Linear Hall connection
IBL2403
v1.1
MotionChip
TM
+5V
OUT
J2
12
+5V
Internally generated
3 x 10K
3 x 20K
3 x 22nF
13
A- / LH1
Figure 3.18. Linear Hall connection
© Technosoft 2007 33 IBL2403 Technical Reference
3.2.9.5 Linear Hall Auto-Setup connection
5
GND
+3.3V
B- / LH2
C- / LH3
14
Linear Hall Auto-Setup connection
IBL2403
v1.1
MotionChip
TM
+5V
OUT
J2
12
+5V
Internally generated
3 x 10K
3 x 20K
3 x 22nF
13
A- / LH1
6
Hall1
+3.3V
1K
1K
+5V
Figure 3.19. Linear Hall Auto-Setup connection
3.2.9.6 Recommendations for wiring
a) Always connect both positive and negative signals when the encoder or the Hall sensors
are differential and provides them. Use one twisted pair for each differential group of signals as follows: Enc A+ with A-/LH1, Enc B+ with B-/LH2, Enc Z+ with Z-/LH3. Use another twisted pair for the 5V supply and GND.
b) Always use shielded cables to avoid capacitive-coupled noise when using single-ended
encoders or Hall sensors with cable lengths over 1 meter. Connect the cable shield to the GND, at only one end. This point could be either the IBL2403 (using the GND pin) or the encoder / motor. Do not connect the shield at both ends.
c) If the IBL2403 5V supply output is used by another device (like for example an encoder)
and the connection cable is longer than 5 meters, add a decoupling capacitor near the supplied device, between the +5V and GND lines. The capacitor value can be 1...10 μF, rated at 6.3V.
© Technosoft 2007 34 IBL2403 Technical Reference
3.2.10. Supply connection
3.2.10.1 Supply connection
J2
Power supply connection
+3.3V
DC
DC
GND
+V
DC
+
12...28V
+5V
DC
DC
+5V
OUT
To motor
IBL2403
v1.1
MotionChip
TM
J2
J1
+5V
OUT
0.2 A max
OUTPUT
OUTPUT
Figure 3.20. Supply connection
3.2.10.2 Recommendations for Supply Wiring
Use
short, thick wires between the IBL2403 and the motor power supply. If the wires are longer than 2 meters, use twisted wires for the supply and ground return. For wires longer than 20 meters, add a capacitor of at least 1000 μF (rated at an appropriate voltage) right on the terminals of the IBL2403.
3.2.10.3 Recommendations to limit over-voltage during braking
During abrupt motion brakes or reversals
the regenerative energy is injected into the motor power supply. This may cause an increase of the motor supply voltage (depending on the power supply characteristics). If the voltage bypasses the U
MAX
value, the drive over-voltage protection is
triggered and the drive power stage is disabled.
© Technosoft 2007 35 IBL2403 Technical Reference
In order to avoid this situation add a capacitor on the motor supply big enough to absorb the
overall energy flowing back to the supply. The capacitor must be rated to a voltage equal or bigger than the maximum expected over-voltage and can be sized with the formula:
Drive
NOM
MAX
M
C
UU
E
C
×
22
2
where:
U
MAX
- is the over-voltage protection limit expressed in [V]. You can read this value in the
“Drive Info” dialogue, which can be opened from the “Drive Setup”.
C
Drive
- is the drive internal capacitance ( 220 μF)
U
NOM
- is nominal motor supply voltage expressed in [V]. You can read this value in the
“Drive Info” dialogue, which can be opened from the “Drive Setup”.
E
M
- the overall energy flowing back to the supply in Joules. In case of a rotary motor
and load,
E
M
can be computed with the formula:
F
Md
dPh
2
M
finalinitialLMMLMM
T
2
t
tR3I)h-g(h)mm()J(J
2
1
E
ϖ
++ϖ+=
where:
J
M
– total rotor inertia [kgm2]
J
L
– total load inertia as seen at motor shaft after transmission [kgm2]
ϖ
M
– motor angular speed before deceleration [rad/s]
m
M
– motor mass [kg] – when motor is moving in a non-horizontal plane
m
L
– load mass [kg] – when load is moving in a non-horizontal plane
g
– gravitational acceleration i.e. 9.8 [m/s2]
h
initial
– initial system altitude [m]
h
final
– final system altitude [m]
I
M
– motor current during deceleration [A
RMS
/phase]
R
Ph
– motor phase resistance [Ω]
t
d
– time to decelerate [s]
T
F
– total friction torque as seen at motor shaft [Nm] – includes load and transmission
In case of a linear motor and load, the motor inertia J
M
and the load inertia JL will be replaced by
the motor mass and the load mass measured in [kg], the angular speed ϖ
M
will become linear
speed measured in [m/s] and the friction torque T
F
will become friction force measured in [N].
Kinetic energy Copper losses Friction losses Potential energy
© Technosoft 2007 36 IBL2403 Technical Reference
Remark: If the above computation of E
M
can’t be done due to missing data, a good starting value
for the capacitor can be 10 000 μF / 100V.
3.2.11. Serial RS-232 connection
3.2.11.1 Serial RS-232 connection
15
GND 232Tx
232Rx
RS-232
Transceiver
+3.3V
J1
RS-232 connection
RS-232
213
45
67
89
IBL2403
v1.1
MotionChip
TM
16
14
Figure 3.21. Serial RS-232 connection
3.2.11.2 Recommendation for wiring
a)
If you build the serial cable, you can use a 3-wire shield cable with shield connected to BOTH ends. Do not use the shield as GND. The ground wire (pin 14 of J1) must be included inside the shield, like the RxD and TxD signals
b) Do not rely on an earthed PC to provide the IBL2403 GND connection! The drive must be
earthed through a separate circuit. Most communication problems are caused by the lack of such connection
c) Always power-off all the IBL2403 supplies before inserting/removing the RS-232 serial
connector.
© Technosoft 2007 37 IBL2403 Technical Reference
3.2.12. CAN connection (IBL2403-CAN drives)
3.2.12.1 CAN connection (IBL2403-CAN drives)
12
J1
GND
+3.3V
CAN_H
CAN_L
13
IBL2403
v1.1
CAN connection
CAN transceiver
+5V
To Previous Node
To N e xt N od e
MotionChip
TM
Figure 3.22. CAN connection
Remarks:
1. The CAN network requires a 120-Ohm terminator. This is not included on the board. See Figure 4.14.
2. CAN signals are not insulated from other IBL2403 circuits.
3. CAN signals (CAN_H and CAN_L pins of J1 connector) are not connected pins on the
IBL2403-RS232 drive
3.2.12.2 Recommendation for wiring
a)
Build CAN network using cables with 2-pairs of twisted wires (2 wires/pair) as follows: one pair for CAN_H with CAN_L and the other pair for CAN_V+ with CAN_GND. The cable impedance must be 105 ... 135 ohms (120 ohms typical) and a capacitance below 30pF/meter.
b) When total CAN bus length is below 5 meters, it is possible to use a standard phone
straight-through cable (with parallel wires)
c) Whenever possible, use daisy-chain links between the CAN nodes. Avoid using stubs. A
stub is a "T" connection, where a derivation is taken from the main bus. When stubs can’t
© Technosoft 2007 38 IBL2403 Technical Reference
be avoided keep them as short as possible. For 1 Mbit/s (worst case), the maximum stub length must be below 0.3 meters.
d) The 120Ω termination resistors must be rated at 0.2W minimum. Do not use winded
resistors, which are inductive.
CAN_GND
CAN_L
CAN_H
IBL4203
AXISID = 2
Node
A
Node
B
RS-232
PC
Host Address = 255
120R
5%, 0.25W
Node
C
CAN_GND
CAN_L
CAN_H
CAN_GND
CAN_L
CAN_H
CAN_GND
CAN_L
CAN_H
Node
Z
L < Lmax
120R
5%, 0.25W
IBL4203
AXISID = 3
IBL4203
AXISID = 255
IBL4203
AXISID = 1
Figure 3.23. Multiple-Axis CAN network
Remark: The AxisID must be set by software, using instruction AXISID number.
© Technosoft 2007 39 IBL2403 Technical Reference
3.2.13. Special connection (Non-Autorun)
If the drive contains in the E2ROM a valid TML application, when power-on this application is automatically executed (the drive is by default in the autorun mode).
To disable this feature in case that the application in the E2ROM is corrupted and the RS232 communication is lost, make the following connections:
6
GND
+3.3V
Hall1
Hall2
7
Connection for Non-Autorun IBL2403
v1.1
MotionChip
TM
+3.3V
Hall3
J2
5
3 x 1K
3 x 1K
+5V
Figure 3.24. Connection for Non-Autorun
© Technosoft 2007 40 IBL2403 Technical Reference
3.2.14. Master - Slave encoder connection
Pulse
IBL2403 v1.1
+3.3V
Dir
MotionChip
TM
J1
6
GND
+3.3V
470R
10K
+3.3V
470R
10K
2
+5V
5
Shield
IBL2403
v1.1
J2
+5V
OUT
Enc A+
Enc B+
GND
Master
Motor phases
Slave
J2
Motor phases
Encoder
Master
Slave
Figure 3.25. Master – Slave encoder connection using second encoder input
© Technosoft 2007 41 IBL2403 Technical Reference
3.2.15. Connectors Type and Mating Connectors
Connector Function Producer Board connector
J1 Motor & Feedback Phoenix
Contact
MPT 0,5/8 – 2,5417
J2 Supply, I/O & Serial Phoenix
Contact
MPT 0,5/8 – 2,54
17
The mating connector accepts wires of 0.14 … 0.5 mm2 (AWG26 … AWG20)
© Technosoft 2007 42 IBL2403 Technical Reference
4. Step 2. Drive Setup
4.1. Installing EasySetUp
EasySetUp is a PC software platform for the setup of the Technosoft drives. It can be
downloaded free of charge from Technosoft web page. EasySetUp comes with an Update via Internet tool through which you can check if your software version is up-to-date, and when
necessary download and install the latest updates. EasySetUp includes a firmware programmer through which you can update your drive firmware to the latest revision.
EasySetUp can be installed independently or together with EasyMotion Studio platform for
motion programming using TML. You will need EasyMotion Studio only if you plan to use the
advance features presented in Section 5.3 Combining CANopen /or other host with TML. A demo
v
ersion of EasyMotion Studio including the fully functional version of EasySetUp can be
downloaded free of charge from Technosoft web page.
On request, EasySetUp can be provided on a CD too. In this case, after installation, use the update via internet tool to check for the latest updates. Once you have started the installation package, follow its indications.
4.2. Getting Started with EasySetUp
Using EasySetUp you can quickly setup a drive for your application. The drive can be:
directly connected with your PC via a serial RS 232 link
any drive from a CANbus network where the PC is serially linked with one of the other
drives.
The output of EasySetUp is a set of setup data, which can be downloaded into the drive EEPROM or saved on your PC for later use.
EasySetUp includes a set of evaluation tools like the Data Logger, the Control Panel and the Command Interpreter which help you to quickly measure, check and analyze your drive commissioning.
EasySetUp works with setup data. A setup contains all the information needed to configure and
parameterize a Technosoft drive. This information is preserved in the drive EEPROM in the setup table. The setup table is copied at power-on into the RAM memory of the drive and is used during runtime. With EasySetUp it is also possible to retrieve the complete setup information from a drive previously programmed.
Note that with EasySetUp you do only your drive/motor commissioning. For motion programming you have the following options:
Use a CANopen master (for IBL2403 CANopen) Use EasyMotion Studio to create and download a TML program into the drive/motor
memory
© Technosoft 2007 43 IBL2403 Technical Reference
Use one of the TML_LIB motion libraries to control the drives/motors from your
host/master. If your host is a PC, TML_LIB offers a collection of high level motion
functions which can be called from applications written in C/C++, Visual Basic, Delphi
Pascal or LabVIEW. If your host is a PLC, TML_LIB offers a collection of function blocks for motion programming, which are IEC61131-3 compatible and can be integrated in
your PLC program.
Implement on your master the TML commands you need to send to the drives/motors
using one of the supported communication channels. The implementation must be done according with Technosoft communication protocols.
Combine TML programming at drive level with one of the other options (see Section 5.3)
4.2.1. Establish communication
EasySetUp starts with an empty window from where you can create a New setup, Open a previously created setup which was saved on your PC, or Upload the setup from the drive/motor.
Before selecting one of the above options, you need to establish the communication with the drive
you want to commission. Use menu command Communication | Setup to check/change your PC communication settings. Press the Help button of the dialogue opened. Here you can find
detailed information about how to setup your drive and do the connections. Power on the drive,
© Technosoft 2007 44 IBL2403 Technical Reference
then close the Communication | Setup dialogue with OK. If the communication is established,
EasySetUp displays in the status bar (the bottom line) the text “Online” plus the axis ID of your drive/motor and its firmware version. Otherwise the text displayed is “Offline” and a
communication error message tells you the error type. In this case, return to the Communication | Setup dialogue, press the Help button and check troubleshoots
Remark: When first started, EasySetUp tries to communicate via RS-232 and COM1 with a drive
having axis ID=255 (default communication settings). If your drive is powered with all the DIP switches OFF and it is connected to your PC port COM1 via an RS-232 cable, the communication shall establish automatically. If the drive has a different axis ID and you don’t know it, select in the Communication | Setup dialogue at “Axis ID of drive/motor connected to PC” the option
Autodetected.
4.2.2. Setup drive/motor
Press New button and select your drive type.
The selection continues with the motor technology (for example: brushless or brushed) and type of feedback device (for example: Incremental encoder, Linear Halls).
© Technosoft 2007 45 IBL2403 Technical Reference
The selection opens 2 setup dialogues: for Motor Setup and for Drive setup through which you
can configure and parameterize a Technosoft drive, plus several predefined control panels customized for the product selected.
In the Motor setup dialogue you can introduce the data of your motor and the associated
sensors. Data introduction is accompanied by a series of tests having as goal to check the connections to the drive and/or to determine or validate a part of the motor and sensors
parameters. In the Drive setup dialogue you can configure and parameterize the drive for your application. In each dialogue you will find a Guideline Assistant, which will guide you through the whole process of introducing and/or checking your data. Close the Drive setup dialogue with OK
to keep all the changes regarding the motor and the drive setup.
4.2.3. Download setup data to drive/motor
Press the Download to Drive/Motor button to download your setup data in the
drive/motor EEPROM memory in the setup table. From now on, at each power-on, the setup data
© Technosoft 2007 46 IBL2403 Technical Reference
is copied into the drive/motor RAM memory which is used during runtime. It is also possible to
Save
the setup data on your PC and use it in other applications.
To summarize, you can define or change the setup data in the following ways:
create a new setup data by going through the motor and drive dialogues
use setup data previously saved in the PC
upload setup data from a drive/motor EEPROM memory
4.2.4. Evaluate drive/motor behaviour (optional)
You can use the Data Logger or the Control Panel evaluation tools to quickly measure and
analyze your application behavior. In case of errors like protections triggered, use the Drive Status control panel to find the cause.
4.3. Changing the drive Axis ID
© Technosoft 2007 47 IBL2403 Technical Reference
The axis ID of an IBL2403 drive can be set software – any value between 1 and 255, stored in the setup table.
The axis ID is initialized at power on, using the following algorithm:
a) If a valid setup table exists, with the value read from it. This value can be an axis number 1
to 255
b) If the setup table is invalid, with the last value set with a valid setup table. This value can
be an axis number 1 to 255
Remark: If a drive axis ID was previously set by software and its value is not anymore known,
you can find it by selecting in the Communication | Setup dialogue at “Axis ID of drive/motor
connected to PC” the option Autodetected. Apply this solution only if this drive is connected
directly with your PC via an RS-232 link. If this drive is part of a CANbus network and the PC is
serially connected with another drive, use the menu command Communication | Scan Network
4.4. Setting CANbus rate
The IBL2403 drives can work with the following rates on the CAN: 125kHz, 250kHz, 500KHz, 1MHz. In the Drive Setup dialogue you can choose the initial CAN rate after power on. This information is stored in the setup table. The CAN rate is initialized using the following algorithm:
© Technosoft 2007 48 IBL2403 Technical Reference
If a valid setup table exists, with the CAN rate value read from it. This can be any of the supported rates or can indicate to use the firmware default (F/W default) value, which is 500kHz
If the setup table is invalid, with the last CAN rate value set with a valid setup table. This can be any of the supported rates or can indicate to use the firmware default (F/W default) value.
If there is no CAN rate value set by a valid setup table, with the firmware default value i.e. 500kHz
4.5. Creating an Image File with the Setup Data
Once you have validated your setup, you can create with the menu command Setup | Create EEPROM Programmer File a software file (with extension .sw) which contains all the setup data
to write in the EEPROM of your drive.
A software file is a text file that can be read with any text editor. It contains blocks of data separated by an empty raw. Each block of data starts with the block start address, followed by data values to place in ascending order at consecutive addresses: first data – to write at start address, second data – to write at start address + 1, etc. All the data are hexadecimal 16- bit values (maximum 4 hexadecimal digits). Each raw contains a single data value. When less then 4 hexadecimal digits are shown, the value must be right justified. For example 92 represent 0x0092.
The .sw file can be programmed into a drive:
from a CANopen master, using the communication objects for writing data into the drive
EEPROM
from a host PC or PLC, using the TML_LIB functions for writing data into the drive
EEPROM
using the EEPROM Programmer tool, which comes with EasySetUp but may also be
installed separately. The EEPROM Programmer was specifically designed for repetitive
fast and easy programming of .sw files into the Technosoft drives during production.
© Technosoft 2007 49 IBL2403 Technical Reference
5. Step 3. Motion Programming
5.1. Using a CANopen Master (for IBL2403 CANopen execution)
The IBL2403 drive supports the CiA draft standard DS-301 v4.02 CANopen Application Layer and Communication Profile. It also conforms with the CiA draft standard proposal DSP-402 v2.0
CANopen Device Profile for Drives and Motion Control. For details see CANopen Programming manual (part no. P091.063.UM.xxxx)
5.1.1. DS-301 Communication Profile Overview
The IBL2403 drive accepts the following basic services and types of communication objects of the CANopen communication profile DS 301 v4.02:
Service Data Object (SDO)
Service Data Objects (SDOs) are used by CANopen master to access any object from the drive’s Object Dictionary. Both expedited and segmented SDO transfers are supported (see DS301 v4.02 for details). SDO transfers are confirmed services. The SDOs are typically used for drive configuration after power-on, for PDOs mapping and for infrequent low priority communication between the CANopen master with the drives.
Process Data Object (PDO)
Process Data Objects (PDO) are used for high priority, real-time data transfers between CANopen master and the drives. The PDOs are unconfirmed services which are performed with no protocol overhead. Transmit PDOs are used to send data from the drive, and receive PDOs are used to receive on to the drive. The IBL2403 accepts 4 transmit PDOs and 4 receive PDOs. The contents of the PDOs can be set according with the application needs using the dynamic PDO-mapping. This operation can be done during the drive configuration phase using SDOs.
Synchronization Object (SYNC)
The SYNC message provides the basic network clock, as the SYNC producer broadcasts the synchronization object periodically. The service is unconfirmed. The IBL2403 supports both SYNC consumer and producer.
Time Stamp Object (TIME)
The Time Stamp Object is not supported by the IBL2403 device.
Emergency Object (EMCY)
Emergency objects are triggered by the occurrence of a drive internal error situation. An emergency object is transmitted only once per ‘error event’. As long as no new errors occur, the drive will not transmit further emergency objects.
Network Management Objects (NMT)
The Network Management is node oriented and follows a master-slave structure. NMT objects are used for executing NMT services. Through NMT services the drive can be initialized, started, monitored, reset or stopped. The IBL2403 is a NMT slave in a CANopen network.
© Technosoft 2007 50 IBL2403 Technical Reference
Module Control Services – through these unconfirmed services, the NMT master
controls the state of the drive. The following services are implemented: Start Remote Node, Stop Remote Node, Enter Pre-Operational, Reset Node, Reset Communication
Error Control Services – through these services the NMT master detects failures in a
CAN-based network. Both error control services defined by DS301 v4.02 are supported by the IBL2403: Node Guarding (including Life Guarding) and Heartbeat
Bootup Service - through this service, the drive indicates that it has been properly
initialized and is ready to receive commands from a master
5.1.2. TechnoCAN Extension (for IBL2403 CAN execution)
In order to take full advantage of the powerful Technosoft Motion Language (TML) built into the IBL2403, Technosoft has developed an extension to CANopen, called TechnoCAN through which TML commands can be exchanged with the drives. Thanks to TechnoCAN you can inspect or reprogram any of the Technosoft drives from a CANopen network using EastSetUp or EasyMotion Studio and an RS-232 link between your PC and anyone of the drives.
TechnoCAN uses only identifiers outside of the range used by the default by the CANopen predefined connection set (as defined by CiA DS301 v4.02). Thus, TechnoCAN protocol and CANopen protocol can co-exist and communicate simultaneously on the same physical CAN bus, without disturbing each other.
5.1.3. DSP-402 and Manufacturer Specific Device Profile Overview
The IBL2403 supports the following CiA DSP402 v2.0 modes of operation:
Profile position mode Profile velocity mode Homing mode Interpolated position mode
Additional to these modes, there are also several manufacturer specific modes defined:
External reference modes (position, speed or torque) Electronic gearing position mode
5.1.4. Checking Setup Data Consistency
During the configuration phase, a CANopen master can quickly verify using the checksum objects
and a reference .sw file (see 4.5 and 5.2.4 for details) whether the non-volatile EEPROM memory
of an IBL2403 drive
contains the right information. If the checksum reported by the drive doesn’t
match with that computed from the .sw file, the CANopen master can download the entire .sw file
into the drive EEPROM using the communication objects for writing data into the drive EEPROM.
5.2. Using the built-in Motion Controller and TML
One of the key advantages of the Technosoft drives is their capability to execute complex motions without requiring an external motion controller. This is possible because Technosoft drives offer in a single compact package both a state of art digital drive and a powerful motion controller.
© Technosoft 2007 51 IBL2403 Technical Reference
5.2.1. Technosoft Motion Language Overview
Programming motion directly on a Technosoft drive requires creating and downloading a TML (Technosoft Motion Language) program into the drive memory. The TML allows you to:
Set various motion modes (profiles, PVT, PT, electronic gearing or camming
18
, etc.)
Change the motion modes and/or the motion parameters
Execute homing sequences
19
Control the program flow through:
Conditional jumps and calls of TML functions
TML interrupts generated on pre-defined or programmable conditions (protections
triggered, transitions on limit switch or capture inputs, etc.)
Waits for programmed events to occur
Handle digital I/O and analogue input signals
Execute arithmetic and logic operations
Perform data transfers between axes
Control motion of an axis from another one via motion commands sent between axes
Send commands to a group of axes (multicast). This includes the possibility to start
simultaneously motion sequences on all the axes from the group
Synchronize all the axes from a network
In order to program a motion using TML you need EasyMotion Studio software platform.
5.2.2. Installing EasyMotion Studio
EasyMotion Studio is an integrated development environment for the setup and motion
programming of Technosoft intelligent drives. It comes with an Update via Internet tool through
which you can check if your software version is up-to-date, and when necessary download and install the latest updates.
A demo version of EasyMotion Studio including the fully functional version of EasySetUp
can be downloaded free of charge from Technosoft web page.
EasyMotion Studio is delivered on a CD. Once you have started the installation package, follow its indications. After installation, use the update via internet tool to check for the latest updates. Alternately, you can first install the demo version and then purchase a license. By introducing the
license serial number in the menu command Help | Enter registration info…, you can transform
the demo version into a fully functional version.
18
Optional for IBL2403 CANopen execution
19
The customization of the homing routines is available only for IBL2403 CAN execution
© Technosoft 2007 52 IBL2403 Technical Reference
5.2.3. Getting Started with EasyMotion Studio
Using EasyMotion Studio you can quickly do the setup and the motion programming of a Technosoft a drive according with your application needs. The drive can be:
directly connected with your PC via a serial RS 232 link
any drive from a CANbus network where the PC is serially linked with one of the other
drives.
The output of the EasyMotion Studio is a set of setup data and a motion program, which can be downloaded to the drive/motor EEPROM or saved on your PC for later use.
EasyMotion Studio includes a set of evaluation tools like the Data Logger, the Control Panel and the Command Interpreter which help you to quickly develop, test, measure and analyze your motion application.
EasyMotion Studio works with projects. A project contains one or several Applications. Each application describes a motion system for one axis. It has 2 components: the Setup data
and the Motion program and an associated axis number: an integer value between 1 and 255. An
application may be used either to describe:
1. One axis in a multiple-axis system
2. An alternate configuration (set of parameters) for the same axis.
In the first case, each application has a different axis number corresponding to the axis ID of the drives/motors from the network. All data exchanges are done with the drive/motor having the same address as the selected application. In the second case, all the applications have the same axis number.
The setup component contains all the information needed to configure and parameterize a Technosoft drive. This information is preserved in the drive/motor EEPROM in the setup table. The setup table is copied at power-on into the RAM memory of the drive/motor and is used during runtime.
The motion component contains the motion sequences to do. These are described via a TML (Technosoft Motion Language) program, which is executed by the drives/motors built-in motion controller.
5.2.3.1 Create a new project
EasyMotion Studio starts with an empty window from
where you can create a new project or open
a previously created one.
© Technosoft 2007 53 IBL2403 Technical Reference
When you start a new project, EasyMotion Studio automatically creates a first application. Additional applications can be added later. You can duplicate an application or insert one defined in another project.
Press New button
to open the “New Project” dialogue. Set the axis
number for your first application equal with your drive/motor axis ID. The initial value proposed is
255 which is the default axis ID of the drives. Press New button and select your drive type.
Depending on the product chosen, the selection may continue with the motor technology (for example: brushless or brushed) and the type of feedback device (for example: incremental encoder).
© Technosoft 2007 54 IBL2403 Technical Reference
Click on your selection. EasyMotion Studio opens the Project window where on the left side you can see the structure of a project. At beginning both the new project and its first application are
named “Untitled”. The application has 2 components: S Setup and M Motion (program).
© Technosoft 2007 55 IBL2403 Technical Reference
5.2.3.2 Step 2 Establish communication
If you have a drive/motor connected with your PC, now its time to check the communication. Use
menu command Communication | Setup to check/change your PC communication settings. Press the Help
button of the dialogue opened. Here you can find detailed information about how to setup your drive/motor and the connections. Power on the drive, then close the Communication | Setup dialogue with OK. If the communication is established, EasyMotion Studio displays in the
status bar (the bottom line) the text “Online” plus the axis ID of your drive/motor and its firmware version. Otherwise the text displayed is “Offline” and a communication error message tells you
the error type. In this case, return to the Communication | Setup dialogue, press the Help button and check troubleshoots.
Remark: When first started, EasyMotion Studio tries to communicate via RS-232 and COM1 with
a drive having axis ID=255 (default communication settings). If your drive is powered with all the DIP switches OFF and it is connected to your PC port COM1 via an RS-232 cable, the communication shall establish automatically.
5.2.3.3 Setup drive/motor In the project window left side, select “S Setup”, to access the setup data for your application.
© Technosoft 2007 56 IBL2403 Technical Reference
Press View/Modify button
. This opens 2 setup dialogues: for Motor Setup and for Drive Setup (same like on EasySetUp) through which you can configure and parameterize a Technosoft drive. In the Motor setup dialogue you can introduce the data of your
motor and the associated sensors. Data introduction is accompanied by a series of tests having as goal to check the connections to the drive and/or to determine or validate a part of the motor
and sensors parameters. In the Drive setup dialogue you can configure and parameterize the drive for your application. In each dialogue you will find a Guideline Assistant, which will guide
you through the whole process of introducing and/or checking your data.
Press the Download to Drive/Motor button
to download your setup data in the drive/motor EEPROM memory in the setup table. From now on, at each power-on, the setup data is copied into the drive/motor RAM memory which is used during runtime. It is also
© Technosoft 2007 57 IBL2403 Technical Reference
possible to save the setup data on your PC and use it in other applications. Note that you can upload the complete setup data from a drive/motor.
To summarize, you can define or change the setup data of an application in the following ways:
create a new setup data by going through the motor and drive dialogues
use setup data previously saved in the PC
upload setup data from a drive/motor EEPROM memory
5.2.3.4 Program motion
In the project window left side, select “M
Motion”, for motion programming. This automatically
activates the Motion Wizard.
The Motion Wizard offers you the possibility to program all the motion sequences using high level graphical dialogues which automatically generate the corresponding TML instructions. Therefore with Motion Wizard you can develop motion programs using almost all the TML instructions without needing to learn them. A TML program includes a main section, followed by the subroutines used: functions, interrupt service routines and homing procedures
20
. The TML
program may also include cam tables used for electronic camming applications
21
.
20
The customization of the interrupt service routines and homing routines is available only for IBL2403 CAN executions
21
Optional for IBL2403 CANopen execution
© Technosoft 2007 58 IBL2403 Technical Reference
When activated, Motion Wizard adds a set of toolbar buttons in the project window just below the title. Each button opens a programming dialogue. When a programming dialogue is closed, the associated TML instructions are automatically generated. Note that, the TML instructions generated are not a simple text included in a file, but a motion object. Therefore with Motion Wizard you define your motion program as a collection of motion objects.
The major advantage of encapsulating programming instructions in motion objects is that you can very easily manipulate them. For example, you can:
Save and reuse a complete motion program or parts of it in other applications
Add, delete, move, copy, insert, enable or disable one or more motion objects
Group several motion objects and work with bigger objects that perform more complex
functions
As a starting point, push for example the leftmost Motion Wizard button – Trapezoidal profiles,
and set a position or speed profile. Then press the Run button. At this point the following
operations are done automatically:
A TML program is created by inserting your motion objects into a predefined template
The TML program is compiled and downloaded to the drive/motor
The TML program execution is started
For learning how to send TML commands from your host/master, using one of the communication
channels and protocols supported by the drives use menu command Application | Binary Code Viewer… Using this tool, you can get the exact contents of the messages to send and of those
expected to be received as answers.
5.2.3.5 Evaluate motion application performances
EasyMotion Studio includes a
set of evaluation tools like the Data Logger, the Control Panel and
the Command Interpreter which help you to quickly measure and analyze your motion
application.
5.2.4. Creating an Image File with the Setup Data and the TML Program
Once you have validated your application, you can create with the menu command Application | Create EEPROM Programmer File a software file (with extension .sw) which contains all the
data to write in the EEPROM of your drive. This includes both the setup data and the motion
program. For details regarding the .sw file format and how it can be programmed into a drive, see
paragraph 4.5
5.3. Combining CANopen /or other host with TML
Due to its embedded motion controller, an IBL2403 offers many programming solutions that may simplify a lot the task of a CANopen master. This paragraph overviews a set of advanced programming features which arise when combining TML programming at drive level with CANopen master control. A detailed description of these advanced programming features is
included in the CANopen Programming (part no. P091.063.UM.xxxx) manual. All features
presented below require usage of EasyMotion Studio as TML programming tool
© Technosoft 2007 59 IBL2403 Technical Reference
Remark: If you don’t use the advanced features presented below you don’t need EasyMotion
Studio. In this case the IBL2403 is treated like a standard CANopen drive, whose setup is done using EasySetUp.
5.3.1. Using TML Functions to Split Motion between Master and Drives
With Technosoft intelligent drives you can really distribute the intelligence between a CANopen master and the drives in complex multi-axis applications. Instead of trying to command each step of an axis movement, you can program the drives using TML to execute complex tasks and inform the master when these are done. Thus for each axis, the master task may be reduced at: calling TML functions (with possibility to abort their execution) stored in the drives EEPROM and waiting for a message, which confirms the finalization of the TML functions execution.
5.3.2. Executing TML programs
The distributed control concept can go on step further. You may prepare and download into a drive a complete TML program including functions, homing procedures
22
, etc. The TML program
execution can be started by simply writing a value in a dedicated object,
5.3.3. Loading Automatically Cam Tables Defined in EasyMotion Studio
The IBL2403 offers others motion modes like23: electronic gearing, electronic camming, external modes with analogue or digital reference etc. When electronic camming is used, the cam tables can be loaded in the following ways:
a) The master downloads the cam points into the drive active RAM memory after each
power on;
b) The cam points are stored in the drive EEPROM and the master commands their copy
into the active RAM memory
c) The cam points are stored in the drive EEPROM and during the drive initialization
(transition to Ready to Switch ON status) are automatically copied from EEPROM to the active RAM
For the last 2 options the cam table(s) are defined in EasyMotion Studio and are included in the information stored in the EEPROM together with the setup data and the TML programs/functions.
Remark: The cam tables are included in the .sw file generated with EasyMotion Studio.
Therefore, the drives can check the cam presence in the drive EEPROM using the same procedure as for testing of the setup data.
5.3.4. Customizing the Homing Procedures (for IBL2403 CAN executions)
The IBL2403 supports all homing modes defined in DSP-402 device profile. If needed, any of these homing modes can be customized. In order to do this you need to select the Homing
22
The customization of the interrupt service routines and homing routines is available only for IBL2403 CAN executions
23
Optional for the IBL2403 CANopen execution
© Technosoft 2007 60 IBL2403 Technical Reference
Modes from your EasyMotion Studio application and in the right side to set as “User defined” one of the Homing procedures. Following this operation the selected procedure will occur under Homing Modes in a subtree, with the name HomeX where X is the number of the selected homing.
If you click on the HomeX procedure, on the right side you’ll see the TML function implementing it. The homing routine can be customized according to your application needs. It’s calling name and method remain unchanged.
5.3.5. Customizing the Drive Reaction to Fault Conditions (for IBL2403 CAN
executions)
Similarly to the homing modes, the default service routines for the TML interrupts can be customized according to your application needs. However, as most of these routines handle the drive reaction to fault conditions, it is mandatory to keep the existent functionality while adding your application needs, in order to preserve the correct protection level of the drive. The procedure for modifying the TML interrupts is similar with that for the homing modes.
5.4. Using Motion Libraries for PC-based Systems
A TML Library for PC is a collection of high-level functions allowing you to control from a PC a
network of Technosoft intelligent drives. It is an ideal tool for quick implementation on PCs of motion control applications with Technosoft products.
With the TML Motion Library functions you can: communicate with a drive / motor via any of its supported channels (RS-232, CAN-bus, etc.), send motion commands, get automatically or on request information about drive / motor status, check and modify its setup parameters, read inputs and set outputs, etc.
© Technosoft 2007 61 IBL2403 Technical Reference
The TML Motion Library can work under a Windows or Linux operating system. Implemented as a .dll/.so, it can be included in an application developed in C/C++/C#, Visual Basic, Delphi Pascal or Labview.
Using a TML Motion Library for PC, you can focus on the main aspects of your application, while the motion programming part can be reduced to calling the appropriate functions and getting the confirmation when the task was done.
All Technosoft's TML Motion Libraries for PCs are provided with EasySetUp.
5.5. Using Motion Libraries for PLC-based Systems
A TML Motion Library for PLC is a collection of high-level functions and function blocks allowing
you to control from a PLC the Technosoft intelligent drives. The motion control function blocks are
developed in accordance with the PLC IEC61131-3 standard and represent an ideal tool for
quick implementation on PLCs of motion control applications with Technosoft products.
With the TML Motion Library functions you can: communicate with a drive/motor via any of its supported channels, send motion commands, get automatically or on request information about drive/motor status, check and modify its setup parameters, read inputs and set outputs, etc. Depending on the PLC type, the communication is done either directly with the CPU unit, or via a CANbus or RS-232 communication module.
Using a TML Motion Library for PLC, you can focus on the main aspects of your PLC application, while the motion programming part can be reduced to calling the appropriate functions and monitoring the confirmations that the task was done.
All these blocks have been designed using the guidelines described in the PLC standards, so
they can be used on any developmemnt platform that is IEC 61136 compliant.
All Technosoft's TML Motion Libraries for PLC are provided with EasySetUp.
© Technosoft 2007 62 IBL2403 Technical Reference
6. Scaling factors
Technosoft drives work with parameters and variables represented in the drive internal units (IU). These correspond to various signal types: position, speed, current, voltage, etc. Each type of signal has its own internal representation in IU and a specific scaling factor. This chapter presents the drive internal units and their relation with the international standard units (SI).
In order to easily identify them, each internal unit has been named after its associated signal. For
example the position units are the internal units for position, the speed units are the internal
units for speed, etc.
6.1. Position units
6.1.1. Brushless / DC brushed motor with quadrature encoder on motor
The internal position units are encoder counts. The correspondence with the load position in SI units
24
is:
]IU[Position_Motor
Trlines_encoder_No
]SI[Position_Load ×
××
π×
=
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
6.1.2. Brushless motor with linear Hall signals
The internal position units are counts. The motor is rotary. The resolution i.e. number of counts per revolution is programmable as a power of 2 between 512 and 8192. By default it is set at 2048 counts per turn. The correspondence with the load position in SI units is:
For rotary motors:
]IU[Position_Motor
Trresolution
]SI[Position_Load ×
×
π×
=
2
For linear motors:
Pole_Pitch
Load_Position[SI] = ×Motor_Position[IU]
Tr
where:
resolution – is the motor position resolution
24
SI units for position are: [rad] for a rotary movement, [m] for a linear movement
© Technosoft 2007 63 IBL2403 Technical Reference
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
Pole_Pitch – is the magnetic pole pitch NN (distance expressed in [m])
6.1.3. DC brushed motor with quadrature encoder on load and tacho on motor
The internal position units are encoder counts. The motor is rotary and the transmission is rotary­to-rotary. The correspondence with the load position in SI units is:
]IU[Position_Load
lines_encoder_No
]rad[Position_Load ×
×
π×
=
4
2
where:
No_encoder_lines – is the encoder number of lines per revolution
6.1.4. Stepper motor open-loop control. No feedback device
The internal position units are motor µsteps. The correspondence with the load position in SI units is:
]IU[Position_Motor
Trsteps_Nosteps_No
]SI[Position_Load ×
××μ
π×
=
2
where:
No_steps – is the number of motor steps per revolution
No_µsteps – is the number of microsteps per step. You can read/change this value in the “Drive Setup” dialogue from EasySetUp.
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
Stepper motor closed-loop control. Incremental encoder on motor
The internal position units are motor encoder counts. The correspondence with the load position in SI units
25
is:
]IU[Position_Motor
Trlines_encoder_No
]SI[Position_Load ×
××
π×
=
4
2
where:
No_encoder_lines – is the motor encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
25
SI units for position are [rad] for a rotary movement , [m] for a linear movement
© Technosoft 2007 64 IBL2403 Technical Reference
6.1.5. Stepper motor open-loop control. Incremental encoder on load
The internal position units are load encoder counts. The transmission is rotary-to-rotary. The correspondence with the load position in SI units is:
]IU[Position_Load
lines_encoder_No
]SI[Position_Load ×
×
π×
=
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
6.2. Speed units
The internal speed units are internal position units / (slow loop sampling period) i.e. the position variation over one slow loop sampling period
6.2.1. Brushless / DC brushed motor with quadrature encoder on motor
The internal speed units are encoder counts / (slow loop sampling period). The correspondence
with the load speed in SI units is:
]IU[Speed_Motor
TTrlines_encoder_No
]SI[Speed_Load ×
×××
π×
=
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.2.2. Brushless motor with linear Hall signals
The internal speed units are counts / (slow loop sampling period). The motor is rotary. The position resolution i.e. number of counts per revolution is programmable as a power of 2 between 512 and 8192. By default it is set at 2048 counts per turn. The correspondence with the load speed in SI units is:
For rotary motors:
]IU[Speed_Motor
TTrresolution
]SI[Speed_Load ×
××
π×
=
2
For linear motors:
Pole_Pitch
Load_Speed[SI] = ×Motor_Speed[IU]
resolution× Tr × T
© Technosoft 2007 65 IBL2403 Technical Reference
where:
resolution – is the motor position resolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
Pole_Pitch – is the magnetic pole pitch NN (distance expressed in [m])
6.2.3. DC brushed motor with quadrature encoder on load and tacho on motor
The internal speed units are encoder counts / (slow loop sampling period). The motor is rotary and the transmission is rotary-to-rotary. The correspondence with the load speed in SI units is:
]IU[Speed_Load
Tlines_encoder_No
]SI[Speed_Load ×
××
π×
=
4
2
where:
No_encoder_lines – is the encoder number of lines per revolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.2.4. DC brushed motor with tacho on motor
When only a tachometer is mounted on the motor shaft, the internal speed units are A/D converter bits. The correspondence with the load
speed in SI units
26
is:
]IU[Speed_Motor
Trgain_Tacho
Range_Input_uelogAna
]SI[Speed_Load ×
××
=
4096
where:
Analogue_Input_Range – is the range of the drive analogue input for feedback, expressed in [V]. You can read this value in the “Drive Info” dialogue, which can be opened from the “Drive Setup”
Tacho_gain – is the tachometer gain expressed in [V/rad/s]
6.2.5. Stepper motor open-loop control. No feedback device
The internal speed units are motor µsteps / (slow loop sampling period). The correspondence with the load
speed in SI units
is:
]IU[Speed_Motor
TTrsteps_Nosteps_No
]SI[Speed_Load ×
×××μ
π×
=
2
26
SI units for speed are [rad/s] for a rotary movement, [m/s] for a linear movement
© Technosoft 2007 66 IBL2403 Technical Reference
where:
No_steps – is the number of motor steps per revolution
No_µsteps – is the number of microsteps per step. You can read/change this value in the “Drive Setup” dialogue from EasySetUp.
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
Stepper motor open-loop control. Incremental encoder on load
The internal speed units are load encoder counts / (slow loop sampling period). The transmission is rotary-to-rotary. The correspondence with the load speed in SI units is:
]IU[Speed_Load
Tlines_encoder_No
]s/rad[Speed_Load ×
××
π×
=
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in [rad] and load displacement in [rad] or [m]
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
6.2.6. Stepper motor closed-loop control. Incremental encoder on motor
The internal speed units are motor encoder counts / (slow loop sampling period). The correspondence with the load
speed in SI units
27
is:
]IU[Speed_Motor
TTrlines_encoder_No
]SI[Speed_Load ×
×××
π×
=
4
2
where:
No_encoder_lines – is the motor encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
27
SI units for speed are [rad/s] for a rotary movement , [m/s] for a linear movement
© Technosoft 2007 67 IBL2403 Technical Reference
6.3. Acceleration units
The internal acceleration units are internal position units / (slow loop sampling period)2 i.e. the speed variation over one slow loop sampling period.
6.3.1. Brushless / DC brushed motor with quadrature encoder on motor
The internal acceleration units are encoder counts / (slow loop sampling period)2. The correspondence with the load
acceleration in SI units is:
]IU[onAccelerati_Motor
TTrlines_encoder_No
]SI[onAccelerati_Load ×
×××
π×
=
2
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.3.2. Brushless motor with linear Hall signals
The internal acceleration units are counts / (slow loop sampling period)2. The motor is rotary. The position resolution i.e. number of counts per revolution is programmable as a power of 2 between 512 and 8192. By default it is set at 2048 counts per turn. The correspondence with the load
acceleration in SI units
28
is:
For rotary motors:
]IU[onAccelerati_Motor
TTrresolution
]SI[onAccelerati_Load ×
××
π×
=
2
2
For linear motors:
2
Pole_Pitch
Load_Acceleration[SI] = ×Motor_Acceleration[IU]
resolution× Tr × T
where:
resolution – is the motor position resolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
28
SI units for acceleration are [rad/s2] for a rotary movement, [m/s2] for a linear movement
© Technosoft 2007 68 IBL2403 Technical Reference
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
Pole_Pitch – is the magnetic pole pitch NN (distance expressed in [m])
6.3.3. DC brushed motor with quadrature encoder on load and tacho on motor
The internal acceleration units are encoder counts / (slow loop sampling period)2. The motor is rotary and the transmission is rotary-to-rotary. The correspondence with the load acceleration in SI units is:
]IU[onAccelerati_Load
Tlines_encoder_No
]SI[onAccelerati_Load ×
××
π×
=
2
4
2
where:
No_encoder_lines – is the encoder number of lines per revolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.3.4. Stepper motor open-loop control. No feedback device
The internal acceleration units are motor µsteps / (slow loop sampling period)2. The correspondence with the load
acceleration in SI units
is:
]IU[onAccelerati_Motor
TTrsteps_Nosteps_No
]SI[onAccelerati_Load ×
×××μ
π×
=
2
2
where:
No_steps – is the number of motor steps per revolution
No_µsteps – is the number of microsteps per step. You can read/change this value in the “Drive Setup” dialogue from EasySetUp.
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.3.5. Stepper motor open-loop control. Incremental encoder on load
The internal acceleration units are load encoder counts / (slow loop sampling period)2. The correspondence with the load acceleration in SI units is:
For rotary-to-rotary transmission:
]IU[onAccelerati_Load
Tlines_encoder_No
]SI[onAccelerati_Load ×
××
π×
=
2
4
2
For rotary-to-linear transmission:
© Technosoft 2007 69 IBL2403 Technical Reference
]IU[onAccelerati_Load
T
accuracy_Encoder
]s/m[onAccelerati_Load ×=
2
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
Encoder_accuracy – is the linear encoder accuracy i.e. distance in [m] between 2 pulses
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
6.3.6. Stepper motor closed-loop control. Incremental encoder on motor
The internal acceleration units are motor encoder counts / (slow loop sampling period)2. The transmission is rotary-to-rotary. The correspondence with the load
acceleration in SI units is:
]IU[onAccelerati_Motor
TTrlines_encoder_No
]SI[onAccelerati_Load ×
×××
π×
=
2
4
2
where:
No_encoder_lines – is the motor encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.4. Jerk units
The internal jerk units are internal position units / (slow loop sampling period)3 i.e. the acceleration variation over one slow loop sampling period.
6.4.1. Brushless / DC brushed motor with quadrature encoder on motor
The internal jerk units are encoder counts / (slow loop sampling period)3. The correspondence with the load
jerk in SI units
29
is:
]IU[Jerk_Motor
TTrlines_encoder_No
]SI[Jerk_Load ×
×××
π×
=
3
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
29
SI units for jerk are [rad/s3] for a rotary movement, [m/s3] for a linear movement
© Technosoft 2007 70 IBL2403 Technical Reference
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.4.2. Brushless motor with linear Hall signals
The internal jerk units are counts / (slow loop sampling period)3. The motor is rotary. The position resolution i.e. number of counts per revolution is programmable as a power of 2 between 512 and
8192. By default it is set at 2048 counts per turn. The correspondence with the load acceleration in SI units is:
For rotary motors:
]IU[Jerk_Motor
TTrresolution
]SI[Jerk_Load ×
××
π×
=
3
2
For linear motors:
3
Pole_Pitch
Load_Jerk[SI] = ×Motor_Jerk[IU]
resolution × Tr × T
where:
resolution – is the motor position resolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
Pole_Pitch – is the magnetic pole pitch NN (distance expressed in [m])
6.4.3. DC brushed motor with quadrature encoder on load and tacho on motor
The internal jerk units are encoder counts / (slow loop sampling period)3. The motor is rotary and the transmission is rotary-to-rotary. The correspondence with the load jerk in SI units is:
]IU[Jerk_Load
Tlines_encoder_No
]SI[Jerk_Load ×
××
π×
=
3
4
2
where:
No_encoder_lines – is the encoder number of lines per revolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
© Technosoft 2007 71 IBL2403 Technical Reference
6.4.4. Stepper motor open-loop control. No feedback device
The internal jerk units are motor µsteps / (slow loop sampling period)3. The correspondence with the load
jerk in SI units
30
is:
]IU[Jerk_Motor
TTrsteps_Nosteps_No
]SI[Jerk_Load ×
×××μ
π×
=
3
2
where:
No_steps – is the number of motor steps per revolution
No_µsteps – is the number of microsteps per step. You can read/change this value in the “Drive Setup” dialogue from EasySetUp.
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.4.5. Stepper motor open-loop control. Incremental encoder on load
The internal jerk units are load encoder counts / (slow loop sampling period)3. The transmission is rotary-to-rotary. The correspondence with the load jerk in SI units is:
]IU[Jerk_Load
Tlines_encoder_No
]SI[Jerk_Load ×
××
π×
=
3
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
6.4.6. Stepper motor closed-loop control. Incremental encoder on motor
The internal jerk units are motor encoder counts / (slow loop sampling period)3. The correspondence with the load jerk in SI units is:
]IU[Jerk_Motor
TTrlines_encoder_No
]SI[Jerk_Load ×
×××
π×
=
3
4
2
where:
No_encoder_lines – is the motor encoder number of lines per revolution
Tr – transmission ratio between the motor displacement in SI units and load displacement in SI units
30
SI units for jerk are [rad/s3] for a rotary movement, [m/s3] for a linear movement
© Technosoft 2007 72 IBL2403 Technical Reference
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
6.5. Current units
The internal current units refer to the motor phase currents. The correspondence with the motor currents in [A] is:
]IU[Current
Ipeak
]A[Current ×
×
=
65520
2
where Ipeak – is the drive peak current expressed in [A]. You can read this value in the “Drive Info” dialogue, which can be opened from the “Drive Setup”.
6.6. Voltage command units
The internal voltage command units refer to the voltages applied on the motor. The significance of the voltage commands as well as the scaling factors, depend on the motor type and control method used.
In case of
brushless motors driven in sinusoidal mode, a field oriented vector control is
performed. The voltage command is the amplitude of the sinusoidal phase voltages. In this case, the correspondence with the motor phase voltages in SI units i.e. [V] is:
]IU[commandVoltage
Vdc.
]V[commandVoltage ×
×
=
65534
11
where Vdc – is the drive power supply voltage expressed in [V].
In case of
brushless motors driven in trapezoidal mode, the voltage command is the voltage to
apply between 2 of the motor phases, according with Hall signals values. In this case, the correspondence with the voltage applied in SI units i.e. [V] is:
]IU[commandVoltage
Vdc
]V[commandVoltage ×=
32767
This correspondence is akso available for
DC brushed motors which have the voltage command
internal units as the brushless motors driven in trapezoidal mode.
6.7. Voltage measurement units
The internal voltage measurement units refer to the drive V
MOT
supply voltage. The
correspondence with the supply voltage in [V] is:
]IU[measured_Voltage
urableVdcMaxMeas
]V[measured_Voltage ×=
65520
where VdcMaxMeasurable – is the maximum measurable DC voltage expressed in [V]. You can read this value in the “Drive Info” dialogue, which can be opened from the “Drive Setup”.
Remark: the voltage measurement units occur in the scaling of the over voltage and under
voltage protections and the supply voltage measurement
© Technosoft 2007 73 IBL2403 Technical Reference
6.8. Time units
The internal time units are expressed in slow loop sampling periods. The correspondence with the time in [s] is:
]IU[Time×T=]s[Time
where T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”. For example, if T = 1ms, one second = 1000 IU.
6.9. Drive temperature units
The drive includes a temperature sensor. The correspondence with the temperature in [°C] is:
Drive temperature [
°C] =
3.3[ ] [ ]
_
_0 [ ]
_
[/ ]
65520 _ [ / ]
V DriveTemperature IU
Sensor output C V
Sensor gain V C
Sensor gain V C
×
°
− °
×°
where:
Sensor_gain – is the temperature sensor gain
Sensor_output_0
°C – is the temperature sensor output at 0°C. You can read these values in the
“Drive Info” dialogue, which can be opened from the “Drive Setup”
6.10. Master position units
When the master position is sent via a communication channel or via pulse & direction signals, the master position units depend on the type of position sensor present on the master axis.
When the master position is an encoder the correspondence with the international standard (SI) units is:
]IU[position_Master×
lines_encoder_No×4
π×2
=]rad[position_Master
where:
No_encoder_lines – is the master number of encoder lines per revolution
6.11. Master speed units
The master speed is computed in internal units (IU) as master position units / slow loop sampling period i.e. the master position variation over one position/speed loop sampling period.
When the master position is an encoder, the correspondence with the international standard (SI) units is:
]IU[speed_Master
Tlines_encoder_No
]s/rad[speed_Master ×
××
π×
=
4
2
where:
No_encoder_lines – is the master number of encoder lines per revolution
© Technosoft 2007 74 IBL2403 Technical Reference
T – is the slave slow loop sampling period, expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
6.12. Motor position units
6.12.1. Brushless / DC brushed motor with quadrature encoder on motor
The internal motor position units are encoder counts. The correspondence with the motor
position in SI units
31
is:
]IU[Position_Motor
lines_encoder_No
]SI[Position_Motor ×
×
π×
=
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
6.12.2. Brushless motor with linear Hall signals
The internal motor position units are counts. The motor is rotary. The resolution i.e. number of counts per revolution is programmable as a power of 2 between 512 and 8192. By default it is set at 2048 counts per turn. The correspondence with the motor position in SI units is:
For rotary motors:
]IU[Position_Motor
resolution
]SI[Position_Motor ×
π×
=
2
For linear motors:
Pole_Pitch
Motor_Position[SI] = ×Motor_Position[IU]
resolution
where:
resolution – is the motor position resolution
Pole_Pitch – is the magnetic pole pitch NN (distance expressed in [m])
6.12.3. DC brushed motor with quadrature encoder on load and tacho on motor
The motor position is not computed.
6.12.4. Stepper motor open-loop control. No feedback device
The internal motor position units are motor µsteps. The correspondence with the motor position
in SI units
1
Is:
]IU[Position_Motor
steps_Nosteps_No
]SI[Position_Motor ×
×μ
π×
=
2
31
SI units for motor position are: [rad] for a rotary motor, [m] for a linear motor
© Technosoft 2007 75 IBL2403 Technical Reference
where:
No_steps – is the number of motor steps per revolution
No_µsteps – is the number of microsteps per step. You can read/change this value in the “Drive Setup” dialogue from EasySetUp.
6.12.5. Stepper motor open-loop control. Incremental encoder on load
In open-loop control configurations with incremental encoder on load, the motor position is not computed.
6.12.6. Stepper motor closed-loop control. Incremental encoder on motor
The internal motor position units are motor encoder counts. The correspondence with the motor position in SI units is:
]IU[Position_Motor
lines_encoder_No
]SI[Position_Motor ×
×
π×
=
4
2
where:
No_encoder_lines – is the motor encoder number of lines per revolution
6.13. Motor speed units
6.13.1. Brushless / DC brushed motor with quadrature encoder on motor
The internal motor speed units are encoder counts / (slow loop sampling period). The correspondence with the motor
speed in SI units is:
]IU[Speed_Motor
Tlines_encoder_No
]SI[Speed_Motor ×
××
π×
=
4
2
where:
No_encoder_lines – is the rotary encoder number of lines per revolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.13.2. Brushless motor with linear Hall signals
The internal motor speed units are counts / (slow loop sampling period). The motor is rotary. The position resolution i.e. number of counts per revolution is programmable as a power of 2 between 512 and 8192. By default it is set at 2048 counts per turn. The correspondence with the motor speed in SI units is:
For rotary motors:
]IU[Speed_Motor
Tresolution
]SI[Speed_Motor ×
×
π×
=
2
For linear motors:
Pole_Pitch
Motor_Speed[SI] = ×Motor_Speed[IU]
resolution× T
© Technosoft 2007 76 IBL2403 Technical Reference
where:
resolution – is the motor position resolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
Pole_Pitch – is the magnetic pole pitch NN (distance expressed in [m])
6.13.3. DC brushed motor with quadrature encoder on load and tacho on motor
The internal motor speed units are A/D converter bits. The correspondence with the motor speed
in SI units
32
is:
]IU[Speed_Motor
gain_Tacho
Range_Input_uelogAna
]SI[Speed_Motor ×
×
=
4096
where:
Analogue_Input_Range – is the range of the drive analogue input for feedback, expressed in [V]. You can read this value in the “Drive Info” dialogue, which can be opened from the “Drive Setup”
Tacho_gain – is the tachometer gain expressed in [V/rad/s]
6.13.4. DC brushed motor with tacho on motor
The internal motor speed units are A/D converter bits. The correspondence with the motor speed in SI units is:
]IU[Speed_Motor
gain_Tacho
Range_Input_uelogAna
]SI[Speed_Motor ×
×
=
4096
where:
Analogue_Input_Range – is the range of the drive analogue input for feedback, expressed in [V]. You can read this value in the “Drive Info” dialogue, which can be opened from the “Drive Setup”
Tacho_gain – is the tachometer gain expressed in [V/rad/s]
6.13.5. Stepper motor open-loop control. No feedback device or incremental encoder on load
The internal motor speed units are motor µsteps / (slow loop sampling period). The correspondence with the motor
speed in SI units
is:
]IU[Speed_Motor
Tsteps_Nosteps_No
]SI[Speed_Motor ×
××μ
π×
=
2
where:
No_steps – is the number of motor steps per revolution
32
SI units for motor speed are [rad/s] for a rotary motor, [m/s] for a linear motor
© Technosoft 2007 77 IBL2403 Technical Reference
No_µsteps – is the number of microsteps per step. You can read/change this value in the “Drive Setup” dialogue from EasySetUp.
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”
6.13.6. Stepper motor closed-loop control. Incremental encoder on motor
The internal motor speed units are motor encoder counts / (slow loop sampling period). The correspondence with the load speed in SI units is:
]IU[Speed_Motor
Tlines_encoder_No
]SI[Speed_Motor ×
××
π×
=
4
2
where:
No_encoder_lines – is the motor encoder number of lines per revolution
T – is the slow loop sampling period expressed in [s]. You can read this value in the “Advanced” dialogue, which can be opened from the “Drive Setup”.
© Technosoft 2007 78 IBL2403 Technical Reference
7. Memory Map
The drive has 2 types of memory: a 1.5K×16 SRAM (internal) memory and an 8K×16 serial E
2
ROM (external) memory.
The SRAM memory is mapped both in the program space (from 8270h to 87FFh) and in the data space (from 0A70h to 0FFFh). The data memory can be used for real-time data acquisition and to temporarily save variables during a TML program execution. The program space can be used to download and execute TML programs. It is the user’s choice to decide how to split the 1.5-K SRAM into data and program memory.
The E
2
ROM is seen as 8K×16 program memory mapped in the address range 4000h to 5FBEh. It offers the possibility to keep TML programs in a Non-volatile memory. Read and write accesses to the E
2
ROM locations, as well as TML programs downloading and execution, are done from the
user’s point of view similarly to those in the SRAM program memory. The E
2
ROM SPI serial
access is completely transparent to the user.
Physical memory
4000h
E
2
ROM (SPI)
Memory
5FBEh
Internal SRAM Memory
Program Memory (PM)
Data Memory (DM)
8270h
Program Memory for TML programs
0A70h
Not used as Data Memory
Not used as Program Memory
87FFh
Data Memory for data acquisition
0FFFh
Figure 8.1. IBL2403 / IBL2403-CAN Memory Map
Loading...