C3T40 Eng PDF
C3T40 Eng PDF
C3T40 Eng PDF
192-120108N13
C3IxxT40
Release as from R09-63 Oktober 2014
____________________________
Windows NT®, Windows 2000™, Windows XP™, Windows Vista, Windows 7 are
trademarks of Microsoft Corporation.
Nonwarranty clause
We checked the contents of this publication for compliance with the associated
hard and software. We can, however, not exclude discrepancies and do therefore
not accept any liability for the exact compliance. The information in this publication
is regularly checked, necessary corrections will be part of the subsequent
publications.
Production site:
Parker Hannifin Manufacturing Germany GmbH & Co. KG
Electromechanical Automation Europe [EME]
Robert-Bosch-Strasse 22
77656 Offenburg (Germany)
Tel.: + 49 (0781) 509-0
Fax: + 49 (0781) 509-98176
Internet: www.parker.com/eme http://www.parker.com/eme
E-mail: [email protected] mailto:[email protected]
Parker Hannifin GmbH - registered office: Bielefeld HRB 35489
Management Board: Ellen Raahede Secher, Dr.-Ing. Hans-Jürgen Haas, Günter Schrank, Kees Veraart - Chairman of the board:
Hansgeorg Greuner
Inhalt
1. Introduction ...........................................................................................14
1.1 Device assignment ................................................................................ 14
1.2 ProfiNet Certificate ................................................................................ 15
1.3 Scope of delivery ................................................................................... 16
1.4 Type specification plate ........................................................................ 17
1.5 Packaging, transport, storage .............................................................. 18
1.6 Safety instructions ................................................................................. 19
1.6.1. General hazards ............................................................................................... 19
1.6.2. Safety-conscious working .............................................................................. 19
1.6.3. Special safety instructions ............................................................................. 20
1.7 Warranty conditions .............................................................................. 21
1.8 Conditions of utilization ........................................................................ 22
1.8.1. Conditions of utilization for CE-conform operation ..................................... 22
1.8.1.1 Conditions of utilization mains filter ...................................................... 22
1.8.1.2 Conditions of utilization for cables / motor filter .................................... 23
1.8.1.3 Additional conditions of utilization ......................................................... 24
1.8.2. Conditions of utilization for UL certification Compax3S ............................. 25
1.8.3. Conditions of utilization for UL approval Compax3M .................................. 26
1.8.4. Conditions of utilization for UL approval PSUP ........................................... 27
1.8.5. Conditions of utilization for UL certification Compax3H ............................. 28
1.8.6. Current on the mains PE (leakage current) ................................................... 29
1.8.7. Supply networks .............................................................................................. 29
4.4.10.1 Mode 1: Time and maximum values are deduced from Compax3
input values ......................................................................................... 267
4.4.10.2 Mode 2: Compax3 input values are deduced from times and
maximum values ................................................................................. 268
4.4.11. Turning the motor holding brake on and off............................................... 269
1. Introduction
In this chapter you can read about:
Device assignment .......................................................................................................... 14
ProfiNet Certificate .......................................................................................................... 15
Scope of delivery ............................................................................................................. 16
Type specification plate ................................................................................................... 17
Packaging, transport, storage .......................................................................................... 18
Safety instructions ........................................................................................................... 19
Warranty conditions ......................................................................................................... 21
Conditions of utilization .................................................................................................... 22
Device accessories
Device accessories for Compax3S
Cable clamps in different sizes for large area shielding of the motor cable, the
screw for the cable clamp as well as
the mating plug connectors for the Compax3S plug connectors X1, X2, X3, and
X4
a toroidal core ferrite for one cable of the motor holding brake
Lacing cord
Explanation:
Type designation:
1
The complete order designation of the device (2, 5, 6, 9, 8).
C3: Abbreviation for Compax3
Caution!
The packaging material is inflammable, if it is disposed of improperly by burning,
lethal fumes may develop.
The packaging material must be kept and reused in the case of a return shipment.
Improper or faulty packaging may lead to transport damages.
Make sure to transport the drive always in a safe manner and with the aid of
suitable lifting equipment (Weight (see on page 595, see on page 606)). Do never
use the electric connections for lifting. Before the transport, a clean, level surface
should be prepared to place the device on. The electric connections may not be
damaged when placing the device.
Disposal
This product contains materials that fall under the special disposal regulation from
1996, which corresponds to the EC directory 91/689/EEC for dangerous disposal
material. We recommend to dispose of the respective materials in accordance with
the respectively valid environmental laws. The following table states the materials
suitable for recycling and the materials which have to be disposed of separately.
suitable for
Material Disposal
recycling
Metal yes no
Plastic materials yes no
Circuit boards no yes
Please dispose of the circuit boards according to one of the following methods:
Burning at high temperatures (at least 1200°C) in an incineration plant licensed in
accordance with part A or B of the environmental protection act.
Disposal via a technical waste dump which is allowed to take on electrolytic
aluminum condensers. Do under no circumstances dump the circuit boards at a
place near a normal waste dump.
Storage
If you do not wish to mount and install the device immediately, make sure to store it
in a dry and clean environment (see on page 608). Make sure that the device is
not stored near strong heat sources and that no metal chippings can get into the
device.
Forming sequence:
Remove all electric connections
Supply the device with 230VAC single phase for 30 minutes
via the L1 and L2 terminals on the device or
multi axis devices via L1 and L2 on the PSUP mains module
Designated use
The device is designed for operation in electric power drive systems (VDE0160).
Motion sequences can be automated with this device. Several motion sequences
can be can combined by interconnecting several of these devices. Mutual
interlocking functions must be incorporated for this purpose.
Check that all live terminals are secured against contact. Perilous voltage levels
of up to 850V occur.
Do not bypass power direct current
Be cautious when performing configuration downloads with master - slave couplings (electronic gear,
cam) Deactivate the drive before starting the configuration download: Master and Slave axis.
Caution!
Due to movable machine parts and high voltages, the device can pose a lethal
danger. Danger of electric shock in the case of non-respect of the following
instructions. The device corresponds to DIN EN 61800-3, i.e. it is subject to
limited sale. The device can emit disturbances in certain local environments. In
this case, the user is liable to take suitable measures.
The device must be permanently grounded due to high earth leakage currents.
The drive motor must be grounded with a suitable protective lead.
The devices are equipped with high voltage DC condensers. Before removing the
protective cover, the discharging time must be awaited. After switching off the
supply voltage, it may take up to 10 minutes (with additional capacity modules it
may take up to 30 minutes) to discharge the capacitors.
Danger of electric shock in case of non respect.
Before you can work on the device, the supply voltage must be switched off at the
L1, L2 and L3 clamps. Wait at least 10 minutes so that the power direct current
may sink to a secure value (<50V). Check with the aid of a voltmeter, if the
voltage at the DC+ and DC- clamps has fallen to a value below 50V.
Danger of electric shock in case of non respect.
Do never perform resistance tests with elevated voltages (over 690V) on the
wiring without separating the circuit to be tested from the drive.
Please exchange devices only in currentless state and, in an axis system, only in
a defined original state.
If the axis controller is replaced, it is absolutely necessary to transfer the
configuration determining the correct operation of the drive to the device, before
the device is put into operation. Depending on the operation mode, a machine
zero run will be necessary.
The device contains electrostatically sensitive components. Please heed the
electrostatic protection measures while working at/with the device as well as
during installation and maintenance.
Operation of the PSUP30 only with line choke.
Protective seals
Caution!
The user is responsible for protective covers and/or additional safety measures in
order to prevent damages to persons and electric accidents.
Forming sequence:
Remove all electric connections
Supply the device with 230VAC single phase for 30 minutes
via the L1 and L2 terminals on the device or
multi axis devices via L1 and L2 on the PSUP mains module
In order to ensure contact protection, all mating plugs must be present on the
device connections even if they are not wired.
Please respect the specifications of the manual, especially the technical
characteristics (mains connection, circuit breakers, output data, ambient
conditions,...).
Mains filter: A mains filter is required in the mains input line if the motor cable exceeds a certain
length. Filtering can be provided centrally at the system mains input or separately
for each device or with C3M for each axis system.
Use of the devices in a commercial and residential area (limit value class in
accordance with EN 61800-3)
The following mains filters are available for independent utilization:
Device: Limit value Motor cable length Mains filter
Compax3S class Order No.:
S0xxV2 C2 < 10 m without
C2 > 10 m, < 100 m NFI01/01
S1xxV2, C2 < 10 m without
S0xxV4, S150V4 C2 > 10 m, < 100 m NFI01/02
S300V4 C3 < 10 m without
C2, C3 > 10 m, < 100 m NFI01/03
Device: Limit value Motor cable length Mains filter
Compax3H class Order No.:
H050V4 C2 < 10 m without
C2 > 10 m, < 50 m NFI02/01
H090V4 C2 < 10 m without
C2 > 10 m, < 50 m NFI02/02
H1xxV4 C2 < 10 m without
C2 > 10 m, < 50 m NFI02/03
Use of the devices in the industrial area (limit values class C3 in accordance
with EN 61800-3)
The following mains filters are available for independent utilization:
Device: PSU Limit value Reference: Axis system Mains filter
class with motor cable Order No.:
P10 C3 < 6 x 10 m NFI03/01
P10 C3 < 6 x 50 m NFI03/02
P20 C3 < 6 x 50 m NFI03/03
P30 C3 < 6 x 50 m NFI03/03
Motor and Feedback Operation of the devices only with motor and feedback cables whose plugs contain
cable: a special full surface area screening.
Compax3S motor < 100 m (the cable should not be rolled up!)
cable A motor output filter (see on page 557) is required for motor cables >20 m:
MDR01/04 (max. 6.3 A rated motor current)
MDR01/01 (max. 16 A rated motor current)
MDR01/02 (max. 30 A rated motor current)
Compax3H motor A motor output filter is required for motor cables >50m. Please contact us.
cable
Compax3M motor <80m per axis (the cable must not be rolled up!)
cable The entire length of the motor cable per axis combination may not exceed 300m.
A motor output filter (see on page 557) is required for motor cables >20 m:
MDR01/04 (max. 6.3 A rated motor current)
MDR01/01 (max. 16 A rated motor current)
MDR01/02 (max. 30 A rated motor current)
The shield of the cable must also be connected with the motor housing. The fixing
(via plug or screw in the terminal box) depends on the motor type.
Cable für Corresponding to the specifications of the terminal clamp with a temperature range
Compax3S, of up to 60°C.
Compax3M
Cable für Compax3H Corresponding to the specifications of the terminal clamp with a temperature range
of up to 75°C.
Cable installation: Signal lines and power lines should be installed as far apart as possible.
Signal lines should never pass close to excessive sources of interference
(motors, transformers, contactors etc.).
Do not place mains filter output cable parallel to the load cable.
Control: Use only with aligned controller (to avoid control loop oscillation).
Grounding: Connect the filter housing and the device to the cabinet frame, making sure that the
contact area is adequate and that the connection has low resistance and low
inductance.
Never mount the filter housing and the device on paint-coated surfaces!
Compax3S300V4 For CE and UL conform operation of the Compax3S300V4, a mains filter is
compulsory:
400 VAC / 0.740 mH certified in accordance with EN 61558-1 bzw. 61558-2-2
We offer the mains filter as an accessory: LIR01/01
Connect all cable shields at both ends, ensuring large contact areas!
Warning:
This is a product in the restricted sales distribution class according to EN
61800-3. In a domestic area this product can cause radio frequency
disturbance, in which case the user may be required to implement
appropriate remedial measures.
Conditions of utilization
The devices are only to be installed in a degree of contamination 2 environment
(maximum).
The devices must be appropriately protected (e.g. by a switching cabinet).
The X2 terminals are not suitable for field wiring.
Tightening torque of the field wiring terminals ( green Phoenix plugs)
C3S0xxV2 0.57 - 0.79Nm 5 - 7Lb.in
C3S1xxV2, 0.57 - 0.79Nm 5 - 7Lb.in
C3S0xxV4, C3S150V4
C3S300V4 1.25 - 1.7Nm 11 - 15Lb.in
Temperature rating of field installed conductors shall be at least 60°C. Use
copper lines only
Please use the cables described in the accessories chapter (see on page 542,
see on page 544), they feature a temperature rating of at least 60°C.
Maximum Surrounding Air Temperature: 45°C.
Motor over temperature monitoring is only supported, if the external temperature
sensor is connected.
Suitable for use on a circuit capable of delivering at least 5000 symmetrical
amperes effectively and 480 Volts when protected with fuses.
Fuses:
In addition to the main fuse, the devices must be equipped with a S201K, S203K,
S271K or S273K circuit breaker with K characteristic made by ABB.
C3S025V2: ABB, nom 480V 10A, 6kA
C3S063V2: ABB, nom 480V, 16A, 6kA
C3S100V2: ABB, nom 480V, 16A, 6kA
C3S150V2: ABB, nom 480V, 20A, 6kA
C3S015V4: ABB, nom 480V, 6A, 6kA
C3S038V4: ABB, nom 480V, 10A, 6kA
C3S075V4: ABB, nom 480V, 16A, 6kA
C3S150V4: ABB, nom 480V, 20A, 6kA
C3S300V4: ABB, nom 480V, 25A, 6kA
CAUTION
Risk of electric shock.
Discharge time of the bus capacitor is 10 minutes.
The drive provides internal motor overload protection.
This must be set so that 200% of the motor nominal current are not exceeded.
Cable cross-sections
Mains input: corresponding to the recommended fuses.
Motor cable: corresponding to the Nominal output currents (see on page 597,
see on page 598)
Maximum cross-section limited by the terminals mm / AWG
2
Conditions of utilization
The devices are only to be installed in a degree of contamination 2 environment
(maximum).
The devices must be appropriately protected (e.g. by a switching cabinet).
Tightening torque of the field wiring terminals ( green Phoenix plugs)
Compax3M may only be operated with a mains module of the PSUP series.
Motor Over Temperature sensing is not provided by the drive unless the external
temperature sensor is connected.
Caution!
Risk of electric shock.
Discharge time of the bus capacitor is 10 minutes.
The drive provides internal motor overload protection.
This must be set so that 200% of the motor nominal current are not exceeded.
Cable cross-sections
Mains input: corresponding to the recommended fuses.
Motor cable: corresponding to the Nominal output currents (see on page 597,
see on page 598)
Maximum cross-section limited by the terminals mm / AWG
2
Conditions of utilization
The devices are only to be installed in a degree of contamination 2 environment
(maximum).
The devices must be appropriately protected (e.g. by a switching cabinet).
Tightening torque of the field wiring terminals ( green Phoenix plugs)
Suitable for use on a circuit capable of delivering not more than 5000 rms
symmetrical amperes and 480 volts maximum and protected by (see below).
The devices need a "branch circuit protection".
PSUP10D6
Measure for line and device protection:
Maximum fuse rating per MCB miniature circuit breaker (K characteristic) 25A in
device accordance with UL category DIVQ
(ABB) S203UP-K25 (480VAC)
PSUP20D6
Maximum fuse rating per Cable protection measure:
device MCB (K characteristic) with a rating of 50A / 4xxVAC
2 special purpose fuses in line (depending on the input voltage).
are required (ABB) S203U-K50 (440VAC)
Device protection measure:
Fuses 80A / 700VAC per supply leg in accordance with UL
category JFHR2:
Bussmann 170M1366 or 170M1566D
Caution!
Risk of electric shock.
Discharge time of the bus capacitor is 10 minutes.
Conditions of utilization
The devices are only to be installed in a degree of contamination 2 environment
(maximum).
The devices must be appropriately protected (e.g. by a switching cabinet).
Tightening Torque of the Field Wiring Terminals.
Remark:
The leakage current is important with respect to the handling and usage safety of
the device.
A pulsing leakage current occurs if the supply voltage is switched on.
Please note:
The device must be operated with effective grounding connection, which must
comply with the local regulations for high leakage currents (>3.5 mA).
Due to the high leakage currents it is not advisable to operate the servo drive with
an earth leakage circuit breaker.
IEC 61131-3 Due to its high functionality, Compax3 in the version “IEC 61131-3 - Positioning
Programming with function modules based on PLCopen” forms an ideal basis for many
applications in high-performance motion automation.
A standard with general applicability was created with Standard IEC 61131-3. The
programming system is equipped with a series of functions in addition to the
compliant editor. The Motion Control functions specified in PLCopen are also
provided by Parker as a library with the device and control software.
Cam control T40 Rising rationalization pressure and an increasing degree of automation in process
engineering demand modern and flexible drive concepts. The introduction of digital
and communicating control devices was an important step towards the
decentralization of control and regulation tasks. An increasing number of
mechanical construction components can be replaced by programmable servo
drives.
Process
Process
Interfaces with Independent of your motion automation you can access Compax3 externally via
superordinate different interfaces (e.g. with the superordinate control):
controllers via RS232 / RS485
via digital Inputs/Outputs (Interface I11)
via Profibus (Interface I20)
via Profinet (Interface I32)
via CANopen (Interface I21)
via Ethernet Powerlink (interface I30)
via EtherCAT (interface I31)
Profibus (I20) The higher-level control system communicates with Compax3 via Profibus or
&Profinet (I32) Profinet.
functions A number of different cyclic transfer telegrams (which can be conveniently adjusted
with the Compax3 ServoManager) can be used to adjust bus communication to the
requirements of specific applications.
In addition to the cyclic data channel, parameter access is also possible via a
DPV1 master or using the parameter channel with a DPV0 master.
CANopen (I21 - The higher level control system communicates with Compax3 via CANopen.
functions) Via various cyclic process data objects (which can be comfortably set with the
Compax3 ServoManager) the bus communication can be adapted to the
application requirements.
Apart from the cyclic process data objects, acyclic parameter access is possible via
service data objects.
DeviceNet (I22 The higher level control system communicates with Compax3 via DeviceNet.
functions) Cyclic I/O messages (which can be conveniently adjusted with the Compax3
ServoManager) can be used to adjust bus communication to the requirements of
specific applications.
Besides the cyclic data, acyclic access to objects is possible via Explicit Messages.
Compax3 control High-performance control technology and openness for various sender systems
technology are fundamental requirements for a fast and high-quality automation of movement.
Model / standards / The structure and size of the device are of considerable importance. High-quality
auxiliary material electronics are a fundamental requirement for the particularly small and compact
form of the Compax3 devices. All connectors are located on the front of the
Compax3S.
The intuitive user interface familiar from many applications, together with the
oscilloscope function, wizards and online help, simplifies making and modifying
settings via the PC.
The optional Operator control module (BDM01/01) (see on page 579) for
Compax3S/F makes it possible to exchange devices quickly without requiring a
PC.
Configuration Configuration is made with a PC with the help of the Compax3 ServoManager.
Caution!
When the control voltage is missing there is no indication whether or not high
voltage supply is available.
LED1 LED2
X20
X1
X10
X21
X2
X11
X22
X23
X3
X24
X12
LED3
X4
X13 S24
Caution!
When the control voltage is missing there is no indication whether or not high
voltage supply is available.
Attention - PE connection!
PE connection with 10mm2 via a grounding screw at the bottom of the device.
DC - Versorgung RS232
X4 (24VDC) X10 PC
DC - Supply SSK1
Freigabe 24VDC
X4/3
Enable 24VDC
In detail: The fitting of the different plugs depends on the extension level of Compax3. In
part, the assignment depends on the Compax3 option implemented.
Compax3 1AC
X10/1 X10/1 X10/1 X20/1
Power supply RS485 +5V RS485 +5V EnableRS232 0V Rx
X20/2
RxD X10/2 res. X10/2 RxD X10/2 Rx/
X1/1 X1
option M11(M10=+I/Os)
N res. X10/4 res. X10/4 DTR X10/4 res.
X20: HEDA in
X1/3 X20/5
PE GND X10/5 GND X10/5 GND X10/5 res.
X20/6
X10: RS232
res. X10/6 res. X10/6 DSR X10/6 Lx/
X20/7
TxD X10/7 TxD_RxD/ X10/7 RTS X10/7 res.
Compax3 3AC X20/8
RxD/ X10/8 res. X10/8 CTS X10/8 res.
Power supply
+5V X10/9 +5V X10/9 +5V X10/9
X1/1 X21/1
L1 X1 Tx
X1/2 X21/2
X22/1 X22/1 X11/1 Tx/
L2 +24Vout +24Vout Output +24V X21/3
HEDA-motionbus
X1/3 X22 /2 X22 /2 X11/2 Lx
L3 Uin3+ Iin0+ Ain1- X21/4
res.
option M21
PE GND GND D/A-channel1 X21/5
X22 /4 X22 /4 res.
X11/4
Uin3- Iin0- D/A-channel0 X21/6
Lx/
X22 /5 X22 /5 X11/5
+24Vout +24Vout +5V X21/7
res.
X22 /6 X22 /6 X11/6
Uin4+ Iin1+ A/ X21/8
res.
Ballast resistor (1AC)
X11: Analog/Encoder
X22 /7 X22 /7 X11/7
GND GND A
X2/1 X2 X22 /8 X22 /8 X11/8 X23/1
res. Uin4- Iin1- B Tx+
X23: Ethernet in
X2/4 X22 /11 X22 /11 X11/11 X23/4
GND GND Ain0- res.
+R X23/5
X22 /12 X22 /12 X11/12 res.
X2/5 Uin5- Iin2- B/
res. X23/6
X22 /13 X11/13 Rx-
+24Vin N/
X22 /14 X11/14 X23/7
GND in res.
N
Ballast resistor (3AC) X22 /15&16 X11/15 X23/8
Shield res.
GND
X2/1 X2 X24/1
+R X12/1 Tx+
X22/1
X2/2 res. Output+24V X24/2
-R Tx-
option M12(M10=+HEDA)
X22 /2 X12/2
X2/3 O0/I0 Output 0 X24/3
PE Rx+
X22 /4
X2/5 O2/I2 Output 2 X24/5
-HV res.
X22 /5 X12/5
O3/I3 Output 3 X24/6
Rx-
X22 /6 X12/6
O4/I4 Input 0 X24/7
res.
X22 /7 X12/7
O5/I5 Input 1 X24/8
res.
X22 /8 X12/8
Motor/Brake O6/I6 Input 2
X22 /9 X12/9 X23/1
O7/I7 Input 3 res.
X3/1 X3 X12/10
U X22 /10 X23/2
O8/I8 Input 4 res.
X23: Profibus I20
X3/2
X22: Input/Output
GND
X23: CANopen I21
X4 Vcc(+5V) Vcc(+8V)
X4/1 X13/5 X23/4
+24V Input X13/5 +5V X13/5 +5V res.
+5V
X4/2 X13/6 X13/6 X13/6 X23/5
GND24V Hall2 CLKfbk CLKfbk SHIELD
X4/3
F10
The jumper drawn in at X4 (at the left side in red) is used to enable the device for
testing purposes. During operation, the enable input is in most cases switched
externally.
The shield of the cable must also be connected with the motor housing. The fixing
(via plug or screw in the terminal box) depends on the motor type.
3.3.5. Compax3Sxxx V2
In this chapter you can read about:
Main voltage supply C3S connector X1 ........................................................................... 40
Braking resistor / high voltage DC C3S connector X2 ...................................................... 41
Therefore please wait at least 2 minutes after switching off before you switch
the device on again!
3 L3
4 PE
Caution!
The 3AC V2 devices must only be operated with three phases!
3.3.6. Compax3Sxxx V4
In this chapter you can read about:
Power supply connector X1 for 3AC 400VAC/480VAC-C3S devices ............................... 42
Braking resistor / high voltage supply connector X2 for 3AC 400VAC/480VAC_C3S devices
........................................................................................................................................ 43
Connection of the power voltage of 2 C3S 3AC devices .................................................. 43
Therefore please wait at least 2 minutes after switching off before you switch
the device on again!
PIN Designation
1 L1
2 L2
3 L3
4 PE
Caution! The 3AC V4 devices must only be operated with three phases!
3 PE
It is not permitted to connect the power voltage in order to use one brake
circuit for two servo axes, as this function cannot be ensured reliably.
Note the following:
Required tools:
Allen key M5 for fixing the devices in the control cabinet.
Crosstip screwdriver M4 for connection rails of the DC rail modules.
Crosstip screwdriver M5 for grounding screw of the device.
Flat-bladed screwdriver 0.4x2.5 / 0.6x3.5 / 1.0x4.0 for wiring and mounting of the
phoenix clamps.
Order of installation
Fixing the devices in the control cabinet.
Predrilling the mounting plate in the control cabinet according to the
specifications. Dimensions. Fit M5 screws loosely in the bores.
Fit device on the upper screws and place on lower screw. Tighten screws of all
devices. The tightening torque depends on the screw type (e.g. 5.9Nm for M5
screw DIN 912 8.8).
Connection of the internal supply voltage.
The Compax3M axis controllers are connected to the supply voltages via the rail
modules. Details (see on page 48).
Deblocking the yellow protective cover with a flat-bladed screwdriver on the
upper surface (click mechanism). Remove the closing devices (contact
protection) that are not required from between the devices.
Connecting the rail modules, beginning with the mains module.
For this, loosen crosshead screws (5 screws at the right in the mains module,
all 10 screws in the next axis controller), push the rails one after the other
against to the left and tighten screws. Proceed accordingly for all adjacent axis
controllers in the combination.
Max. tightening torque: 1.5Nm.
Close all protective covers. The protective covers must latch audibly.
Please note:
Insufficiently fixed screw connections of the DC power voltage rails may lead to the
destruction of the devices.
Protective seals
Caution!
When the control voltage is missing there is no indication whether or not high
voltage supply is available.
Attention - PE connection!
PE connection with 10mm2 via a grounding screw at the bottom of the device.
M Axis controller
X43 Motor / Brake
2 Fixing for motor shield clamp
4 Fan*
3 optionally, the axis controller features a ground screw
on the housing, if the grounding is not possible via the
back plate.
* is internally supplied.
Caution!
When the control voltage is missing there is no indication whether or not high
voltage supply is available.
Protective seals
1 24VDC
2 GND24V
3 -HV DC
4 PE
5 +HV DC
Example: PSUP20 (1175 µF) with one axis controller (440 µF)
Total power 15 kW, 100 µF/kW => 1500 µF required in the axis system.
Axis system: 1615 µF are sufficient.
Protective seals
Caution!
The user is responsible for protective covers and/or additional safety measures in
order to prevent damages to persons and electric accidents.
Connector X41
Pin Designation
PE Earth conductor
L3 Phase 3
L2 Phase 2
L1 Phase 1
Caution!
Only three-phase operation of the PSUP devices is permitted!
The PSUP30 mains module may only be operated with mains filter (see on
page 559)
Required mains filter for the PSUP30: 0.45 mH / 55 A
We offer the following mains filters:
LCG-0055-0.45 mH (WxDxH: 180 mm x 140 mm x 157 mm; 10 kg)
LCG-0055-0.45 mH-UL (with UL approval) (WxDxH: 180 mm x 170 mm x
157 mm; 15 kg)
Connector X40
Pin Description
+R + Braking resistor
short-circuit proof!
-R - Braking resistor
PE PE
T1R Temperature Switch
T2R Temperature Switch
Example: PSUP20 (1175 µF) with one axis controller (440 µF)
Total power 15 kW, 100 µF/kW => 1500 µF required in the axis system.
Axis system: 1615 µF are sufficient.
Temperature switch/relay
No galvanic separation, the temperature sensor (normally closed contact) must
comply with the safe separation according to EN 60664.
If there is no temperature monitoring due to the connected braking resistor, the
T1R and T2R connections must be connected by a jumper.
Caution!
Without temperature monitoring, the braking resistor might be destroyed.
W W (motor) W / L3 / D / L- 3 U3
V V (motor) V / L2 2 U2
U U (motor) U / L1 / C / L+ 1 U1
* depending on the cable type
Compax3M motor <80m per axis (the cable must not be rolled up!)
cable The entire length of the motor cable per axis combination may not exceed 300m.
A motor output filter (see on page 557) is required for motor cables >20 m:
MDR01/04 (max. 6.3 A rated motor current)
MDR01/01 (max. 16 A rated motor current)
MDR01/02 (max. 30 A rated motor current)
The shield of the cable must also be connected with the motor
housing. The fixing (via plug or screw in the terminal box)
depends on the motor type.
Motor cables can be found in the accessories chapter of the device description.
Connector X15
The acquisition of the motor temperature by the axis controller can either take
place via the connection of X15 (Tmot) or via the feedback cable and the
corresponding connection on X13 PIN10.
Pin Description
1 +5V
2 Sensor
The temperature acquisition on X15 Tmot can not be connected at the same
time as X13 Pin 10.
Note!
If the Compax3M axis controller features a safety option, these connections must
also be wired, otherwise it is not possible to set up the axis.
4 2
Dangerous voltages are still present until 5 minutes after switching off the
power supply!
Caution!
If the control voltage is missing and if the X10-X10 jumper is not fitted (VBK17/01)
on the control part, the availability of power voltage is not displayed.
PE connection
PE connection with 10mm2 via a grounding screw at the bottom of the device.
2
1
cable glands
Use metallic cable joints permitting a 360° shielding in order to comply with the
EMC directive.
1
2
or one lead (>10mm cross-section) are required. Each protective lead must meet
²
LED1
X10 X11 X12 X13
X4 X3
DC - Versorgung RS232
X4 (24VDC) PC
DC - Supply SSK1
In detail: The fitting of the different plugs depends on the extension level of Compax3. In
part, the assignment depends on the Compax3 option implemented.
X20/1
RS485 +5V X10/1 RS485 +5V X10/1 EnableRS232 0V X10/1 Rx
X20/2
RxD X10/2 res. X10/2 RxD X10/2 Rx/
option M11(M10=+I/Os)
RS232 Programming Port res. X10/4 res. X10/4 DTR X10/4 res.
X20: HEDA in
X20/5
GND X10/5 GND X10/5 GND X10/5 res.
X20/6
res. X10/6 res. X10/6 X10/6
X10: RS232
DSR Lx/
X20/7
TxD X10/7 TxD_RxD/ X10/7 RTS X10/7 res.
X20/8
RxD/ X10/8 res. X10/8 CTS X10/8 res.
HEDA-motionbus
X22 /2 X22 /2 X11/2
Uin3+ Iin0+ Ain1- X21/4
option M21
GND GND D/A-channel1 X21/5
res.
X22 /4 X22 /4 X11/4
Uin3- Iin0- D/A-channel0 X21/6
Lx/
X22 /5 X22 /5 X11/5
Compax3 3AC +24Vout +24Vout +5V X21/7
res.
Power supply X22 /6 X22 /6 X11/6 X21/8
Uin4+ Iin1+ A/ res.
X11: Analog/Encoder
L1 X22 /7 X22 /7 X11/7
GND GND A
L1
L2
X22 /8 X22 /8 X11/8 X23/1
Uin4- Iin1- B Tx+
Uin5+
X22 /10
Iin2+
X22 /10 X11/10 Rx+
X23/3
PE Ain1+
X23: Ethernet in
PE X22 /11 X22 /11 X11/11 X23/4
GND GND Ain0- res.
Uin5-
X22 /12
Iin2-
X22 /12 X11/12 res.
X23/5
B/
X22 /13 X11/13 X23/6
+24Vin N/ Rx-
DC power voltage X22 /14 X11/14 X23/7
GND in res.
N
X22 /15&16 X11/15 X23/8
DC+ DC+ Shield GND
res.
DC- DC-
X24/1
X22/1 X12/1 Tx+
res. Output+24V X24/2
X22/2 X12/2 Tx-
option M12(M10=+HEDA)
X12/11
Input24VDC X22/11 Input+24V Data line-B
X23/3
X22/12 X12/12 X23/4
O9/I9 Input5 RTS
X22/13 X12/13 GND
X23/5
O10/I10 Input6
24VDC Control voltage X22/14 X12/14 X23/6
O11/I11 Input7 or (MN-INI) +5V
X4 X22/15 X12/15 res. X23/7
X4/1 NC InputGND GND24V X23/8
X4/2 GND24V Data line- A
X23/9
X4/3 +24V res.
X13/1
Sense- X13/1 res. X13/1 res.
X13/2
Sense+ X13/2 res. X13/2 res. X23/1
res.
X13/3
Hall1 X13/3 GND X13/3 X23/2
X13: Feedback DirectDrive F12
GND
X23: CANopen I21
CAN_ L
Motor Brake
Vcc(+5V) X13/4 Vcc(+8V) X13/4 REF+Resolver X13/4 X23/3
X13: Feedback SinCos F 11
GNDfb
X3
X3/1 BR +5V X13/5 +5V X13/5 +5V X13/5 res.
X23/4
X13/6 X23/5
X3/2 GND Hall2 X13/6 CLKfbk X13/6 CLKfbk SHIELD
F10
X13/7 X23/6
Sin-/A- X13/7 SIN- X13/7 SIN- res.
X13/8 X23/7
Sin+/A+ X13/8 SIN+ X13/8 SIN+ CAN_H
X13: Resolver
X13/9 X23/8
Ballast resistor Hall3 X13/9 CLKfbk/ X13/9 CLKfbk/ res.
X13/10 X23/9
Tmot X13/10 Tmot X13/10 Tmot res.
DBR+
X23: DeviceNet I22
X13/11
+DBR COS-/B- X13/11 COS- X13/11 COS-
-VDC
X23/1
DBR- -DBR X13/12
COS+/B+ X13/12 COS+ X13/12 COS+ CAN_ L
X23/2
X13/13
N+ X13/13 DATAfbk X13/13 res. Shield
X23/3
X13/14 X13/14 res. X13/14 X23/4
N- DATAfbk/ CAN_H
X13/15
GND(Vcc) X13/15 GND(Vcc) X13/15 REF-Resolver +VDC
X23/5
The RS232 programming interface under the upper dummy cover is only available if the X10 jumper at
the controller is fitted.
Please note C3H1xxV4 uses a ventilator fan which must be externally supplied via separate connections. The
ventilator fan is available in two versions for single phase feed: 220/240VAC; 110/120VAC
M2/V V (motor) V / L2 2 U2
M3/W W (motor) W / L3 / D / L- 3 U3
PE PE (motor) YE / GN YE / GN YE / GN
* depending on the cable type
Compax3H motor A motor output filter is required for motor cables >50m. Please contact us.
cable
Shielding connection of the motor cable
The motor cable should be fully shielded and connected to the Compax3 housing.
The shield of the motor cable must also be connected with the motor housing. The
fixing (via plug or screw in the terminal box) depends on the motor type.
Warning!
Do not connect any braking resistor on DC+/DC- .
It is not permitted to connect the power voltage in order to use one brake
circuit for two servo axes, as this function cannot be ensured reliably.
Note the following:
Connector X3
USB2.0
Connect your PC to the USB sleeve X3 of the mains module via an USB cable
(SSK33/03).
Compax3M (axis)
X30 out
X31 in
res. factory use
Switch S1
Address setting
Basic addresses
Switch Value upon ON
1 16
2 32
3 64
Settings:
left: OFF
right: ON
Settable value range: 0, 16, 32, 48, 64, 80, 96, 112
Address of the 1st axis = basic address+1
The addresses of the axis controllers are newly assigned after PowerOn.
Example:
Basic address = 48; mains module with 6 axis controllers in the combination
1. Axis right: Address = 49
2. Axis right: Address = 50
...
6. Axis right: Address = 54
Switch S10
Function settings for T30 and T40
The value of switch S10 on the axis controller is stored in object O110.1
C3plus.Switch_DeviceFunction and can be evaluated with the aid of a program.
This helps realize a more simple function selection.
Values:
1: 20; 2: 21; 3: 22; ... 7: 26; 8: reserved
Settings:
left: OFF
right: ON
(The address is set to 0 in the illustration to the left)
Address setting
Settings:
left: OFF
right: ON
Address switch Device name used
0 The device name used is the name assigned with the aid of the
configuration tool.
(standard settings)
1 Device name - "compax3-001"
...
255 Device name - “compax3-255”
LED green
Signal Status Description
Single flash Stop The bus is in STOPPED state
blinks (permanently) pre-operation The bus is ready to operate
al (Pre-Operational)
on operational The bus is operating (operational)
Single flash On
200ms 1s
Off
Double flash On
200ms 200ms 1s
Off
Triple flash On
200ms 200ms 1s
Off
CANopen states
Power On
Initialisation
10, 11
Pre-Operational
8
7
Stopped
6 8 6
7
Operational
Values:
1: 20; 2: 21; 3: 22; ... 6: 25reserved
Settings:
left: OFF
right: ON
(The address is set to 2 in the illustration)
LED green
Signal Status Description
Single flash On-line Online, not at the master (not allocated)
Not
Connected
blinks (permanently) On-line Online, at the master (allocated)
Connected
on On-line I/O Messages allocated
I/O Connected
Single flash On
200ms 1s
Off
Double flash On
200ms 200ms 1s
Off
Triple flash On
200ms 200ms 1s
Off
Values:
1: 20; 2: 21; 3: 22; ... 7: 26; 8: 27
Settings:
left: OFF
right: ON
(The address is set to 0 in the illustration)
Status diagram
Power On
Initialisation
1
2
Pre-Operational
4
3 Safe- 8
7 5 Operational
6
Operational 9
Transition Action
1 Start mailbox communication
2 Stop mailbox communication
3 Start input update
4 Stop input update
5 Start output update
6 Stop output update
7 Stop output update, stop input update
8 Stop input update, stop mailbox communication
9 Stop output update, stop input update, stop mailbox communication
on
flickering
off
on
blinking 200 200
(ERR) ms ms
off
on
blinking 200 200
(RUN) ms ms
off
on
single flash 200 1000 200
(ERR) ms ms ms
off
on
single flash 200 1000 200
(RUN) ms ms ms
off
on
double flash 200 200 200 1000
(ERR) ms ms ms ms
off
*X13 Pin10 Tmot may not be connected at the same time as X15 (on Compaxx3M).
Resolver cables (see on page 561) can be found in the accessories chapter of the
device description.
SinCos© cables (see on page 562) can be found in the accessories chapter of the
device description.
EnDat - cable GBK38 (EnDat2.1) and GBK56 (EnDat2.2) (see on page 545, see
on page 562)
Note on F12:
*+5V (Pin 4) is measured and controlled directly at the end of the line via Sense+
and Sense-.
Cable length max.: 100m
Caution!
Pin 4 and Pin 5 must under no circumstances be connected!
Plug in or pull out feedback connector only in switched off state (24VDC switched
off).
Compax3 Compax3
2.2KΩ
10nF
X11/4 X11/9 10KΩ
332Ω X11/3 Ain+
10KΩ
Ain-
+/-10V/1mA X11/11
(max: 3mA) 2.2KΩ 10nF
2.5V
X11/15
The input connection is available in triple (for A & /A, B & /B, N & /N)
Note:
The inputs and outputs are freely programmable using an IEC61131-3 program.
Input 7 is planned as home switch, the inputs 5 and 6 as limit switches or direction
reversal switches.
If no limit switches are used and these are switched off (in the C3 ServoManager
under configuration), the inputs 5 and 6 can be freely assigned.
The same applies for input 7: A machine zero mode without home switch allows to
freely assign input 7.
Optimization The display of the digital inputs in the optimization window of the C3 ServoManager
window display does not correspond to the physical status (24Volt=on, 0Volt=off) but to the logic
status: if the function of an input or output is inverted (e.g. limit switch, negatively
switching), the corresponding display (LED symbol in the optimization window) is
OFF with 24Volts at the input and ON with 0 Volts at the input.
The circuit example is valid for all digital outputs! The circuit example is valid for all digital inputs!
The outputs are short circuit proof; a short circuit Signal level:
generates an error. > 9.15V = "1" (38.2% of the control voltage applied)
< 8.05V = "0" (33.5% of the control voltage applied)
1)
When the connection between transistor emitter of the initiator and X12/15
(GND24V of the Compax3 )is lost, it can not be guaranteed, that the Compax3
detects a logical „0".
2)
The INSOR NPN types INHE5212 and INHE5213 manufactured by Schönbuch
Electronic do correspond to this specification.
Mounting:
3 socket head screws M5
Stated in mm
Mounting:
3 socket head screws M5
Stated in mm
Mounting:
4 socket head screws M5
Stated in mm
Mounting:
4 socket head screws M5
Stated in mm
Mounting:
2 socket head screws M5
50,5mm
263mm
90°
400mm
360mm
46mm
50mm
Tolerances: DIN ISO 2768-f
Mounting:
4 socket head screws M5
101mm
50,5mm 50,5mm
263mm
90°
400mm
360mm
100mm 96mm
Tolerances: DIN ISO 2768-f
(1): Electronics
(2): Head dissipator
H H1 D W W1
C3H050V4 453mm 440mm 245mm 252mm 150mm
C3H090V4 668.6mm 630mm 312mm 257mm 150mm
C3H1xxV4 720mm 700mm 355mm 257mm 150mm
Mounting:4 screws M6
Ventilation: During operation, the device radiates heat (power loss). Please provide for a
sufficient mounting distance below and above the device in order to ensure free
circulation of the cooling air. Please do also respect the recommended distances of
other devices. Make sure that the mounting plate is not exhibited to other
temperature influences than that of the devices mounted on this very plate.
If two or more devices are combined, the mounting distances are added.
M
in mm
I J K L M
C3H050V4 15 5 25 70 70
M
in mm
I J K L M
C3H090V4 0 0 25 70 70
M
in mm
I J K L M
C3H1xxV4 0 0 25 70 70
According to a risk evaluation which must be carried out according to the machine
standard 98/37/EG and 2006/42/EG or EN ISO 12100, EN ISO 13849-1 and EN
ISO 14121-1, the machine manufacturer must project the safety system for the
entire machine including all integrated components. This does also include the
electrical drives.
Qualified personnel
Projecting, installation and setup require a detailed understanding of this
description.
Standards and accident prevention regulation associated with the application must
be known and respected as well as risks, protective and emergency measures.
Channel 1:
Activation of the power output stage can be disabled in the Compax3 controller by
means of a digital input or with a fieldbus interface (depending on the Compax3
device type) (deactivation of the energize input).
Channel 2:
The power supply for optocouplers and drivers of power output stage signals is
disconnected by a safety relay activated by the enable input "ENAin"(X4/3) and
equipped with force-directed contacts. This prevents control signals from being
transferred to the power output stage.
The STO (= Safe Torque Off) safety function in accordance with EN ISO
13849-1: 2008 PLd or PLe, Kat.3 is only possible when using both channels
via an external safety switching device
Please note the application examples!
safety relay
Feedback
power
supply
motor
controller
Notes
In normal operation of Compax3, 24VDC of power is supplied to the "Enable"
input (X4/3). The control of the drive takes then place via the digital inputs/outputs
or via the fieldbus.
Input Channel 1
(Energize)
Speed
Feedback
Channel 1
t_deceleration
(configurable in Compax3)
Input Channel 2
(ENAin)
t_delay_time
(configurable in UE410)
Feedback
Channel 2
t_delay_relay_ch2
The deceleration time t_deceleration depends on the configuration of the
Compax3. It must be configured so that oscillation free bringing to standstill is
possible, depending on the mechanical load. The delay time t_delay_time must be
set in the safety control device UE410 so that t_delay_time > t_deceleration.
Only after the elapsing of the relay delay t_delay_relay_ch2, the STO function is
completely activated. The relay delay time t_deay_relay_ch2 is 15 ms.
are not to be switched off (see on page 143, see on page 419, see on
page 418, see on page 145).
Circuit:
+24V
Compax3S
X3 motor
MC_Power S4
Energize* Gefahrenbereich
Status Enable
Error Axis Danger Zone
X12.4 motor
Controller
Feedback
K1 Enable X4.3
S6
Compax3S S6
X3
MC_Power S5
Energize*
Status Enable
Error Axis
X12.4
Controller Not-Stop
Feedback
K2 Enable X4.3 Emergency
switch off
Feedback X4.4
Feedback X4.5
Q4 Q3 I4 I3 I2 I1
Delay
Time 4 5
EN S1
K1 3 6
2 7
K2 A1 1 8 X1
0 9
S3 X2
S2
FUNCTION
S2
A2 UE410-MU
GND24V
Circuit:
Designation Bus device I20 additional bus
devices
control: Control word CW Controlword
status: Status word SW Status word
+24V
Compax3S
S4 SPS
& PLC
X3
Energize* control
MC_Power
Controller status
Enable Status
Axis Error Feedback status &
Enable X4.3
Feedback X4.4
S5
Feedback X4.5
&
control
motor
Compax3S Gefahrenbereich
X3 motor Danger Zone
Energize*
X4.3
S6
Feedback X4.4
Feedback X4.5 S6
Not-Stop
Emergency
switch off
Q4 Q3 I4 I3 I2 I1
Delay
Time 4 5
EN 3 6 S1
2 7
A1 1 8 X1
0 9
S3 X2
S2
FUNCTION
S2
A2 UE410-MU
GND24V
Instead of the safety switching device manufactured by Sick mentioned above, you
may use other safety switching devices.
The safety switching device must however provide the following features:
1 normally open contact is required for switching off channel 1
(as an alternative, a safe semiconductor output is possible)
1 off-delayed normally open safety contact is required for switching off channel 2
(as an alternative, a safe semiconductor output with adjustable delay time for the
high_to_low_edge is possible).
1 one-channel monitoring circuit where the feedback contacts of channels 1 and
2 can be integrated for simultaneous monitoring, is required.
At the same time it must be possible to integrate a one-channel start button for
activation of the safety switching device into the circuit.
A new start may only be successful, if it is ensured, that channels 1 and 2 are
switched off.
1 two-channel connection for emergency power off and/or safety door contacts
with cross fault monitoring is required.
The safety switching device must feature performance PL e. The I/Os must at
least correspond to category 3.
Switches and buttons:
1 N/C (S4, S5) per Guide Device to a currentless state
device:
S6: closed when the safety door is closed
S2: Activate safety switching device
Basic functions:
If the safety door is opened during operation and the emergency-power-off switch
was not triggered before, the Compax3 drives will also trigger the stop ramp.
Caution! The drives may still move.
If danger to life and limb of a person entering cannot be excluded,
the machine must be protected by additional measures (e.g. a safety
door locking).
X14.2 STO-GND *
X14.3 STO2/
6 IGBT
X14.4 STO-GND Driver
Maintenance
When using the S1 option, a protocol describing the orderly working of the safety
function must be made upon the setup and in defined maintenance intervals (see
protocol proposal).
Input
Energize
Speed
t_deceleration
(Configurable in Drive)
Input
STO1/, STO2/
t_delay_time
(Configurable in UE410)
Torqueless
Motor
t_delay_STO ≤3ms
+24V
Compax3M
X3 motor
S4
Gefahrenbereich
Energize
Danger Zone
STO-GND X14.2
STO-GND X14.4
S1
Compax3M S1
X3
S3
Energize
STO1/ X14.1
Not-Stop
STO-GND X14.2 Emergency
switch off
STO2/ X14.3
STO-GND X14.4
Q4 Q3 I4 I3 I2 I1
Delay
Time 4 5
EN 3 6 S1
2 7
A1 1 8 X1
0 9
S3 X2
S2
FUNCTION
S2
A2 UE410-MU
GND24V
C1xT30 and C1xT40 Debounced digital input defined in the IEC program,
C20T30 and C20T40 which leads to the enable inputs of several MCpower
function modules for different axes. The information is
passed on to the individual axes via the CANbus.
Compax3M
X3 motor
S4
Gefahrenbereich
Energize
Danger Zone
STO1/ X14.1 motor
STO-GND X14.2
S1
Compax3M S1
X3
S3
Energize
STO1/ X14.1
STO-GND X14.2
STO2/ X14.3
STO-GND X14.4
GND24V
1) In order to automate the test, it is sufficient here to monitor the general error
output with an external logic.
A manual check of the torqueless drive is here also sufficient.
The triggering of the STO can also be made by actuating the emergency stop
switch. During the automated test, the STO can also be triggered via the contacts
of an external relay
Following the test steps
The performance of the individual test steps of the STO function must be logged. A
protocol specimen can be found in the following section.
Depending on the machine version, additional or other test steps may be required.
Project/machine:
Servo axis:
4. Setting up Compax3
In this chapter you can read about:
Configuration ................................................................................................................. 112
Configuring the signal source ........................................................................................ 147
Load control................................................................................................................... 152
Optimization .................................................................................................................. 155
4.1 Configuration
In this chapter you can read about:
Selection of the supply voltage used .............................................................................. 113
Motor selection .............................................................................................................. 114
Optimize motor reference point and switching frequency of the motor current................ 114
Ballast resistor ............................................................................................................... 117
General drive ................................................................................................................. 117
Defining the reference system ....................................................................................... 118
Defining jerk / ramps ...................................................................................................... 142
Limit and monitoring settings ......................................................................................... 142
Encoder simulation ........................................................................................................ 144
Recipe table .................................................................................................................. 145
Error response............................................................................................................... 145
Configuration name / comments .................................................................................... 146
Configurations sequence:
Installation of the C3
ServoManager The Compax3 ServoManager can be installed directly from the Compax3
DVD. Click on the corresponding hyperlink resp. start the installation
program "C3Mgr_Setup_V.....exe" and follow the instructions.
PC requirements
Recommendation:
Operating system: MS Windows XP SP3 / MS Vista (32 Bit) / Windows 7 (32 Bit / 64 Bit)
Browser: MS Internet Explorer 8.x or higher
Processor: Intel / AMD Multi core processor >=2GHz
RAM memory: >= 1024MB
Hard disk: >= 20GB available memory
Drive: DVD drive (for installation)
Monitor: Resolution 1024x768 or higher
Graphics card: on onboard graphics (for performance reasons)
Interface: USB 2.0
Minimum requirements:
Operating system: MS Windows XP SP2 / MS Windows 2000 as from SP4
Browser: MS Internet Explorer 6.x
Processor: >=1.5GHz
RAM memory: 512MB
Hard disk: 10GB available memory
Drive: DVD drive
Monitor: Resolution 1024x768 or higher
Graphics card: on onboard graphics (for performance reasons)
Interface: USB
Note:
For the installation of the software you need administrator authorization on the
target computer.
Several applications running in parallel, reduce the performance and operability.
Especially customer applications, exchanging standard system components
(drivers) in order to improve their own performance, may have a strong influence
on the communication performance or even render normal use impossible.
Operation under virtual machines such as Vware Workstation 6/ MS Virtual PC is
not possible.
Onboard graphics card solutions reduce the system performance by up to 20%
and cannot be recommended.
Operation with notebooks in current-saving mode may lead, in individual cases,
to communication problems.
Connection Your PC is connected with Compax3 via a RS232 cable (SSK1 (see on page
between PC and 582)).
Compax3 Start the Compax3 ServoManager and make the setting for the selected interface
in the "Options Communication settings RS232/RS485..." menu.
Device Selection In the menu tree under device selection you can read the device type of the
connected device (Online Device Identification) or select a device type (Device
Selection Wizard).
Configuration Then you can double click on "Configuration" to start the configuration wizard. The
wizard will lead you through all input windows of the configuration.
Input quantities will be described in the following chapters, in the same order in
which you are queried about them by the configuration wizard.
In the device online help, we show you at this place an animation of a test
setup with the aim to move an unloaded motor.
Simple and independent of the Compax3 device variant*
Without overhead for configuration
Without special knowledge in programming
* for device specific functions, please refer to the corresponding device description.
Pleas note the following equivalence that applies regarding terms concerning
linear motors:
Rotary motors / linear motors
Revolutions ≡ Pitch
Rotation speed (velocity)≡ Speed
Torque ≡ Power
Notes on direct drives (see on page 549) (Linear and Torque - Motors)
The motors can, however, be operated with different reference points for special
applications.
Optimization of the The switching frequency of the power output stage is preset to optimize the
switching frequency operation of most motors.
It may, however, be useful to increase the switching frequency especially with
direct drives in order to reduce the noise of the motors. Please note that the power
output stage must be operated with reduced nominal currents in the case of
increased switching frequencies.
The switching frequency may only be increased.
Caution!
By increasing the motor current switching frequency, the nominal current and the
peak current are reduced.
This must already be observed in the planning stage of the plant!
The preset motor current switching frequency depends on the performance variant
of the Compax3 device.
The respective Compax3 devices can be set as follows:
Compax3S1xxV2 at 3*230VAC/240VAC
Switching S100V2 S150V2
frequency*
8kHz Inom - 15Arms
Ipeak (<5s) - 30Arms
Compax3S0xxV4 at 3*400VAC
Switching S015V4 S038V4 S075V4 S150V4 S300V4
frequency*
8kHz Inom - - - 15Arms 30Arms
Compax3S0xxV4 at 3*480VAC
Switching S015V4 S038V4 S075V4 S150V4 S300V4
frequency*
8kHz Inom - - - 13.9Arms 30Arms
Ipeak (<5s) - - - 30Arms 60Arms
Compax3HxxxV4 at 3*480VAC
Switching H050V4 H090V4 H125V4 H155V4
frequency*
8kHz Inom 43Arms 85Arms 110Arms 132Arms
Ipeak (<5s) 64.5Arms 127.5Ar 165Arms 198Arms
ms
Compax3MxxxD6 at 3*480VAC
Switching M050D6 M100D6 M150D6 M300D6
frequency*
8kHz Inom 4Arms 8Arms 12.5Arms 25Arms
Ipeak 8Arms 16Arms 25Arms 50Arms
(<5s)
16kHz Inom 3Arms 5.5Arms 8Arms 15Arms
Ipeak 6Arms 11Arms 16Arms 30Arms
(<5s)
32kHz Inom 2Arms 2.5Arms 4Arms 8.5Arms
Ipeak 4Arms 5Arms 8Arms 17Arms
(<5s)
The values marked with grey are the pre-set values (standard values)!
*corresponds to the frequency of the motor current
Please note that with resistance values greater than specified, the power
output from the servo drive can no longer be dissipated in the braking
resistor.
Enter minimum = maximum moment of inertia when the load does not vary.
Travel distance per The measure reference to the motor is created with the value:
motor revolution / "travel distance per motor revolution / pitch" in the selected unit.
pitch
Input as numerator You can enter the "travel distance per motor revolution" as a fraction (numerator
and denominator divided by denominator). This is useful in the case of continuous operation mode or
in reset mode if the value cannot be specified as a rational number. Long term
drifts can be avoided by integer numerators and denominators.
Example 1:
Rotary table control
144°
7
70
M
4
Unit: Grade
Gear transmission ratio 70:4 => 4 load revolutions = 70 motor revolutions
Travel distance per motor revolution = 4/70 * 360° = 20.571 428 5 ...° (number
cannot be represented exactly)
Instead of this number, you have the option of entering it exactly as a numerator
and denominator:
Travel distance per motor revolution = 144/7
This will not result in any drift in continuous operation mode or in reset mode, even
with relatively long motion in one direction.
Example 2:
Conveyor belt
7 7 4 10mm
M
4
Unit: mm
Gear transmission ratio 7:4 => 4 load revolutions = 7 motor revolutions
Number of pinions: 12
Tooth separation: 10mm
Travel path per motor revolution = 4/7 * 12 * 10mm = 68.571 428 5 ... mm (this
number cannot be expressed exactly)
Instead of this number, you have the option of entering it exactly as a numerator
and denominator:
Travel distance per motor revolution = 480/7 mm
For "travel distance per motor revolution" that can be represented exactly, enter 1
as the denominator.
Denominator
Unit: - Range: 1 ... 1 000 000 Standard value: 1
Integer value
*
Example:
Conveyor belt (from the "Conveyor belt" example) with reset path
300 mm
7 7 4 10mm
M
4
A reset path of 300 mm can be entered directly with numerator = 300 mm and
denominator = 1.
Reset mode is not possible for linear motors.
Reset distance
Numerator
Unit: Unit Range: depends on the unit selected Standard value: depends
on the unit selected
Unit Division Standard value
Increments 10 ... 1 000 000 0
mm 1 ... 2000 0
Grade 1 ... 720 0
Denominator
Unit: - Range: 1 ... 1 000 000 Standard value: 0
Integer value
The Compax3 machine zero modes are adapted to the CANopen profile for Motion
Control CiADS402.
Position reference Essentially, you can select between operation with or without machine reference.
point The reference point for positioning is determined by using the machine reference
and the machine reference offset.
A machine reference run is required each time after turning on the system for
operation with machine reference.
Please note:
During homing run the software end limits are not monitored.
Without positioning after homing run The position reached is not exactly on
0, as the drive brakes when detecting the home and stops:
Absolute encoder
Using a SinCos© or EnDat Multiturn absolute value sensor as feedback system, the
absolute position can be read in over the entire travel range when switching on the
Compax3. This means that a machine zero run is not necessary after the switching
on (feedback may not be shifted by the absolute range while switched off).
In this case the reference only needs to be established once
at initial commissioning time
after an exchange of motor / feedback system
after a mechanical modification and
after an exchange of device (Compax3); does not apply for the "Store absolute
position in feedback" function.
after a configuration download
by carrying out a machine zero run.
The homing mode 35 "MN at the current position (see on page 132)" is
appropriate for this, because it is therewith possible to operate without proximity
switch, but any other homing mode is possible too - if the hardware prerequisites
are fulfilled.
When you have once re-established the reference, reset the machine zero run
mode to "without machine zero run".
Attention: In this case, the drive is considered “not referenced” and the software end limit
monitoring is inactive!
Machine reference For a unique machine zero run the same conditions apply as for the use of an
run absolute encoder (Multiturn).
Please note:
Other data stored in the feedback are overwritten!
The motor may not move away from the homing position by more than +/-2048
revolutions (motor position upon completed homing mode), otherwise, the motor
position will be lost after PowerOff/On
(->endless instructions with only one travel direction or with one stroke bigger
than 2048 motor revolutions are not permitted in this operating mode)!
1 2 3
10
11
12
13
14
1: Direction reversal / end switch on the negative end of the travel range
(the assignment of the reversal / end switch inputs (see on page 141) to travel range
side can be changed).
2: Machine zero initiator (can, in this example, be released to 2 sides)
3: Direction reversal / end switch on the positive end of the travel range
(the assignment of the reversal / end switch inputs (see on page 141) to travel range
side can be changed).
4: Positive direction of movement
5: Signals of the motor zero point (zero pulse of the motor feedback)
6: Signal of the machine zero initiator
(without inversion of the initiator logic (see on page 141)).
7: Signal of the direction reversal resp. end switch on the positive end of the travel range
(without inversion of the initiator logic).
8: Signal of the direction reversal / resp. end switch on the negative end of the travel range
(without inversion of the initiator logic).
9: Signal of the machine zero initiator
(with inversion of the initiator logic (see on page 141)).
10: Signal of the direction reversal resp. end switch on the positive end of the travel range
(with inversion of the initiator logic).
11: Signal of the direction reversal / end switch on the negative end of the travel range
(with inversion of the initiator logic).
12: Logic state of the home switch (independent of the inversion)
13: Logic state of the direction reversal resp. end switch on the positive end of the travel
range (independent of the inversion)
14: Logic state of the direction reversal resp. end switch on the negative end of the travel
range (independent of the inversion)
The following principle images of the individual machine zero modes always refer
to the logic state (12, 13, 14) of the switches.
Without motor zero MN-M 19: The negative edge of the MN proximity switch is taken directly as MN
point, without (the motor zero point remains without consideration).
direction reversal MN-M 20: The positive edge of the MN proximity switch is used directly as MN (the
switches motor zero point remains without consideration).
19
19
20
20
1
1: logic state
Without motor zero MN-M 21: The negative edge of the MN proximity switch is taken directly as MN
point, without (the motor zero point remains without consideration).
direction reversal MN-M 22: The positive edge of the MN proximity switch is used directly as MN (the
switches motor zero point remains without consideration).
21
21
22
22
1
1: logic state
24 26
23 25
23 26
24 25
23 25
24 26
30 28
29 27
30 27
29 28
29 27
30 28
With motor zero MN-M 3: The 1st motor zero point at MN initiator = "0" is used as MN.
point, without MN-M 4: The 1st motor reference point with MN initiator = "1" is used as the MN.
direction reversal
switches
3
3
4
4
1
2
1: Motor zero point
2: Logic state of the home switch
With motor zero point, MN-M 5: The 1st motor reference point with MN initiator = "0" is used as the MN.
without direction MN-M 6: The 1st motor reference point with MN initiator = "1" is used as the MN.
reversal switches
5
6
6
1
2
1: Motor zero point
2: Logic state of the home switch
8 10
7 9
7 10
8 9
7 9
8 10
1
14 12
13 11
14 11
13 12
13 11
14 12
1
35
Please note: Due to encoder noise it is possible that a value <> 0 is set when teaching to 0.
If end limits = 0, an end limit error may occur during homing run.
Please observe:
The machine zero offset must be set so that the zero point (reference point) for
positioning lies within the travel range.
MN-M 128: Travel in the positive direction to the end of the travel region
MN-M 129: Travel in the negative direction to the end of the travel region
Caution!
Wrong settings can cause hazard for man and machine.
17
18
1
1: Logic state of the direction reversal switch
Without home MN-M 33: For a MN run, starting from the current position, the next motor zero
switch point in the negative travel direction is taken as the MN.
MN-M 34: For a MN run, starting from the current position, the next motor zero
point in the positive travel direction is taken as the MN.
33
34
1
1: Motor zero point
2
1: Motor zero point
2: Logic state of the direction reversal switch
2
1: Motor zero point
2: Logic state of the direction reversal switch
MN-M 132, 133: Determine absolute position via distance coding with
direction reversal switches
Only for motor feedback with distance coding (the absolute position can be
determined via the distance value).
Compax3 determines the absolute position from the distance of two signals and
then stops the movement (does not automatically move to position 0).
133 133
132 132
- +
Initiator adjustment
Unit: Range: -180 ... 180 Standard value: 0
Motor angle in degrees
Move the machine reference initiator using software
As an aid you can use the status value “distance MN sensor - motor zero” in the
“Positions” chapter under “status values“
Without positioning after homing run The position reached is not exactly on
0, as the drive brakes when detecting the home and stops:
The error reaction when reaching the software end limits can be set:
Possible settings for the error reaction are:
No response
Downramp / stop
Downramp / stromlos schalten (standard settings)
Gearing, ...
V
Jog
Error when A software end limit error is triggered, if the position value exceeds an end limit.
disregarding the For this, the position setpoint value is evaluated in energized state; in currentless
software end limits state, the actual position value is evaluated.
Behavior after the The end limits are not active after switching on. The end limits do not refer to the
system is turned on position reference point until after a machine reference run.
During homing run the end limits are not monitored.
With a Multiturn encoder or with active Multiturn emulation, the limit is valid
immediately after switching on.
1 2
1: negative end limit
2: positive end limit
The software end limit error can be deactivated in general via the configuration or
separately for each end limit via the C3_Error_Mask (see on page 419)module.
The error reaction when reaching the hardware end limits can be set:
Possible settings for the error reaction are:
No response
Downramp / stop
Downramp / stromlos schalten (standard settings)
Hardware end limits are realized with the aid of end switches.
These are connected to X12/12 (input 5) and X12/13 (input 6) and can be
(de)activated separately in the C3 ServoManager under Configuration: End limits.
After a limit switch has been detected, the drive decelerates with the ramp values
set for errors (error code 0x54A0 at X12/12 active, 0x54A1 at X12/13 active) and
the motor is switched to currentless.
Please make sure that after the detection of the end switch there is enough travel
path left up to the limit stop.
3 4
Please note: The limit switches must be positioned so that they cannot be released towards the
side to be limited.
Limit switch / Limit switches functioning as direction reversal switches during homing run, will not
direction reversal trigger a limit switch error.
switch
Behavior in the case The error can be acknowledged with activated limit switch.
of an active limit The drive can then be moved out of the end switch range with a normal positioning.
switch Both directions of movement are possible.
A direction block can be programmed in the IEC program with the aid of the limit
switch bits or the error message.
(De)activate limit The limit switch error can be deactivated in general via the configuration or
switch errors separately for each limit switch via the C3_Error_Mask module (see on page
419).
Debouncing: Limit switch, machine zero and input 0
A majority gate is used for debouncing.
The signal is sampled every 0.5ms
The debounce time determines the number of scans the majority gate will perform.
If the level of more than half of the signals was changed, the internal status will
change.
The debounce time can be set in the configuration wizard within the range of 0 ...
20ms.
The value 0 deactivates the debouncing.
If the debouncing time is stated, the input I0 can be debounced as well (checkbox
below).
Change assignment If this function is activated, the direction reversal / limit switches are assigned as
of direction reversal follows:
/ limit switch is Direction reversal / limit switch on I5 (X12/12): positive side of the travel range
activated Direction reversal / limit switch on I6 (X12/13): negative side of the travel range
With this setting the inputs I5 to I7 can even be switched within their logic, if they
are not used as direction reversal/limit switches or machine zero.
Possible settings for the error reaction are:
No response
Downramp / stop
Downramp / stromlos schalten (standard settings)
3: Deceleration upon error and upon deactivation of MC_Power (see on page 282)
Please observe:
The configured error ramp is limited. The error ramp will not be smaller than the
deceleration set in the last motion set.
1: Position Window
2: In Position Window Time
3: Setpoint position reached (== object 420.6
C3.PositioningAccuracy_PositionReached)
The change of position over time can be specified exactly using the parameters
jerk, acceleration and speed. The integrated Setpoint value generator calculates
the course of the target position. Because of the delay in the feedback loop, the
actual position does not follow the target position exactly. This difference is referred
to as the following error.
Disadvantages When working with a number of servo drives (for example Master controller and
caused by a slave controller), following errors lead to problems due to the dynamic position
following error differences, and a large following error can lead to positioning overshoot.
Error message If the following error exceeds the specified following error limit, the “following error
time” then expires. If the following error is even greater than the following error limit
at the end of the following error time, an error is reported.
If the following error falls short of the following error limit, a new following error time
is then started.
Minimizing the The following error can be minimized with the help of the extended (advanced)
following error control parameters, in particular with the feed forward parameters.
Caution! The encoder simulation (A/B) is not possible at the same time as the encoder
input, der SSI-Schnittstelle resp. the step/direction input.
The same interface is used here.
A direction reversal configured in the C3 ServoManager does not affect the
encoder simulation.
The direction of rotation of the encoder simulation can, however, be changed via
the feedback direction in the MotorManager.
Note:
The recipe array can also be loaded separately into the device (>button on the right
side).
Note on Compax3H:
The error reaction upon the "low voltage DC" error (0x3222) is fixed to
"downramp/deenergize" for Compax3H.
Caution!
Deactivate the drive before downloading the configuration software!
Please note!
Incorrect configuration settings entail danger when activating the drive.
Therefore take special safety precautions to protect the travel range of
the system.
Caution! The encoder simulation (A/B) is not possible at the same time as the encoder
input, der SSI-Schnittstelle resp. the step/direction input.
The same interface is used here.
A direction reversal configured in the C3 ServoManager does not affect the
encoder simulation.
The direction of rotation of the encoder simulation can, however, be changed via
the feedback direction in the MotorManager.
The dimensional reference to the master is established via the following settings:
Travel path per motor revolution (or pitch for linear motors) master axis numerator
With denominator = 1 the value can be entered directly.
Long-term drift can be avoided by entering non-integral values integrally as a
fraction with numerator and denominator.
Travel per motor revolution (or pitch of linear motors) master axis denominator
Reference to master The reference to the master axis is established via the increments per revolution
axis and the travel path per revolution of the master axis (corresponds to the
circumference of the measuring wheel).
That is:
Master_I Travel Distance per Master Axis revolution
MasterPos = I_M * Travel Distance per Master Axis revolution - (1)
Denominator
MasterPos: Master Position
Master_I: master increments read in
I_M: Increments per revolution of the master axis
External signal Encoder with 1024 increments per master revolution and a circumference of the
source measuring wheel of 40mm.
(1) set into (2) and with numerical values results with 1024 increments read in (=1
Master revolution):
1 40mm 2
Slave unit = 1024 * * * = 80mm
1024 1 1
Structure:
Master Z1 MasterPos Gearing Slave - N2 Slave_U Load
numerator
Gearbox
N1 Gearing Units Z2 to motor
denominator
Detailed structure image (see on page 222, see on page 223, see on page 224)
with:
Z1 Travel Distance per Master Axis revolution Entry in the "configuration
MD = * Travel Distance per Master Axis revolution of the signal source"
N1 wizard
- Denominator
SSI configuration
Notes on the SSI sensor (see on page 149)
With Multiturn: Number of sensor rotations with absolute reference
Word length: Gives the telegram length of the sensor.
Baud rate/step: Max. Transmission rate of the path measurement system.
Gray code: Sensor gray code coded yes/no (if no binary coded).
Note:
The absolute position is not evaluated!
It is available in the objects 680.24 (load position) and 680.25 (master position)
(C3T30, C3T40).
T t
If required the direction of rotation of the master axis read in can be changed.
If required the direction of rotation of the master axis read in can be changed.
HEDA-Master
HEDA-Slave
Channel 2
HEDA
Channel 3 2)
Channel 4
Note:
The absolute position is not evaluated!
It is available in the objects 680.24 (load position) and 680.25 (master position)
(C3T30, C3T40).
Attention!
The load control is immediately active after the configuration download!
Please do only activate after checking the load position signal (scaling,
direction, value).
Alignment of the There is an Alignment of the position values of motor and load under the
load control: following operating conditions (Load position = Motor position):
During a Machine zero run the load control is deactivated until the position value
0 (defined via the machine zero offset) was approached.
Then an alignment of the position values is performed and the load control is
activated.
After switching on Compax3.
When writing "1" into object 2201.2
When activating the load control.
Continuous mode
In continuous operation (object 1111.8 <> 0) an alignment of the position values of
motor and load (load position = motor position) takes place upon each new
positioning command.
Application: e.g. roller feed
Caution!
The position difference is aligned to zero when switched on again, i.e. the original
position reference is lost. Therefore it is advisable to approach the reference point
again in this case (Machine zero run or Homing).
=0 (inactive)
2201.11
Description of the objects (see on page 515)
4.4 Optimization
Select the entry "Optimization" in the tree.
Open the optimization window by clicking on the "Optimization Tool" button.
In this chapter you can read about:
Optimization window ...................................................................................................... 155
Scope ............................................................................................................................ 156
Controller optimization ................................................................................................... 163
Signal filtering with external command value ................................................................. 222
Input simulation ............................................................................................................. 225
Setup mode ................................................................................................................... 226
Load identification.......................................................................................................... 229
Alignment of the analog inputs ....................................................................................... 231
C3 ServoSignalAnalyzer ................................................................................................ 233
ProfileViewer for the optimization of the motion profile ................................................... 267
Turning the motor holding brake on and off.................................................................... 269
4.4.2. Scope
The integrated oscilloscope function features a 4-channel oscilloscope for the
display and measurement of signal images (digital and analog) consisting of a
graphic display and a user interface.
Special feature:
In the single mode you can close the ServoManager after the activation of the
measurement and disconnect the PC from Compax3 and upload the measurement
into the ServoManager later.
In this chapter you can read about:
Monitor information ........................................................................................................ 156
User interface ................................................................................................................ 157
Example: Setting the Oscilloscope................................................................................. 161
In the ROLL operating mode, marker functions and set trigger level positions are
not available.
1: Operating mode switch (see on page 158) (Single / Normal / Auto / Roll)
2: Setting the time basis (see on page 158)
3: Starting / Stopping the measurement (prerequisites are valid channel sources
and if necessary valid trigger settings.)
4: Setting channel (see on page 159) (Channels 1 ...4)
5: Special functions (see on page 160) (Color settings; memorizing settings and
measurement values)
6: Loading a measurement from Compax3: in the single mode you can close the
ServoManager after the activation of the measurement and disconnect the PC from
Compax3 and upload the measurement later.
7: Setting triggering (see on page 160)
8: Copy osci display to clipboard
9: Zoom of the osci display (1, 2, 4, 8, 16 fold) with the possibility to shift the zoom
window (<,>)
Selection of the desired operating mode: SINGLE, NORMAL; AUTO and ROLL by
clicking on this button.
Changing the operating mode is also permitted during a measurement. The current
measurement is interrupted and started again with the changed settings.
The following operating modes are possible:
Operating mode Short description
SINGLE Single measurements of 1-4 channels with trigger on a freely
selectable channel
NORMAL Like Single, but after each trigger event, the measurement is
started again.
AUTO No Trigger. Continuous measuring value recording with the
selected scanning time or XDIV setting
ROLL Continuous measuring value recording of 1 .. 4 channels with
selectable scanning time and a memory depth of 2000 measuring
values per channel.
With SINGLE / NORMAL / AUTO, the measurement is made in Compax3 and is
then loaded into the PC and displayed.
With ROLL, the measuring values are loaded into the PC and displayed
continuously.
Depending on the selected operating mode, the time basis can be changed via the
arrow keys.
For the operating modes SINGLE, NORMAL and AUTO, the following XDIV
time settings are possible:
XDIV Scanning time Samples DIV/TOTAL Measuring time
0.5 ms 125 us 4/40 5 ms
1.0 ms 125 µs 8/80 10 ms
2.0 ms 125 µs 16/160 20 ms
5.0 ms 125 µs 40/400 50 ms
10.0 ms 125 µs 80/800 100 ms
20.0 ms 1 ms 20/200 200 ms
50.0 ms 1 ms 50/500 500 ms
100.0 ms 2 ms 50/500 1s
200.0 ms 2.5 ms 80/800 2s
500.0 ms 10 ms 50/500 5s
1s 12.50 ms 80/800 10 s
2s 25.00 ms 80/800 20 s
5s 62.50 ms 80/800 50s
10s 125.00 ms 80/800 100 s
For the operating ROLL, the following XDIV time settings are possible:
XDIV Scanning time Samples DIV/TOTAL
400 ms 2 ms 200/2000
1s 5 ms 200/2000
2s 10 ms 200/2000
4s 20 ms 200/2000
10 s 50 ms 200/2000
20 s 100 ms 200/2000
40 s 200 ms 200/2000
100 s 500 ms 200/2000
200 s 1s 200/2000
Changing the time basis is also permitted during an OSCI measuring sequence.
This means, however, that the current measurement is interrupted and started
again with the changed settings.
3: Set signal source with object name, number and if necessary unit
Define source: Draw the desired status object with the mouse (drag & drop) from
the "Status value" window (right at the bottom) into this area.
Multiple oscilloscope in Compax3M: select device in addition to the object.
4: Set Channel offset to 0
5: Select channel display (GND, DC, AC, DIG)
DC:Display of the measurement values with constant component
AC:Display of the measurement values without constant component
DIG:Display of the individual bits of an INT signal source.
The displayed bits can be defined via the logic display mask.
GND:A straight line is drawn on the zero line.
Trigger settings
Special functions
3.) Select channel 1 signal source digital inputs 120.2 from status tree with
the aid of Drag & Drop
4.) Select channel 2 (filtered actual speed) via "Drag and drop" from the
status tree
4.4.3.1 Introduction
In this chapter you can read about:
Basic structure of the control with Compax3 .................................................................. 163
Proceeding during configuration, setup and optimization ............................................... 163
Software for supporting the configuration, setup and optimization.................................. 164
As shown in the above figure, the programmed motion sequences are generated
by the internal Compax3 setpoint generator. The setpoint position as well as the
other status values of the feedforward control are made available to the position
controller in order to keep the following error as small as possible.
For the control, Compax3 requires on the one hand the actual position and on the
other hand the commutation position, which represents the reference between the
mechanic feedback position and the motor magnet.
Automatic Setup
Stable Optimized
Configuration controller design +
control control
Optimization
Application
Application requirements (targets) e.g.
parameters
-Minimized following error during the entire
positioning (e.g. cam operation)
-Minimized following error in the target position
-Overshoot free access to target position
-Fast settling to target position
-...
The entry of the motor and application parameters is made with the C3
ServoManager2 (C3Mgr2.exe):
The configuration requires:
Application parameters
The wizard guided entry of the application parameters takes place directly in the
ServoManager.
Carefully verify the entries and default values in order to detect entry errors
in the run-up.
After the configuration download, the drive can be set up and be optimized if needs
be. For this, please open the optimization window of the ServoManager:
4.4.3.2 Configuration
In this chapter you can read about:
Control path ................................................................................................................... 165
Motor parameters relevant for the control ...................................................................... 166
Mass inertia ................................................................................................................... 166
Nominal point data......................................................................................................... 166
Saturation values ........................................................................................................... 167
Quality of different feedback systems ............................................................................ 168
Typical problems of a non optimized control .................................................................. 169
Feedback error compensation ....................................................................................... 170
Commutation settings .................................................................................................... 171
I²t - monitoring of the motor............................................................................................ 171
Relevant application parameters.................................................................................... 174
Asynchronous Motors .................................................................................................... 177
Control path
For the motors, the knowledge of the mathematical model is a prerequisite.
Mathematically idealized model of the control path:
motor ML application
U MA - MB a n
KT
I 1
-
T=L/R 1/ R 2π
Jges
JMot JExt
UEMK
KT 2π
U: Control voltage
UEMK: electromagnetically generated voltage in the motor
T: electric time constant of the motor winding
L: Winding Inductance
R: Winding Resistance
MA: Drive torque of the motor
ML: Load torque
MB: Acceleration torque
I: Actual current r.m.s. (torque-producing)
KT: Torque constant
Jmot: Motor mass moment of inertia
Jext: external mass moment of inertia
Jtotal: Total mass moment of inertia
a: Acceleration
n: Velocity
Explanation:
The motor is controlled by the servo drive with control voltage U. During motion of
the motor, an internal back e.m.f. UEMC is induced. This antagonizes the control
voltage and is therefore deduced in the motor model. The difference is available for
the acceleration of the motor.
The first order delay component represents the delaying property of the motor
winding with the time constant T=L/R. According to Ohm's Law, a current I=U/R
results.
The drive torque of the motor is calculated by multiplying the current with the motor
torque constant KT. This is antagonized by the load torque of the machine.
The remaining acceleration torque accelerates the motor.
The resulting acceleration depends on the total mass moment of inertia (= motor +
load moment of inertia).
The integration of the acceleration (sum of the acceleration over time) results in the
velocity of the motor, which influences the amplitude of the induced EMC voltage.
Mass inertia
The mass moment of inertia (moment of inertia) is also an important motor
parameter for the design of the velocity control loop. For the velocity control design,
this parameter is effective in correlation with the external mass moment of inertia of
the load. The external load is entered in the C3 ServoManager. With the "load
identification" function of the C3 ServoManager, the mass inertia can be
determined, if it is not yet known.
[Nm]
3 S3 20%65°C DT
2
2.5
2
S3 50%65°C DT
S1 105°C DT
1.5
S1 65°C DT
1
1
0.5
0
0 500 1000 1500 2000 2500 3000
[1/min]
1: Nominal point
2: Forbidden range
Calculation of the reference current from the characteristic line.
In the MotorManager, a motor can be defined for different operating modes (230V,
400V and 480V) without having to create several entities.
Additional parameters of a motor are:
Standstill current [mArms]
Pulse current [in % of the nominal current]
The pulse current can be provided by the Compax3 for the duration of the pulse
current time (as far as the device current permits). The thermal pulse load of the
motor rises due to the pulse current. This pulse load is monitored by the i²t
monitoring in the Compax3.
Saturation values
A motor may show a saturation behavior at higher currents due to iron saturation.
This results in the reduction of the winding inductance at higher currents. As the
inductance value of the winding enters directly into the P term of the current
controller, the saturation at higher currents will result in too fast current control.
This behavior can be counter steered with saturation values (entered in the "motor
characteristics" wizard window of the MotorManager).
For the determination of the saturation values please see chapter 0 (see on page
222, see on page 223, see on page 224).
Interface
An additional distinctive feature is the electric interface between servo drive and
feedback. Analog sine/cosine signals or digital encoder signals (RS422 standard)
are used to transmit the incremental position information. Due to the high
interpolation rate (approx. 14 bits) of the Compax3 servo controller, an analog
sine/cosine signal is in most cases preferable to digital encoder signals.
Resolution
The less precise the resolution, the higher the quantization noise on the velocity
signal.
Noise
The feedbacks have different levels of analog noise, which have a negative effect
on the control. The noise can be dampened with the aid of filters in the actual value
acquisition, however at the cost of the controller bandwidth.
For comparison, the noise of the actual velocity value at standstill of two different
feedbacks is displayed.
1) Actual velocity
2) Setpoint velocity
Increased following error
Increased following error when approaching the target position or the reduction of
the following error takes too long
1) Following error
2) Setpoint velocity
3) Actual velocity
Instable behavior
1) Setpoint velocity
2) Actual velocity
3) Following error
In order to accept the changes in the MotorManager in the project, the individual
configuration pages must be clicked through. In order to make the changes made
in the MotorManager effective in the device, the configuration download in the
C3Manager must be executed.
In the event of formal errors, the feedback error compensation may however be
disadvantageous; therefore it is switched off as a default.
Commutation settings
Another prerequisite for a good control quality is the correct motor commutation of
the motor. This comprises several settings.
The commutation angle describes the relation of the feedback position with
respect to the motor pole pair position.
Commutation direction reversal describes the correlation between the position of
the feedback and the commutation position.
Feedback direction reversal describes the direction correlation between the
defined positive direction of the drive and the feedback position.
If the commutation direction does not match the defined direction of rotation, this
will result in a subsequent error with the error message "following error" or "motor
stalled".
A faulty commutation angle value results in increased current and following error.
Therefore the voltage limit is reached faster. If the value of the commutation error
exceeds 90°, the motor will spin due to the positive feedback effect.
These 3 settings can be automatically acquired with the MotorManager.
With the aid of the automatic commutation acquisition, the commutation settings
can be determined and plausibility checks can be made. You will be guided
through the individual wizard pages and the MotorManager will issue a prompt to
define the positive direction of the drive. The wizard pages supporting the user
depend on the feedback system as well as on the motor type (linear or rotary).
Note The motor should be operated without load (=> no load torque e.g. weight force of
a z-axis).
Additional setting of the commutation for incremental feedback:
This function is activated in the MotorManager:
"Feedback system" wizard under "feedback resolution".
In the event of an incremental feedback (Sine/cosine or RS424 encoder) the
commutation must be defined in addition, in order to find the position reference to
the winding.
Automatic commutation with movement
Commutation with digital hall sensors
Nominal point
3.5
[A]
3 S3 20%65°C DT
2
2.5
2
S3 50%65°C DT
S1 105°C DT
I0 S1 65°C DT
1
IN
1
0.5
0
0 500 1000 1500 2000 2500 3000
[1/min] nN
I0: Standstill current
1: Nominal point
IN: Nominal current (defined in the MotorManager)
nN: Nominal Speed
2: Forbidden range
For monitoring the continuous utilization, the linearized characteristic line between
I0 und IN / nN is used as a threshold.
[A]
3 S3 20%65°C DT
2
2.5
2
S3 50%65°C DT
S1 105°C DT
I0 S1 65°C DT
I1 1
rp1
0.5
0
0 500 1000 1500 2000 2500 3000
[1/min] n1
[A]
3 S3 20%65°C DT
2
2.5
rp2
I2 2
S3 50%65°C DT
S1 105°C DT
I0 S1 65°C DT
0.5
0
0 500 1000 1500 2000 2500 3000
[1/min] n2
If a r.m.s. current over the valid straight flows continually in the motor, the I²t
monitoring will issue the "effective motor current monitoring" error message
[0x5F48]. The period of time until the error occurs depends on the thermal time
constant of the motor defined in the motor parameters. The electronic temperature
monitoring simulates approximately the temperature behavior of the motor. By
defining a reference point different from the motor nominal data, the I²t monitoring
of the motor can be adapted to changed thermal ambient conditions (e.g. air
stream caused by a ventilator fan).
1) Setpoint Position
2) Position deviation = following error
3) Effective position
1: Current ripple
2: Phase current
3: PWM control
Hint Please note that a high switching frequency means also high switching losses in
the power output stage of the controller. For this reason, you must consider
derated data of the servo controller for the drive design with higher switching
frequencies.
Motor parameters
In this chapter you can read about:
Parker Motor.................................................................................................................. 175
Other motor ................................................................................................................... 176
Motor types supported ................................................................................................... 176
Parker Motor
If a Parker motor is used for the application, the parameters are already contained
in the installed software. You can just select one of the available motors from the
first configuration page.
Other motor
When using a motor from a different manufacturer, you will have to enter the
relevant data. This process is supported by the MotorManager software tool, which
can be called up from the ServoManager:
After double clicking on "new", the individual motor parameters are queried by the
MotorManager.
For reasons of clarity, we will in the following refer to the rotary motor, which
will represent both drive types.
An asynchronous motor is set up in the same way as a synchronous motor. The
only differences are varying motor parameters.
A reference point differing from the nominal data may also be entered on the
wizard page displayed above.
Please activate "activate changing the reference point", then you may enter the
new reference velocity as well as the new reference current.
Asynchronous Motors
In this chapter you can read about:
Type specification plate data ......................................................................................... 177
Replacement switching diagram - data for a phase........................................................ 178
Slip Frequency .............................................................................................................. 178
Saturation behavior ....................................................................................................... 179
Cut-off frequency for the field weakening range ............................................................. 179
Rotor time constant ....................................................................................................... 179
Determination of the commutation settings .................................................................... 180
Asynchronous motors: Extension of the controller structure ........................................... 180
Slip Frequency
The slip frequency is stated in [Hz electrical] or in [‰] and can be determined as
follows
f2[mHz (electrical)]= (fs*60-Nnominal*P/2)/N
Saturation behavior
The saturation of the main field inductance can be considered with the help of the
following characteristic.
Activate the "consider saturation values" checkbox.
LHmax/% v. LH
Pa[%]
(Lhmax)
z.B 160%
1)
100%
12000 60
10000 50
8000 40
Moment M/Nm
Power P/W
6000 30
4000 20
2000
1 2 10
0 0
0 1000 2000 3000 4000
n/rpm P=f(n)
M=f(n)
1: Basic speed range
2: Field weakening range
Rotor time constant
If the value of the rotor time constant is not known, it can be approximated
automatically.
KM -
iq
2 jρ
e
2240.4/7 Attenuation/bandwidth
/3
magnetization current controller
Kp, TN Kp, TN
- -
2240.11
Reference speed
TR
2240.2 Demand value magnetization
current controller
imR id
Dynamics of a control
In this chapter you can read about:
Structure of a control ..................................................................................................... 181
Oscillating plant ............................................................................................................. 181
Stability, attenuation ...................................................................................................... 181
Velocity, bandwidth ........................................................................................................ 183
Setpoint and disturbance behavior of a control loop....................................................... 185
Response ...................................................................................................................... 187
Limitation behavior ........................................................................................................ 187
A change in the input value of a dynamic transmission element causes a change of
its output value. The change of the output value is however not immediately
effective, but takes a certain time, the transient response. The course of the
transient response is characteristic for certain kinds of transmission behavior.
For this reason, a complete description of the transmission properties of a control
comprises the stationary behavior (all setpoint, actual and disturbance values in
settled state), as well as the dynamic behavior.
Structure of a control
Z
W Controller - Regelstrecke X
- Regler Control Process
X
Regler / Control
Parameter
The basic task of a control is the generation and maintaining of a desired state or
sequence in spite of interfering disturbances. It is essential that the effects of the
disturbances are balanced with the correct force and at the correct time. In the
above figure, the setpoint value W represents the desired state and the disturbance
value Z represents the interfering disturbance. The actual value X represents the
generated and maintained state.
Oscillating plant
Oscillating control paths are control paths that respond with attenuated or
unattenuated oscillation to an abrupt change in the setpoint value. Part of this class
are for instance:
Linear actuators with toothed belts, as a toothed belt represents an elasticity.
A mechanic shaft with an external mass moment of inertia, as the shaft
represents an elasticity due to its torsional properties.
In general this kind of elasticity is due to a high ratio between JLoad/JMotor, as the
shaft is normally not designed for this high external load and which may lead to a
considerable distortion.
Stability, attenuation
In this chapter you can read about:
Stability problem in the high-frequency range: ............................................................... 182
Stability problem in the low-frequency range: ................................................................. 182
In general, two stability problems may occur in a servo drive control:
Step response of a stable controller and of a controller approaching the stability limit
Velocity, bandwidth
In this chapter you can read about:
P-TE - Symbol ............................................................................................................... 183
Step response of a delay component ............................................................................. 183
Approximation of a well-attenuated control loop ............................................................. 183
Frequency response of the P-TE component (value and phase) .................................... 185
A well attenuated control loop can, under certain conditions, be approximated in
order to simplify the controller design with a first order delay component (P-TE
component) with the replacement time constant TE and the total gain Kp. A P-TE
component represents a first order delay component and is a simple dynamic basic
component.
P-TE - Symbol
1.2
T
X ( t , TE)
S
1
0.8 P-TE
0.6
0.4
TE
0.2
0
0 1 2 3 4 5 6 7 t
T: Tangent
S: Input jerk
P-TE: Output value of the P-TE component
TE: Time constant of the P-TE component
The definition of the delay time constant is displayed in the above figure. The time
of intersection of the tangent and the jerk function itself is by definition the delay
time constant (called filter time constant for filters) of a P-TE component. At this
point in time the value of the step response is approx. 63% of the final value. In
practice the step response corresponds, for instance, to the voltage charge curve
of a capacitor.
Determination of the control surface from the transmission behavior of a P-TE component.
1: Control surface of the approximated system 2: Control surface of the ideal P-T1 component
The velocity of a dynamic system can also be described in the frequency range. In
the frequency range, the system behavior is analyzed to sinusoidal inputs signals
of different frequencies (frequency response).
Input and output signals of a dynamic transmission component at a defined
frequency f=f1
The bode diagram represents the behavior of a dynamic system (in our case of the
P-TE component) against the input signal frequency with respect to amplitude and
phase.
Cut-off frequency
is the frequency where the input signal is attenuated by 3dB (-3dB attenuation).
The phase shift between the output and the input is -45° at this frequency.
Precisely this cut-off frequency is called the bandwidth of a control loop.
Setpoint and disturbance behavior of a control loop
In this chapter you can read about:
Demand behavior .......................................................................................................... 185
Disturbance behavior ..................................................................................................... 186
Test functions ................................................................................................................ 186
Characteristics of a control loop setpoint response ........................................................ 186
The setpoint behavior is the behavior of the control loop for the setpoint variable W.
We assume that the disturbance variable Z=0.
The disturbance behavior describes the behavior of the control loop for disturbance
variable Z. In this case, we assume, in analogy to the setpoint behavior, that the
setpoint variable W=0.
Demand behavior
Z=0!
W X
Controller Control Process
Regler Regelstrecke
-
W: Setpoint value
X: Actual value
Z: Disturbance variable
Disturbance behavior
Z X
Control Process
Regelstrecke
-
Controller W=0!
Regler
W: Setpoint value
X: Actual value
Z: Disturbance variable
In order to examine the disturbance and setpoint behavior, the Compax3 setup
software offers 4 jerk functions.
Test functions
Test functions for the analysis of disturbance and setpoint behavior of the control
loops
1: 4 jerk functions
The properties of the setpoint behavior of the velocity controller can be acquired
from the velocity jerk response.
TSr: Response time. (Time elapsing until the control variable reaches one of the
+-5% tolerance limits for the first time)
TS: Settling time. (Time elapsing until the control variable ultimately enters the
+-5% range)
Vm: maximum overshoot width
1 Tolerance range +-5%
2 Setpoint value
Response
The response of the controller is the behavior of the actual value with respect to the
calculated profile of the setpoint generator. The kinematic status variables, speed,
acceleration and jerk are fed into the cascade as feedforward signals. The
feedforward signals work with calculated factors and contribute to an improved
contour constancy due to the minimization of the following error.
r
jw
t
aw Feed Foward Control
nw Vorsteuerung
iw , j w
a aw , n w
t
t
i
t
Signal Acquistion
Setpoint position
n Signalerfassung
Speed
x
Acceleration
Deceleration
Acceleration jerk
Deceleration jerk
Limitation behavior
Each control variable is limited by the control (actuating) element. If the control
variable demanded by the controller is within the linear range (without limitation),
the control loop shows the behavior defined by the design. If the controller
demands however a higher control variable than permitted by the limitation, the
control variable is limited and the controller slows down.
Hint You should therefore make sure that the control variable (output) of the controller
does not remain within the limitation or only for a very short time.
Cascade control
In this chapter you can read about:
Structure of a cascade control ....................................................................................... 188
Cascade structure of Compax3...................................................................................... 188
In drive technology, a cascading structure with several controllers (normally 3) is
often used. This improves the control behavior. For this, additional sensors must be
fixed within the control path. You will get the structure of a cascade control.
Process / Prozess
W1 Setpoint value (setpoint) for the superposed controller 2
W2 Setpoint value (setpoint) for the subordinate controller 1
X2: Actual variable (actual value) for controller 2
X1: Actual variable (actual value) for controller 1
The cascade control offers the following advantages:
Disturbances occurring within the control path, can be compensated in the
subordinate control loop. Therefore they must not pass through the entire control
path and are thus compensated earlier.
The delay times within the path can be reduced for the superposed controller.
The limitation of the intermediate variables can be made by the control variable
limitation of the superposed controller rather easily .
The effects of the non-linearity for the superposed controllers can be reduced by
the subordinate control loops.
In the Compax3 servo drive, a triple cascade control is implemented with the
following controllers - position controller, velocity controller and current controller.
Cascade structure of Compax3
Rigidity
In this chapter you can read about:
Static stiffness ............................................................................................................... 188
Dynamic stiffness .......................................................................................................... 189
Correlation between the terms introduced...................................................................... 190
The stiffness of a drive represents an important characteristic. The faster the
disturbance variable can be compensated in the velocity control path and the
smaller the oscillation caused, the higher the stiffness of the drive. With regard to
stiffness, we distinguish static and dynamic stiffness.
Static stiffness
The static stiffness of a direct drive is comparable with the spring rate D of a
mechanical spring, and indicates the excursion of the spring in the event of a
constant interference force. It is the ratio between the constant force FDmax of the
motor and a position difference. Due to the I term in the velocity controller, the
static stiffness is therefore infinitely high in theory, as the I term is integrated until
the control difference vanishes. In a digital control the static stiffness is above all
limited by the finite resolution of the position signal (the error must be at least one
quantization step, so that it can be detected by the reading system) and by
numerical resolution. Additional effects are for instance mechanical stiffness of the
mechanic components in the control path (e.g. load connection, guiding system) as
well as measurement errors of the measurement system.
Dynamic stiffness
In this chapter you can read about:
Traditional generation of a disturbance torque/force jerk ................................................ 189
Electronic simulation of a disturbance torque jerk with the disturbance current jerk........ 189
Disturbance jerk response ............................................................................................. 190
The dynamic stiffness is described by the ratio between the change in load torque
or in load force and the resulting position deviation (following error):
The higher this ratio (=dynamic stiffness), the higher the necessary change is load
torque in order to generate a defined following error.
The dynamic stiffness can be acquired from the disturbance jerk response.
FG FM
In settled state of the control, the motor force FM corresponds exactly to the load
force FG=m×g.
If the cord is cut through, the load force is eliminated abruptly and the controller
must first of all settle to the new situation.
In order to simulate this load jerk electronically, a disturbance current jerk is fed to
the Compax3 as a variable proportional to the disturbance torque at the velocity
controller output.
1 1
KT
1:
Feeding in of a disturbance current jerk, which corresponds to a disturbance torque jerk.
The maximum amplitude an the settling time of the following error decline with
rising dynamic stiffness. The settling behavior of the following error is furthermore a
measure for the attenuation and the bandwidth of the control.
Please observe: Faulty motor and application parameters may lead under certain circumstances to
instable controllers.
The controller parameters are not directly available for the optimization. Instead,
they can be changed with the aid of the following optimization parameters:
Optimization of the current controller Current loop bandwidth in %
dynamics: "Attenuation of current loop" in %
Optimization of the velocity loop "Stiffness" in %
dynamics: "Attenuation" in %
Velocity loop - "D" term in %
The bandwidth parameter states the actually effective % of the calculated default
velocity. The default bandwidth of the current controller is fixed to approx.
fGR=531Hz. In reverse this signifies that each motor delivers the same step
response. The prerequisite is, of course, that you keep out of the control signal
limitation (voltage limitation). The attenuation characterizes the controller's
tendency to oscillate with respect to an excitation signal (see below). The stiffness
(of the velocity loop, corresponds to the bandwidth of the current loop) describes
the velocity of the velocity loop (see below).
1: Setpoint value
2: Actual value (stiffness = 200%)
3: Actual value (stiffness = 100%)
4: Actual value (stiffness = 50%)
5: Actual value (attenuation = 500%)
6: Actual value (attenuation = 100%)
7: Actual value (attenuation = 50%)
The D-term parameter ( of the velocity loop) activates existing control oscillations of
drives with elastic coupling (e.g. toothed belt drives). The D-term is not
automatically designed and must therefore be set manually.
The position controller is automatically adapted depending on the stiffness of the
velocity loop.
Controller coefficients
In this chapter you can read about:
Velocity Loop P Term .................................................................................................... 192
D-term of the KD velocity controller ............................................................................... 192
P-term KV position loop ................................................................................................. 192
Dependence of the controller coefficients from the optimization objects
The controller coefficients are influenced by the optimization objects such as
"stiffness" and/or "attenuation". The dependency is displayed below.
I-term KI in the velocity loop
Standard
In this chapter you can read about:
Standard cascade structure ........................................................................................... 194
Standard optimization parameters ................................................................................. 195
Control signal limitations ................................................................................................ 195
Feedforward channels ................................................................................................... 197
Control signal filter / filter of actual acceleration value .................................................... 199
t KPx KPv
2210.4
Demand
680.6 2210.1 velocity 681.6 Synchronous Asynchronous 688.19 2220.4
Following error Control deviation Actual current r.m.s.
KPv
Motor Motor (torque producing)
of velocity
1 imR*
T 2100.7
680.8 682.6
Istwerterfassung
(units) actual filtered
2210.2 velocity
680.5
Position_Actual 2100.20
(incr)
682.5 Actual acceleration
unfiltered
681.9
actual velocity 2100.21
filtered 681.5 Actual velocity
unfiltered
Changing objects O100.1 and O100.2 may cause the control to be deactivated!
Protect dangerous areas!
Symbol Description
Kp Proportional term
signal is multiplied with Kp
T1 First order delay component (P-T1 term)
Kp,TN PI-block
Addition block
blue Optimization objects
description (simple pointer line)
red Status objects
description (pointer line with vertical stroke)
Standard optimization parameters
The above figure shows the parameters for the standard group. With the aid of
these parameters, you can optimize the standard cascade structure.
Example
MotorManager
maximum mechanical velocity of the motor: nmax=3100rpm
Rated speed of the motor: nN=2500rpm
C3 ServoManager
Max. Operating velocity: nbmax=200% of nN
=> 5000rpm
Example
Device
C3 S063 V2 F10 T30 M00 device peak current: IGmax=12.6Arms
MotorManager
Rated current of the motor: IN=5.5Arms
Peak Current: Iimp=300 %IN
=> 16.5Arms
C3 ServoManager
Current (Torque) Limit: Ibmax=200% of IN
=> 11Arms
Please note! In the event of highly dynamic motion cycles it is necessary to make sure not to
enter the control signal limitation (or, if so only for a very short time) as the drive is
then not in the position to follow the set dynamics due to the slow drive physics and
the limited control signal range.
Feedforward channels
In this chapter you can read about:
Influence of the feedforward measures .......................................................................... 197
Motion cycle without feedforward control ....................................................................... 197
Motion cycle with feedforward measures ....................................................................... 198
The feedforward channels are used for the specific influence of the guiding
behavior of a control. The calculated and evaluated status variables are coupled
into the corresponding places within the controller cascade. In practice, the
feedforward control offers the following advantages:
Minimal following error
Improves the transient response
Gives greater dynamic range with lower maximum current
The Compax3 servo drive disposes of four feedforward measures (see in the
standard cascade structure):
Velocity Feed Forward
Acceleration feed-forward
Current feed-forward
Jerk feed-forward
The above order represents at the same time the effectiveness of the individual
feedforward measures. The influence of the jerk feedforward may be, depending
on the profile and the motor, negligibly small.
Please note! But the principle of feedforward control fails in limiting the motor current or the
motor speed during the acceleration phase!
Velocity feedforward
Please note! It cannot be excluded that the filter may have a destabilizing effect even though set
according to the above recommendation. In this case the filter time constant must
be reduced.
Advanced
In this chapter you can read about:
Extended cascade (structure variant 1).......................................................................... 199
Extended cascade structure (structure variant 2 with disturbance variable observer) ..... 201
Optimization parameter Advanced ................................................................................. 202
EMC feedforward........................................................................................................... 203
Motor parameters .......................................................................................................... 203
Filter "External Command Interface" .............................................................................. 203
Voltage decoupling ........................................................................................................ 203
Load control................................................................................................................... 203
Luenberg observer ........................................................................................................ 203
Commutation settings of the automatic commutation ..................................................... 206
Notch filter ..................................................................................................................... 210
Saturation behavior ....................................................................................................... 212
Control measures for drives involving friction ................................................................. 213
f
2210.4 f
Demand
680.6 2210.1 velocity 681.6 Synchronous Asynchronous 688.19 2220.4
Following error Control deviation Actual current r.m.s.
KPv
Motor Motor (torque producing)
of velocity
1 imR*
T T 2100.7
680.8 682.6
Actual Value Monitoring
Changing objects O100.1 and O100.2 may cause the control to be deactivated!
Protect dangerous areas!
Kp,TN PI-block
Addition block
blue Optimization objects
description (simple pointer line)
red Status objects
description (pointer line with vertical stroke)
681.4
t Demand Velocity Velocity controller 688.14
2100.2 Stiffness Feedforwaed
Velocity current & jerk Current Controller
2100.3 Damping 2220.1 2010
feedforward 2150.1-.6 2100.8 Bandwidth
2100.4 Inertia .20
681.11 688.18 NotchFilter 2100.9 Attenuation 688.11
2010.1 Demand 2100.10 T Voltage control
demand Kp,TN
680.4 681.10 velocity fB
2100.20 T current r.m.s. signal
p Demand position fB
d
t KPx KPv d
f
2210.4 f
Demand
680.6 2210.1 velocity 681.6 Synchronous Asynchronous 688.19 2220.4
Following error Control deviation Actual current r.m.s.
KPv
Motor Motor (torque producing)
of velocity
T
1 imR*
T T 2100.7
Istwerterfassung
(units) actual filtered
2210.2 velocity
680.5
Position_Actual 2100.20 2100.10 2120.1>125 µs
(incr)
682.5 Actual acceleration
2120.1<125 µs unfiltered
681.9
actual velocity 2100.21 2100.11 2120.1>125 µs
filtered 681.5 Actual velocity
2120.1<125 µs unfiltered
Changing objects O100.1 and O100.2 may cause the control to be deactivated!
Protect dangerous areas!
Symbol Description
Kp Proportional term
signal is multiplied with Kp
T1 First order delay component (P-T1 term)
Kp,TN PI-block
Addition block
blue Optimization objects
description (simple pointer line)
red Status objects
description (pointer line with vertical stroke)
Optimization parameter Advanced
Current controller
The current controller works with a P component in the feedback; this results in
very low overshoot.
With the aid of object 2220.27 (Bit 0 = “1”), it is possible to switch to P component
in the forward path.
EMC feedforward
The EMC feedforward compensates the electromagnetically generated back e.m.f.
of the motor UEMC. This signal is proportional to velocity and is deduced from the
setpoint velocity of the setpoint generator.
Motor parameters
Furthermore you can re-optimize the motor parameters inductance, resistance and
EMC (or Kt) in the advanced mode. The LdLqRatio parameter is the ratio of the
smallest and the highest inductance value of the winding, measured during one
motor revolution.
Filter "External Command Interface"
Signal filtering with external command value (see on page 222, see on page
223, see on page 224)
Voltage decoupling
In the current control path there is a velocity and current proportional voltage
disturbance variable, which must be compensated by the current loop. Due to
limited controller dynamics, this disturbance variable can not always be entirely
compensated by the current loop. The influence of this disturbance variable may
however be minimized by activating the voltage decoupling.
Load control
If a second position feedback is available for the acquisition of the load position,
the load control can be activated.
For more detailed information on the load control see device help for
T30/T40 devices in the setup chapter Compax3\\load control.
Luenberg observer
In this chapter you can read about:
Introduction observer ..................................................................................................... 203
Signal flow chart Luenberg observer .............................................................................. 204
Introduction observer
A high signal quality of the actual signal value is of high significance in the control
of the motor velocity n or the motor speed v. By means of oversampling and
transmitter error compensation, a high-quality position signal can be produced for
speed determination. As a rule the motor speed is determined by numeric
differentiation of the motor position. In this case the quantization noise QvD of the
digital speed signal depends on the quantisation Qx of the position signal and the
sampling time TAR of the digital control loop:
Quantization speed signal QvD
The quantisation of the speed signal is inversely proportional to the sampling time
TAR. Hence the demands for the lowest possible sampling time and the minimum
quantization noise oppose each other in the determination of speed by numeric
differentiation. The noise superimposed by the digital speed signal may be reduced
by the low-pass filter, however this is always at the cost of the stability margin of
the digital control loop. An alternative method is to determine the speed by
integration of the acceleration. The dependence of the quantisation noise QvD of
the digital speed signal on the quantisation Qx of the position signal and the
sampling time TAR of the digital control loop is shown by the following correlation.
Quantization speed signal QvI
The observer technology offers the advantage that the velocity can be calculated
with the aid of integration. The idea of the observer principle is to connect a
mathematical model of the control path parallel to the section observed and with
the same transfer behavior. In this case, the controller also has the intermediate
variables (state variables) of the control path available. However in the presence of
model deviations (in structure or parameters), different signal values occur
between the model and the control path. For this reason, the technique cannot be
employed in this way in practice. However, the model contains the measurable
output signal of the control section as a redundant quantity. By comparing the two
variables, a tracking control can be used to adapt the model state variables to the
state variables of the control path. As the model deviations have become minor in
this case due to the simple mechanical drive train, the observer now has an
efficient aid available to increase the signal quality. Increase in signal quality in the
observer means that the noise components decrease, and the dynamics improve
as the observed speed is feedforward-controlled undelayed by the current and is
not just calculated delayed from the position signal using simple differentiation.
Beobachter / observer
Nachführregler / tracking controller
h0
-
h1 h2
-MLB
1
KT 2π ⋅ J G e s a (t)
nB(t)
B xB(t)
Modell / model
Note The use of the speed monitor with interference compensation (=> no I-term in the
speed control) needs an active position control. Without this superimposed control
the axis drifts, even with a speed setpoint value of 0!
Here the quantization of the speed signal is proportional to the sampling time TAR,
hence there is no longer any conflict between the requirements for minimum
sampling time and minimum quantization noise. For the integral velocity
acquisition, the motor current variable, which is proportional to the acceleration,
can be used. This approach is particularly advantageous in direct drive
engineering; due to the absence of a mechanical drive train, there is a very good
match between the mathematical model of the observer and the real physical
control section in the fundamental frequency range of the control. This applies in
particular to direct drive systems with fixed moving masses, as otherwise the
mismatch between model and the physical drive system has a destabilizing
influence on the transfer behavior of the speed control. A remedy is to increase the
observer dynamics, however this increases the noise of the observed signals.
Therefore in the case of variable moving masses a compromise has to be found
between the dynamics of the observer and the maximum stiffness of the drive.
Here, the drive is brought to the position with the provided motor torque=0, where
the angular error is either +-180° or 0°.
Motion reduction:
It is possible, to considerably reduce the motor movement occurring during the fine
angle search with the aid of the "motion reduction" parameter (O2190.4).
Please respect also that the acquired commutation result may be slightly worse
than without this measure.
Hint As a current well above the nominal motor current is provided here, there may be
saturation effects on iron core motors, which might lead to an instable current loop
(-> highly frequent "creaking noises" during the automatic commutation). This can
be avoided by activating the saturation characteristic line in the motor data.
Test for positive feedback (phase 3)
Here it is verified, if the motor performs a motion in the expected positive direction
in the event of positive current in the torque maximum. The same motion threshold
(defined via O2190.3) as in phase 1 is valid. The test is repeated several times.
A current course in ramp form is specified (target: minimum motion). The break
between the tests varies with he current rise time O2191.1.
Other
During the sequence (time according to parameterization>>1s) the automatic
commutation is externally visualized by a LED blinking code (green permanent
and red blinking).
Device errors will lead to an abort of the automatic commutation.
During automatic commutation, no motion commands are accepted.
The controller cascade entirely deactivated during automatic commutation, with
the exception of the current loop.
In multi-axis applications, the axes to be automatically commutated must be
awaited (output of the MC_Power block must deliver "True")!
The automatic commutation is only started if the drive is at standstill.
After the occurring and acknowledgement of a feedback error or a configuration
change of the feedback system, the automatic commutation must be performed
again, as it might be that the position entrainment in the servo controller is
interrupted (commutation information is lost).
Notch filter
In this chapter you can read about:
Effect of the notch filter .................................................................................................. 210
Wrongly set notch filter .................................................................................................. 210
Frequency response of the notch filter. .......................................................................... 211
Parameterization by 3 objects. ....................................................................................... 211
Notch filters are small-band band elimination filters which slope in a wedge form
towards the center frequency. The attenuation of this center frequency is extremely
high in most cases. With the aid of the notch filters it is possible to purposefully
eliminate the effects of mechanical resonance frequencies. With this, the
mechanical resonance point is not activated itself, but the excitation of this point of
resonance is avoided by the control.
In the Compax3, two notch filters which are independent of each other are
implemented.
Parameterization by 3 objects.
In this chapter you can read about:
This defines the frequency at which the notch filter attenuation is highest. In
practice it shows that notch filters can only sensibly be used if the distance
between the controller bandwidth (velocity loop) and the center frequency is long
enough (at least factor 5). This permits to deduce the following recommendation:
Note: If this distance is too small, the stability of the control can be very negatively
influenced!
This defines the width of the notch filter.
The value refers to the entire frequency band, where the attenuation of the filter is
higher than (-)3dB.
In practice it shows that even if there is enough distance towards the control, it can
be negatively influenced by too high bandwidths (higher than 1/4 of the center
frequency).
With this the size of the attenuation of the filter must be at the position of the center
frequency. One stands here for complete attenuation (-∞ dB) and zero for no
attenuation.
Saturation behavior
In this chapter you can read about:
Current jerk response .................................................................................................... 212
Current jerk response with the activated saturation characteristic line............................ 212
Saturation can be stated with the aid of current jerk responses at different current
height.
1) Actual current
2) Setpoint current
In the above figure we can see from the settling response that the drive shows a
distinctive tendency to oscillate at doubled current. The saturation characteristic
line, which is used to linearly reduce the P-term of the current loop depending on
the current, helps against such a saturation behavior.
If you respect the saturation for the above example with the aid of the saturation
characteristic line, the tendency to oscillate of the current loop can again be
activated.
Note: In order to accept the changes in the MotorManager in the project, the
entire configuration must be confirmed.
In order to make the changes from the MotorManager effective in the device, the
configuration download must be executed.
KVv
2200.20 Deadband –
2200.24 Filter - Tracking Error Tracking Error
T1
KPx
-
680.6 Position Tracking error
The deadband does no longer supply a velocity setpoint value (zero) for the
subordinate velocity loop at small following error. The integrator of the velocity loop
stops integrating and the system comes to a standstill.
In order to prevent that the velocity loop is excited by the noise on the following
error, the following error should be filtered before the deadband, which will lead,
however, to delays in the position loop. The deadband to be set depends on the
friction behavior (amplitude of the limit cycle) and on the noise on the following
error (the noise must remain within the deadband).
Friction compensation
2100.2 Stiffness
2100.3 Damping
KI
T
Kpv
- - -
681.10 Setpoint Speed 681.6 Speed Kpv
2100.7 Velocity loop - "D" term
Tracking error
KD
The friction compensation helps the control to surmount static friction at low
setpoint speeds. The non linear characteristic line is partly compensated by this
and a smaller deadband can be chosen, which will increase the position accuracy.
The amplitude of the friction compensation depends on the application and must be
calculated if needed. If the value is set too high, corrective movements may result
and the tendency to oscillate is increased.
Commissioning window
In this chapter you can read about:
Load identification.......................................................................................................... 214
Setpoint generation ....................................................................................................... 214
With the aid of the setup window, the drive can be set up in a simple way.
Load identification
If you do not know the mass moment of inertia, it can be determined. For this, you
click on the corresponding button (see setup window no. 13). After the following
parameter entry, the identification can be started via the same button.
For more detailed information on the load identification, see the device help,
chapter "load identification".
This measurement requires the correct EMC or torque constant value Kt.
Setpoint generation
In this chapter you can read about:
Internal setpoint generation ........................................................................................... 214
External setpoint generation .......................................................................................... 216
The setpoints for the control loops are provided in two different ways - internally or
externally. The setpoint generation depends on the technology option of the device.
xW Position
nW Velocity
aW Acceleration
jW Jerk
The drive cannot move randomly through hard profiles, as certain physical limits
exist for the acceleration ability due to the motor physics and the limitation of the
control variable. You must therefore make sure that the set movement corresponds
to the real physics of the motor and of the servo drive.
As a support you can take the following physical correlation.
MA: Drive torque of the motor FA: Drive force of a linear motor
ML: Load torque of the motor FL: Load force of a linear motor
Jtotal: entire mass moment of inertia mtotal: Total mass of a linear motor
a: possible acceleration
The generation of the setpoint profile is jerk-controlled and jerk-limited by the
specification of the jerk.
In practice, jerk-limited setpoint generation is important if the items to be moved
must be handled gently. In addition, the service life of the mechanical guiding
system will be extended. A separate setting of jerk and slope of the deceleration
phase also permits overshoot-free positioning in the target position. For this
reason, it is common practice to use higher values for acceleration and jerk in the
acceleration phase than in the deceleration phase. In consequence a higher cycle
rate can be achieved.
An additional important reason for the jerk limitation is the excitation of higher
frequencies due to the too high jerk in the power density spectrum of the velocity
function.
Jerk=1000°/s3 Jerk=1000000°/s3
Time function:
The profile can be simply calculated and displayed for control purposes.
Hint For more detailed information on the external setpoint generation see device help
for T11/T30/T40 devices in the "setup" chapter Compax3\\optimization\\controller
dynamics\\signal filtering at external setpoint specification"
Test Move
In order to evaluate the behavior of the drive, test movements can be defined. For
this you jump into the parameter entry either with the aid of the “enter setup/test
movement parameters” or by selecting the parameter tab. Via the “setup settings”
menu you access the settings for the desired test movement.
The desired motion profile can be set via the parameters in the following window.
Default:
no 1. Switch on advanced mode
2. Set bandwidth of current control to30%
3. Set stiffness to 70%
4. Set control signal filter to3000µs (only if no gear is present)
5. Activate VP and switch to standard
Energize
see chapter
“stability , attenuation”
yes
Smooth, stable behavior
no
Further optimization necessary?
yes
See chapter “oscillating plants”
yes
Is the controlled system oscillating ?
End
Setpoint speed
Actual speed
Incrase attenuatin
Setpoint speed
Actual speed
yes
Smooth, stable behavior?
no
yes
Please note that a stronger filtering may destabilize Move over the entire positioning range, verify the
the control loop Please try to find a compromise settings and correct if necessary.
between the signal quality (filtering ) and the Store settings with WF!
controller speed (stiffness )
yes
Further optimization necessary?
no
“Controller
optimization
Main diagram Advanced”
no
Smooth, stable behavior?
yes
yes
Smooth, stable behavior?
no
yes
Smooth, stable behavior?
no
Main diagram
Observer technology
Observer time constant (Obj. 2120.1) >=125µs
(the higher the value, the slower the observer)
yes
Smooth, stable behavior?
no
Main diagram
no
“Controller
Select speed jerk response in the setup window /
optimization
tab “parameter), select the size of the jerk and
standard”
define jerk.
Respect the setpoint speed and the actual speed
yes
Smooth, stable behavior?
no
Main diagram
no
no
Setpoint velocity Actual velocity
no
Following error Setpoint current Following error Setpoint current
Acceleration feed Acceleration feed
forward=100% forward=90%
Increase setpoint speed by 10%-20%
Main diagram
Control structure
680.10
true
2011.4 2011.5 2110.7
681.4
2(v,a)
+/-10V
TRF 2020.1(x) speed
B Physical speed
3(x,v,a)
true
2107.1 1141.4 TRF 2110.6
685.3 3920.7
3920.1 SG1 680.12
RS
Virtual 3(x,v,a)
1141.7 (x) 680.4
Master
1141.8 (v)
3921.1 3921.7(x)
3(x,v,a)*
CANSync
Inter-
PowerLink
EtherCat
polator
3925.1
Symbols
Tracking filter
TRF The displayed filter influences all outputs of the tracking filter.
Number: Object number of the filter characteristic
2110.1
Differentiator
Output signal = d(input signal)/dt
The output signal is the derivation (gradient) of the input signal
Filter
Number: Object number of the filter characteristic
Interpolation
Linear Interpolation.
interpolation
Values in the 500µs grid are converted into the more exact time
500µs => 125µs grid of 125µs.
Note:
A jerk setpoint generator is not required for external setpoint specification.
The description of the objects can be found in the object list (see on page 515).
Control structure
680.10
2011.4 2011.5 2110.7
681.4
+/-10V
TRF 2020.1(x) speed
B Physical speed
HEDA TRF 0
Structure 2110.1
HEDA 2 D E position
1 5
of Cam
2000.2 2109.1
RS
Virtual
3021.2 680.4
Master
3921.1 3921.7(x)
CANSync
Inter-
PowerLink
EtherCat
polator
3925.1
Symbols
Tracking filter
TRF The displayed filter influences all outputs of the tracking filter.
Number: Object number of the filter characteristic
2110.1
Differentiator
Output signal = d(input signal)/dt
The output signal is the derivation (gradient) of the input signal
Filter
Number: Object number of the filter characteristic
Interpolation
Linear Interpolation.
interpolation
Values in the 500µs grid are converted into the more exact time
500µs => 125µs grid of 125µs.
Note:
A jerk setpoint generator is not required for external setpoint specification.
The description of the objects can be found in the object list (see on page 515).
The function of the inputs depends on the Compax3 device type; please refer to
the respective online help or the manual.
Caution!
Please consider the effects of the or-linking; above all on low-active
functions.
After the input simulation has been called up, all simulated inputs are on “0”.
When the input simulation is left, the physical inputs become valid.
Note: The parameters of the commissioning window are saved with the project and are
loaded into Compax3 if the commissioning mode is activated (see explanation
below).
* for IxxT11 -
<== For Compax3 I2xT11: devices, both jerk
via a configuration upload values are identical
in the commissioning window via
"accept configuration"
Please note the explanations for the Load control (see on page 152)!
4.4.7.1 Principle
The load characteristic value is automatically determined.
For this it is necessary to excite the system additionally with a signal (excitation
signal = noise).
The excitation signal is fed into the control loop. The control loop dampens the
excitation signal. Therefore, the superimposed control loop is set so slowly by
reducing the stiffness, that the measurement is not influenced.
A superimposed test movement is additionally possible. This helps to eliminate
possible mechanical effects such as rubbing caused by friction.
Caution! The drive will perform a jerky movement during load identification!
4.4.7.4 Tips
Tip Problem Measures
1 Speed too low Increase maximum speed and adapt travel
(with reverse operation) range*
2 Speed too low Increase maximum speed
(with continuous operation)
3 Test movement missing A test movement is important for drives with
high friction or with mechanical slack points
(play).
4 No error detected Please note the boundary conditions (see
on page 229).
5 Speed too low and amplitude of Increase amplitude of the excitation signal;
the excitation signal too small increase maximum speed and adapt travel
(with reverse operation) range*
6 Speed too low and Increase amplitude of the excitation signal;
amplitude of the excitation increase maximum speed.
signal too small
(with continuous operation)
7 Test movement missing Increase amplitude of the excitation signal
amplitude of the excitation or / and
signal too small activate an appropriate test movement
8 amplitude of the excitation Increase the amplitude of the excitation
signal too small signal.
Attention”
This wizard guided automatic alignment does not work if you bridge Ain+ with
Ground for the alignment!
In this case, please make a manual alignment as described below.
or
by directly entering under optimization: Analog Input
B
T
config
Analog 0 685.3
X11/9 + Actual
value
X11/11- monitoring +
Analog 1 685.4
X11/10+ Actual
value
X11/2- monitoring +
4.4.9. C3 ServoSignalAnalyzer
In this chapter you can read about:
ServoSignalAnalyzer - function range ............................................................................ 233
Signal analysis overview ................................................................................................ 234
Installation and activation of the ServoSignalAnalyzer ................................................... 235
Analyses in the time range............................................................................................. 237
Measurement of frequency spectra ................................................................................ 240
Measurement of frequency responses ........................................................................... 243
Overview of the user interface ....................................................................................... 249
Basics of frequency response measurement ................................................................. 262
Systems / signals
Depending on the kind of measurement, the SignalAnalyzer can help analyze the
most different signals and systems.
Signal generator
This allows to inject different excitation signals (step, sine and noise signals) into
the control loop.
Superposed system
For different analyses, superposed systems must be manipulated in order to allow
a measurement. After the measurement, the changes made for this purpose are
reset
C3 software oscilloscope
With the aid of the software oscilloscope, the contents of different objects can be
registered and be loaded into the PC for further analysis.
Control and signal processing
The control of the entire measurement as well as the processing of the uploaded
sample data are made in the PC.
Activation
In order to being able to use the analysis functions in the frequency range (for
example frequency response measurement), a software activation is required.
Please observe:
The activation is only valid for the PC on which it was performed!
Caution!: If the PC disposes of network adapters which are removed at times (e.g.
PCMIA cards or notebook docking stations), these adapters should be removed
before generating the key!
Acknowledge with OK and enter the key, which is on your clipboard, into an
e-mail, which you please send to [email protected]
(mailto:[email protected]).
After receipt of the reply, copy the attached file "C3_SSA.KEY" into the C3
ServoManager directory (C:\\Programs\\Parker Hannifin\\C3Mgr2\\).
=> the software is activated.
Position demand value step: For analysis of the demand value behavior of
the position control
Step value < (admissible motion range / 2)
=> even a 100% overshoot does not incite an error message
Speed demand value step: For analysis of the demand value behavior of the
speed control
The position control is switched off during the measurement, this might lead in
exceptional cases to a slow drift of the position.
Furthermore you should make sure that the selected speed step value corresponds
to the parameterized admissible motion range.
Step value < (admissible motion range / time of measurement)
with time of measurement > 2s
Current demand value step: For analysis of the demand value behavior of the
current control
The current setpoint jerk is set at the end of the oscilloscope recording time, but is
reset to 0 after max. 50mS.
Caution!
Many systems are not stable without control!
Position as well as speed control are switched off
during measurement =>
no measurement on z-axes!
When exceeding this value, an error is triggered, the controller decelerates and
reports an error.
When measuring the velocity setpoint jerk, the maximum permitted velocity is set to
twice the step height.
Setting and automatic start of the oscilloscope:
After pressing "accept entries", the parameters of the oscilloscope (such as
scanning time and the assignment of the individual channels) are automatically set
to default values according to the respective step value.
When starting the step function, the oscilloscope is automatically started.
Start of the measurement
The start of the step function is made with the aid of the highlighted button.
Please note that you require a license key (see on page 235, see on page 233)
for this application!
During the spectral analysis of scanned signals with the aid of the discrete Fourier
transformation, a so-called frequency resolution (Df) results, Df being =fA/N,
independently of the scanning frequency (fA) and of the number of measurement
values used (N).
The spectra of scanned signals are only defined for frequencies, which are an
integer multiple of this frequency resolution.
Display of the leak effect with the aid of a 16 point discrete Fourier transformation
Complete oscillation period in the scanning Non complete oscillation period in the scanning
period period
Sine at 204Hz
The spectrum is faded in the ranges at the right and at the left of the sine
frequency. In this range, an amplitude is displayed, even though these
frequencies are not contained in the real signal.
The height of the peak of the sine frequency is reduced, => it seems as if the
signal energy is leaking out and distributing over the spectrum. This explains the
term leak effect.
Windowing
With the aid of the windowing, leak effects can be avoided. There are many
different kinds of windowing, who do all have the same restrictions.
windowing reduces the total energy of the analyzed signal, which results in a
reduced amplitude of all measured frequencies.
Individual frequency peaks do not appear so sharp and narrow as with
measurements without windowing.
Please note that you require a license key (see on page 235, see on page 233)
for this application!
with
A problem are, however, superimposed systems (the control)
Course of the measurement
Superimposed controls are switched of (open Loop) or attenuated
The excitation signal is injected in front of the system to be measured with the aid
of the signal generator. Wait, until the system settled.
Execution of the measurement: Registration of input and output signal with the
aid of the oscilloscope.
Upload of the measurement values from the controller into the PC.
Processing of the measurement values into a frequency response
If a cumulated measurement is configured: Averaging over several frequency
responses.
During cumulated measurement, an average is taken over all measurements in the
result memory and the result is then put out.
Caution!
Many systems are not stable without control!
Position as well as speed control are switched off
during measurement =>
no measurement on z-axes!
If you want to analyze for example the mechanic system of a z-axis, the position
control as well as the speed control must remain active.
In systems subject to friction it may be necessary in order to improve the quality of
the measurement, to move the system with a superimposed speed (see on
page 247), which is however only possible with a closed loop measurement.
At the left without, at the right with the influence of the superposed control
Excitation Signal
In order to be able to analyze the behavior of the system at individual frequencies,
it is necessary that these frequencies can be measured in the input signal as well
as in the output signal. For this, a signal generator excites all frequencies to be
measured. For this applies, that the signal noise distance of the measurement is
the larger, the larger the excitation of the system.
High noise distance => low influence of disturbances on the measurement.
Due to the non-linear transmission behavior of the system, many "new" frequencies
were generated in the output signal. In the frequency response, only one change of
the frequency present in the input signal can be displayed meaningfully.
=> The frequencies generated in the spectrum of the output signal lead to a
deterioration of the measured frequency response.
There are however two possibilities to make successful measurements of
frequency responses in spite of non-linearities present:
The signal range is reduced so that approximately linear conditions are valid. The
results of the measurement will then display the dynamic behavior at the working
point.
Signal amplitude large with offset => no non-linearity in the signal range
For this, the signal range is shifted so that approximately linear conditions are valid
=> the results of the measurement show the dynamic behavior at the working point.
With the aid of the tree structure, you may select what you want to measure. Here,
the selection is made, if a frequency spectrum or a frequency response is to be
measured.
The shown structures are simplified in such as all feedbacks are displayed without
special transmission behavior. This is surely not the case in reality, serves however
a better overview.
Current control
Application:
Current to velocity
Shows the dynamic behavior between the measured current actual value and the
velocity actual value
Signal Frequency
generator response
measurement
f: disturbance torque
Application:
for the analysis of the dynamic behavior of the mechanic system
Current to position
Shows the dynamic behavior between current actual value and position actual
value.
Signal Frequency
generator response
measurement
f: disturbance torque
Application:
for the analysis of the dynamic behavior of the mechanic system
Position control
Application:
Application:
For the graphic design of the position control.
Application:
Verification of the dynamic disturbance value behavior of the position control.
Which following error generates a sinusoidal disturbance torque / disturbance
current with the frequency fZ ?
The frequency response of the compliance corresponds to the disturbance step
response in the time range
Frequency settings
Speed control
Application:
During the optimization of the velocity control for verification
For the design of superposed controllers.
Application:
For the graphic design of the velocity control.
Application:
Verification of the disturbance value behavior of the velocity control
Which velocity deviation generates a sinusoidal disturbance torque / disturbance
current with the frequency fZ ?
The frequency response of the compliance corresponds to the disturbance step
response in the time range
Other settings
(1) Excitation
Serves to set the excitation signal of the frequency response measurement.
(2) Permissible following error (only for frequency response measurement)
The resulting following error is increased by the injection of the excitation signal
during the frequency response measurement. In order to allow for this, the
permissible following error window can be enlarged so that the measurement can
be made. After the end of the measurement, this is reset to the original value.
(3) Selection of the kind of analysis of the measurement results
Depending on the fact whether frequency spectra or frequency responses are
measured, the following types of analyses are available:
This kind of display is suitable for the analysis of temporal changes in the
measured spectrum.
Result memory
In the result memory, the results of the N last measurements are kept.
This is important for the display of the cumulated measurement and for the
cascade diagram. The larger the memory, the "older" the results still used. When
the contents is deleted, all old measurements are discarded and do no longer
influence the new results.
By clicking with the left mouse button on the legend, this can be shifted by 90°.
By clicking on the color bar, the color of the respective graph can be modified.
Cascade diagrams
By clicking with the left mouse button on the color scale, you can change between
autoscale mode and fixscale mode.
AutoScaleMode:
In this mode, the scaling of the color scale is adapted automatically so that all
values can be displayed.
FixScaleMode:
Here, the scaling is fixed.
=> If, for instance, a considerably higher value than before is to be displayed, it is
simply displayed like the former maximum (red).
The cursor is set by clicking on the left mouse button. All measurement data of the
selected cursor position (frequency) are displayed in the "cursor" operating field.
In the drive and control technology, the display of signals and systems in the
frequency range is often the best possibility to solve different tasks.
In this chapter you can read about:
Distinction between signals and systems ....................................................................... 262
Linear Systems (LTI System)......................................................................................... 263
Mechanical system ........................................................................................................ 264
Resonance points and their causes ............................................................................... 265
Current is therefore a signal, which causes at the input of the system motor a
change of its torque output signal.
In order to register and process such signals in the controller, they are digitized and
read in with the so-called scanning frequency (fA). Thus the physical signal was
converted into a finite sequence of numbers, which can be processed in the
controller.
If you know the value (V(f0)) as well as the phase position (u(f0)) for all
frequencies, the LTI system is completely defined.
Such a graph of value and phase position in dependence of the frequency, is called
frequency response or bode diagram.
=> only LTI systems can be analyzed with the aid of frequency responses.
Frequency response / bode diagram
The frequency response shows the amplification (value) and the phase shift
(phase), which a signal is submitted to when passing through a system.
The displayed bode diagram allows the following conclusions:
If a sine with 60Hz and an amplitude of 1A is present at the input, a sine delayed
by 94° and an amplitude of 0.01m/s will result at the output.
Mechanical system
Frequency response of a mechanic system: Current - velocity of a motor
The outlined course at the end of the measurement range does not permit
statements on the system measured due to disturbances. Due to the attenuation of
the signals increasing with the frequency, the sensitiveness of the measurement to
disturbances (signal to noise ratio) increases with a rising frequency. The value as
well as the phase response of the displayed frequency response are "disturbed" at
the same intensity, this shows, that disturbances are the reason.
The value response consists basically of a straight, which declines with a slope of
-20dB/decade (-20dB/decade => per tenfold increase of the frequency, the value
decreases also by factor ten.
The phase response remains however almost constantly at -90° over a relatively
large range.
In control technology, this is called integrating behavior (I-behavior).
the I-behavior can be explained as follows.
The measured current is proportional to the motor force and thus also to the
acceleration of the driven mass. As the velocity is calculated from the integrated
acceleration, the measured system looks as follows:
f: disturbance torque
1
Kt 2*Pi*J
velocity controlled
system
Input value is the current actual value, output value is the velocity actual value
Hint As, upon closer examination, each mechanic coupling shows a certain elasticity, it
is no the question if there is a resonance point, but at which frequency it is and how
well it is attenuated.
The shown system corresponds for instance to a motor with a flywheel coupled via
a shaft. Hereby J1 corresponds to the motor moment of inertia and J2 to the
moment of inertia of the flywheel.
D Rigidity in [N/m]
m1 e.g. motor mass
m2 e.g. load mass
In toothed belt drives, the toothed belt is the elastic coupling element. Its rigidity
depends directly on the lengths I1 and I2 and changes in dependence of the
position of the moved mass.
You will find the ProfilViewer in the Compax3 ServoManager under the "Tools"
Menu:
Example:
35% 30%
100%
Thereafter the motor is braked to zero rotation speed on the set ramp.
When zero speed is reached, the motor is de-energized with the delay "brake
closing delay time".
powered 1
Motor
de-energized 2
t
Open 3
Brake
Engage 4
5 t
1: Motor powered
2: Motor de-energized
3: Open brake
4: Engage the brake
5: Brake closing delay time
The power output stage is enabled by:
Quit (acknowledge) (after error) with the MC_Reset module
by activating the MC_Power module
the ServoManager
The motor is energized with the delay "delay time for brake release”:
brake closing delay time > 0 brake closing delay time < 0
1 powered 1
Motor
2 de-energized 2
t t
3 Open 3
Brake
4 Engage 4
5 t 6 t
1: Motor powered
2: Motor de-energized
3: Open brake
4: Engage the brake
5: Delay time for brake release (positive value)
6: Delay time for brake release (negative value)
A negative value (6) can be used to energize the motor and then to release the
brake after the given time.
5. Motion control
In this chapter you can read about:
Programming based on IEC61131-3 .............................................................................. 270
Status diagrams............................................................................................................. 280
Control functions............................................................................................................ 282
Reading values .............................................................................................................. 288
Positioning functions (standard) ..................................................................................... 292
Superimposed motion .................................................................................................... 315
Cam Control .................................................................................................................. 327
Cam switching mechanism ............................................................................................ 405
Error handling ................................................................................................................ 416
Process image............................................................................................................... 420
Interface to C3 powerPLmC........................................................................................... 431
IEC examples ................................................................................................................ 436
Profibus: Simulate Profidrive profile (C3_ProfiDrive_Statemachine)............................... 442
Emulate CanOpen DS402 (C3_DS402_Statemachine) ................................................. 444
5.1.2. Prerequisites
Installation of the CoDeSys programming tool.
Installation of necessary Target Packages (target systems):
Bring up the "InstallTarget" program (program group "3S Software": "CoDeSys
V2.3")
Select the target file; file name from “Open”; file name: "Compax3.tnf".
The selected target can be installed with "Install".
The old target is still available for programs that were created earlier (created with
Compax3 software version < V2.0).
CoDeSys for Compax3: for Compax3 T30
This programs are thus still capable of running.
When migrating to a new target, you must be certain that the module and object
names have been changed.
Edit the appropriate parts of the IEC program accordingly.
Download to After the IEC61131 program has been developed and compiled with CoDeSys, it is
Compax3 downloaded to Compax3 by means of the ServoManager (in “Download: PC ->
Compax3").
Program test For testing your program directly with Compax3, you may use the Compax3
IEC61131-3 debugger (the debug functions of CoDeSys are not supported in
conjunction with Compax3). The debugger is called up from the ServoManager
(under Programming: IEC61131-3 debugger). It automatically accesses the last
IEC61131-3 program in the ServoManager to be loaded into Compax3 with
"Download: IEC61131-3" and makes its modules and variables available in the
project tree.
The data from Compax3 are read via the instruction “log in”. Please note in this
regard that the interface to Compax3 can only be assigned once: Online functions
in the ServoManager such as Upload, Download, Status display in the Optimization
window or oscilloscope functions are not possible simultaneously. These functions
interrupt the connection between debugger and Compax3 automatically.
ST(N)
:=
CAL(C/N)
JMP(C/N)
CASE
DO
ELSE
ELSIF
END_CASE
END_FOR
END_IF
END_REPEAT
END_WHILE
EXIT
FOR
IF
REPEAT
THEN
TO
UNTIL
WHILE
Numeric functions
ABS, SQRT, SIN, COS
FlipFlops
RS, SR,
Trigger
R_TRIG, F_TRIG,
Numerator
CTU, CTD, CTUD,
Timer
TON, TOF, TP,
maximum 8 pieces, time resolution 0.5ms
(the number of timers required is displayed in the CoDeSys output window during
compilation)
Note! Please note, that integrated function modules do also require program memory.
The required program memory can therefore increase due to a Targets update,
even without any program changes.
In general, it
applies: Objects that are not described here are reserved objects!
Note:
Before compiling you have to enter for which Compax3 versions the compilation is
to be executed.
Please note that when selecting “all versions” not all functions are available, only
the minimal range of functions is supported.
Only if the latest firmware version was selected (and the corresponding firmware is
loaded in the target Compax3) all functions described here are supported.
Status of the The outputs "Done", "InVelocity", "Error", "ErrorID" and "CommandAborted" reset
outputs with the falling edge of the "Execute" input.
If the "Execute" input goes back to FALSE again before the module action (for
example positioning) has been completed ("pulse to Execute"), the corresponding
outputs (for example “Done”)is set upon termination for precisely ONE cycle.
The outputs "Done" and "Error" are never simultaneously TRUE.
If the instance of a function module receives a new "Execute" signal before the
function ends, the module will not show any response (no "Done" and no
"Command Aborted") in reference to the previous action.
Input parameters Parameters are accepted with the rising edge of the "Execute" signal.
To be able to accept modified parameters, the module must be triggered again
with an "Execute" signal.
Missing input If an input parameter is missing, the previous value of this instance will be used in
parameters accordance with IEC61131-3.
On the 1st. callup, the standard value is used.
Position and "Position" is a value that is defined for a reference system, i.e. a specific position
distance value is a fixed location in the reference system.
"Distance" is the difference between 2 positions.
Sign "Velocity", "Acceleration", "Deceleration" and "Jerk" are always positive variables.
"Position" and "Distance" may be positive or negative.
Error handling All function modules have an "Error" output that can be activated by a module
during a module sequence.
The ErrorID (error number) can be read by an axis error with the
"MC_ReadAxisError" module.
Behavior of the The "Done" output is set if the function module has been successfully executed.
"Done" - output If one positioning process is interrupted by a second If one positioning process is
interrupted by a second before it is complete, the first function block no “Done”
Value range of the Please note that the limits are specified in revolutions.
movement To convert to the configured unit, multiply the min/max values by the "travel
parameters distance per motor revolution".
Linear motors With a configured linear motor, all revolution data must be replaced by pitch.
To convert to the configured unit, the min/max values must be multiplied by the
pitch length (see the technical data for the motor).
MC_MoveAbsolute
MC_MoveRelative MC_MoveSuperimposed
MC_MoveAdditive C3_TorqueControl
MC_MoveSuperimposed MC_MoveVelocity
MC_MoveAbsolute
MC_MoveRelative
MC_MoveAdditive
Continuous
Discrete Motion C3_TorqueControl
MC_MoveVelocity Motion
MC_Stop MC_Stop
Stopping
Error Error
Done
MC_MoveRelative Error MC_Power.Enable
MC_MoveAdditive =FALSE
MC_MoveAbsolute
MC_MoveSuperimposed
not MC_Stop.Done
Reaction 2
Reaction 1
powered
powered AND NOT
MC_Stop.Execute
ErrorStop
C3_TorqueControl
MC_Stop MC_Reset MC_Move Velocity
MC_Stop
Error Error
MC_Reset
Homing Done
MC_Home powered
Standstill
MC_Power.
not powered Enable = TRUE
MC_Power.Enable = FALSE
MC_Stop MC_Stop
Stopping
MC_Stop.Done
MC_MoveAbsolute Done
AND NOT
MC_MoveRelative
MC_Stop.Execute
MC_MoveAdditive
MC_Stop
MC_Move
Velocity
MC_Stop
Done
Homing Standstill
MC_Home
Note: Please note that the virtual axis is only available for function modules listed in the
status diagram.
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Enable BOOL Activates the module;
A rising edge on the input activates the drive, a falling edge
deactivates the drive with the ramp defined for errors (see
on page 142).
Please observe:
The configured error ramp is limited. The error ramp
will not be smaller than the deceleration set in the last
motion set.
VAR_OUTPUT
Status BOOL State of the power output stage (TRUE=drive activated,
FALSE=drive deactivated)
Error BOOL Error when activating or deactivating the drive
Notes:
If the input parameter “Enable” is set to “TRUE”, all enables of the drive are set.
The command is only accepted if the axis is not yet or still active (Output “State” =
FALSE). Furthermore, the device may not be in error state.
All enables will be reset if the input parameter "Enable" = FALSE, the axis
decelerates with the configured error ramp to speed = 0 - the “state” output
remains on “TRUE” during downramping.
Compax3 Servo: During automatic commutation, the output “State" is not set to
TRUE for activation, but rather not until after automatic commutation has been
successfully completed.
Compax3 Servo: With Asynchronous motors, the output “State" is not set to
TRUE for activation, but rather not until after the magnetization current has been
successfully built up.
An enable is denied until the intermediate circuit is loaded, this may take up to 2s
when switching on Compax3H for the first time.
In the Compax3M, an enable is denied if the mains module is in the initialization
phase (e.g. the intermediate circuit is not yet completely loaded) or the
communication between axis and axis combination is not active.
If the drive is in error state (error reaction 1: controller active) and the enable of
the MC_Power is deactivated, the drive is deactivated (error reaction 2).
C3 powerPLmC Note: This module is also available as group function block. You
can then trigger this function for the entire Compax3 group.
The “Error” output is generated, if activation is not possible. Possible cause:
Device in error state, activation of a different IEC module after execution of the
MC_Power.
The “Error” output is generated, if deactivation is not possible. Possible cause:
Activation of a different IEC module after execution of MC_Power.
Compax3 Servo: On motors with brake, the configured braking delay for opening
the brake leads to a temporal delay of the “state” output with reference to control
of the “enable” input.
MC_Power
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Stops the movement
Deceleration DINT Value of deceleration (always positive) [Units/s²]
Range of values: 0.24 rev/s² ... 1000000 rev/s²
Please observe:
The configured STOP ramp is limited. The STOP
ramp will not be smaller than the deceleration set in
the last motion set.
VAR_OUTPUT
Done BOOL Movement stopped
Error BOOL Error while stopping positioning
Note:
As long as the "Execute" input is set, the axis remains in the "Stopping" status (as
long as the axis is activated) and is unable to execute any additional movement
commands!
If the axis is deactivated by setting the Enable signal of the "MC_Power" module
to FALSE, the Stopping state will then be exited.
If the enable signal of the "MC_Power" module is set to TRUE again, the axis
goes back to the "Stopping" state again if the Execute input of the "MC_Stop"
module is still TRUE.
Compax3 T40 note: Curve operation upon STOP: The master position and the
curve are not influenced by a STOP of the axis.
The acquisition and cam generation continue; this means that the curve output is
available in the event of an average.
If the curve is to restarted after the STOP without consideration of the previous
history, the “C3_CamReset (see on page 360)“ module must be executed after
stop.
C3 powerPLmC Note: This module is also available as group function block. You
can then trigger this function for the entire Compax3 group.
MC_Stop
Done
Velocity
Stopping
Standstill
Note: If a positioning is to follow immediately after the stop, this can take place with the
falling edge of the done output at the earliest:
MC_Stop MC_MoveRelative
1000 Jerk
1000 JerkDecel
AXIS_REF_LocalAxis Axis
MC_MoveRelative MC_Stop
1000 Jerk
1000 JerkDecel
AXIS_REF_LocalAxis Axis
MC_Stop.
1
Execute (Stop Axis)
0
1 t
Done (Stopp)
0
t
MC_MoveRelative.
1
Execute (go)
0
Command- 1 t
Aborted 0
Bewegungsablauf t
Moving diagram
Velocity
VAR_INPUT
OpenBrake BOOL "TRUE" opens the motor holding brake
When current is being supplied to the drive, the input has no function.
C3_OpenBrake
OpenBrake : BOOL
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Enable BOOL Activates the module, continuous reading of the axis
position as long as Enable=TRUE
VAR_OUTPUT
Done BOOL Position value available
Error BOOL Error while reading the position
Position REAL Axis position
Note: -
MC_ReadActualPosition
You can read the current position of the axis with this module.
As long as the input parameter "Enable" = TRUE, the current parameter value will
be supplied cyclically (see on page 432) to the output parameter "Position".
The status of the input parameter must be present for at least one module call.
The following illustration shows the behavior of parameters in the
MC_ReadActualPosition function module.
MC_ReadActualPosition
go Enable Done
Position
MC_ReadActualPosition
1
Enable
0
1 t
Done
0
1
Position
0
VAR_INPUT
Enable BOOL The desired rows can be read with the Enable input (after
selecting "Row").
Row INT Desired table row (1 ...120).
This input works with object 1900.1, please respect this, if
you access object 1900.1 directly in addition.
VAR_OUTPUT
Error BOOL The output Error signalizes that there was an error during
reading out the array
(non existing row selected on the Row Input).
Col1 – Col9 REAL The individual columns of the array can be accessed
INT through outputs Col1 through Col9.
DINT
Notes: - Rows will be read cyclically as long as Enable = TRUE.
C3_ReadArray
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Enable BOOL Activates the module; continuous outputs of output
parameters as long as Enable=TRUE
VAR_OUTPUT
Done BOOL Status values available
Error BOOL Error while executing module
Errorstop BOOL Error stop function. The motor brakes as specified by the
stop ramp and is de-energized;
Stopping BOOL The motor is stopped;
Standstill BOOL The motor is stopped;
DiscreteMotion BOOL Individual movement;
ContinuousMotion BOOL Continuous positioning;
Homing BOOL Machine reference is approached;
SynchronizedMoti BOOL Synchronous motion
on
Note: See also in the status diagram.
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
Position REAL Absolute target position of the movement to be executed
(configured unit [units] ) (positive and negative direction)
1
-Value range-
Velocity REAL Value of maximum speed (always positive) (not necessarily
2
reached) -value range -
3
[Units/s ]
4
Acceleration DINT Value of acceleration (always positive) [Units/s² ] -value
5
range-
6
Deceleration DINT Value of deceleration (always positive) [Units/s² ] -value
7
range-
8
Jerk DINT Value of the acceleration jerk (see on page 297) [Units/s³ ]
9
(always positive) -value range-
10
JerkDecel DINT Value of the deceleration jerk [Units/s³ ] (always positive)
11
-value range-
VAR_OUTPUT
1
Target position: [Rev], [Pitch]-4 000 000...4 000 000
2
Speed for positioning: [Rev/s], [pitch/s]0.00001157 ...2000
3
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
4
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
5
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
6
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
7
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
8
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
9
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
10
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
11
Deceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
Notes:
Continuous operation can be selected via object 1111.8
"C3Plus.Position_restposition_mode" <> 0; setpoint value and actual value are
then set to 0 before each positioning.
You can optimize the motion profile data with the "ProfilViewer" (see on page
267) software tool!
MC_MoveAbsolute
The following illustration shows two examples for the combination of two
MC_MoveAbsolute modules.
The left part (a) of the time diagram shows a case in which the second Function
block after the first function block is executed.
If the 1st. function block has reached position 60, the “Done” output will issue the
execution command to the second function module, which then moves to Position
100.
The right part (b) of the diagram shows a case in which the second function block
is executed during execution of the 1st. function block. The 1st The first function
module is automatically interrupted.
The 2nd. function module moves directly to position 100 whether or not position
60 of the first Function block was already reached.
1. Instanz 2. Instanz
First motion Second motion
MC_MoveAbsolute MC_MoveAbsolute
Test
1. Instanz
First motion
a b
1
Execute (go)
0
1 t
Done
0
Command- 1 t
Aborted 0
2. Instanz t
Second motion
1
Execute (Test)
0
1 t
Done
0
Bewegungsablauf t
Moving diagram
300
Velocity 200
0
100
t
absolute Position 60
absolute position
Dynamic positioning
In dynamic positioning, a decision concerning the positioning travel is not taken on
the basis of the actual position, but on the basis of the braking position resulting
from the motion parameters.
Please observe: In the event of positioning specifications below zero and higher than or
equal to the reset distance, this function is deactivated.
The positioning target must for instance be in the range between 0..359.999999°
for a reset distance of 360°.
The positioning functions are neither effective in test movements nor in an
automatic positioning after homing travel (if this was not deactivated in the
configuration).
In the event of “shortest path”, the motion is not defined for a positioning by a
travel of half the reset distance.
Setting the desired value must take place in the IEC initialization routine, as a
configuration download by the C3 ServoManager would reset the value to 0 (due to
downwards compatibility).
Example:
C3Plus.POSITION_direction:=MC_Direction_Positive;
In the help file you can find examples for the functioning of the individual
positioning modes.
The jerk (marked with “4” in the drawing below) describes the change in
acceleration (derivation of the acceleration)
The maximum change in acceleration is limited via the jerk limitation.
A motion process generally starts from a standstill, accelerates constantly at the
specified acceleration to then move at the selected speed to the target position.
The drive is brought to a stop before the target position with the delay that has
been set in such a manner as to come to a complete stop at the target position. To
reach the set acceleration and deceleration, the drive must change the acceleration
(from 0 to the set value or from the set value to 0).
This change in speed is limited by the maximum jerk.
Without jerk According to VDI2143 the jerk is defined (other than here) as the jump in
according to acceleration (infinite value of the jerk function).
VDI2143 This means that positionings with Compax3 are without jerk according to VDI2143,
as the value of the jerk function is limited.
Motion sequence
t
2
t
3
1: Position
2: Speed
3: Acceleration
4: Jerk
High changes in acceleration (high jerks) often have negative effects on the
mechanical systems involved. There is a danger that mechanical resonance points
will be excited or that impacts will be caused by existing mechanical slack points.
You can reduce these problems to a minimum by specifying the maximum jerk.
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
Distance REAL Relative distance of the movement to be executed
12
(configured unit [units]) -value range-
Velocity REAL Value of the maximum speed (always positive)
13 14
(not necessarily reached) [units/s ] -value range-
15
Acceleration DINT Value of acceleration (always positive)[Units/s² ] -value
16
range-
17
Deceleration DINT Value of deceleration (always positive) [Units/s² ] -value
18
range-
Jerk DINT Value of the acceleration jerk (see on page 297)
19 20
[Units/s³ ] (always positive) -value range-
21
JerkDecel DINT Value of the deceleration jerk [Units/s³ ] (always positive)
22
-value range-
VAR_OUTPUT
Done BOOL Specified setpoint distance on the setpoint generator output
is reached
CommandAborted BOOL Positioning aborted
Error BOOL Error while executing module
Note:
In the case of dynamic positioning (module is called during a positioning process)
the specified position is added to the current actual position.
Continuous operation can be selected via object 1111.8
"C3Plus.Position_restposition_mode" <> 0; setpoint value and actual value are
then set to 0 before each positioning.
You can optimize the motion profile data with the "ProfilViewer" (see on page
267) software tool!
12
Target position: [Rev], [Pitch]-4 000 000...4 000 000
13
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
14
Speed for positioning: [Rev/s], [pitch/s]0.00001157 ...2000
15
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
16
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
17
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
18
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
19
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
20
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
21
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
22
Deceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
MC_MoveRelative
1. Instanz 2. Instanz
First motion Second motion
MC_MoveRelative MC_MoveRelative
Test
1. Instanz
First motion
a b
1
Execute (go)
0
1 t
Done
0
Command- 1 t
Aborted 0
2. Instanz t
Second motion
1
Execute (Test)
0
1 t
Done
0
Bewegungsablauf t
Moving diagram
300
Velocity 200
0
100
t
relative Position
relative position
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
23
Distance REAL Relative distance -value range-
Velocity REAL Value of the maximum speed (always positive) (not
24 25
necessarily reached) [units/s ] -value range-
26
Acceleration DINT Value of acceleration (always positive)[Units/s² ] -value
27
range-
28
Deceleration DINT Value of deceleration (always positive) [Units/s² ] -value
29
range-
Jerk DINT Value of the acceleration jerk (see on page 297)
30 31
[Units/s³ ] (always positive) -value range-
32
JerkDecel DINT Value of the deceleration jerk [Units/s³ ] (always positive)
33
-value range-
VAR_OUTPUT
Done BOOL Specified distance has been reached
CommandAborted BOOL Positioning aborted
Error BOOL Error during positioning
Note:
In the case of dynamic positioning (module is called during a positioning process)
the specified position is added to the current target position.
MC_MoveAdditive
23
Target position: [Rev], [Pitch]-4 000 000...4 000 000
24
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
25
Speed for positioning: [Rev/s], [pitch/s]0.00001157 ...2000
26
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
27
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
28
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
29
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
30
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
31
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
32
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
33
Deceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
34
Velocity REAL Value of the maximum speed (always positive) [Units/s ]
Range of values: 0 rev/s ... 2000 rev/s
Acceleration DINT Value of the acceleration and deceleration (always positive)
35
[Units/s² ]
Range of values: 0.24 rev/s² ... 1000000 rev/s²
Direction INT Selection: positive direction, negative direction, current
direction; library constants (see on page 279)
VAR_OUTPUT
InVelocity BOOL Specified target speed on the setpoint output is reached
CommandAborted BOOL Execution interrupted
Error BOOL Error during positioning
Note:
To be able to stop the drive, the function module must be interrupted by another
positioning function module or positioning must be stopped by calling the
MC_Stop function module.
A positioning to the end limit follows.
MC_MoveVelocity
34
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
35
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
Example
The following illustration shows two examples of the combination of two
MC_MoveVelocity modules.
The left part (a) of the time diagram shows a case in which the second function
module (block) is executed after the first function module.
After the first function module has accelerated to a speed of 3000, the
"InVelocity" output, AND-linked with the "Next" signal issues the execution
command to the second FB, which then slows to a speed of 2000.
The right part (b) of the diagram shows a case in which the second FB is
activated while the first function module is being executed. Because the second
module (block) is started during the execution of the first FB, the first FB is
automatically interrupted.
During the acceleration of the first module (block), the second module slows
again similarly to a speed of 2000 without the speed of the first module having
been reached.
1. Instanz 2. Instanz
First motion Second motion
MC_MoveVelocity MC_MoveVelocity
Test
OR
Next
1. Instanz
First motion
a b
1
Execute (go)
0
1 t
Velocity
0
1 t
Command Aborted
0
1 t
Next
0
2. Instanz t
Second motion
1
Test
0
1 t
Finish = InVelocity
0
Bewegung
3000 t
Motion
2000
Velocity
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
JogForward BOOL JogForward = TRUE makes the axis move in positive
direction.
JogBackward BOOL JogBackward = TRUE makes the axis move in negative
36
direction.-value range-
37 38
Velocity REAL Speed value [Units/s ]-value range-
39 40
Acceleration DINT Value of the acceleration [Units/s² ]-value range-
41 42
Deceleration DINT Value of deceleration with stop [Units/s² ]-value range-
Jerk DINT Value of the acceleration and deceleration jerk (see on
43 44
page 297) [Units/s³ ] -value range-
VAR_OUTPUT
Busy BOOL Module is active (manual operation in progress)
Error BOOL Error during manual operation or faulty parameter when
starting manual operation
Note:
The axis must be in the "standstill" state in order to start manual operation
(Jogging Mode).
Start: When starting manual operation, the output Busy is set to TRUE.
Stop: The axis is brought to a standstill if the respective input (JogForward or
JogBackward) is set to FALSE again
As soon as manual operation is stopped, the output Busy is set to FALSE.
Further commands can only be executed after this feedback.
C3_Jog
36
Target position: [Rev], [Pitch]-4 000 000...4 000 000
37
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
38
Speed for positioning: [Rev/s], [pitch/s]0.00001157 ...2000
39
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
40
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
41
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
42
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
43
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
44
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
1
0 C3_Jog
C3_INPUT
2
MC_POWER
Enable Status
AXIS_REF_LocalAxis Axis Error
Axis
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
Position REAL Position on the machine zero point (configured unit [units] )
= Machine zero Offset
VAR_OUTPUT
Done BOOL Referencing process completed
CommandAborted BOOL Referencing process aborted
Error BOOL Error while searching for machine reference point
Note:
This module gives the command to search for the machine reference point; not for
"zero" position. The type of search function (machine reference mode) can be
adjusted with the configuration or with the object "HOMING_mode" (Object
1130.4).
.
Objects that are connected with the machine reference point:
C3Plus.HOMING_speed (Object 1130.3)
C3Plus.HOMING_accel (Object 1130.1)
C3Plus.HOMING_mode (Object 1130.4)
C3Plus.HOMING_edge_sensor_distance (Object 1130.7)
MC_Home
The Compax3 machine zero modes are adapted to the CANopen profile for Motion
Control CiADS402.
Position reference Essentially, you can select between operation with or without machine reference.
point The reference point for positioning is determined by using the machine reference
and the machine reference offset.
A machine reference run is required each time after turning on the system for
operation with machine reference.
Please note:
During homing run the software end limits are not monitored.
A change in the machine reference offset does not take effect until the next
machine reference run.
VAR_IN_OUT
Master INT Constant for the master signal source (see on page 279)
Configuration (see on page 147) of the signal sources
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
RatioNumerator REAL Transmission ratio of numerator
Please use integer values in order to avoid drift!
RatioDenominator INT Transmission ratio of denominator
Please use integer values in order to avoid drift!
Acceleration DINT Value of acceleration / deceleration (always positive) until
45
the synchronism is reached [Units/s²] -value range-
VAR_OUTPUT
InGear BOOL Synchronicity achieved
CommandAborted BOOL Command aborted
The device is not ready to operate when the
Execute is issued
Another module of the MC_GearIn has interrupted
(in gear operation or quasi parallelly in the same
IEC cycle)
The gear command was not accepted by the
setpoint generator because
The selected master source was not configured
(signal source)
The command cannot be accepted in the current
device status (not "standstill powered", "Discrete
Motion", "Continuous Motion" or "Synchronized
Motion"
The nominator of the gear factor (O1141.1) equals
zero
Error BOOL Error while executing module:
Input Slave unequal AXIS_REF_LocalAxis
Input Acceleration smaller than or equal to zero
Input RatioDenumerator equals zero
Input Master unequal to AXIS_REF_Physical,
AXIS_REF_HEDA or AXIS_REF_Virtual (only T40)
The device changes to "Error Stop" error status
while gearing is running
45
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
Note:
Behavior: The drive accelerates (with Acceleration) until the master speed is
reached - the module will report synchronicity with "InGear". Position losses
during acceleration to master speed are not made up.
The transmission ratio can be changed at any time with a positive edge on
Execute. InGear is reset until synchronicity is achieved again.
For example, if speed synchronicity is not achieved because of limiting effects,
the position difference that arises will be made up (by the active position
controller).
Acceleration / deceleration to the set transmission ratio takes place without a jerk
limit.
Please use integer values for the numerator and denominator of the transmission
ratio in order to avoid drift.
If the master and slave units do not correspond, this fact must be considered for
the transmission ratio.
Example (see on page 148)
MC_GearIn
MC_GearIn
Master
RatioNumerator
RatioDenominator
Direction
Source Gearing
-1 / +1 MD 1/SD
numerator
D denominator E
MD
1141.7 C3.Gear_actual_masterposition
1141.8 C3.Gear_actual_master_speed
Gearing structure
D: / E: additional structure (see on page 222)
Note: Direction -1 / +1 with direction reversal (under signal source configuration) factor
-1 is applied.
The "virtual master" source is not available with Compax3 T30.
Example:
1. Instanz
First motion
MC_GearIn
MyMaster
Master Master
MySlave
Slave Slave
Execute InGear
Command
Aborted
100 RatioNumerator Error 2. Instanz
Second motion
100 RatioDenominator
MC_GearIn
100 Acceleration
Master Master
Slave Slave
Execute InGear
Command
Aborted
100 RatioNumerator Error
100 RatioDenominator
100 Acceleration
1. Instanz
First motion
1
First Execute
0
1 t
First InGear
0
t
Ratio reached
2. Instanz
Second motion
1
Second Execute
0
1 t
SecondInGear 0
Ratio reached
t
Bewegungsablauf
motion
MySlave Velocity
VAR_IN_OUT
Axis INT Axis-ID (Library constants)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
Current INT Current to be set in [mA]
Mode INT 0 = The current read during Execute on the Current input is
set.
3 = After Execute, the Current input is read again in each
cycle and the corresponding current is set (Execute must
be permanently present for this mode).
VAR_OUTPUT
InCurrent BOOL Specified current set
CommandAborted BOOL Command aborted
Error BOOL Error
Note:
The current feedforward (optimization parameter) is set to 100% to operate
C3_Current.
The status “current control” must be aborted with MC_Stop before new
positionings are possible.
C3_Current
VAR_IN_OUT
Axis INT Axis-ID (Library constants)
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge
Torque DINT Command torque [mNm] or command force [mN]
(limit value, not necessarily reached)
If the configured velocity setpoint value is reached, the
drive will move at this speed. The torque or force setpoint
value is not reached.
TorqueRamp DINT Value of the torque-force ramp (always positive) [mNm/s]
[mN/s]
Velocity REAL Value of the maximum speed (always positive)(not
46 47
necessarily reached) [units/s ] -value range-
If the command torque or the command force is not
reached, the drive will move with this speed.
Acceleration DINT Value of maximum acceleration (always positive)
48 49
[Units/s² ] -value range-
Deceleration DINT Value of maximum deceleration (always positive)
50 51
[Units/s² ] -value range-
Direction INT Selection of the permitted direction (positive direction
"MC_Direction_Positive” or negative direction
"MC_Direction_Negative") (library constant)
The movement into the other direction is blocked, a speed
of 0 is commanded!
VAR_OUTPUT
InTorque BOOL Specified torque or specified force (setpoint or limitation
value) reached
CommandAborted BOOL Module sequence is interrupted
Error BOOL Error while executing module
Note:
The movement is limited by the set maximum speed or by the command
torque/command force.
The setpoint values for velocity, acceleration and deceleration are always
positive.
The direction of movement depends on the "Direction" Input.
The torque ramp “TorqueRamp” must always be entered as a positive value. The
force direction results from the sign of the “Torque” torque/force setpoint value.
There is no torque/force acquisition. Actual torque or actual force is acquired from
the quadrature current and the motor parameters.
Due to suspension of the motion in the direction not yet approved (input
"Direction") by changing to speed control it should be observed that, for "clean"
46
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
47
Speed for positioning: [Rev/s], [pitch/s]0.00001157 ...2000
48
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
49
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
50
The unit "increments" is valid only for position values!Speed, acceleration and jerk are specified in this case in revolutions/s,
revolutions/s2 and revolutions/s3 (resp. pitch/s, pitch/s2, pitch/s3 for linear motors).
51
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
resp. "proper" torque or force setpoint value (=Current Setpoint value) with force
demand at standstill or with small speeds, it might be necessary to smooth the
speed control output by activating or increasing the control signal filter of velocity
control (O2100.20). If the filter is used a reduction of the stiffness might be
necessary (bandwidth of the speed controller) (see chapter controller optimization
in help).
Behavior on
Stop: (MC_Stop) => immediate switching to position control; this means entire
torque (or entire force)!
C3 Error => depending on the error reaction (1) switching to position control,
this means entire torque (or entire force)!
Change from positioning to velocity control (MC_MoveVelocity) in torque/force
control => Torque/force limitation value is equal to the torque/force setpoint
value, output “InTorque” is immediately set.
The module can also be used for defined braking, e.g. for unwinders.
The command torque or the command force has then the opposite sign than the
direction (direction)
If there is no counter torque or no counter force, so that braking is not possible,
the drive will decelerate to 0 in a torque/force controlled manner.
The module is not suitable for ballscrew actuators and for gearings with high
ration. Please contact us.
VAR_IN_OUT
Axis INT Axis ID; constant: AXIS_REF_LocalAxis
VAR_INPUT
Execute BOOL Starts the sequences of the module with positive edge.
In the "SUPERIMPOSED_ABSOLUTE_CONT” mode, the
module inputs are read, as long as “Execute” remains
“TRUE”.
Distance REAL Distance for the superimposed Positionierung (positive
and negative direction).
During a superimposed Positionierung in
"SUPERIMPOSED_ABSOLUTE"
"SUPERIMPOSED_ABSOLUTE_CONT"
the “distance” is considered to be an absolute Lageziel
with reference to the start position of the superimposed
Positionierung (point in time of the first rising “Execute”
edge where no superimposed positioning is active). For
details please refer to input “Mode”.
With negative PhaseShift distance of applications with
linked curves or when using the output
C3_CamtableSelect.EndOfSegment as trigger for the
C3_CamtableSelect.Execute, please note that due to the
phasing no negative change of cams may result (sum
speed Master signal source and Phasing at beginning of
segment) always higher or equal zero).
In configured unit [Units] -value range- 52
Velocity REAL Value of the maximum speed difference compared to the
actual master speed (always positive)(not necessarily
53
reached) [units/s] -value range-
In the "SUPERIMPOSED_RELATIVE” operating mode,
the specification of a speed <=zero is not permitted.
In the other operating modes, a negative value will
be set to 0.
Acceleration DINT Value of acceleration (always positive)[Units/s²]
54
<Wertebereich>
Deceleration DINT Value of deceleration (always positive) [Units/s²]
55
<Wertebereich>
Jerk DINT Value of the acceleration jerk (see on page 297) [Units/s³]
56
(always positive) <Wertebereich>
JerkDecel DINT Value of the deceleration jerk [Units/s³] (always positive)
57
<Wertebereich>
52
Target position: [Rev], [Pitch]-4 000 000...4 000 000
53
Speed for positioning: 0; 0.00001157 rev/s...2000 rev/s
54
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
55
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
56
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
57
Deceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
Mode INT
Open or "SUPERIMPOSED_RELATIVE":
With a rising edge on the Execute, a relative
superimposed Positionierung, based on the value on
input "Distance” is executed at that point in time (this
does also apply if a superimposed Positionierung is
already active.
"SUPERIMPOSED_ABSOLUTE":
Upon a not active superimposed Positionierung, a
relative Positionierung starts on the “Execute” with a
rising edge.
With a rising edge on the “Execute” during an active
superimposed Positionierung (output “Busy” is set), the
Positionierungdistance based on the start points of the
superimposed Positionierung is interpreted to be
absolute.
"SUPERIMPOSED_ABSOLUTE_CONT":
corresponds to the "SUPERIMPOSED_ABSOLUTE”
mode, however as long as the input "Execute" is equal
"TRUE" the module inputs with rising edge at the input
"Execute" are not accepted in each IEC cycle for the
effective superimposed Positionierung.
ATTENTION!
PositionResetMode = "TRUE" may only be used as
from Compax3-Firmware R09-0!
Hint
The "SUPERIMPOSED_RELATIVE” operating
mode corresponds to the function of the formerly
used MC_MoveSuperImposed module
PositionResetMode BOOL Open or "FALSE": The demand position O680.3
(DemandValue3) is not reset.
"TRUE": With each new Positionierung (rising edge
on “Execute”), the Lageziel O680.3
(DemandValue3) is reset to zero.
ATTENTION!
PositionResetMode = "TRUE" may only be used as
from Compax3-Firmware R09-0!
VAR_OUTPUT
Done BOOL Additional distance was added to the current
positioning
Busy BOOL Superimposed motion is performed
CommandAborted BOOL Positioning aborted
Error BOOL Error while executing module
Notes:
The values Velocity, Acceleration, Deceleration, Jerk, JerkDecel are only valid for
the superimposed movement. The values resulting from the superimposition will
set on the axis, which is not taken into consideration for the status values .
Upon a MC_Stop of the local axis (AXIS_REF_LocalAxis), the movement in
progress as well as the superimposed movement are interrupted.
The module C3_StopSuperImposed does only interrupt the superimposed
movement.
The module can also be operated in the PLCopen “Standstill” state .
The module does not interrupt any active command.
“Position reached” (Object 420.6) is not influenced by the additional movement
caused by C3_MoveSuperImposed.
If no alignment of the SuperImposed movement with the main profile generator
takea place the movement realized by C3_MoveSuperImposed acts as an Offset
(in "CouplinMode" 1 or 2) when coupling with C3_CamIn. This alignment is made
via Firmware <=R09-20 at C3_CamOut (all DecouplingModes),
MC_MoveAbsolute (with finished superimposed movement) MC-Stop or device
error with error stop ramp (with active superimposed movement of MC_Home.
With Firmware >= R09-20 the alignment is additionally made at MC_Stop and
finished superimposed movement, at error stop without ramp, the superimposed
movement carried out since the last alignment can then be seen in 0680.24.
This module cannot be operated with C3_ShiftPosition and MC_/C3_Phasing at a
time.
It is possible to change modes (“Mode”) during a superimposed Positionierung in
progress.
If a second instance. is activated in an active module with “Execute”, the instance
in progress is aborted (“CommandAborted” output is set) and the second nstance
acts as upon a new start of a superimposed Positionierung ).
With a falling edge on the “Execute” in the
SUPERIMPOSED_ABSOLUTE_CONT” mode, the positioning is aborted upon a
zero “Velocity” specification (if the überlagterte_Geschwindigkeit has reached
zero) , as it can never reach its target.
With a falling edge on "Execute" in "SUPERIMPOSED_ABSOLUTE_CONT"
mode the Vüberlagterte_Geschwindigkeit is finished with the parameters pending
at the time. Is the "Velocity" demand equal zero (if the actual displacement target
speed has reached the value zero), the überlagterte_Geschwindigkeit is aborted
as it can never reach its target. A (new) rising edge on "Execute" starts, as in
"SUPERIMPOSED_RELATIVE" mode, a new quasi-absolute relative imposed
überlagterte_Geschwindigkeit.
In the "SUPERIMPOSED_ABSOLUTE_CONT” mode, the sum of the specified
motion parameters is internally calculated; positive value monitoring takes only
place once with each rising “Execute” edge. Exception is the "Velocity" demand
at which negative value internally become zero.
Frequent changes of the Lageziel within a superimposed Positionierung may lead
to imprecisions in the Positionierung in the “PositionResetMode” input is not set
to “TRUE”!
In the "SUPERIMPOSED_ABSOLUTE_CONT” mode, the sum of the specified
motion parameters is internally calculated; positive value monitoring takes only
place once with each rising “Execute” edge.
If the speed is reduced to zero at the end of a Positionierung during setpoint
generation, no new values for speed, deceleration and jerk are accepted in the
absolute operating modes “SUPERIMPOSED_ABSOLUTE” or
"SUPERIMPOSED_ABSOLUTE_CONT" with unchanged Lageziel (input
"Distance".
The position of the module in the structure image (see on page 513).
The output "error" is reported if
the axis is in an impermissible state with a rising edge at the “Execute” input
(not active, in error state, during reference run, stops or is in stop state
(MC_Stop))
The superimposed movement stops or was stopped (by
C3_StopSuperImposed) with a rising edge on the “Execute” input
The module was issued with invalid parameters (“Velocity” <= 0 in "Mode"
SUPERIMPOSED_RELATIVE), acceleration values or jerks <= 0, input “Axis”
unequal to “AXIS_REF_LOCALAXIS”, invalid operating mode (“Mode”)) upon a
rising edge on the “Execute” input
An attempt to start the module (rising edge on the “Execute” input) is made
during another superimposed movement (C3_ShiftPosition, MC_/C3_Phasing).
The axis changes into error state during a superimposed movement in progress
C3_MoveSuperImposed
MC_MoveRelative C3_MoveSuperImposed
1
Execute (go_REL)
0
1 t
Done
0
2. Instanz C3_MoveSuperImposed
t
Second motion
1
Execute (go_SUP) 0
1 t
Done 0
1 t
Busy
0
Command- 1
t
Aborted 0
Bewegungsablauf t
Moving diagram 400
300
Velocity
200
100
0
t
70
Zielposition
Target position 50
0
1 2 3 4 5 6 7 8 9 10 11 12 13
t
70
Distance
50
0
1 2 3 4 5 6 7 8 9 10 11 12 13
t
MC_MoveRelative C3_MoveSuperImposed
1
Execute (go_REL)
0
1 t
Done
0
t
C3_MoveSuperImposed
1
Execute (go_SUP)
0
t
Eingang/Input 200
Velocity 100
0
20
t
Eingang/Input
Distance 10
0
1
Busy
0
t
Done* 1
0
t
Bewegungsablauf 500
Moving diagram 400
300
Velocity
200
100
0
t
80
Zielposition 60
Target position
0
t
80
Position
0
t
* "Done" for a IEC cycle
VAR_IN_OUT
Axis INT Axis ID; constant: AXIS_REF_LocalAxis
VAR_INPUT
Execute BOOL Starts sequence of the module upon a positive edge; in the
“SUPERIMPOSED_ABSOLUTE_CONT” operating mode
cyclic update of the positioning parameters as long as the
“Execute” remains “TRUE”.
Distance REAL Distance for the superimposed Positionierung (positive and
negative direction).
During a superimposed Positionierung in
"SUPERIMPOSED_ABSOLUTE"
"SUPERIMPOSED_ABSOLUTE_CONT"
the “distance” is considered to be an absolute Lageziel with
reference to the start position of the superimposed
Positionierung (point in time of the first rising “Execute”
edge where no superimposed positioning is active). For
details please refer to input “Mode”.
With negative PhaseShift distance of applications with
linked curves or when using the output
C3_CamtableSelect.EndOfSegment as trigger for the
C3_CamtableSelect.Execute, please note that due to the
phasing no negative change of cams may result (sum
speed Master signal source and Phasing at beginning of
segment) always higher or equal zero).
58
In configured unit [Units] -value range-
Velocity REAL Value of the maximum speed difference compared to the
actual master speed (always positive)(not necessarily
59
reached) [units/s] -value range-
In the "SUPERIMPOSED_RELATIVE” operating mode, the
specification of a speed <=zero is not permitted.
In the other operating modes, a negative value will be set to
0.
Acceleration DINT Value of acceleration (always positive)[Units/s²]
60
<Wertebereich>
Deceleration DINT Value of deceleration (always positive) [Units/s²]
61
<Wertebereich>
Jerk DINT Value of the acceleration jerk (see on page 297) [Units/s³]
62
(always positive) <Wertebereich>
JerkDecel DINT Value of the deceleration jerk [Units/s³] (always positive)
63
<Wertebereich>
58
Target position: [Rev], [Pitch]-4 000 000...4 000 000
59
Speed for positioning: 0; 0.00001157 rev/s...2000 rev/s
60
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
61
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
62
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
63
Deceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
Mode INT
Open or "SUPERIMPOSED_RELATIVE":
With a rising edge on the Execute, a relative superimposed
Positionierung, based on the value on input "Distance” is
executed at that point in time (this does also apply if a
superimposed Positionierung is already active.
"SUPERIMPOSED_ABSOLUTE":
Upon a not active superimposed Positionierung, a
relative Positionierung starts on the “Execute” with a rising
edge.
With a rising edge on the “Execute” during an active
superimposed Positionierung (output “Busy” is set), the
Positionierungdistance based on the start points of the
superimposed Positionierung is interpreted to be absolute.
"SUPERIMPOSED_ABSOLUTE_CONT":
corresponds to the "SUPERIMPOSED_ABSOLUTE” mode,
however as long as the input "Execute" is equal "TRUE" the
module inputs with rising edge at the input "Execute" are
not accepted in each IEC cycle for the effective
superimposed Positionierung.
ATTENTION!
PositionResetMode = "TRUE" may only be used as from
Compax3-Firmware R09-0!
PositionResetMode BOOL Open or "FALSE": The demand position O680.3
(DemandValue3) is not reset.
"TRUE": With each new Positionierung (rising edge
on “Execute”), the Lageziel O680.3 (DemandValue3)
is reset to zero.
ATTENTION!
PositionResetMode = "TRUE" may only be used as from
Compax3-Firmware R09-0!
VAR_OUTPUT
Done BOOL Additional distance was added to the current positioning
Busy BOOL Superimposed motion is performed
CommandAborted BOOL Positioning aborted
Error BOOL Error while executing module
Notes:
The values Velocity, Acceleration, Deceleration, Jerk, JerkDecel are only valid for
the superimposed movement. The values resulting from the superimposition will
set on the axis, which is not taken into consideration for the status values .
Upon a MC_Stop of the local axis (AXIS_REF_LocalAxis), the movement in
progress as well as the superimposed movement are interrupted.
The module C3_StopSuperImposed does only interrupt the superimposed
movement.
The module can also be operated in the PLCopen “Standstill” state (no change
in the position display).
The module does not interrupt any active command.
“Position reached” (Object 420.6) is not influenced by the additional movement
caused by C3_MoveSuperImposed.
If no alignment of the SuperImposed movement with the main profile generator
takea place the movement realized by C3_MoveSuperImposed acts as an Offset
(in "CouplinMode" 1 or 2) when coupling with C3_CamIn. This alignment is made
via Firmware <=R09-20 at C3_CamOut (all DecouplingModes),
MC_MoveAbsolute (with finished superimposed movement) MC-Stop or device
error with error stop ramp (with active superimposed movement of MC_Home.
With Firmware >= R09-20 the alignment is additionally made at MC_Stop and
finished superimposed movement, at error stop without ramp, the superimposed
movement carried out since the last alignment can then be seen in 0680.24.
C3_ShiftPosition
C3_ShiftPosition
1
Execute (go_REL)
0
1 t
Done
0
1 t
Busy
0
Anzeige t
Readout 1
Lage
Position 0
t
Bewegung
Motion 50
Velocity
0
t
100
relative Position
VAR_INPUT
Execute BOOL Stops the movement
Deceleration DINT Value of deceleration (always positive) [Units/s²]
<Wertebereich> 64
Please observe:
The configured STOP ramp is limited. The STOP
ramp will not be smaller than the deceleration set in
the last motion set.
Jerk DINT Value of the acceleration jerk (see on page 297)
[Units/s³] (always positive) <Wertebereich> 65
VAR_OUTPUT
Done BOOL Stop move
Error BOOL Error while stopping positioning
Note:
As long as the "Execute" input is set, the profile generator executing the
superimposed movements or the phase shift in "Stopping" status and is unable to
execute any additional movement commands! (The modules
C3_MoveSuperImposed, C3_ShiftPosition or C3_Phasing set the
“CommandAborted” output upon detection of the “Stop command” and
acknowledge the trial to start in Stop state by setting the “error” output).
The module may only be used as from Compax3-Firmware R09-0!
64
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
65
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
Process
Process
Slave
Master
Slave
Reg synchronization
In the packaging and print industry, a synchronization of following slave axes to
print marks is required, for example in order to balance material slip or for an
alignment according to existing prints. The error is compensated up to the next
mark by correcting the master position acquired in the slave or by correcting the
slave position by the determined slip between the product and the print mark
button.
5.9.2. Overview
T40 Functions: Cam
General Cam control function
Programming based on IEC61131-3
Position of selected master signal source
via:
Encoder, Step / direction
or +/-10V analog
HEDA
Virtual Master
Cam memory 10 000 interpolation points
(master/slave in 24 bit format)
saved failure save.
Distance of interpolation points can be
adapted to curve (non equidistant
interpolation points)
Linear interpolation between points
Linking curve segments Up to 20 cam segments can be
produced.
Virtually random cam links (forwards)
Freely programmable, event-triggered
curve branching.
Scalable cam segments and complete
cam profiles
Coupling and decoupling functions With the aid of a quadratic function.
By means of a change-over function
Without overspeeding by coupling over
several master cycles.
Virtually free set-up of the coupling and
decoupling movement
Master-guided coupling movement.
Random standstill position
Reg synchronization Master or slave oriented (simultaneous,
cam-independent).
Highly precise mark recognition
(accuracy < 1 µs)
Cam generation with renowned Nolte Standard or extended range of functions
tool. Evaluation of the motion profiles.
5.9.3. Basics
In this chapter you can read about:
Cam types ..................................................................................................................... 329
Cam parameters / terms ................................................................................................ 330
Basic procedure............................................................................................................. 332
Closed curve
The start and end positions of the Slave are identical. I.e. the Slave moves always
within the same position range.
Slave
ST
MT Master
Open curve
The start and end positions of the Slave are not identical. I.e. the Slave moves in
one direction, as at the end of the curve the actual position of the Slave is
compared to the start position of the curve.
Slave
ST
MT Master
S0 MT MA MB ME MS Master
Back stop
The back stop can be enabled if required (IEC module C3_MasterControl (see on
page 352)).
It ensures that a backwards movement of the master will not incite an axis
movement of the slave.
Example:
Pos
2
3 4
t
Note: The negative distance difference caused by the backwards movement of the
master (3) must be traveled in positive direction (4), before it can be effective as a
movement.
The curve creation software "C3 CamDesigner" is a separate program and must
therefore be installed separately.
You will find the program on the Compax3 CD.
Please note:
The CamDesigner must be installed in a folder, whose name does not contain any
blanks.
This problem occurs above all when working with english Windows versions
(...\Program Files\...).
Settings:
Travel distance per motor revolution = 360°
Reset distance = 360°
In the "Configuration" wizard in the "reference system" window
Travel path per revolution of the physical source: Numerator = 360, Denominator
=1
in the "signal sources" wizard windows: "Physical source"
Signal source: Encoder A/B 5V
Procedure:
Starting the CamDesigner: Nagivation tree of the Compax3 ServoManager under
"cam": "Modify cam with CamDesigner"
The transfer window from Compax3 ServoManager to CamDesigner will open:
Displayed are the sequences for position, speed and acceleration, in physical units
and with respect to the cycle time entered.
This window can be left via the X Icon.
If necessary, you can make modifications (motion laws, cycle time, etc.)
After the optimization the curve progression you can leave the CamDesigner via
"file": "Exit"
The following dialog queries if the Cam Download is to take place immediately. The
download can also be executed later via "Download": "Cam - curve data".
C3_CamIn
Execute
C3_MasterControl Execute
C3_CamTableSelect MC_CamIn
StartSource Execute Execute
Master Setpoint
Cam
Position generator
Displayed are 2 different signal plans, which differ in their master reference:
absolute master reference
relative master reference
Displayed are:
the master signal processing,
the function of the individual IEC function modules as well as
the status objects made available for the commissioning or processing.
Symbols Please make yourself familiar with the Symbols of the signal image (see on page
344).
Abbreviations: RV: Reset distance of the virtual master (from C3 ServoManager wizard
"signal source")
RM Cam: Reset distance of the master from curve
RS: Reset distance of the slave (from C3 ServoManger Wizard
"configuration: Reference system)
MD: Feed of the master axis
SD: Feed of the slave axis
C3_CamTableSelect
LastSegment
C3_MasterConfig LastSegment
Execute C3_CamTableSelect *1) Master Slave *1)
Nominator Cycle Cycle
MasterOffset
Denominator
RM
Cam
1/MD
MD 1/MD MD SD
+
3022.6 C3Cam.Manipulation_ +
OffsetMasterposition_Units
C3_SetMaster
+ Value
+ Execute
1/MD
StartValue SH
3022.1C3Cam. 3030.13 C3Cam
Manipulation_ StatusMaster_ =0 MC_CamIn
Offset InputSum C3_CamIn
Masterposition
C3_CamOut
Direction
Source
False
-1 / +1 *1) *1) *1)
S1 *2) *1)
open
S
S2 +
D BackStop
+
+
Setpoint-
generator E
True M
close
MD 1 1
StartValue =0
3022.3 C3Cam.Manipulation_
Mastercycle SD
ScalefactorMasterGlobal
S2= open
3032.4 C3Cam.
C3_MasterControl StatusOutput_
StartValue =0
Enable AbsolutePositionGreat
C3_CamTableSelect
Master
3021.1 C3Cam. BackStop Execute
only if
SignalSource C3_CamReset
_Select *1) *3) *1) *2) *3) Execute
MC_Phasing
PhaseShift
Cam structure absolute
3030.12 C3Cam.StatusMaster_PhasingSum
Note: Direction -1 / +1 with direction reversal (under signal source configuration) factor -1
is applied.
Switches S1 & S2:
D BackStop
True +
Setpoint-
generator E
S2 *2)
M
StartValue =0
3022.3 C3Cam.Manipulation_ MD 1 1
ScalefactorMasterGlobal Mastercycle SD
C3_MasterControl
StartValue =0
Enable C3_CamTableSelect
Master Execute
3021.1 C3Cam. BackStop
C3_CamReset
SignalSource *1) *3) *1) *2) *3) Execute
_Select
MC_Phasing
PhaseShift
Cam structure relative
3030.12 C3Cam.StatusMaster_PhasingSum
Note: Direction -1 / +1 with direction reversal (under signal source configuration) factor -1
is applied.
Switches S1 & S2:
c Point of multiplication:
b c=a*b
a
a Comparison:
If b >= a, then output active
b b >a
Integrator
Output signal = ∫(Input signal)*dt
The output signal is the integral (sum over time) of the input
signal
StartValue=0 "Start value=0" will set the output to 0; this is triggered by
activating “Execute” of an IEC module.
Differentiator
Output signal = d(input signal)/dt
The output signal is the derivation (gradient) of the input signal
S
Non-linear curve function Slave / Master
Slave-Position = f (Master-Position)
M
Setpoint generator
Setpoint-
generator
Generates the desired setpoint process (e. g. when coupling
into a curve)
Back stop
BackStop Prevents a declining master signal
(Function of C3_MasterControl (see on page 352))
Sampling-holding-function (SH: Sample & Hold)
SH
The input value of the SH member is written to the output with
t trigger signal t.
For a cam application it is necessary to adapt the curve values (positions) to the
master and slave positions.
There are different possibilites to do this:
relative master reference
without offset
with offset
absolute master reference
without offset
with offset
The "Slave Cam output" setpoint signal from the curve is only related to the current
physical slave position by the selected coupling function. A distinction is made
between:
relative slave reference and
absolute slave reference
Cam from
CamDesigner
0° 360° 360°
360°
Master signal Master Cam Input
0° 360° 360°
Note: With a relative master reference, a given curve is processed generally from the
beginning, independent of the start delay (=offset).
The C3_CamTableSelect.Offset input is not to be wired!
Start Source
C3_MasterControl
Start
C3_CamTableSelect
0° 360° 360°
Note: With a relative master reference, a given curve is processed generally from the
beginning, independent of the start delay (=offset).
The offset is here used as start delay.
The start of the C3_CamTableSelect can be at any position; it must however be
before the start offset is reached.
0° 180° 0° 360°
0° 360° 360°
Hint Only with absolute master reference, a given curve can be started at any position.
This position corresponds to the offset value if the events "Start Source
C3_MasterControl" and "Start C3_CamTableSelect" take place at the same point
in time. Alternatively, you can preset the start value of the master position
acquisition with the C3_SetMaster.
Typical application: Shifting an open, s-shaped curve in the master reference
system.
0° 360°
Start Source
C3_MasterControl
Start
C3_CamTableSelect
180°
Hint Only with absolute master reference, a given curve can be started at any position.
This position corresponds to the offset value if the events "Start Source
C3_MasterControl" and "Start C3_CamTableSelect" take place at the same point
in time. Alternatively, you can preset the start value of the master position
acquisition with the C3_SetMaster.
Typical application: Shifting an open, s-shaped curve in the master reference
system.
The offset is added to the current value of the master signal at the start time of
CamTableSelect.
540°
Start Source
C3_MasterControl,
MC_CamIn &
Start
C3_CamTableSelect
MC_CamIn.Execute
Start Source
C3_MasterControl,
Start
C3_CamTableSelect
1: Alignment of the current slave setpoint position from the curve with the current
setpoint position from the history of the Execute of the MC_CamIn
Note: If a closed curve is combined with absolute master reference, an entry with
MC_CamIn at a master position > 0 will lead to a backwards movement of the axis
with reference to the start point.
360°
Slave Cam output
physical Slave
Note: The reference point and the curve zero point are always identical for absolute slave
reference with C3_CamIn.
VAR_IN_OUT
Sub INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Start setting sequence
Value REAL Start value
VAR_OUTPUT
Done BOOL Setting sequence finished successfully
Error BOOL Setting the master failed
Note:
Setting the value is possible:
without having selected a curve.
during master position acquisition.
The SetMaster function can only be executed, if the axis is not synchronized (not
in "Synchronized Motion")
SetMaster intrrupts the connection with the curve generator (see in the signal
image (see on page 341)).
If the "Value" is greater than the current reset distance, the value is allowed for in
the reset distance.
C3_SetMaster
IEC-cycle
VAR_IN_OUT
Slave INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Enable BOOL Starting the module
Acquisition is started or stopped depending on the Mode
StartMode INT Selecting the Start Mode
1: Start of the detection with rising edge of the enable
2: Fast start after external event (Impulse). Defined by
“StartSource” and “StartMask”, , does start within 0.5ms.
3: Start of the acquisition with the next encoder zero pulse,
after the start of the modules (Enable = TRUE)
StartSource pointer Specification of an object (see example) for starting the
acquisition.
Only relevant with StartMode 2.
The address operator ADR () must be used to select an
object.
The scanned signal must have the INT or WORD formate.
StartMask WORD Binary mask for and-linking the source (logical UND( in
order to select a bit from the source object (e.g. a digital
input).
Only relevant with StartMode 2.
StopMode INT Selection of the Stop mode
1: Stops the acquisition with falling edge of the Enable
2: Stops the detection at the end of the master clock
distance. Defined via the curve or via C3_MasterConfig
(see on page 362).
Periodic BOOL False: run through curve once
Stops the acquisition at the end of the master clock distance
(defined via the curve or via C3_MasterConfig)
True: Cyclic run
BackStop BOOL False: Backstop not active
True: Back stop active
Linking of curves of the use of output
C3_CamtableSelect.EndOfSegment as trigger for
C3_CamtableSelect.Execute with various
C3_CamTableSelect-modules, only functions safely with
forward moving Master!
Master INT Axis- ID of the Master signal source (see on page 279)
AXIS_REF_HEDA: HEDA
AXIS_REF_Physical: +/-10V, Step/Direction / Encoder
AXIS_REF_Virtual: virtual master
VAR_OUTPUT
Status BOOL Shows that the master position acquisition is running
EndOfProfile BOOL Impulse at the end of the configured master cycle
Busy BOOL Waiting for an external event
Error BOOL Command was aborted; error when starting the detection
Note:
With linked curves or use of output C3_CamtableSelect.EndOfSegment as trigger
for C3_CamtableSelect.Execute:
In case the Master (due to noise or process-related) can also run backward, the
back stop (BackStop=TRUE) must be activated. As precaution we recommend to
always activate it when linking!
In case there is more than one Master signal source configurated, you can
change the signal sources by means of the Axis-ID.
The change is possible at standstill and with running Master (take care of the
similar speeds).
With enable = active, the "Periodic" and "Master" inputs are always accepted.
With the transition Enable low to high the StartMode is evaluated.
With the transition Enable high to low the StopMode is evaluated.
Only one module controlling the detection is allowed in the project.
Enable and StartSource must have different sources.
For drift free operation in single operation on the master acquisition side (input
"Periodic" = FALSE) or upon multiple stops of the the master acquisition at the
end of the cycle (StopMode=2), the "LastSegment" input must be = TRUE in the
(last) curve (C3_CamTableSelect module). Furthermore, the sum of the individual
master segment lengths must be equal to the master clock distance or its integer
multiple for several linked curves (sum master cycle until LastSegment = n *
Master clock distance (n=1,2,...)). In the event of a single curve, the Mastercycle
input must be open or the "Mastercycle" input must correspond to the master
clock distance. See example 1: Single start of a closed cam
C3_MasterControl
C3_MasterControl
C3_INPUT
360°
Masterposition
0
1 t
Enable
0
1 t
I1
0
Status 1 t
0
t
EndOfProfile 1
0
t
Busy 1
0
Example 2: StopMode=2: Acquisition stops at the end of the master clock distance
If "Enable" is deactivated within the master clock distance and is re-activated
before the end of the master clock distance, the acquisition will continue
undisturbed.
C3_MasterControl
C3_INPUT
360°
Masterposition
0
1 t
Enable
0
Example:
VAR_IN_OUT
Master INT Axis ID; constant: AXIS_REF_LocalCam
Slave INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Curve selection with positive edge
CamTable INT Curve number (beginning with 1)
Periodic BOOL =FALSE: run through curve once (Single operation)
is only evaluated in the last curve segment (it is therefore also
possible to link several curves without gaps with “Periodic” =
FALSE - cam operation is only left after the last curve).
=TRUE: cyclic curve passage (Periodic operation)
MasterAbsolute BOOL Select master reference of the curve
FASLE = relative
TRUE = absolute
Mastercycle REAL Value of the master segment distance [physical units] 3
decimal places are considered.
Slavecycle REAL Value of the slave segment distance [physical units] 3
decimal places are considered.
MasterOffset REAL Absolute operation:
Offset at the start of the master position acquisition
relative mode:
Start delay, the master position acquisition starts if the
master signal exceeds this value positively, see in the
signal image (see on page 341).
VAR_OUTPUT
Done BOOL Change of curves finished
Busy BOOL Waiting for change of cams
EndOfSegment BOOL Impulse at the end of a curve even if no Execute is present
Error BOOL Command aborted
Error when selecting a curve or during master connection
Note:
If the inputs “Mastercycle” and “Slavecycle” are not assigned or 0, the master
cycle out of the configuration is adopted and the highest feed of the selected
curve is taken as slave cycle (see curve types (see on page 329)).
If the MasterAbsolute input stands on TRUE (absolute), the switch to the curve
generator is closed with the CamTableSelect and the curve aligns to the master
position detection.
The MasterOffset functions as Offset for the master position acquisition;
Input not assigned means MasterOffset = 0.
If the MasterAbsolute input stands on FALSE (relative), the switch to the curve
generator is closed with the CamTableSelect and the curve does not align but
begins on the master side at 0.
The MasterOffset works as start delay; the curve starts only when the master
(O3030.1) has traveled further than this value in the positive direction. If the
master offset is larger than the effective master position, the curve start will only
take place in the next master cycle (after its reset).
If the curve runs in single mode, only direct coupling with MC_CamIn is sensible.
If the curve runs in single mode and the master runs periodically, it is only
sensible to have the curve run relative to the master.
After running through the curve in single mode, the drive changes from the
“Synchronized Motion” state back to the “Standstill” state, i.e. after a SingleStart a
positioning is possible.
An Execute during a curve cycle leads to a curve change at the end of the curve
cycle. The “MasterAbsolute” and "MasterOffset" inputs are not evaluated. If the
status of the “Periodic” input of the segment currently in progress was FALSE
(single operation), a curve change will nevertheless be executed.
Please note: If an Execute signal follows an Execute (rising edge) (e.g. by
bouncing an input), another change of curve is already triggered.
With relative master reference (MasterAbsoute=FALSE) with start delay, the
change of curve is already executed (Done=TRUE), if the master signal has not
yet reached the Masteroffset (start delay).
In the event of error message 0xFFE2: Error in the IEC61131-3 program
sequence. Function module was called with incorrect parameters:
CamTable<1 or CamTable>C3Cam.StatusData_SegmentsInFlash
If the curve is to restarted after a STOP or an error without consideration of the
previous history, the “C3_CamReset (see on page 360)“ module must be
executed after stop. The execution of the C3_CamReset turns all outputs of the
C3_CamTAbleSelect to FALSE. With the limited version of "C3_CamTableSelect"
its instances must at least once be executed according after the C3_CamReset
(with Execute-input value FALSE)!.
After C3_CamReset was executed, all instances of C3_CamTableSelect.Execute
= FALSE must be executed as well in order to finish the reset - operation.
Limitations when linking curves or with use of output
C3_CamtableSelect.EndOfSegment as trigger for
C3_CamtableSelect.Execute
When using several C3_CamTableSelects in order to link curves, the same curve
may not be used twice after the first curve segment.
Cam links only work with moved Master!
If the Master (due to noise or process-related) can also run backward, the back
stop at the C3_MasterControl must be activated. As precaution we recommend
to always activate it when linking!
If not a negative Master movement at the beginning of a curve leads to a
negative curve change (which is interpreted from the component as positive
change) and the curve process does not correspond to the desired result (even
with Periodic=FALSE, curves are run repeatedly or are not run)!
When using the the C3_Phasing no negative curve change shall be generated
(sum speed Master source and Phasing (at the beginning of the curve) should
always be bigger or even Zero).
Ideally the C3_Phasing is used and phasing speed with negative phase shift is
dynamically limited for the actual master speed (-> the negative phasing speed
results in maximum curve standstill and no reverse movement)!
C3_CamTableSelect
3032.24
C3Cam.Status Output_
CurvePositionUnits
t
1
CTS1.Execute
0
t
1
CTS1.Done
0
t
1
CTS1.EndofSegment
0
t
1
CTS2.Execute
0
t
1
CTS2.Busy
0
t
1
CTS2.Done
0
t
1
CTS2.EndofSegment
0
t
Example:
VAR_IN_OUT
Axis INT Axis ID (Library constants)
VAR_INPUT
Execute BOOL Resetting the curve with a rising edge on this input
VAR_OUTPUT
Done BOOL Cam generator reset is executed
Error BOOL Error while resetting the cam generator
Note:
C3_CamReset cuts the connection to the cam generator (S2 is opened), stops a
C3_Phasing in progress and resets the status objects O3030.x (not O3030.1,
O3030.5, O3030.6, O3030.7, O3030.8), O3031.x, O3032.x (signal image (see
on page 341)).
The master position acquisition (controlled via C3_MasterControl) is NOT
influenced.
C3_CamReset must be executed before the repeated operation of a
“C3_CamTableSelect” module upon a new start of the curve (output “Done” must
be waited for). With the limited version of "C3_CamTableSelect" its instances
must at least once be executed according after the C3_CamReset (with
Execute-input value FALSE).
After C3_CamReset was executed, all instances of C3_CamTableSelect.Execute
= FALSE must be executed as well in order to finish the reset - operation.
Using C3_CamReset in a device featuring a firmware older than R08-3 will lead
to device error “8190 CamCommand: Unknown command or no T40. After
acknowledging the error, a correct restart of the curve is also possible, the curve
status objects are however not reset!
Output “Error” is set if the module is triggered while camming (State
“Synchronized Motion”) is still active or if an invalid “Axis” input value is present.
The execution of the C3_CamReset turns all outputs of the
C3_CamTAbleSelect to FALSE.
VAR_IN_OUT
Slave INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Start configuration
Numerator DINT Numerator of the reset distance to master position
acquisition
Denominator DINT Numerator of the reset distance for the position of
selected master source
(automatically 1 with alternative master clock
distance)
The reset distance is disabled with:
Numerator = 0 and Denominator = 1
thus the display is no longer reset.
VAR_OUTPUT
Done BOOL Configuration finished successfully
Error BOOL Configuration of the master failed
Note:
Module can be executed with running master.
Write Flash is not executed, the changed values of the reset distance are lost
when switching off.
The reset distance defined via the module deactivates the previously valid reset
distance of the curve, see in the signal image (see on page 341).
For linked curves (see on page 392) the sum of all master segments (Numerator
/ Denominator) is entered as reset distance.
The output "error" is set if
the "Counter" is bigger than 8388607 and if der "Denominator" is Zero or bigger
8388607.
TravelDistanceMaster_Denominator * "Counter" / set GreatesrCommonDevider
(TravelDistanceMaster_Denominator*"Numerator",TravelDistanceMaster_Nume
rator*"Denominator") bigger as 8388607. This check is made for all configurable
signal sources (different TravelDistanceMaster-values).
The drive reports Errors "0x8199" or "0x819b".
C3_MasterConfig
IEC-cycle
VAR_IN_OUT
Master INT Axis ID; constant: AXIS_REF_LocalCam
Slave INT Axis ID; constant: AXIS_REF_LocalAxis
VAR_INPUT
Execute BOOL Starts sequence of the module upon a positive edge;
in the “SUPERIMPOSED_ABSOLUTE_CONT”
operating mode cyclic update of the positioning
parameters as long as the “Execute” remains
“TRUE”.
PhaseShift REAL Distance for the superimposed Shift (positive and negative
direction).
During a superimposed Shift in
"SUPERIMPOSED_ABSOLUTE"
"SUPERIMPOSED_ABSOLUTE_CONT"
the “distance” is considered to be an absolute Shift target
with reference to the start position of the superimposed
Shift (point in time of the first rising “Execute” edge where
no superimposed positioning is active). For details please
refer to input “Mode”.
With negative PhaseShift distance of applications with
linked curves or when using the output
C3_CamtableSelect.EndOfSegment as trigger for the
C3_CamtableSelect.Execute, please note that due to the
phasing no negative change of cams may result (sum
speed Master signal source and Phasing at beginning of
segment) always higher or equal zero).
In configured unit [Units] -value range- 66
Velocity REAL Value of the maximum speed difference compared to the
actual master speed (always positive)(not necessarily
67
reached) [units/s] -value range-
In the "SUPERIMPOSED_RELATIVE” operating mode, the
specification of a speed <=zero is not permitted.
In the other operating modes, a negative value will
be set to 0.
Acceleration DINT Value of acceleration (always positive)[Units/s²]
68
<Wertebereich>
Deceleration DINT Value of deceleration (always positive) [Units/s²]
69
<Wertebereich>
Jerk DINT Value of the acceleration jerk (see on page 297) [Units/s³]
70
(always positive) <Wertebereich>
JerkDecel DINT Value of the deceleration jerk [Units/s³] (always positive)
71
<Wertebereich>
66
Target position: [Rev], [Pitch]-4 000 000...4 000 000
67
Speed for positioning: 0; 0.00001157 rev/s...2000 rev/s
68
Acceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
69
Deceleration for positioning: Rev/s2], [pitch/s2]0.24...1 000 000
70
Acceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
71
Deceleration jerk for positioning:Rev/s3], [pitch/s3]30...125 000 000
Mode INT
Open or "SUPERIMPOSED_RELATIVE":
With a rising edge on the Execute, a relative superimposed
Shift, based on the value on input "PhaseShift” is executed
at that point in time (this does also apply if a superimposed
Shift is already active.
"SUPERIMPOSED_ABSOLUTE":
Upon a not active superimposed Shift, a relative Shift
starts on the “Execute” with a rising edge.
With a rising edge on the “Execute” during an active
superimposed Shift (output “Busy” is set), the
Shiftdistance based on the start points of the superimposed
Shift is interpreted to be absolute.
"SUPERIMPOSED_ABSOLUTE_CONT":
corresponds to the "SUPERIMPOSED_ABSOLUTE” mode,
however as long as the input "Execute" is equal "TRUE"
the module inputs with rising edge at the input "Execute"
are not accepted in each IEC cycle for the effective
superimposed Shift.
ATTENTION!
PositionResetMode = "TRUE" may only be used as
from Compax3-Firmware R09-0!
Hint
The "SUPERIMPOSED_RELATIVE” operating mode
corresponds to the function of the former
MC_Phasing module
PositionResetMode BOOL Open or "FALSE": The demand position O680.3
(DemandValue3) is not reset.
"TRUE": With each new Shift (rising edge on
“Execute”), the Shift target O680.3 (DemandValue3)
is reset to zero.
ATTENTION!
PositionResetMode = "TRUE" may only be used as
from Compax3-Firmware R09-0!
IgnoreSlaveDirectio BOOL Open or "FALSE": With direction reversal of the axis
n (Slave) the motion direction of the motor shaft
remains identical to the one without direction reversal
- however on the side of load (resp. in turned
slave-reference system) it is inverted.
"TRUE": as from firmware >R09-20: With direction
reversal of the axis (Slave) the motion direction of the
motor shaft changes compared to the one without
direction reversal - however on the side of load (resp.
in turned slave-reference system) it is not identical.
Firmware <=R09-20: No Phasing executed!
VAR_OUTPUT
Done BOOL Phase shift executed
Busy BOOL Phase shift is being executed
CommandAborted BOOL Phase shift aborted
Error BOOL Error while executing module
Notes:
The values PhaseShift, Velocity, Acceleration, Deceleration, Jerk, JerkDecel are
only valid for the superimposed phase shift; on the axis, the values resulting from
the superimposition in the master path corresponding to the effective CAM
sequence are set, which will be taken into consideration in the status values.
Upon a MC_Stop of the local axis (AXIS_REF_LocalAxis), the phase shift is not
interrupted. If the shift is to be stopped, the C3_StopSuperImposed must be
used.
The module can only be used in cam operation.
C3_Phasing does not interrupt an active command.
The input "IgnoreSlaveDirection" is only accepted with finished phase shift.
When using C3_Phasings in applications with linked curves or when using the
output C3_CamtableSelect.EndOfSegment as trigger for the
C3_CamtableSelect.Execute, no negative change of cams may be generated
(sum speed Master signal source and Phasing (at beginning of segment) always
higher or equal zero). Ideally the phase speed is limited dynamically to the
negative actual Master Speed (-> negative Phasing speed results in maximum
curve standstill)!
This module cannot be operated with MC_/C3_MoveSuperImposed and
C3_ShiftPosition at a time.
It is possible to change modes (“Mode”) during a superimposed Shift in progress.
If a second instance. is activated in an active module with “Execute”, the instance
in progress is aborted (“CommandAborted” output is set) and the second nstance
acts as upon a new start of a superimposed Shift ).
With a falling edge on the “Execute” in the
SUPERIMPOSED_ABSOLUTE_CONT” mode, the positioning is aborted upon a
zero “Velocity” specification (if the Shift speed has reached zero) , as it can never
reach its target.
With a falling edge on "Execute" in "SUPERIMPOSED_ABSOLUTE_CONT"
mode the VShift speed is finished with the parameters pending at the time. Is the
"Velocity" demand equal zero (if the actual displacement target speed has
reached the value zero), the Shift speed is aborted as it can never reach its
target. A (new) rising edge on "Execute" starts, as in
"SUPERIMPOSED_RELATIVE" mode, a new quasi-absolute relative imposed
Shift speed.
In the "SUPERIMPOSED_ABSOLUTE_CONT” mode, the sum of the specified
motion parameters is internally calculated; positive value monitoring takes only
place once with each rising “Execute” edge. Exception is the "Velocity" demand
at which negative value internally become zero.
Frequent changes of the Shift target within a superimposed Shift may lead to
imprecisions in the Shift in the “PositionResetMode” input is not set to “TRUE”!
In the "SUPERIMPOSED_ABSOLUTE_CONT” mode, the sum of the specified
motion parameters is internally calculated; positive value monitoring takes only
place once with each rising “Execute” edge.
If the speed is reduced to zero at the end of a Shift during setpoint generation, no
new values for speed, deceleration and jerk are accepted in the absolute
operating modes “SUPERIMPOSED_ABSOLUTE” or
"SUPERIMPOSED_ABSOLUTE_CONT" with unchanged Shift target (input
"PhaseShift".
The position of the module in the structure image (see on page 513).
The output "error" is reported if
the axis is in an impermissible state with a rising edge at the “Execute” input
(not active, in error state, during reference run, stops or is in stop state
(MC_Stop))
The superimposed movement stops or was stopped (by
C3_StopSuperImposed) with a rising edge on the “Execute” input
The module was issued with invalid parameters (“Velocity” <= 0 in "Mode"
SUPERIMPOSED_RELATIVE), acceleration values or jerks <= 0, input “Axis”
unequal to “AXIS_REF_LOCALAXIS”, invalid operating mode (“Mode”)) upon a
rising edge on the “Execute” input
An attempt to start the module (rising edge on the “Execute” input) is made
during another superimposed movement (MC_/C3_MoveSuperImposed,
C3_ShiftPosition).
The axis changes into error state during a superimposed movement in progress
C3_Phasing
C3_Phasing
360
Position
0
phase velocity physical master position
Velocity
master velocity
0
t
Execute
0
t
Done
0
t
Busy
0
t
VAR_IN_OUT
Master INT Axis ID; constant: AXIS_REF_LocalCam
Sub INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Curve start with positive edge
VAR_OUTPUT
InSync BOOL Synchronous operation active
CommandAborted BOOL Command aborted
Error BOOL Command aborted
Error in the cam operation
EndOfProfile BOOL End of a cam cycle.
A pulse with the length of an IEC cycle indicates the end
of each cam cycle.
Suitable for setting up a loop counter.
Note:
Curve alignment:
Execute is followed by immediate coupling; the current curve setpoint value is
adapted to the current slave setpoint value. This adapts the curve to the current
position.
In order to avoid velocity jumps, the master should be at a standstill or the curve
should have an initial gradient (slope) of 0.
MC_CamIn can also be started by a C3_CamTableSelect, if the curve setpoint
value does not jump after the start of the C3_CamTableSelect example 6:
Operation with curve segments and standstill area (see on page 396).
MC_CamIn
ST
Sa
MC_CamIn.Execute
FB name C3_CamIn
Synchronization of the axis to the output of the curve generator with adjustable coupling
movement
VAR_IN_OUT
Master INT Axis ID; constant: AXIS_REF_LocalCam
Slave INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Curve start with positive edge
CouplingMode INT 0 = coupling without coupling movement, after the
master having traveled over the coupling position (ME)
in positive direction.
1 = coupling via quadratic function;
the master coupling position (ME) is calculated.
2 = coupling via changeover function
CouplingPosition REAL Master coupling position (ME) in master units
(is taken into consideration with CouplingMode = 0 and
2
with CouplingMode = 1, the coupling position is
calculated)
Value range: 0 ... n*MT
SyncPosition REAL Master synchronous position (MS) in master units
(not relevant with CouplingMode = 0)
Value range:
CouplingMode 1: 0 ... MT or 0 ... Master reset distance
CouplingMode 2: 0 ... n*MT
VAR_OUTPUT
InSync BOOL Synchronous operation active
CommandAborted BOOL Command aborted
Error BOOL Command aborted
Error in the cam operation
EndOfProfile BOOL End of a slave cam cycle.,
A pulse with the length of a IEC cycle indicates the end
of each master cam cycle .
Suitable for setting up a loop counter.
Note:
Master coupling position (ME) and master synchronized position (MS):
With CouplingMode = 0: ME is taken into consideration, MS not relevant.
With CouplingMode = 1: ME is calculated internally, MS is taken into
consideration.
With CouplingMode = 2: ME is taken into consideration, MS is taken into
consideration.
With CouplingMode =1 the curve must be constantly rising at the Master
synchronous position (MS).
Position MS must be inferior to the configured or equal to the configured master
reset distance for quadratic coupling, otherwise an incorrect gradient will be
calculated (MS is corrected when calculating the gradient in the value range of
the master reset distance).
If the master synchronous position MS is superior to the master clock distance
MT, the coupling process will be distributed over several master cycles.
Before or during coupling with "CouplingMode" 1 or 2 finished/active
MC_/C3_MoveSuperImposed the curve position is not reached in the
synchronous position MS (phase lift for the sum of the SuperImposed movement
since the last alignment to zero, alignment conditions see
C3_MoveSuperImposed, sum value as from Firmware > R09-20 in 0680.34).
Coupling in is executed as if no superimposed movement were present.
If the master runs backwards after the beginning of the coupling movement, the
slave will again be at its original position after reaching the coupling position.
Coupling from concatenated curves is possible in the “change-over” mode, if the
backstop is activated or if the master does not run backwards; it is however not
possible with quadratic coupling. It is assumed that the curve active at the point in
time when the coupling command is given, is continuously repeated.
With changeover, the coupling function depends on the current curve.
The relevant master position for coupling position ME and synchronized position
MS is object 3030.24 (=sum of the master distances up to LastSegment=True;
value range 0..MT). Without LastSegment set on the C3_CamTableSelect
module, coupling in is only possible with the first starting of the curve (after
master position enable)!
Before C3_CamIn is executed, a curve must be selected with
C3_CamTableSelect.
C3_CamIn
1
Execute
0
1 t
InSync
0
1 t
Masterzyklus
0
Slavezyklus 1 t
0
ME MS t
EndOfProfile 1
0
SS
e(M)
1 ST
Sa MT
0
ME MS M
0 M
SS: Slave synchronization position
Sa: Current slave position before start of curve
Me: Master coupling position calculated from MS, slope in MS/SS and Sa
MS: Master synchronous position
MT: Master clock distance
ST: Slave clock distance
e(M): quadratic coupling function
1: Gradient triangle: determines the duration of the coupling sequence (the steeper,
the faster the coupling process)
1 e(M)
S
MT
Sa
SS
ST
0
ME MS M
0 M
S MT
ST
Sa
ME M
C3_CamIn.Execute
Change-over (CouplingMode = 2)
When using the change-over-function, the curve setpoint value is permanently
displayed during coupling, while the current slave position is permanently hidden.
Overspeeding and pull-out movement are possible.
By specifying the master-related coupling and synchronization position in master
units, the coupling curve is mapped to a range of any length of the curve. This
means that it is no longer fixedly coupled to the curve cycle.
Algorithm of the change-over function
The normalized coupling function begins at the value 0 and end at the value 1 and
rises continually in between. It is a 5th. order function.
The coupling curve does not produce a direct slave setpoint value but produces a
factor KE for the weighting of the current curve setpoint value resp. the current
slave position Sa (position at the start of the coupling sequence).
The course of the coupling curve depends on the slave position Sa and the course
of the curve in synchronized operation.
The master speed must be positive, i.e. the master position must be rising.
The weighting is made according to the following function:
Coupling curve = SK * KE + S0 * (1 - KE)
with:
S0 = standstill position
SK = current curve setpoint value
KA = control variable between 0 ... 1.0 (between ME and MS)
Example: Change-over function over a curve cycle
S
SS MT
ST
Sa
ME MS M
SS: Slave synchronization position
Sa: Current slave position before start of curve
ME: Master coupling position = 30°
MS: Master synchronized position = 340°
MT: Master clock distance = 360°
ST: Slave clock distance
The slope (speed) of the coupling sequence shows a clear overspeeding in
comparison with the synchronized run.
MT
SS
ST
Sa
0 ME MS M
FB name C3_CamOut
Decouple the active curve with adjustable coupling movement
VAR_IN_OUT
Master INT Axis ID; constant: AXIS_REF_LocalCam
Slave INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Activate the decoupling process with a positive edge
DecouplingMode INT 0 = decoupling without coupling movement, after the
master having traveled over the decoupling position
MA in positive direction.
(MB and S0 not relevant)
1 = decoupling via quadratic function;
the master braking position (MB) is calculated
2 = decoupling via changeover function
DecouplingPosition REAL Master decoupling position in Master units (MA)
Range of values:
DecouplingMode 1:
0 ... MT or 0 ... Master reset distance
DecouplingMode 2:
0 ... MT
BrakingPosition REAL Master braking position in master units (MB)
(is taken into consideration with CouplingMode = 2
with CouplingMode = 1, the braking position is
calculated).
MB must be > than MA.
Value range: 0 ... n*MT
StandstillPosition REAL Slave standstill position in Slave units (S0)
During DecouplingMode 1 S0 should be > SA (=curve
point at the "Master position MA).
VAR_OUTPUT
Done BOOL Decoupling complete
InSync BOOL Wait for decoupling position
Error BOOL Command aborted
Error in the cam operation
EndOfProfile BOOL End of the cam cycle.
Note:
Decoupling is not possible during coupling.
Master decoupling position (MA) and Master braking position (MB)
With DecouplingMode 0: MA is taken into consideration, MB not relevant.
With DecouplingMode 1: MA is taken into consideration; MB is calculated.
With DecouplingMode 2: MA is taken into consideration; MB is taken into
consideration.
The Slave standstill position is not taken into consideration with DecouplingMode
= 0.
With DecouplingMode =1 the curve must be constantly rising at the Master
decoupling position (MA).
The relevant master position for decoupling position MA and braking position MB
is object 3030.24 (value range 0..MT (=sum of the master distances up to
LastSegment=True)). Without LastSegment set on the C3_CamTableSelect
module, decoupling in is not possible!
Position MA must be within the limits of MT, otherwise decoupling will not be
executed.
Position MA must be inferior to the configured or equal to the configured master
reset distance for quadratic coupling, otherwise an incorrect gradient will be
calculated (MA is corrected when calculating the gradient in the value range of
the master reset distance).
if the master runs backwards after the beginning of the decoupling movement, the
curve is accessed again after reaching the decoupling position.
With changeover, the decoupling function depends on the current curve.
The is no upper limit for synchronous position S0, even with active reset function.
Decoupling via a slave distance > ST is therefore possible.
Try to avoid decoupling with active C3_MoveSuperImposed as the Position S0 at
the end of the decoupling is not reached (the decoupling is carried out with the
available sum of the SuperImposed movement at the beginning) and a following
error of the drive (jump for the traveled SuperImposed movmement since the
Execute on C3_CamOut) may occur.
The sum of the SuperImposed movements since the last alignment to zero is
deleted when the decoupling process is finished.
A superimposed movement executed via the C3_MoveSuperImposed from
coupling in until the point in time of decoupling, is entirely or partly reversed upon
quadratic decoupling or decoupling with change-over if no reset function was
configured for the axis reference system.
The StandstillPosition S0 is corrected internally during quadratic decoupling by
multiple addition of the reset distance or the curve stroke with reference to the
curve amplitude, so that a positive distance results for the decoupling sequence.
Decoupling from concatenated curves is in general possible if the backstop is
activated or if the master will not run backwards, with quadratic decoupling
however only with the following restrictions:
The decoupling command must be triggered for several consecutive curves
without Last Segment=True in the first curve (after a curve with
LastSegment=True) and position MA must be within this curve.
The decoupling command must be triggered for several consecutive curves with
LastSegment=True in the curve to be decoupled; position MA must also be
within this curve.
The relevant master position for decoupling position and braking position is object
3030.24.
In the event of error message 0xFFE2: Error in the IEC61131-3 program
sequence. Function module was called with incorrect parameters:
DecouplingMode=2 and BrakingPosition <= DecouplingPosition
C3_CamOut
1
Execute
0
1 t
Done
0
InSync 1 t
0
1
t
Masterzyklus
0
S0 t
Slavezyklus 1
0
MA MB t
EndOfProfile 1
0
S0
a(M)
ST
1 MT
Sa
0
MA MB M
M
0
S
MT
ST
S0
0
MA MB M
S0: Slave standstill position
MA: Master decoupling position = 60°
MB: Master braking position 680°
MT: Master clock distance = 360°
ST: Slave clock distance
Example:
Electronic Cam with 2 standstill areas,
Master signal is the internal virtual master.
Reference System
Unit: Grade
Travel distance per motor revolution numerator = 360°
Travel distance per revolution Denominator = 1
Reset distance numerator = 360°
Reset distance denominator = 1
Machine zero = mode 34
Limit sensor
Jerk/Ramps
Monitoring / Limits: Following error to 5°
Encoder simulation
Variable (Recipe) List
Solution:
1
Masterposition
0
1 t
C3_MasterControl.
Enable 0
1 t
externes Ereignis
external event 0
C3_CamTableSelect. 1 t
Execute 0
t
MC_CamIn. 1
Execute 0
t
Slaveposition 1
0
Solution:
Explanation:
The repeated turning up of the single start during the run through curve must not
disturb the operation.
Single start during positioning must not disturb, curve must not start:
This is prevented by the fact that the enable of the master position acquisition is
only started, if the drive is in the "Synchronized Motion" state.
If a positioning is executed, the axis is in the "discrete Motion" state. When
MC-CamIn is executed, the axis will switch into the "Synchronized Motion" state;
the axis is now synchronous with the curve generator.
Master detection is started with an external event (input I1).
In order to do this the C3_MasterControl module: is assigned to following value:
ADR(C3.DigitalInput_Value = object for the digital inputs).
In order to select the 2nd. Bit from this value the input StartMask receives the
value 2.
The axis is coupled after Homing (MC_CamIn), then the curve generator
(C3_CamTableSelect) starts, after that the master position acquisition is started
via the external input (C3_MasterControl).
As the output Home.Done is permanently present, this output must be put to CI1
with an edge module. This ensures that CI1 (MC_CamIn) can be activated again.
The absolute movement is not executed in the "Synchronized Motion " status
(MC_MoveAbsolut reports an error), so this is automatically blocked.
Solution:
Explanation:
Coupling from 0 on (CamIn.CouplingPosition = 0), decoupling on 360°
(CamOut.StandstillPosition = 360°).
The curve generator (C3_CamTableSelect) is started in relative Mode with the
Input I2.
with MasterOffset = 0, the next zero crossing is waited for if the master is already
running.
The busy output of CTS1 starts the coupling sequence before the selected curve
is active. Only if the master position has exceeded the value 0
(CTS1.MasterOffset = 0, CTS1.MasterAbsolute = TRUE), the curve starts to run
and CTS1.Done will become TRUE.
After the 3rd. “EndOfSegment” pulse of the C3_CamTableSelect module runs
through the 4th. curve. The change of cam to the single mode is then triggered
with the counter module. This will become active at the end of the 4th curve, so
that the curve is run through 4 times.
If the change into the 5th. curve cycle was effected, the Done output will come up
at this module (CTS2), which triggers the decoupling sequence.
Solution:
Explanation:
The entire curve line is 720° long, the reset distance in the slave axis
configuration stands on 720° (Configuration: Reference system).
The change of cams is triggered with the Done of the curve activated before
(CTS1 ... CTS3). The Done output follows, if the change into the respective curve
has been executed.
The axis is synchronized with input I2 (CamIn) and at the same time the 1st.
curve generator (CTS1) is started.
This ensures that no increments are lost with running master.
Design of a curve:
720° 180°
Curve 3
540° 360° 0°
Curve 2
Position Reset Distance Slave
180° 0°
Curve 1
0°
360° 720° 1080°
CTS1.Execute (I2)
CamIn.Execute
CTS3.Done
Position Reset Distance Master
Solution:
Explanations:
Via Input I2 either curve 1 (CTS1) or curve 2 (CTS2) is activated, both in the
absolute mode (MasterAbsolute=TRUE).
The detection starts with I1 (MasterControl).
Coupling in takes place with rising edge of I3, decoupling takes place with falling
edge of I3.
Solution:
Boundary conditions:
After the coupling of the axis, the curve generator (CST1) is started in relative
mode with an offset of 30°.
The start of the curve takes only place, if a master position of 30° is reached.
The feed takes place via 100 master degrees (C3_CamTableSelect module):
Mastercycle = 100).
With the falling edge of EndofSegment of the CamTableSelect module (CTS1),
the next movement will be triggered via CamIn2.
CamIn2 starts via “InSynch the 2nd. C3_CamTableSelect (CTS2), whose curve
will reset the slave to its previous position via the master position range between
100° and 230°.
The sequence can be repeated with "EndofSegment" of this module.
Special feature:
In this example, the curve shall be run through entirely, therefore MC_CamIn is
started before C3_CamTableSelect. This is only possible with MC_CamIn.
Signal image:
C3_MasterControl (Periodic Mode)
Masterposition
(3030.1) 230°
1 t
MC_CamIn1.
Execute 0
Start 1 t
C3_CamTableSelect 0
1. Kurve, Offset 30°
t
Slaveposition 1
0
t
MC_CamIn2. 1
Execute 0
t
Start 1
C3_CamTableSelect 0
2. Kurve, Offset 230°
t
Solution:
Boundary conditions:
Setpoint position of the registration mark: 90°
Ignore zone of the reg detection: 180° - 360°
curve
Solution:
Boundary conditions:
Setpoint position of the registration mark: 90°.
Slave standstill at 180°.
The object C3Cam.StatusMaster_PositionCamUnits (o3030.24) is used as
source for the C3_Touchprobe module and is set against the reg setpoint
position.
The adjustment movement is made via MC_Phasing (new C3_Phasing) (see the
signal image (see on page 341) of the cam).
curve
Solution:
Boundary conditions:
The ReadStatus module helps detect, if the axis is in the error state.
An error will trigger the stop of the virtual axis, the curve cycle will stop, the curve
generator (C3_CamTableSelect) will continue.
After the stop of the master, the axis will also be at a standstill.
The error is acknowledged via input I5; the axis will be energized again (see also
the "AND" module at the input of MC_Power).
If the axis is energized again and input I5 is present, the axis is moved to the
current position of the curve output (MC_moveAbsolute) and at the end of the
movement it is coupled again with MC_CamIn.
The output "InSync" of the MC_CamIn (camin2) will re-start the virtual master and
the cycle is continued.
Z3 Motor
= transmission
N3 ratio Load
43890 Z2 193475634.66
14 * 314,871mm * 694967 = =
N2 6949673
3
This factor can not be expressed exactly in Compax3; the max. entry allowed in the
Compax3 ServoManager:
1934756
69496
which causes drift.
43890 Z2 614460
14 * 1mm * 694967 = =
N2 6949673
3
This factor for the path per motor revolution can be expressed, no drift is
generated!
Please observe:
In the C3 powerPLmC, the "cam switching mechanism" function can only be
programmed for a Compax3 slave axis with the T40 technology function.
Serial cams
32 serial cams (Cam 0 ... 31) of which a cam is brought up once every 0.5 ms.
Thecycle timeof the cams is: (Highest active serial cam +1) * 0.5ms..
Example: if cam 17 is the highest cam enabled, this results in a cycle time of: 18 *
0.5ms = 9ms
If no fast cams are used, the numberof the serial cams per cycle (0.5ms) can be
increased up to 4:
The setting is made via object 3701.6. It applies:
Cycle time = number of the serial cams *0.5ms / O3701.6 with the value range
O3701.6 = 1, 2, 3, 4.
Fast cams
4 fast cams with a cycle time of 500µs (125µs per cam).
When using fast cams, there is a cycle time of 0.5ms per cam for serial cams.
With the C3_OutputSelect (see on page 408) module the fast cams can be put
directly and without delay, independently of the cycle time of the IEC program, on
the digital outputs O0 ... O3.
Cam functions
Switching-on and switching-off position of each cam individually.
Cams with compensation for dead time, with switching-on and switching-off
anticipation for each cam.
Individually adjustable cam source.
Enable for each individual cam.
Adjustable switching hysteresis for actual position value as a cam source.
The outputs of the cams are objects.
SlavePosition
SwitchFast1_PositionOff
SwitchFast1_PositionOn
SwitchFast0_PositionOff
SwitchFast0_PositionOn
1
SwitchFast1
1
SwitchFast0
1 1 2 3 1
2 1 2 3 1 2 3 1 2 3 1 2 3
500µs
1: Serial cams
2: Fast cams
1,5ms
1 2 3 4 5 6 7 8 1 2 3
500µs
1ms
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7
500µs
VAR_INPUT
Execute BOOL Activates the module with a rising edge
O0 INT Constant for source for the digital output 0
O1 INT Constant for source for the digital output 1
O2 INT Constant for source for the digital output 2
O3 INT Constant for source for the digital output 3
VAR_OUTPUT
Done BOOL Source selection executed
Note:
The source selection for the outputs is executed with a rising edge of Execute.
Application for fast cams:
the fast cams are put directly and without delay to the digital outputs, independent
of the cycle time of the IEC program.
OutputSelect_C3Output allows to access the respective output directly via the
IEC program (e.g. with the aid of C3_Output).
OutputSelect_FastCamSwitch puts the respective fast cam to the output. The
assignment is fixed, i.e. cam 0 would be put on O0, cam 1 would be put on output
O1, etc.
Example:
C3_OutputSelect
Object designations Unit Objects for serial cams Objects for fast cams valid
from
Source Cam 0: O3730.1 Cam 0: O3710.1 VP*
="1": Actual position ... ... ... ...
="2": Setpoint position Cam 31: O3761.1 Cam 3: O3713.1
="3": Virtual Master
="5": Master position (3030.1)
Switching-on position defined unit Cam 0: O3730.2 Cam 0: O3710.2 VP*
for ... ... ... ...
positions Cam 31: O3761.2 Cam 3: O3713.2
Switching-off position defined unit Cam 0: O3730.3 Cam 0: O3710.3 VP*
for ... ... ... ...
positions Cam 31: O3761.3 Cam 3: O3713.3
The exact description of the objects can be found in the object directory (see on
page 515).
tOff Output
tOn
0 O3701.3 Bit 0
t
speed>0
speed<0
tOn tOff
O3730.2
O3730.3
O3730.4
O3730.5
O3705.1
Notes:
You can write directly into a serial cam switch output that is not enabled (e. g.
cam 0 => object3701.3 bit 0).
After deactivating the cam, the last output status is kept. You can then define the
status by directly writing into the object.
tOff
tOn
0
t
speed>0
speed<0
tOn tOff
speed>0
0
SwitchOn* SwitchOff*
SwitchOn SwitchOff
speed<0
0
SwitchOff* SwitchOn*
SwitchOn SwitchOff
N.B.! The switching-on resp. switching-off anticipation are exchanged with negative
speed, as the cam
switches on at the switching-off position
and
switches off at the switching-on position!
SwitchOn_1
SwitchOn_1*
tOff_1
SwitchOff_1
SwitchOff_1*
Note: With reset mode of the selected source, the switching position is limited to the
area:
0 <= switching position < reset distance
i.e. That means that values < zero become zero, values > than the reset distance
will become the reset distance-1LSB.
SwitchOn_0
SwitchOn_0*
SwitchOn_1
Pos_tOff
Pos_tOn
SwitchOff*
SwitchOn*
speed>0
0
SwitchOn SwitchOff
Please observe:
The position difference for the compensation of the switching delay rises with the
speed.
5.10.5. Hysteresis
In order to avoid jitter of cams at the limits of the switching area (only relevant as
source of cam with actual values) a switching hysteresis (the same for all cams)
can be defined.
Hysterese Hysterese
SwitchOn SwitchOff
1
speed<0
speed>0
0
SwitchOff* SwitchOn* SwitchOn* SwitchOff*
Please observe: The hysteresis influences the switching-on and switching-off anticipation
You should therefore set this value at the lowest possible level.
Solution:
ST Part
Note:
With C3_OutputSelect the outputs O2 and O3 are assigned to the fast cams.
Compax3 puts automatically the fast cams 2 and 3 to the outputs O2 and O3.
The cam objects are set once after switching-on.
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Execute BOOL Activates the module if there is a positive edge
VAR_OUTPUT
Done BOOL Error successfully acknowledged, axis is in the "Standstill"
state again
Error BOOL Acknowledge failed /not possible
ErrorID WORD Error description, according to error history
Note:
After the error is successfully acknowledged, the power must be supplied to the
power output stage again by a rising edge on the enable input of the MC_Power
power module.
The execution of the module may influence the MC_Stop (see on page 284)
module outputs.
C3 powerPLmC Note: This module is also available as group function block. You
can then trigger this function for the entire Compax3 group.
MC_Reset
VAR_IN_OUT
Axis INT Achs-ID (Bibliothekskonstanten)
VAR_INPUT
Enable BOOL Activates the module
VAR_OUTPUT
Done BOOL Output values available
Error BOOL Compax3 in error state
ErrorID WORD Current error description
Note: -
MC_ReadAxisError
VAR_INPUT
Execute BOOL The defined error reaction is set for the selected error
ErrorID WORD Error number [hexadecimal] for which the error
reaction should be set, e.g. 0x6281 for cycle time
exceeded
Reaction INT Error response:
0: no reaction, error is deactivated.
1: Downramp actual speed; remain in position control
state
2: Downramp the actual speed; then switch off
controller
VAR_OUTPUT
Done BOOL The defined error reaction was set
Error BOOL Error while executing module
Note:
Error list (see on page 541)
The error reaction settings from the configuration wizard are overwritten.
The setting of the error mask is made internally via a C3 object. If the objects are
saved permanently, the setting is memorized after Power off.
Please note:
The C3_ErrorMask overwrites (depending on the calling-up order) the settings.
The corresponding error reaction is valid for both axes (of Compax3F) as the case
may be.
The module will overwrite the settings made via the C3 ServoManager.
If the ErrorID has an invalid error number, no change is effected.
C3_SetErrorReaction
VAR_INPUT
Execute BOOL The selected error mask is activated
Disable_PLC BOOL TRUE is used to switch off error 0x6281.
Disable_HEDA BOOL TRUE is used to switch off HEDA errors.
Disable_Fieldbus BOOL TRUE is used to switch off the errors 0x8120 and
0x8121.
Disable_MotorStalled BOOL TRUE is used to switch off error 0x7121.
Disable_Tracking BOOL TRUE is used to switch off error 0x7320.
Disable_IOShortCircut BOOL TRUE is used to switch off error 0x5380.
Disable_IOAddSupply BOOL TRUE is used to switch off error 0x5117.
Disable_BusVoltageLow BOOL Error 0x3222 is switched off with TRUE.
Switch off only for commissioning!
Note on Compax3H:
always on FALSE, as operation <420VDC is not
possible.
Disable_E5LimitSwitch BOOL TRUE is used to switch off error 0x54A0.
Disable_E6LimitSwitch BOOL TRUE is used to switch off error 0x54A1.
Disable_SoftwareLimit_Pos BOOL TRUE is used to switch off error 0x7323.*
Disable_SoftwareLimit_Neg BOOL TRUE is used to switch off error 0x7324.*
Error list (see on page 541)
Notes:
The setting of the error mask is made internally with a C3 object. If the objects
are saved permanently, the setting is memorized after Power off.
Please note:
In the active module, the given errors can no longer be changed to error reaction
1.
With open inputs, the respective error is active, therefore you should assign the
error messages you wish to eliminate with TRUE.
The module will overwrite the settings made via the C3 ServoManager.
* During operation with reset distance, these errors are active with a limit of
8 000 000; you should therefore switch off the errors in this operating mode by
assignment to TRUE (with open input, a corresponding error is active).
VAR_INPUT
I0 ... I7 BOOL Displays the logic status of the respective input (with low
active inputs, the physical statuses are negated).
Notes: the module should always be brought up at the beginning of the processing
cycle.
C3_I nput
I0: BOOL
I1: BOOL
I2: BOOL
I3: BOOL
I4: BOOL
I5: BOOL
I6: BOOL
I7: BOOL
VAR_OUTPUT
O0 ... O3 BOOL Displays the status of the respective output.
Notes: the module should always be brought up at the end of the processing cycle.
C3_O utput
O0: BOOL
O1: BOOL
O2 : BOOL
O3 : BOOL
5.12.3.1 C3_IOAddition_0
FB name C3_IOAddition_0
Is used to create a process image of the optional digital inputs/outputs.
VAR_INPUT
I0 ... I3 BOOL Displays the status of the respective input.
O0 ... O3 BOOL Displays the status of the respective output.
Please note that the group of 4 may be assigned as inputs or outputs (see on
page 587). You may only use either inputs or outputs exclusively.
Notes: The module should always be brought up at the beginning (inputs) or end
(outputs) of the processing cycle.
C3_IOAddition_0
5.12.3.2 C3_IOAddition_1
FB name C3_IOAddition_1
VAR_INPUT
I4 ... I7 BOOL Displays the status of the respective input.
O4 ... O7 BOOL Displays the status of the respective output.
Please note that the group of 4 may be assigned as inputs or outputs (see on
page 587). You may only use either inputs or outputs exclusively.
Notes: the module should always be brought up at the beginning of the processing
cycle.
C3_IOAddition_1
5.12.3.3 C3_IOAddition_2
FB name C3_IOAddition_2
Is used to create a process image of the optional digital inputs/outputs.
VAR_INPUT
I8 ... I11 BOOL Displays the status of the respective input.
O8 ... O11 BOOL Displays the status of the respective output.
Please note that the group of 4 may be assigned as inputs or outputs (see on
page 587). You may only use either inputs or outputs exclusively.
Notes: the module should always be brought up at the beginning of the processing
cycle.
C3_IOAddition_2
VAR_IN_OUT
Axis INT Axis ID (Library constants)
VAR_INPUT
Execute BOOL Activates the module if there is a rising edge
SignalSource Pointer Selects the signal to be scanned.
The ADR () Operator must be used imperatively.
The signal scanned must be in the REAL or the INT
format.
FallingEdge BOOL If TRUE, it is triggered in the falling edge.
The logical status after a possible input inversion is
respected.
TriggerInput INT Selects the trigger input.
Constant TouchProbeInputx (see note)
ExpectedValue REAL Value at which the trigger event is expected.
Tolerance REAL Tolerance interval around ExpectedValue, where the
trigger event is accepted (always positive) (with
reference to the signal source).
StartIgnore REAL The beginning of the range in which the trigger event
will not be acknowledged with Done or Error (with
reference to the signal source).
StopIgnore REAL The end of the range in which the trigger event will not
be acknowledged with Done or Error (with reference to
the signal source).
EnableIgnoreZone BOOL Activate IgnoreZone.
Abort BOOL Deactivate module.
VAR_OUTPUT
Done BOOL Trigger event occurred within the tolerance interval and
the signal was detected.
RecordedSignal_ Real REAL Value scanned at the time of the trigger event, if the
source is available in the coDeSys "REAL format.
Please respect the format information of the signal
source (SignalSource)
RecordedSignal_ INT INT Value scanned at the time of the trigger event, if the
source is available in the coDeSys "INT" format.
Please respect the format information of the signal
source (SignalSource)
Busy BOOL Module active and no scanning signal occurred outside
the IgnoreZone.
Error BOOL Error while executing module.
Note:
Temporal precision of signal recording: <1µs
TriggerInput: Trigger-input:
via the constants "TouchProbeInput0" ... "TouchProbeInput7" (X12/6 - X12/14)
the trigger signal input is selected.
Attention!
Only max. one entity of the module can be active as the hardware resources
are only available once!
Several entities being activated one after the other are permitted.
C3_TouchProbe
C3_TouchProbe
Sampling Points
TRUE
Execute
FALSE
TRUE
t
Busy
FALSE
TRUE
t
Triggerinput
Signal FALSE
TRUE
t
Done
FALSE
t
Error TRUE
FALSE
t
RecordedSignal
4
Axis Signal
1
+ Tolerance
ExpectedValue 3
- Tolerance
1
StopIgnore
2
StartIgnore
1
t
If the value of the signal (SignalSource) during the Trigger event is in the
permissible value range between (ExpectedValue - Tolerance) and
(ExpectedValue + Tolerance), this is confirmed with Done = TRUE; the
RecordedSignal is updated.
If the value of the signal (SignalSource) during the Trigger Event is between
StartIgnore and StopIgnore (Ignore zone), the module will report neither error nor
Done, the RecordedSignal is however updated.
If the value of the signal (SignalSource) during the Trigger Event is outside the
permissible value range and outside the zone between StartIgnore and
StopIgnore (Ignore zone), the module will report an error, the RecordesSignal is
updated.
Within this range, the signals are read in with a temporal exactitude of <1µs
(determined by linear interpolation).
If a Trigger Signal occurs at Execute = False, the RecordedSignal is not updated.
If no Trigger Signal comes up, Busy remains active until the module is reset to
the original state with Abort.
More examples with C3_Touchprobe (example 7 (see on page 397) and
example 8 (see on page 399)).
VAR_IN_OUT
Device INT PIO - ID (Address)
VAR_INPUT
Execute BOOL Activates the module if there is a positive edge
VAR_OUTPUT
Done BOOL Initialization executed
Error BOOL An error occurred during initialization
ErrorCode WORD 1 = no Parker device
Additional errors can be found in the error list (see on
page 541).
AbortCode DWORD SDO abort code (see on page 487)
Note: Please execute this module at the beginning of the IEC program.
PIO_Init
VAR_INPUT
I0 ... I15 BOOL Displays the status of the respective input.
Note: For the additional inputs, the following modules are available
PIO_Input16_31
PIO_Input32_47 and
PIO_Input48_63.
Please execute this module at the beginning of the IEC program (After PIO_INIT).
PIO_Input0_15
I0: BOOL
I1: BOOL
I2: BOOL
I3: BOOL
I4: BOOL
I5: BOOL
I6: BOOL
I7: BOOL
I8: BOOL
I9: BOOL
I10 : BOOL
I11 : BOOL
I12 : BOOL
I13 : BOOL
I14 : BOOL
I15 : BOOL
VAR_INPUT
O0 ... O15 BOOL Displays the status of the respective output.
Note: For the additional outputs, the following modules are available
PIO_Output16_31
PIO_Output32_47and
PIO_Output48_63.
Please execute this module at the end of the IEC program.
PIO_Output0_15
O0 : BOOL
O1 : BOOL
O2 : BOOL
O3 : BOOL
O4 : BOOL
O5 : BOOL
O6 : BOOL
O7 : BOOL
O8 : BOOL
O9 : BOOL
O10 : BOOL
O11 : BOOL
O12 : BOOL
O13 : BOOL
O14 : BOOL
O15 : BOOL
Solution:
VAR_OUTPUT
O0 BOOL Status of the digital output O0 on the C3 powerPLmC side
O1 BOOL Status of the digital output O1 on the C3 powerPLmC side
O2 BOOL Status of the digital output O2 on the C3 powerPLmC side
O3 BOOL Status of the digital output O3 on the C3 powerPLmC side
LocalEnable BOOL Enable for the local IEC61131-3 program
LocalEnable switches to FALSE for one cycle, if a
command for this axis is activated on the C3 powerPLmC.
This helps to avoid that the axis will receive different
commands at a time.
Event1 ... Event8 factory use
EventParameter factory use
Note:
The execution of all local motion functions should be coupled with the
LocalEnable output.
Via the outputs O0...O3, the outputs set by C3 powerPLmC can be set out via the
physical outputs with the aid of C3_Output.
Recipe array line Please note that the last 16 lines of the recipe array (C3Array.ColXX_Row17 to
17... 32 assigned C3Array.ColXX_Row32) are reserved for the communication with C3 powerPLmC.
PLmC_Interface
2x INT:
Assignment of the cyclic channel with 2 INT variables
1x DINT:
Assignment of the cyclic channel with one DINT variable
1x REAL:
Assignment of the cyclic channel with one REAL variable
Note: The use of INT or DINT variables is especially suitable for implementing a
user-defined control word / status word between C3 powerPLmC IEC61131-3
program and Compax3 IEC61131-3 program.
Configuration of the data channel
Note: If the cyclic data channel is not required, it can also be assigned to the actual
position of the axis. This is then provided by the "MC_ReadActualPosition (see
on page 288)" module. Therefore the value must not be continually read via the
acyclic channel if the module is used; this reduces the bus load and the IEC cycle
time.
In ST:
Program on C3 powerPLmC
VAR_IN_OUT
-- -- --
VAR_INPUT
CW1 WORD Control word according to Profidrive (see below)
CWadd INT additional control word: the following functions
can be triggered in the positioning mode
0: no action
1: NOP (No Operation)
2: Stop
3: Homing
Execution takes place with the "activate motion
order" of CW1. The value must be reset to zero
after the execution!
OperationMode INT Operating mode after Profidrive
1: Speed control
2: Positioning
Position REAL Position setpoint value for all positioning
commands (MoveAbs, MoveRel, MoveAdd,
RegSearch, RegMove preparation)
Velocity REAL Setpoint speed in operating mode 1 (speed
control) and for MoveVelocity (not for positioning)
VelocityForPosition REAL Setpoint travel speed for positioning
VelocityForJog REAL Speed for manual (JOG)
Acceleration DINT Setpoint acceleration
Deceleration DINT Setpoint deceleration
DecelerationForStop DINT Deceleration for Stop
Jerk DINT Setpoint jerk
VAR_OUTPUT
ZSW1 WORD Status word after Profidrive
OperationModeActual INT Active operating mode
PositionOfRegMove REAL Position transmitted to the RegMove command
(cache memory)
Note: The output is connected to the
PositionForRegMove input in the simplest case.
VelocityOfRegMove REAL Velocity transmitted to the RegMove command
(cache memory)
Note: The input is connected to the
VelocityForRegMove output in the simplest case.
CStatus2OfRegMove WORD reserved!
StatusMotor_off BOOL Motor is currentless (TRUE)
StatusMotor_standstill BOOL Status motor is energized at standstill (setpoint
value) (TRUE)
CStatus1 WORD reserved!
CStatus2 WORD reserved!
Notes:
You can call up directly the help for the Compax3 Profidrive device (I20T11) via
the help installer (C3 ServoManager "?" Start C3 ServoManager Help Installer...)
(select and open in the left window).
On the Compax3 CD you will find an application example with additional
explanations for the use of this module:
C3 CD - directory....\Examples\Profidrive with T30T40\
6. Communication
Here you will find the description of the fieldbus interfaces, which can be configured
in the Compax3 ServoManager under the tree entry "configuring the
communication".
Please note: The configuration of the process data (Mapping) is made wizard-guided with the
Compax3 ServoManager.
If you perform the mapping directly via the master, you must go through this
fieldbus wizard once; the Compax3 ServoManager will perform the necessary
initializations.
In this chapter you can read about:
Compax3 communication variants ................................................................................. 445
COM port protocol ......................................................................................................... 454
Remote diagnosis via Modem ........................................................................................ 459
Profibus/Profinet ............................................................................................................ 462
CANopen ....................................................................................................................... 473
DeviceNet ...................................................................................................................... 489
Ethernet Powerlink / EtherCAT ...................................................................................... 492
HEDA Bus ..................................................................................................................... 493
Normalization factors ..................................................................................................... 514
The serial UPort 1130 USB adapter offers a simple and comfortable method of
connecting an RS-422 or RS-485 device to your laptop or PC. The UPort 1130 is
connected to the USB port of your computer and complements your workstation
with a DB9 RS-422/485 serial interface. For simple installation and configuration,
Windows drivers are already integrated. The UPort 1130 can be used with new or
legacy serial devices and supports both 2- and 4-wire RS-485. It is especially
suited for mobile, instrumentation and point-of-sale (POS) applications.
Manufacturer link http://www.moxa.com/product/UPort_1130_1130I.htm
Connection plan for Compax3S:
Switching between the ASCII and the binary record via automatic record
detection.
Please note that the connected Pop has the same RS485 setting values.
You can test this with the "PopDesigner" software.
Device Address The device address of the connected Compax3 can be set here.
Baud rate Adjust the transfer speed (baud rate) to the master.
Cable type Please choose between two-wire and four-wire RS485 (see on page 64).
Command A command consists of the representable ASCII characters (0x21 .. 0x7E). Small
letters are converted automatically into capitals and blanks (0x20) are deleted, if
they are not placed between two quotation marks.
Separator between places before and after the decimal is the decimal point (0x2E).
A numeric value can be given in the Hex-format if it is preceded by the “$” sign.
Values can be requested in the Hex-format if the CR is preceded additionally by
the “$” sign.
Answer strings All commands requesting a numeric value from Compax3 are acknowledged with
the respective numeric value in the ASCII format followed by a CR without
preceding command repetition and following statement of unit. The length of these
answer strings differs depending on the value.
Commands requesting an Info-string (e.g. software version), are only
acknowledged with the respective ASCII character sequence followed by a CR,
without preceding command repetition. The length of these answer strings is here
constant.
Commands transferring a value to Compax3 or triggering a function in Compax3
are acknowledged by:
>CR
if the value can be accepted resp. if the function can be executed at that point in
time.
If this is not the case or if the command syntax was invalid, the command is
acknowledged with
!xxxxCR
.
The 4 digit error number xxxx is given in the HEX format; you will find the meaning
in the appendix (see on page 541).
RS485 answer string When using RS485, each answer string is preceded by a “*“" (ASCII - character:
0x2A).
Compax3 commands
Read object
RS232: O [$] Index , [$] Subindex [$]
RS485: Address O [$] Index , [$] Subindex [$]
The optional "$" after the subindex stands for "hex-output" which means that an
object value can also be requested in hex;
For example "O $0192.2$": (Object 402.2)
Write object
RS232: O [$] Index , [$] Subindex = [$] Value [ ; Value2 ; Value3 ; ...]
RS485: Address O [$] Index , [$] Subindex = [$] Value [ ; Value2 ; Value3 ; ...]
The optional “$” preceding Index, Subindex and value stands for “Hex-input” which
means that Index, Subindex and the value to be transferred can also be entered in
hex (e.g. O $0192.2=$C8).
Telegram layout
Basic structure:
Start code Address Number of data bytes - 1 Data Block securing
SZ A L D0 D1 ... Dn Crc(Hi) Crc(Lo)
The start code defines the frame type and is composed as follows:
Bit 7 6 5 4 3 2 1 0
Frame type Frame identification PLC Gateway Address
RdObj read object 1 0 1 0 x 1 x x
WrObj write object 1 1 0 0 x 1 x x
Rsp response 0 0 0 0 0 1 0 1
Ack positive command acknowledgement 0 0 0 0 0 1 1 0
Nak Negative command acknowledgement 0 0 0 0 0 1 1 1
Bits 7, 6, 5 and 4 of the start code form the telegram identification; Bit 2 is always
“1”.
Bits 3, 1 and 0 have different meanings for the request and response telegrams.
The address is only necessary for RS484.
Request telegrams
-> Compax3
the address bit (Bit 0 = 1 ) shows if the start code is followed by an address
(only for RS485; for RS232 Bit 0 = 0)
the gateway bit (Bit 1 = 1) shows if the message is to be passed on.
(Please set Bit 1 = 0, as this function is not yet available)
the PLC bit (Bit 3 = 1 ) allows access to objects in the PLC/Pop format
U16, U32: for integer formats (see bus formats: Ix, Ux, V2)
IEEE 32Bit Floating Point: for non integer formats (bus formats: E2_6, C4_3, Y2,
Y4; without scaling)
With Bit 3 = 0 the objects are transmitted in the DSP format.
DSP formats:
24 Bit = 3 Bytes: Integer INT24 or Fractional FRACT24
48 Bit = 6 Bytes: Real REAL48 (3 Byte Int, 3 Byte Fract) / Double Integer DINT48
/ Double Fractional DFRACT48
Response telegram
Compax3 ->
Bits 0 and 1 are used to identify the response
Bit 3 is always 0
The maximum number of data bytes in the request telegram is 256, in the response
telegram 253.
The block securing (CRC16) is made via the CCITT table algorithm for all
characters.
After receiving the start code, the timeout monitoring is activated in order to avoid
that Compax3 waits in vain for further codes (e.g. connection interrupted) The
timeout period between 2 codes received is fixed to 5ms (5 times the code time at
9600Baud)
Block securing:
Checksum calculation for the CCITT table algorithm
The block securing for all codes is performed via the following function and the
corresponding table:
The “CRC16” variable is set to “0” before sending a telegram.
Function call:
CRC16 = UpdateCRC16(CRC16, Character);
return crc16;
}
You will find this function on the Compax3 DVD under RS232_485\\Function
UpdateCRC16.txt!
Requirements:
For modem operation, a direct and stable telephone connection is required.
Operation via a company-internal telephone system is not recommended.
In this chapter you can read about:
Structure........................................................................................................................ 459
Configuration of local modem 1 ..................................................................................... 460
Configuration of remote modem 2.................................................................................. 461
Recommendations for preparing the modem operation.................................................. 461
6.3.1. Structure
Layout and configuration of a modem connection ServoManager -
Compax3:
machine
PC Release PC
> R5-0
7
Compax3 Compax3 Compax3
ServoManager
5 konfig ServoManager
konfig 3 konfig
Modem 1 Modem 2 konfig
Phone
X10
1 2 4 SSK31 6 9 8
Release
> R4-5
konfig konfig < R5-0
PC (115200Baud)
ATE0 cr
10 ATQ1 cr 11
Hyper-
Compax3.ini
terminal
The green part of the drawing shows the proceeding for Compax3 release versions
< R5-0!
The proceeding for Compax3 release versions < R5-0 is described in an
application example (.../modem/C3_Appl_A1016_language.pdf on the Compax3
CD).
Connection Compax3 ServoManager <=> Compax3
The Compax3 ServoManager (1) establishes a RS232 connection with modem 1
(PC internal or external).
Modem 1 dials modem 2 via a telephone connection (3).
Modem 2 communicates with Compax3 (6) via RS232.
Configuration
Modem 1 is configured via the Compax3 ServoManager (1)
Modem 2 can be configured via Compax3 (on place), triggered by putting SSK31
(see on page 586) on X10. For this, the device must be configured before. This can
be made locally before the system / machine is delivered with the aid of the
Compax3 ServoManager (8).
Close the window and establish the connection with button (open/close COM
port).
The connection is interrupted when the COM port is closed.
Note:
If a configuration download is interrupted, the original settings in the non volatile
memory of the Compax3 are still available.
You have to finish the communication on the PC side and to reset the Compax3 via
the 24V supply before you can start a new trial.
6.4 Profibus/Profinet
The Profibus option is available on the Compax3 devices C3I20Txx!
The Profibus option is available on the Compax3 devices C3I32Txx!
The objects that can be put on the process data channel can be found in the
" Compax3 Objects (see on page 515)"!
PPO type / PKW Depending on the configuration that is set, the resulting PPO type is displayed in
type, telegram size the "Profibus telegram" wizard window (in the status line of the wizard window).
You can use this value for the configuration of the Profibus master.
With Profinet, you can read out the PKW type and the telegram size for setting in
the Profinet Controller.
Assignment of the When data is read out of the Process Data Channel (PZD), the word width of the
PZD individual objects must be carefully noted.
Example: Assignment:
Object Word width Assignment Address
POSITION_position 2 AW(n) & AW(n+1) AD(n)
POSITION_speed 2 AW(n+2) & AW(n+3) AD(n+2)
AnalogOutput0_DemandValue 1 AW(n+4) AW(n+4)
AnalogOutput1_DemandValue 1 AW(n+5) AW(n+5)
Array_Col1_Row1 2 AW(n+6) & AW(n+7) AD(n+6)
PLC Compax3
0 2 4 6 8 10 12 14 16 Byte
AW(n) AW(n+1) AW(n+2) AW(n+3) AW(n+4) AW(n+5) AW(n+6) AW(n+7)
Compax3 PLC
0 2 4 6 8 10 12 14 16 Byte
EW(n) EW(n+1) EW(n+2) EW(n+3) EW(n+4) EW(n+5) EW(n+6) EW(n+7)
PKW structure
PKW
0 2 4 8
Additional information on the structure of the PKW (see on page 465)
PKE structure:
Byte 1 Octet 2
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AK SPM PNU
AK: Order or response identification (value range 0 ... 15)
SPM: reserved
PNU: Parameter number
Sequence
The master/controller transfers an order to a Compax3.
The master/controller repeats this order at least until a response is received from
Compax3.
This procedure ensures the transfer of orders / responses on the user level.
Only one order is ever being processed at a time.
Compax3 continues to make the response available until the master/controller
formulates a new order.
For responses containing parameter values, Compax3 always responds upon
repetition with the current value (cyclic processing). This applies to all responses
to the orders “Request parameter value”, “Request parameter value (Array)” and
“Request object”.
The PWE transfer of word sizes takes place with byte 7 and 8, while the transfer
of double word sizes takes place with byte 5 through 8.
PLC - Compax3
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8
PKE IND PWE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Subindex - MSB LSB
AK PNU
2 0 402 3 0 200
0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0
Compax3 responds with the same content, except with response identification = 1:
Compax3 - PLC
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8
PKE IND PWE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Subindex - MSB LSB
AK PNU
1 0 402 3 200
0 0 0 1 0 0 0 1 1 0 0 1 0 0 1 0
If no additional object needs to be changed, the new value can be set to valid with
VP:
Object: Set objects to valid PNU 338.10 (because of DPV0 the Subindex must be
incremented by one (see on page 465))
PLC - Compax3
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8
PKE IND PWE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Subindex - MSB LSB
AK PNU
2 0 338 11 1
0 0 1 0 0 0 0 1 0 1 0 1 0 0 1 0
Compax3 responds with the same content, except with response identification = 1:
Compax3 - PLC
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8
PKE IND PWE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Subindex - MSB LSB
AK PNU
1 0 338 11 1
0 0 0 1 0 0 0 1 0 1 0 1 0 0 1 0
Reading back the object set objects to valid makes it possible to check whether the
command was performed. Byte 8 will the contain the value 0.
The change can be stored and will not be lost even if with a power failure by using
the object "Save objects permanently".
Object: Save objects permanently PNU 339
PLC - Compax3
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8
PKE IND PWE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Subindex - MSB LSB
AK PNU
2 0 339 0 1
0 0 1 0 0 0 0 1 0 1 0 1 0 0 1 1
Compax3 responds with the same content, except with response identification = 1:
Compax3 - PLC
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8
PKE IND PWE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Subindex - MSB LSB
AK PNU
1 0 339 0 1
0 0 0 1 0 0 0 1 0 1 0 1 0 0 1 1
Condition:
Integer formats
Twos complement representation;
The highest order bit (MSB) is the bit after the sign bit (VZ) in the first byte.
VZ == 0: positive numbers and zero; VZ == 1: negative numbers
Type Bit 8 7 6 5 4 3 2 1
Integer 8 VZ 26 25 24 23 22 21 20
length: 1 Byte
Integer 16 MSB VZ 214 213 212 211 210 29 28
Length: 1 Word LSB 27 26 25 24 23 22 21 20
Integer 32 MSB VZ 230 229 228 227 226 225 224
Length: 2 Words 223 222 221 220 219 218 217 216
LSB 27 26 25 24 23 22 21 20
Unsigned - Formats
Type Bit 8 7 6 5 4 3 2 1
Unsigned 8 27 26 25 24 23 22 21 20
Length: 1 Byte
Unsigned 16 MSB 215 214 213 212 211 210 29 28
Length: 1 Word LSB 27 26 25 24 23 22 21 20
Unsigned 32 MSB 231 230 229 228 227 226 225 224
Length: 2 Words 223 222 221 220 219 218 217 216
LSB 27 26 25 24 23 22 21 20
1. Y2 - normalization factors
Object 200.1: NormFactorY2_Speed: Normalization factor for Y2 speeds
Object 200.2: NormFactorY2_Position: Normalization factor for Y2 positions
Object 200.3: NormFactorY2_Voltage: Normalization factor for Y2 voltages
Object 200.4: Normalization factor for 1100.8 (T30, T40)
Object 200.5: NormFactorY2_Array_Col2: Normalization factor for Column 2 of
the recipe array
Object 200.6: Normalization factor for 1100.9 (T30, T40)
Object 200.7 Normalization factor for 1000.8
Object 200.8: Normalization factor for 1000.9 (T30, T40)
Object 200.9: Normalization factor for 1100.14 (T30, T40)
Object 200.10: Normalization factor for 1000.14 (T30, T40)
Object 200.11: Normalization factor for Y2 currents (638.35 ... 638.40) (T30, T40)
2. Y4 - normalization factors
Object 201.1: NormFactorY4_Speed: Normalization factor for Y4 speeds
Object 201.2: NormFactorY4_Position: Normalization factor for Y4 positions
Object 201.3: NormFactorY4_Voltage: Normalization factor for Y4 voltages
Object 201.4: NormFactorY4_Array_Col1: Normalization factor for Column 1 of
the recipe array
Object 201.5: Normalization factor for 1100.6
Object 201.6: Normalization factor for 1100.7
Object 201.7 Normalization factor for 1000.6 (T30, T40)
Object 201.8: Normalization factor for 1000.7 (T30, T40)
Object 201.11: Normalization factor for bus interpolation
CANSync/EthernetPowerLink
1100.6 = DeviceControl_DemandValue1 (DS 402 : Target position 0x607A in
the "Cyclic Synchronous Position" Operation Mode)
3921.1 = FBI_SignalProcessing0_Input (DS 402 : Interpolation data record
0x60C1.1 in the "Interpolated Position" Operation Mode) (resulting in 3921.6 =
FBI_SignalProcessing0_Output and
3921.7 = FBI_SignalProcessing0_OutputGreat)
Object 201.12: Normalization factor for 1100.13 = DeviceControl_DemandValue8
(DS 402: Target Velocity 0x60FF in "Profile velocity (pv)" and "cyclic synchronous
velocity (csv)" Operation Mode)
Object 201.13: Normalization factor for 1000.13 = DeviceState_ActualValue8
(T30, T40)
Object 201.14: Normalization factor for 3925.20 = FBR_InterpolationAccelInput
Object 201.15: Normalization factor for 3925.21 = FBR_InterpolationAccelInput
Bit sequence V2
The V2 bus format is a bit sequence with a length of 16 bits.
Byte string OS
Octet string OS: String with variable length.
You can find the modules on the Compax3 DVD or in the internet under
http:/www.compax3.info/startup http://www.compax3.info/startup.
You will find a description of these function modules in the help file !
6.5 CANopen
The CANopen option is available with the Compax3 devices C3I21Txx!
Following are described the input windows of the CANopen configuration wizard.
Can be called up in the tree (Compax3 ServoManager, left window) under
"configure communication".
C3 Master PIO
In the "C3 Master PIO" operating mode, the input window for the CANopen PIO
mapping is following:
Please state, how many words the process image of the PIOs will need, 1.. 4
words are possible.
The process image is transmitted via the process data objects as follows:
Digital Inputs: RPDO1
Analog Inputs: RPDO2
Digital Outputs: TPDO1
Analog Outputs: TPDO2
The inputs and outputs are stored in objects (O150.x ... O153.x).
Object 150.x: Digital Inputs
Object 151.x: Digital Outputs
Object 152.x: Analog Inputs
Object 153.x: Analog Outputs
The digital inputs and outputs can be read or written into in the IEC program via
modules (see on page 426) in order to get an exact process image. Modules:
PIO_Input0_15, PIO_Input16_31, PIO_Input32_47, PIO_Input48_63,
PIO_Output0_15, PIO_Output16_31, PIO_Output32_47, PIO_Output48_63.
Before that, you must execute some initializations; this can be made with the aid of
the PIO_INIT (see on page 426) module.
The objects that can be put on the process data channel can be found in the "
Compax3 Objects (see on page 515)"!
VAR_INPUT
Enable BOOL Activating the module
VAR_OUTPUT
Stopped BOOL CANopen node is in "Stopped" state
Operational BOOL CANopen node is in the "Operational" state
(communication via process data and service data
objects is possible)
PreOperational BOOL CANopen node is in the "PreOperational" state
(communication via process data and service data
objects is possible)
C3_CANopen_State
CANopen states
Power On
Initialisation
10, 11
Pre-Operational
8
7
Stopped
6 8 6
7
Operational
VAR_INPUT
Enable BOOL Activating the module
VAR_OUTPUT
GuardingStarted BOOL The NMT master started the Nodeguarding procedure
LostGuarding BOOL The node did not receive a Nodeguarding RTR telegram
from the NMT master during the Guarding time.
LostConnection BOOL The node did not receive a RTR telegram from the NMT
Master during the "Node Life Time" (GuardingTime *
LifeTimeFactor) and therefore considers the connection
as interrupted.
C3_CANopen_GuardingState
VAR_INPUT
Execute BOOL Activating the module
Device INT Node-ID (1 ... 127)
GuardTime INT Guard time = 0
LifeTimeFactor INT Life Time Factor = 0
VAR_OUTPUT
Done BOOL Function executed without error
Error BOOL Error occurred
ErrorCode WORD You will find the error code in the Compax3 error list
(see on page 541).
AbortCode DWORD CANopen SDO abort code (see on page 487) upon
error 65377
C3 CANopen stack error (see on page 479) no. upon
error 65376
MyNode_ID INT Own Node_ID (NMT master)
Note: Compax3 must be CANopen master.
C3_CANopen_AddNode
VAR_INPUT
Execute BOOL Activating the module
ReferenceDevice INT Node ID of the 1st. node (1 ... 127)
RemoteDevice INT Node ID of the 2nd. node (1 ... 127)
ReferenceTxPDO INT TxPDO number of the 1st. node (1 ... 4)
RemoteRxPDO INT TxPDO number of the 2nd. node (1 ... 4)
ReferenceRxPDO INT TxPDO number of the 1st. node (1 ... 4)
RemoteTxPDO INT TxPDO number of the 2nd. node (1 ... 4)
"0" do not establish connection
VAR_OUTPUT
Done BOOL Function executed without error
Error BOOL Error occurred
ErrorCode WORD You will find the error code in the Compax3 error list
(see on page 541).
AbortCode DWORD CANopen SDO abort code (see on page 487) upon
error 65377
C3 CANopen stack error (see on page 479) no. upon
error 65376
Note: Compax3 must be CANopen master.
C3_CANopen_ConfigNode
VAR_INPUT
Execute BOOL Activating the module
Device INT Node ID (0 ... 127)
0 = NMT-message is valid for all nodes
State INT State which the node must take on:
START_REMOTE_NODE
STOP_REMOTE_NODE
ENTER_PRE_OPERATIONAL
RESET_NODE
RESET_COMMUNICATION
(these are no constants; please enter therefore
directly)
VAR_OUTPUT
Done BOOL Function executed without error
Error BOOL Error occurred
ErrorCode WORD CANopen-Stack error no.
1 = not sufficient memory
2 = node is not in the management list
3 = node is already in the management list
4 = nodes are in the wrong state
11 = network object not available
12 = node 0 was selected
65378 = C3 has no master functionality
Note: Compax3 must be CANopen master.
C3_CANopen_NMT
VAR_INPUT
Execute BOOL Activating the module
Device INT Node ID of the other node (1 ... 127)
Index WORD Object Index (CAN-No.)
Subindex WORD Object Subindex (CAN-No.)
VAR_OUTPUT
Data DWORD Object data read in
Length WORD Data length in Byte
Done BOOL Function executed without error
Error BOOL Error occurred
ErrorCode WORD You will find the error code in the Compax3 error list
(see on page 541).
AbortCode DWORD CANopen SDO abort code (see on page 487) upon
error 65377
C3 CANopen stack error (see on page 479) no. upon
error 65376
Note: Compax3 must be CANopen master.
C3_CANopen_SDO_Read4
This module allows to read an object with a max. length of 4 bytes in another node via
SDO.
VAR_INPUT
Execute BOOL Activating the module
Device INT Node ID of the other node (1 ... 127)
Index WORD Object Index
Subindex WORD Object subindex
Data DWORD Object data which must be written
Length WORD Data length in Byte
VAR_OUTPUT
Done BOOL Function executed without error
Error BOOL Error occurred
ErrorCode WORD You will find the error code in the Compax3 error list
(see on page 541).
AbortCode DWORD CANopen SDO abort code (see on page 487) upon
error 65377
C3 CANopen stack error (see on page 479) no. upon
error 65376
Note: Compax3 must be CANopen master.
C3_CANopen_SDO_Write4
CAN is an open system which has been standardized in the ISO 11898 and OSI
reference model ISO 7498.
CAN is Multi-Master compatible.
Data transmission takes place with up to 8 Bytes useful data.
The CAN objects are designated with an 11 Bit identifier (ID or COB-ID: CAN
Object identifier). The identifier specifies the priority of the objects (the smaller the
value of the object ID is, the higher is the priority level of the object).
The COB-ID consists of the function code and the node ID:
R-PDO1 0100b 513-639 201h-27Fh 1400h Assignment via Index 1600h Receive process data objects
(Compax3) max. 8 Byte
R-PDO2 0110b 769-895 301h-37Fh 1401h Assignment via Index 1601h
Attention!
A SDO is a confirmed service, therefore the SDO reply telegram must always
be awaited before a new telegram may be transmitted.
Upload
RS232 / RS485 O1 O2 O3 O4 O5 O6 O7 O8 ... O 20
Access Object C3 object request/reply C3 object data
1. Write C3 object 20.2 with the value 0
Write 0x2200.0 4 2 0 20 0 0 0 x ... x
2. read next C3 object index/subindex in C3 object 20.5
Write 0x2200.0 3 5 0 20 x x x x ... x
Read 0x2201.0 x x x x I_hi I_lo Subi x ... x
3. read the C3 object with the in index/subindex read in the C3 object 20.5
Write 0x2200.0 3 Subi I_hi I_lo x x x x ... x
Read 0x2201.0 x x x x D1 D2 D3 D4 ... D16
4. Store C3 object index, subindex and data D1...D16 in table
5. Repeat steps 2 to 4 until I_hi = I_lo = Subi = 0xFF
6.6 DeviceNet
Please note:
The length of the Input / Output Message is adapted to the real assignment
(mapping) (2 ... 32).
Statement of Conformance
http://www.compax3.de/C3_DeviceNet_Statement_of_Conformance.pdf (in
the Internet)
The objects that can be put on the process data channel can be found in the "
Compax3 Objects (see on page 515)"!
The HEDA option (option M10 or M11) can be used to send 4 process values in the
"HEDA standard" operating mode from master to slave. A return transmission from
Slave to Master is possible with "HEDA advanced".
Principle:
Compax3 T30 / T40 Compax3 T30 / T40
1)
Channel 1 Channel 1 Configuration:
Communication:
HEDA-Master
HEDA-Slave
Channel 2 Channel 2
HEDA
Channel 3 Channel 3 2)
Channel 4 Channel 4
6.8.1.2 HEDA-Master
You can transmit 4 process values (one process value per channel) with max. 7
words (one process value per channel).
The 1st. process value (takes 3 words) is reserved for the axis synchronization.
You may choose between:
Setpoint position value (Object 2000.1)
Actual position (Object 2200.2)
Setpoint position value from virtual Master (object 2000.2)
External position value (Object 2020.1)
Signal read into the master via <Analog channel_C3_C3F>, Encoder input or
step/direction input.
Principle:
Compax3 HEDA Compax3 HEDA Compax3
Step / Direction
+/-10V
Additional 3 process values with altogether max. 4 words data can be transmitted.
You can make your choice between the Compax3 PD objects.
Note: Please use the coupling objects (see on page 513) for axis coupling.
6.8.1.3 HEDA-Slave
In the HEDA slave, the transmitted process values are read.
The transferred process values can be assigned to objects in the configuration
wizard (e.g. array objects).
Objects with appropriate data width (corresponding to the process values read in)
must be assigned.
The 1st process value is used as input process value (object 3920.1: HEDA
SignalProcessing Input) for axis synchronization. The target for the process values
2, 3, 4 can be selected from a list in the configuration wizard.
The Measure reference for the Master position is selected under Configuration:
Configuration of the signal source: HEDA (see on page 151).
Principle:
4 18
4 4 4
4 4 4 4
18
6.8.2.3 Definitions
DSP Format Objects with this format:
are not reset
are not limited:
they have a value range between -223 and 223-1
are suitable as coupling objects
If the DSP Format is not selected, the objects are transmitted in
the described formats (see on page 515). Please note that
the Bus formats Y2 and Y4 (see on page 471) are set against
the normalization factors.
Frame Telegram of process values with a data width of 7 words.
Mapping Image of process data on a communication channel (slot)
Mapping table Overview of process values that can be put on a
communication channel (slot).
Coupling objects Are suitable as master signals for electronic coupling and must
be in the DSP format.
Receive Received
Slot communication channel
Transmit Send
Process data Objects, which are suitable for use in the cyclic data channel.
The "HEDA advanced" wizard settings overwrite the settings of the HEDA
standard wizard!
In standard applications the master sends process values to the slaves and reads
the answers from the slaves.
S0 S0
S1 S1
S2 S2
** S3 * S3
S4 S4
S5 S5
S6 S6
S7 S7
S8 S8
S9 S9
S10 S10
S11 S11
S12 S12
S13 S13
S14 S14
S15 S15
S16 S16
S17 S17
Mapping Table
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Receive Transmit Transmit Transmit
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Mapping Table
S17 S17
S16 S16
S15 S15
S14 S14
S13 S13
S12 ** S12
S11 S11
S10 S10
S9 S9
S8 S8
S7 S7
S6 S6
S5 S5
S4 S4
S3 S3
S2 S2
S1 S1
S0 S0
* only one of the assigned slots per frame group may be activated on the slave
transmit side (this is blocked by the C3 ServoManager)
* only one of the assigned slots per frame group may be activated on the master or
slave receive side (this is blocked by the C3 ServoManager)
Print version available on the Internet
http://divapps.parker.com/divapps/eme/EME/downloads/compax3/HEDA-Formulare/HE
DA-Standard.pdf
S0 S0
S1 S1
S2 S2
S3 S3
S4 S4
S5 S5
S6 S6
S7 S7
S8 S8
S9 S9
S10 S10
S11 S11
S12 S12
S13 S13
S14 S14
S15 S15
S16 S16
S17 S17
Mapping Table
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Receive Transmit Transmit Transmit
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Mapping Table
S17 S17
S16 S16
S15 S15
S14 S14
S13 S13
S12 S12
S11 S11
S10 S10
S9 S9
S8 S8
S7 S7
S6 S6
S5 S5
S4 S4
S3 S3
S2 S2
S1 S1
S0 S0
Functionality:
The master can send 4 different frames (F1,... F4). A frame can be sent from
several slots:
Frame: F1 F2 F3 F4
possible slots: 0 ... 2 3 ... 7 8 ... 12 13 ... 17
Each frame is assigned a mapping table number.
The individual slaves read in the slot from where their relevant data are sent.
It is necessary to define a mapping table in the slave, stating where the individual
process data are to be written (e.g. into an array-object).
The assignment of the mapping table is made via the mapping table number which
is transferred via HEDA.
For this reason, the receive mapping table number and the transfer mapping table
number must always be the same.
Important:
For standard applications (data transfer master - slave and back) all slots in
the master must be transmitting.
for this reason you should activate all transmit slots (0...17, in the lower area of
the wizard window).
Please assign, according to your requirements, a mapping table to each of the 4
transmit frames.
The contents of the transmit mapping table is defined in the next wizard window.
In each of the 125µs cycles (slot 0...2, slot 3...7, slot 8...12, slot 13...17) data can
be received only via one slot, see also the HEDA communication structure (see
on page 498).
The assignment of the data is made via the mapping table number (which was
defined in the slave), this number is also received.
In the Wizard window "Receive Mapping table", it is defined under this mapping
table number where the data received are to be written to.
Note: For axis coupling, please use the coupling objects (see on page 513) in the DSP
format (see on page 497) (selected by clicking on the DSP switch).
Please make sure that the DSP switch is activated on the master and the slave
side in DSP format.
Note: For axis coupling, please use the coupling object (see on page 513) O3920.1 in
the DSP format (see on page 497) as an input (selection by clicking on the DSP
switch).
Please make sure that the DSP switch is activated on the master and the slave
side in DSP format.
In each of the four 125µs cycles (slot 0...2, slot 3...7, slot 8...12, slot 13...17) data
can be received only via one slot, see also the HEDA communication structure
(see on page 498).
The assignment of the data is made via the mapping table number (which was
defined in the master), this number is also received.
In the Wizard window "Receive Mapping table", it is defined under this mapping
table number where the data received are to be written to.
Please consider, that transmit mapping table numbers are only used once in
one transmit/receive range.
The contents of the transmit mapping table is defined in the next wizard window.
Note: For axis coupling, please use the coupling objects (see on page 513) in the DSP
format (see on page 497) (selected by clicking on the DSP switch).
Please make sure that the DSP switch is activated on the master and the slave
side in DSP format.
Note: For axis coupling, please use the coupling object (see on page 513) O3920.1 in
the DSP format (see on page 497) as an input (selection by clicking on the DSP
switch).
Please make sure that the DSP switch is activated on the master and the slave
side in DSP format.
S0 S0
S1 S1
S2 S2
S3 S3
S4 S4
S5 S5
S6 S6
S7 S7
S8 S8
S9 S9
S10 S10
S11 S11
S12 S12
S13 S13
S14 S14
S15 S15
S16 S16
S17 S17
Mapping Table 1 6 7 8
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Receive Transmit Transmit Transmit
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
1 2 4 5 Mapping Table
S17 S17
S16 S16
S15 S15
S14 S14
S13 S13
S12 S12
S11 S11
S10 S10
S9 S9
S8 S8
S7 S7
S6 S6
S5 S5
S4 S4
S3 S3
S2 S2
S1 S1
S0 S0
Master Transmit
Master sends on:
Slot 0...2: Mapping table 1
Slot 3...7: Mapping table 2
Slot 8...12: Mapping table 4
Slot 13...17: Mapping table 5
Slave Receive
Slave 1 reads on:
Slot 2: Mapping table 1
Slot 3: Mapping table 2 and
Slot 8: Mapping table 4
Slave 2 reads on:
Slot 6: Mapping table 2
Slot 9: Mapping table 4 and
Slot 13: Mapping table 5.
Slave 3 reads on
Slot 1: Mapping table 1 and
Slot 9: Mapping table 4.
Slave Transmit
Slave 1 sends on:
Slot 1: Mapping table 1
Slot 5: Mapping table 6
Slave 2 sends on:
Slot 8: Mapping table 7
Slave 3 sends on:
Slot 17: Mapping table 8
Master Receive
Master receives on:
Slot 1: Mapping table 1
Slot 5: Mapping table 6
Slot 8: Mapping table 7
Slot 17: Mapping table 8
C3 ServoManger settings:
Example for receive mapping table 1 at slave 1 (is also valid for slave 3, master)
S0 S0
S1 S1
S2 S2
S3 S3
S4 S4
S5 S5
S6 S6
S7 S7
S8 S8
S9 S9
S10 S10
S11 S11
S12 S12
S13 S13
S14 S14
S15 S15
S16 S16
S17 S17
Mapping Table
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Receive Transmit Transmit Transmit
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Mapping Table
S17 S17
S16 S16
S15 S15
S14 S14
S13 S13
S12 S12
S11 S11
S10 S10
S9 S9
S8 S8
S7 S7
S6 S6
S5 S5
S4 S4
S3 S3
S2 S2
S1 S1
S0 S0
Please note:
Please ensure that all slots are used for transmission, the C3 ServoManager
cannot verify this fact!
In order to verify this, please use the HEDA communication structure.
Task:
MT3
MT2
MT1
MT5
MT6
MT7
S0 S0
S1 S1
S2 S2
S3 S3
S4 S4
S5 S5
S6 S6
S7 S7
S8 S8
S9 S9
S10 S10
S11 S11
S12 S12
S13 S13
S14 S14
S15 S15
S16 S16
S17 S17
Mapping Table
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Receive Transmit Transmit Transmit
1 2 3
HEDA Master HEDA Slave HEDA Slave HEDA Slave
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Mapping Table
S17 S17
S16 S16
S15 S15
S14 S14
S13 S13
S12 S12
S11 S11
S10 S10
S9 S9
S8 S8
S7 S7
S6 S6
S5 S5
S4 S4
S3 S3
S2 S2
S1 S1
S0 S0
Note: The transmit slots where a slave-slave communication is taking place (Slot 11 &
16), must be deactivated in the master!
Otherwise, the master would overwrite the data of the slave.
S0 S0
S1 S1
S2 S2
S3 S3
S4 S4
S5 S5
S6 S6
S7 S7
S8 S8
S9 S9
S10 S10
S11 S11
S12 S12
S13 S13
S14 S14
S15 S15
S16 S16
S17 S17
Mapping Table
1 2 3 4
Transmit
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
Receive Transmit Transmit Transmit
1 2 3
HEDA Master HEDA Slave HEDA Slave HEDA Slave
F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4 F1 F2 F3 F4
5 6 7 Mapping Table
Transmit
switch off
S17 S17
S16 S16
S15 S15
S14 S14
S13 S13
S12 S12
S11 S11
S10 S10
S9 S9
S8 S8
S7 S7
S6 S6
S5 S5
S4 S4
S3 S3
S2 S2
S1 S1
S0 S0
set all slots except slave->slave relation
M: Master
S1, S2, S3: Slave 1 ... 3
Word form for the objects to be transmitted on the internet
http://divapps.parker.com/divapps/eme/EME/downloads/compax3/HEDA-For
mulare/communications-table.doc.
“Task:
four-axis processing machine
Setting the steps via virtual master
Forwards and backwards movement with the master (closed curve)
Linearized feed movement with Slave 1 = rotating blade (open curve)
Position synchronous operation of slave 2 with respect to slave 1 with slip
correction (use of C3_Shift_Position, only T40)
Fixed position assignment of a turning axis slave 3 to slave 2 with consideration
of the correction movement of slave 2
Virtual 360
Master C3.StatusPosition_DemandValue2 o680.2
0
C3Plus.ProfileGenerators_PG2Position o2000.2
HEDA_SignalProcessing_Input o3920.1
Setpoint
Setpoint Setpoint Setpoint Setpoint
Generator Generator Generator Generator
C3_ShiftPosition
C3Plus.ProfileGenerators_SG1Position o2000.1
C3Plus.PositionController_DemandValue o2200.1
C3Plus.PositionController_ActualValue o2200.2
PositionController_
*
Distance StatusPosition_ Distance
DemandValue
2200.2 C3Plus.
2020.1 C3.External
C 3S M
ActualValue
680.10 Signal_Position
W iz ar d RS
2011.4 3021.2 C3Cam
681.4 C3.
.SignalSource_
StatusSpeed_
Position
DemandValue
TRF
B Physical 990.1
Direction
C3.Delay
+/-10 V -1 / +1
2107.1 _Master
3920.7 Delay
* 0,5 ms
3920.1 C3Plus. SD
HEDA_Signal TRF Structure + +
Control-
Processing_Input
HEDA
of Cam or + + loop
7. Compax3 - Objects
Compax3 objects are encapsulated in the "C3, C3Array, ..." modules in the
IEC61131-3 programming environment (CoDeSys).
Enter the object names before the "." and the corresponding list of objects
will appear.
Objects that are not described here are reserved objects!
Please note that certain objects are not valid (read by Compax3) immediately after
setting objects to a change. This is described in the heading "Valid after".
valid These objects are converted to internal variables from the Compax3 "VP"
command (write in object 210.10 with value <> 0).
saving objects It should also be noted that modified objects are not permanently stored in the
permanently Compax3, i.e. the changes are lost after the power (24 VDC) is turned off.
The object "Save objects permanently" (write in object 20.11 with value <> 0)" can
be used to save objects in a flash memory so they are retained even if the power
fails.
Please note the following:
The IEC cycle time increases considerably (to approx. 1.5 seconds) during
memorization.
We therefore recommend NOT to execute this function during time-sensitive
parts of the IEC program.
PLC cycle time monitoring is deactivated when accessing this object.
Perform this command only when needed. The write cycles of the memory
module are limited (up to 100 000 cycles).
The function is edge triggered and is executed upon a rising edge.
7.3.1. C3 Objects
No. Object name Object I20,I32 I21,I30,I31 Format PD Valid Device
Bus no Bus no assignment
I11 Bus
634.4 C3.AnalogOutput0_DemandValue Setpoint for analog output 0 24 0x2019 I16 yes Immediat True True
ely
635.4 C3.AnalogOutput1_DemandValue Setpoint for analog output 1 103 0x201A I16 yes Immediat True True
ely
2100.8 C3.ControllerTuning_CurrentBandwidth Current regulator bandwidth 402.8 0x2100.8 U16 no VP True True
2100.9 C3.ControllerTuning_CurrentDamping Current loop - Damping 402.9 0x2100.9 U16 no VP True True
2100.3 C3.ControllerTuning_Damping damping (rotation speed controller) 402.3 0x2100.3 U16 no VP True True
2100.6 C3.ControllerTuning_FilterAccel Filter - Actual acceleration 402.6 0x2100.6 U16 no VP True True
2100.21 C3.ControllerTuning_FilterAccel_us Filter - Actual acceleration U16 no VP True True
2100.11 C3.ControllerTuning_FilterAccel2 Filter actual acceleration 2 U16 no VP True True
2100.5 C3.ControllerTuning_FilterSpeed Filter-actual velocity 402.5 0x2100.5 U16 no VP True True
2100.20 C3.ControllerTuning_FilterSpeed_us Control signal filter of velocity control U16 no VP True True
2100.10 C3.ControllerTuning_FilterSpeed2 Filter actual velocity 2 U16 no VP True True
2100.4 C3.ControllerTuning_Inertia Inertia 402.4 0x2100.4 U16 no VP True True
2100.7 C3.ControllerTuning_SpeedDFactor D-component of speed controller 402.7 0x2100.7 U16 no VP True True
2100.2 C3.ControllerTuning_Stiffness Stiffness (speed controller) 402.2 0x2100.2/ U16 no VP True True
0x2100.1
120.8 C3.DigitalInput_DebounceMask Debounce mask for dig. Inputs I16 no Immediat True True
ely
120.7 C3.DigitalInput_DebounceTime Debounce time for dig. Inputs I16 no Immediat True True
ely
120.2 C3.DigitalInput_Value Status of digital inputs V2 yes - True True
121.2 C3.DigitalInputAddition_Value input word of I/O option 175 0x6100.2 V2 yes - True True
133.4 C3.DigitalOutputAddition_Enable activating input/output option 350 0x6300.3 V2 no Immediat True True
M10/M12 ely
133.2 C3.DigitalOutputAddition_Error error in I/O option 351 0x6300.4 V2 no - True True
133.3 C3.DigitalOutputAddition_Value output word for I/O option 176 0x6300.2 V2 yes Immediat True True
ely
140.3 C3.DigitalOutputWord_DemandState Command value of the digital outputs 22 0x6300.1 V2 yes Immediat False True
ely
2020.1 C3.ExternalSignal_Position Position from external signal source 0x2095.1 C4_3 yes - True True
2020.2 C3.ExternalSignal_Speed speed from external signal source C4_3 yes - True True
2050.10 C3.FeedForward_2_Accel_FFW Acceleration feedforward (A2) C4_3 no VP True True
2050.9 C3.FeedForward_2_Speed_FFW Speed feedforward (A2) C4_3 no VP True True
2010.2 C3.FeedForward_Accel Acceleration feedforward 400.2 0x2101.2 U16 no VP True True
2010.24 C3.FeedForward_Accel_FFW Acceleration feedforward (A1) C4_3 no VP True True
2010.4 C3.FeedForward_Current Current feed-forward 400.4 0x2101.4 U16 no VP True True
2010.5 C3.FeedForward_Jerk Jerk feed-forward 400.5 0x2101.5 U16 no VP True True
2010.1 C3.FeedForward_Speed Velocity Feed Forward 400.1 0x2101.1 U16 no VP True True
2010.23 C3.FeedForward_Speed_FFW Speed feedforward (A1) C4_3 no VP True True
2011.2 C3.FeedForwardExternal_FilterAccel External Acceleration Feed Forward 401.2 0x2102.2 U16 no VP True True
Filter Time Constant
2011.5 C3.FeedForwardExternal_FilterAccel_us Filter time constant ext. Acceleration U16 no VP True True
2011.1 C3.FeedForwardExternal_FilterSpeed External Speed Feed Forward Filter 401.1 0x2102.1 U16 no VP True True
Time Constant
2011.4 C3.FeedForwardExternal_FilterSpeed_us Filter time constant ext. speed U16 no VP True True
402.4 C3.Limit_CurrentNegative maximum permissible negative 320 0x200C I16 no VP True True
current
402.3 C3.Limit_CurrentPositive maximum permissible positive 319 0x200B I16 no VP True True
current
402.2 C3.Limit_SpeedNegative maximum permissible negative 318 0x200A I16 no VP True True
speed
402.1 C3.Limit_SpeedPositive maximum permissible positive speed 317 0x2009 I16 no VP True True
410.6 C3.LimitPosition_LoadControlMaxPosDiff Position difference load-motor (error C4_3 no VP True True
threshold)
410.3 C3.LimitPosition_Negative Negative SW travel limit 322 0x607D.1 C4_3 no Immediat True True
ely
410.2 C3.LimitPosition_Positive Positive Travel Limit 321 0x607D.2 C4_3 no Immediat True True
ely
191.1 C3.M2x_Input0_Gain User gain M2x Input 0 C4_3 no VP True True
191.2 C3.M2x_Input0_Offset User offset M2x Input 0 Y2 no VP True True
192.1 C3.M2x_Input1_Gain User gain M2x Input 1 C4_3 no VP True True
192.2 C3.M2x_Input1_Offset User offset M2x Input 1 Y2 no VP True True
193.1 C3.M2x_Input2_Gain User gain M2x Input 2 C4_3 no VP True True
193.2 C3.M2x_Input2_Offset User offset M2x Input 2 Y2 no VP True True
194.1 C3.M2x_Input3_Gain User gain M2x Input 3 C4_3 no VP True True
194.2 C3.M2x_Input3_Offset User offset M2x Input 3 Y2 no VP True True
195.1 C3.M2x_Input4_Gain User gain M2x Input 4 C4_3 no VP True True
195.2 C3.M2x_Input4_Offset User offset M2x Input 4 Y2 no VP True True
196.1 C3.M2x_Input5_Gain User gain M2x Input 5 C4_3 no VP True True
196.2 C3.M2x_Input5_Offset User offset M2x Input 5 Y2 no VP True True
3310.1 C3.Multiturnemulation_Status Status of Multiturn emulation I16 no - True True
8. Status values
In this chapter you can read about:
D/A-Monitor ................................................................................................................... 540
Switching of the The user level can be changed in the optimization window (left hand side lower part
user level under selection (TAB) "optimization") with the following button.
8.1 D/A-Monitor
A part of the status values can be output via the D/A monitor channel 0 (X11/4) and
channel 1 (X11/3).In the following status list under D/A monitor output: possible /
not possible).
The reference for the output voltage can be entered individually in the reference
unit of the status value.
Hint
The unit of measurement of the D/A monitor values differs from the unit of
measurement of the status values.
Additional information on the topic of "status values" can be found in the online
help of the device.
9. Error
Standard error reactions:
Reaction 2: Downramp with "de-energize" then apply brake (see on page 269)
and finally de-energize.
For errors with standard reaction 2 the error reaction can be changed (see on
page 418, see on page 145).
Caution! A Z-axis may drop down due to the brake delay times
The errors as well as the error history can be viewed in the C3 ServoManager
under optimization (at the top right of the optimization window).
Detailed information on the topic of the "error list" can be found in the online help of
the device.
Power module P
Nominal power; supply voltage
10kW; 400 VAC (3-phase) 10 D6
20kW; 400 VAC (3-phase) 20 D6
30kW; 400 VAC (3-phase) 30 D6
Interface:
USB connection USB
Options:
no additional supplement M00
(x
Note on cable (see on page 548)
Order code for motor output filter (for Compax3S, Compx3M >20m motor cable)
/
up to 6,3 A rated motor current MDR 0 1 / 0 4
Up to 16 A rated motor current MDR 0 1 / 0 1
Up to 30A A rated motor current MDR 0 1 / 0 2
PIO 2DO 24VDC 0.5A 2 channel digital output terminal (output voltage 0.5A) PIO 5 0 1
PIO 4DO 24VDC 0.5A 4 channel digital output terminal (output voltage 0.5A) PIO 5 0 4
PIO 8DO 24VDC 0.5A 8 channel digital output terminal (output voltage 0.5A) PIO 5 3 0
PIO 2AO 0-10VDC 2 channel analog output terminal (0-10V signal voltage) PIO 5 5 0
PIO 2AO 0-20mA 2-channel analog output terminal (0-20mA signal voltage) PIO 5 5 2
PIO 2AO DC ±10V 2-channel analog output terminal (±10V signal voltage) PIO 5 5 6
CANopen Standard max. Vectorial sum current for bus terminals 1650mA at 5V PIO 3 3 7
CANopen ECO max. Vectorial sum current for bus terminals 650mA at 5V PIO 3 4 7
5
length code 2 for SSK28
Length [m] 0.17 0.25 0.5 1.0 3.0 5.0 10.0
Order code 23 20 21 01 22 03 05
(6
Order code: SSK27/nn/..
Length A (Pop - 1. Compax3) variable (the last two numbers according to the
length code for cable, for example SSK27/nn/01)
Length B (1. Compax3 - 2. Compax3 - ... - n. Compax3) fixed 50 cm (only if there is
more than 1 Compax3, i.e. nn greater than 01)
Number n (the last two digits)
Examples include:
SSK27/05/.. for connecting from Pop to 5 Compax3.
SSK27/01/.. for connecting from Pop to one Compax3
MOK55 and MOK54 can also be used for linear motors LXR406, LXR412 and
BLMA.
(7
sold by the meter: Length in meters (order in number of items)
(x
Note on cable (see on page 548)
The time duration (typically 5-10 sec) of automatic commutation can be optimized
with the start current (see in the optimization display of the C3 ServoManager;
given as a percentage of the reference current). Note that values that are too high
will cause Error 0x73A6 to be triggered.
Typically the motor moves by 4% of the pitch length or, with rotary direct drives 4%
of 360°/number of pole pairs - maximum 50%.
Note the following conditions for automatic commutation
During automatic commutation the end limits are not monitored.
Actively working load torques are not permitted during automatic commutation.
Static friction deteriorates the effect of automatic commutation.
With the exception of missing commutation information, the controller/motor
combination is configured and ready for operation (parameters correctly assigned
for the linear motor/drive). The transmitter and the direction of the field of rotation
in effect must match.
The auto-commutating function must be adapted to fit the mechanics if necessary
during commissioning.
55,5
L L
88,9±0,4
I O
79,5
101
N A
E D
50,8±0,3
Ø 4
85,4
5,2 x 4
116
139
6,6
L L
I O
111
140
125
N A
E D
70±0,3
151 Ø4
177
Stated in mm
64
6,6
L L
145 ±0,5
I O
129
159
N A
E D
115±0,3
217 Ø4
240
Stated in mm
M6
H1 HFU
H
H1
H2
BFU
B1
B
H
G
D
C
I I
PE PE
Coined Earthing
E
Symbol on both
B
sides
Top view
L1 L1
L2 L2
L3 L3
for PSUP10D6
Dimensional drawing:
Order code for motor output filter (for Compax3S, Compx3M >20m motor cable)
/
up to 6,3 A rated motor current MDR 0 1 / 0 4
Up to 16 A rated motor current MDR 0 1 / 0 1
Up to 30A A rated motor current MDR 0 1 / 0 2
Larger motor output filters are available on request!
In this chapter you can read about:
Motor output filter MDR01/04 ......................................................................................... 557
Motor output filter MDR01/01 ......................................................................................... 557
Motor output filter MDR01/02 ......................................................................................... 558
Wiring of the motor output filter ...................................................................................... 558
5
90 40
54
120 95
Stated in mm
6
113 50
67
150 95
Stated in mm
195
6
136 57
76
180 110
Weight: 5.8kg
Stated in mm
(x
Note on cable (see on page 548)
In this chapter you can read about:
Resolver cable............................................................................................................... 561
SinCos© cable............................................................................................................... 562
EnDat cable ................................................................................................................... 562
Motor cable.................................................................................................................... 563
Encoder cable ............................................................................................................... 564
27mm
Pin 1
Lötseite / solder side
Compax3 (X13) Resolver Crimpseite / crimp side
Lötseite YE YE
SIN+ 8 2x0,25 2 SIN+
solder side
GN GN
SIN- 7 1 SIN- Codiernut S = 20°
15 5 BN 2x0,25 BN
COS+ 12 11 9
14 10 4 COS+ 8
12
13 9 3 COS- 11
WH WH
12 COS- 1 7
12 8 2 BU BU 10
11 7 1 REFres+ 4 2x0,25 10 Ref+ 6
6 RD RD 2
REFres- 15 7 Ref-
PK PK 3 5
+5V 5 2x0,25 8 +Temp 4 11
GY GY
Tmot 10 9 -Temp
The same cable (with changed conductor coloring) is available under the
designation REK41/.. in a version which is suitable for cable chain systems.
You can find the length code in the Chapter Order Code Accessories (see on
page 544).
27mm
Pin 1
Lötseite / solder side
Crimpseite / crimp side
Compax3 (X13) SinCos
BU 2x0,25 BU 11 12 1
SIN+ 8 1 SIN+ 10 2
Lötseite VT VT
SIN- 7 2 SIN- 16 13
solder side BN BN 9 3
COS+ 12 2x0,25 11 COS+
GN GN 8 4
15 5 COS- 11 12 COS- 15 14
14 10 4 PK 2x0,25 PK 7
6
17 5
13 9 3 DATA 13 3 +485
12 8 2 DATA 14
GY GY
13 -485
11 7 1 RD RD
6 2x0,25
+5Vfil 5 8 K1
BK BK
Tmot 10 9 K2
BN 0,5 BN
+8Vref 4 10 +V
WH 0,5 WH
GND 15 7 GND
You can find the length code in the Chapter Order Code Accessories (see on
page 544).
GY GY
DATA 13 2x0,14 14 Data+
PK PK
DATA/ 14 17 Data-
SW SW
BU BU
C B A
Terminal Assignment
A Phase U
B Phase V
C Phase W
E Protective earth terminal
F Brake (+ red for MH205)
G Brake (- blue for MH205)
Additional designations can be found on the connection cable clamping board -
motor (internal).
32mm
Pin 1
Compax3 (X11) Encoder
Lötseite GN GN
solder side A 7 2x0,14 A
Lötseite / Crimpseite
6 YE YE B
A/ P A
15 5 GY GY N Z R B
10 B 8 2x0,14 D
14 4
9 PK PK M Y S C
13 3 B/ 12 E
8 X T
12 2 RD RD
7 N 14 2x0,14 G L D
11 1
6
13 BU BU H
N/ K W U E
15 WH WH K V
GND J F
BN 2x0,5 BN H G
+5V 5 M
Schirm auf Schirmanbindungselement
Screen at screen contact
NC U NC C
NC V NC F
1 NC
NC W NC J
2 NC
NC X NC L
3 NC
NC Y NC N
4 NC
23 mm NC Z NC P
9 NC
NC R
10 NC 2 mm 6 mm
NC S
11 NC
NC T
You can find the length code in the Order Code Accessories (see on page 544)
Danger!
Hazards when handling ballast resistors!
Housing temperature up to 200°C!
Dangerous voltage!
The device may be operated only in the mounted state!
The external braking resistors must be installed such that protection against
contact is ensured (IP20).
Install the connecting leads at the bottom.
The braking resistors must be grounded.
We recommend to use a thrust washer for the BRM13 and BRM14.
Observe the instructions on the resistors (warning plate).
Please note that the length of the supply cable must not exceed 2m!
The diagrams show the permissible braking pulse powers of the braking resistors
in operation with the assigned Compax3.
F = Factor
Cooling time = F * braking time
Example 1: For a braking time of 1s, a braking power of 1kW is required. The
Diagram shows the following:
The required values can be found in the range between characteristic F = 0.5 and
F = 1. In order to achieve operating safety, please select the higher factor, this
means that the required cooling time is 1s.
F * Braking time = cooling time
1 * 1s = 1s
Example 2: For a braking time of 0.5s, a braking power of 3kW is required. The
Diagram shows the following:
The required values can be found in the range between characteristic F = 2 and F
= 5. In order to achieve operating safety, please select the higher factor, this
means that the required cooling time is 2.5s.
F * Braking time = cooling time
5 * 0.5s = 2.5s
40
20
225 10
240
Stated in mm
101
222
245
12
6,5
48
Stated in mm
120
250 64
330
12
6,5
95 97
1
64
96 98
Stated in mm
120
A C
B
12
6,5
95 97
1
C
96 98
1: thermal overcurrent relay
BRM4/01 BRM4/02 BRM4/03 & BRM10/02
A mm 250 300 540
B mm 330 380 620
C mm 64 64 64
490 H
380
Ø10,5 B2
B1
BRM11/01 BRM12/02
W mm 330
W1 mm 295
W2 mm 270
H mm 260
Weight kg 6.0 7.0
3
54±0,2
60
74
°
,2
,2
°
74
A A-A
26±0,2
337
17
10
17
10
5,4
30
5,4
10
10
1,4
1
C (5 : 1)
Stated in mm
Technical Data
Type Capacity Cable length
Module C4 1100µF ~30 cm
Module C4 A B C C1 D I F G H
mm
430 190 90 120 370 15 18 30 ∅6
Functions:
Mobile or stationary handling: can remain on the unit for display and diagnostic
purposes, or can be plugged into any unit.
Can be plugged in while in operation
Power supply via Compax3 servo control
Display with 2 times 16 places.
Menu-driven operation using 4 keys.
Displays and changing of values.
Display of Compax3 messages.
Duplication of device properties and IEC61131-3 program to another Compax3
with identical hardware.
Additional information can be found int he BDM manual This can be found on the
Compax3 CD or on our Homepage: BDM-manual
(http://divapps.parker.com/divapps/EME/EME/Literature_List/dokumentatio
nen/BDM.pdf).
EAM6/01: Terminal block without luminous indicator for X11, X12 or X22
Figure similar
Width: 67.5mm
EAM6/02: Terminal block with luminous indicator for X12, X22
Figure similar
Width: 67.5mm
23 mm
2 mm 6 mm
23 mm
2 mm 6 mm
6 1 1 6
9 5 5 9
n.c. 1
RxD 2 2 RxD
TxD 3 3 TxD
DTR 4 4 DTR
DSR 6 6 DSR
GND 5 5 GND
RTS 7 7 RTS
CTS 8 8 CTS
+5V 9
7 x 0,25mm + Schirm/Shield
You will find the length code in the accessories order code (see on page 544).
Länge / Length A
Compax3_n
Länge / Length B
Pin 1
Pin 1
Compax3_2
Pin 1
Compax3_1
Pin 1
15 8
CHA+ 14 X2 BN BN
7 TxD_RxD Lötseite
CHA- 6 X3 YE YE solder side
3 TxD_RxD
GND 5 X4 WH WH
5 GND 1
6
GN 2
1 1 7
3
8
Schirm großflächig auf Gehäuse legen 4
9
Place sheath over large area of housing Schirm großflächig auf Gehäuse legen 5
Place sheath over large area of housing
1-4 NC
1 Brücke /
7 - 13 NC RD
15 NC 9 Bridge
NC 2,4,6,8
26 mm Lötseite
R21 nur im letzten Stecker
solder side
R21 only on the last connector
4 mm 6 mm
BN 7 TxD_RxD
1
YE 6
3 TxD_RxD
GN
2
7
WH 5 GND 3
8
4
9
Schirm großflächig auf Gehäuse legen 5
Place sheath over large area of housing
1 Brücke /
RD
9 Bridge
NC 2,4,6,8
Examples include:
SSK27/05/.. for connecting from Pop to 5 Compax3.
SSK27/01/.. for connecting from Pop to one Compax3
Pin 1 Compax3
1 WH WH
2 BN BN
Lötseite 3 GN GN
solder side 4 YE YE
5 GY GY
6 6 PK PK
11 1 BU BU
7 7
12 2 RD RD
8 8
13 3
9 9 BK BK
14 4
10 VT VT
15 5 10
11 GYPK GYPK
12 RDBU RDBU
13 WHGN WHGN
14 BNGN BNGN
15 WHYE WHYE
YEBN YEBN
WHGY WHGY
GYBN GYBN
Screen
23 mm
2 mm 6 mm
You will find the length code in the accessories order code (see on page 544).
Pin 1 Compax3
1 WH WH
2 BN BN
3 GN GN
Lötseite 4 YE YE
solder side 5 GY GY
6 PK PK
15 5 7 BU BU
10 RD RD
14 4 8
9
13 3 9 BK BK
8
12 2 VT VT
7 10
11 1 GYPK GYPK
6 11
12 RDBU RDBU
13 WHGN WHGN
14 BNGN BNGN
15 WHYE WHYE
YEBN YEBN
WHGY WHGY
GYBN GYBN
Screen
23 mm
2 mm 6 mm
You will find the length code in the accessories order code (see on page 544).
Pin 1 Pin 1
Schirm großflächig auf Gehäuse legen Schirm großflächig auf Gehäuse legen
Place sheath over large area of housing Place sheath over large area of housing
1 NC 23 mm NC 1
2 NC NC 2
3 NC 2 mm 6 mm NC 3
4 NC NC 4
5 NC NC 5
9 NC NC 9
10 NC NC 10
11 NC NC 11
15 NC NC 15
You will find the length code in the accessories order code (see on page 544).
1 WH/OG WH/OG 3
2x0,14
2 OG OG 6
3 WH/GN WH/GN 1
2x0,14
GN GN
6 2
4 BU BU 7
2x0,14
WH/BU WH/BU 8
5
7 WH/BN WH/BN 4
2x0,14
8 BN BN 5
Pin 1 Pin 1
Lötseite Lötseite
solder side Compax3 (X10) solder side
Modem
BN BN
1 6 RxD 2 2 TxD 1 6
2 7 YE YE 2 7
3 TxD 3 3 RxD 3
8 WH WH 8
4 9 GND 5 5 GND 4 9
5 5
GN GN
Schirm großflächig auf Gehäuse legen Schirm großflächig auf Gehäuse legen
Place sheath over large area of housing Place sheath over large area of housing
4 brücken (Litze 0,25) brücken (Litze 0,25) 4
8 connect (wire 0,25) connect (wire 0,25) 8
26 mm
1,6,7,9 NC NC 1,6,7,9
4 mm 6 mm
You can find the length code in the Order Code Accessories (see on page 544)
100KΩ
22KΩ
X22/6
X12/2
22KΩ
10nF 22KΩ 10KΩ
22KΩ
F1 F1
X22/15
X22/15
The outputs are short circuit proof; a short circuit generates an error.
F1: Quick action electronic fuse; can be reset by switching the 24VDC supply off
and on again.
HEDA-wiring:
HEDA-Master
SSK28/..
SSK28/..
BUS07/01 SSK28/.. BUS07/01
Pin 8
Pin 7
Pin 6
Pin 5
Pin 4
Pin 3
Pin 2
Pin 1
10pF
X1/4 200KΩ
In0-
250Ω 200KΩ
In0+
X1/3
200KΩ
1nF
X21/2 200KΩ
In3+
200KΩ
In3-
X21/2
47KΩ
685.35
Option M21
l/min,bar
X2x/2 +
X2x/4 - +
V,A
ON
OFF
CAN wiring
Kabel abisolieren max.
10mm 7mm 5mm
Cable stripping
X2
S c ha ltb ild
Federleiste
Circ uit D iagra m
D-Sub female
1
X1
2
Printklemme
Print terminal
CAN-GND 1 3
CAN-L 2 4
CAN-H 3 5
120 Ohm
R1
OFF 0,25W
CAN-L 4 ON
6
OFF ON
S1
CAN-H 5 7
CAN-GND 6 8
Kabelschirm Gehäuseschirm
Available modules:
PIO 2DO 24VDC 0.5A 2 channel digital output terminal (output voltage 0.5A) PIO 5 0 1
PIO 4DO 24VDC 0.5A 4 channel digital output terminal (output voltage 0.5A) PIO 5 0 4
PIO 8DO 24VDC 0.5A 8 channel digital output terminal (output voltage 0.5A) PIO 5 3 0
PIO 2AO 0-10VDC 2 channel analog output terminal (0-10V signal voltage) PIO 5 5 0
PIO 2AO 0-20mA 2-channel analog output terminal (0-20mA signal voltage) PIO 5 5 2
PIO 2AO DC ±10V 2-channel analog output terminal (±10V signal voltage) PIO 5 5 6
CANopen Standard max. Vectorial sum current for bus terminals 1650mA at 5V PIO 3 3 7
CANopen ECO max. Vectorial sum current for bus terminals 650mA at 5V PIO 3 4 7
For additional information please refer to our catalog
http://apps.parker.com/divapps/eme/EME/Literature_List/dokumentationen/PI
O_Prospekt%20dt.pdf.
Compax3S1xxV2 at 3*230VAC/240VAC
Switching S100V2 S150V2
frequency*
8kHz Inom - 15Arms
Ipeak (<5s) - 30Arms
Compax3S0xxV4 at 3*400VAC
Switching S015V4 S038V4 S075V4 S150V4 S300V4
frequency*
8kHz Inom - - - 15Arms 30Arms
Compax3S0xxV4 at 3*480VAC
Switching S015V4 S038V4 S075V4 S150V4 S300V4
frequency*
8kHz Inom - - - 13.9Arms 30Arms
Ipeak (<5s) - - - 30Arms 60Arms
Compax3MxxxD6 at 3*480VAC
Switching M050D6 M100D6 M150D6 M300D6
frequency*
8kHz Inom 4Arms 8Arms 12.5Arms 25Arms
Ipeak (<5s) 8Arms 16Arms 25Arms 50Arms
16kHz Inom 3Arms 5.5Arms 8Arms 15Arms
Ipeak (<5s) 6Arms 11Arms 16Arms 30Arms
32kHz Inom 2Arms 2.5Arms 4Arms 8.5Arms
Ipeak (<5s) 4Arms 5Arms 8Arms 17Arms
The values marked with grey are the pre-set values (standard values)!
*corresponds to the frequency of the motor current
Compax3HxxxV4 at 3*480VAC
Switching H050V4 H090V4 H125V4 H155V4
frequency*
8kHz Inom 43Arms 85Arms 110Arms 132Arms
Ipeak (<5s) 64.5Arms 127.5Ar 165Arms 198Arms
ms
Accuracy
The exactitude of the position signal is above all determined by the exactitude of
the feedback system used.
Special Feedback
Systems Option F12
Analog hall sensors Sine-Cosine signal (max. 5Vpp*; typical 1Vpp) 90°
offset
U-V signal (max. 5Vpp*; typical 1Vpp) 120° offset.
Minimum mounting distance: 15mm at the sides, above & below 100mm
Digital Inputs/outputs
Digital Inputs 8 digital inputs
Input resistor 22 kΩ
Signal level
> 9.15V = "1" (38.2% of the control
voltage applied)
< 8.05V = "0" (33.5% of the control
voltage applied)
Insulation requirements
Enclosure rating Protection class in accordance with EN 60664-1
Protection against human contact
In accordance with EN 61800-5-1
with dangerous voltages
Voltage category III in accordance with
Overvoltage category
EN 60664-1
Degree of contamination 2 in accordance with
Degree of contamination
EN 60664-1 and EN 61800-5-1
Cooling PSUP/Compax3M
Cooling mode: Forced air ventilation with fan in the heat
dissipator
COM ports
RS232 115200 baud
Word length: 8 bits, 1 start bit, 1 stop bit
Hardware handshake XON, XOFF
RS485 (2 or 4-wire) 9600, 19200, 38400, 57600 or 115200
baud
Word length 7/8 bit, 1 start bit, 1 stop bit
Parity (can be switched off) even/odd
2 or 4-wire
Signal interfaces
Signal inputs / signal sources Encoder input track A/B (RS422)
up to max. 10MHz
Internal quadrature of the resolution
Step / direction input (24V level)
IEC6113-3 functions
General Programming based on IEC61131-3
Up to 6000 instructions
650 16 bit variables
200 32 bit variables
Recipe table with 288 variables
3x16-bit retain-variable
3x32-bit retain-variable
PLCOpen function modules Positioning: absolute, relative, additive,
continuous
Electronic Gearbox (Gearing)
Machine Zero
Stop, activating the drive, quit
Position, device status, reading axis error
IEC61131-3 standard modules Up to 8 timers (TON, TOF, TP)
Triggers (R_TRIG, F_TRIG)
Flip-flops (RS, SR)
Counters (CTU, CTD, CTUD)
Device-specific function modules generates an input process image
Generates an output process image
Access to recipe table
Inputs/Outputs 8 digital inputs (24V level)
4 digital outputs (24-V level)
Optional addition of 12 inputs/outputs
13. Index
Automatic controller design • 181
+
B
+/-10V Master speed • 149
Back stop • 331
1 Ballast resistor • 41, 117, 603
10 Steps for cam generation • 384 Ballast resistor BRM13/01 & BRM14/01 • 577
Basic functions: • 101
A Basic procedure • 332
Basic structure of the control with Compax3 •
Absolute encoder • 122
163
Absolute master reference with 180° offset •
Basics • 329
348
Basics of frequency response measurement •
Absolute master reference without offset • 347
262
Absolute positioning (MC_MoveAbsolute) •
Baud rate • 474
293
Begrenzung der Sollgeschwindigkeit • 196
Absolute slave reference • 350
Begrenzung des Sollstroms • 196
Access to the Compax3 object directory • 276
Begriffsdefinitionen • 497
Access to the hazardous area • 99, 102
Behavior depending on the travel direction •
Accessories Compax3 • 549
410
Acknowledging errors (MC_Reset) • 416
Behavior of the switch-on/switch-off
Activation • 235
anticipation • 410
Activation of the drive (MC_Power) • 282
Bewegungszyklus ohne Vorsteuerung • 197
Acyclic parameter channel • 465, 487
Binary record • 455
Adapter cable SSK32/20 • 586
Bit sequence V2 • 472
Additional conditions of utilization • 24
Boundary conditions • 229
Additive positioning (MC_MoveAdditive) • 301
Brake delay times • 269
Adjusting the basic address • 66
Braking position (MB) • 331
Adjusting the bus address • 71
Braking resistor / high voltage DC C3S
Adjusting the bus address (Profibus I20) • 67
connector X2 • 41
Adjusting the bus address (Profinet I32) • 68
Braking resistor / high voltage supply
Adjusting the machine zero proximity switch •
connector X2 for 3AC
136
400VAC/480VAC_C3S devices • 43
Advanced • 199
Braking resistor / high voltage supply plug X2
Advantages of using the • 91
for 1AC 230VAC/240VAC devices • 41
Aktive Kurve mit Koppelbewegung beenden
Braking resistor / high voltage supply plug X2
(C3_CamOut) • 379
for 3AC 230VAC/240VAC devices • 41
Alignment of the analog inputs • 231
Braking resistor / supply voltage C3H • 63
Alignment of the slave axis • 369
Braking resistor / temperature switch PSUP
Allgemeine Gefahren • 19
(mains module) • 52
Analog current inputs and voltage inputs
Braking resistor BRM11/01 & BRM12/01 • 576
(Option M21) • 590
Braking resistor BRM4/0x and BRM10/02 • 576
Analog Inputs/Outputs • 540
Braking resistor BRM5/02, BRM9/01 &
Analogue / encoder (plug X11) • 78
BRM10/01 • 575
Analyses in the time range • 237
BRM10/02 • 565, 569, 576
Application note
BRM5/01 braking resistor • 575
Drift • 403
BRM8/01braking resistors • 574
Application parameters • 164
Busformat Y2 und Y4 • 471
Approximation of a well-attenuated control loop
Byte string OS • 472
• 183
ASCII - record • 454 C
Assignment of the process data channel • 463
Assignment of the X22 connector • 587 C3 • 421, 422
Asynchronous motors C3 Master PIO • 474
Extension of the controller structure • 180 C3 Objects • 529
Asynchronous Motors • 177 C3 objects (without CoDeSys objects) • 536
Attenuation of the excitation amplitude • 247 C3 ServoSignalAnalyzer • 233
Automated controller design • 190
R S
Ramp upon error and stromlos schalten • 142 Safe torque off • 90
Read access to the (C3_ReadArray) array • Safe torque off basic function • 98
290 Safe torque off description • 98, 101
Reading an object in another node Safe torque off layout with bus • 99
(C3_CANopen_SDO_Read4) • 480 Safe torque off with bus option • 99
Reading axis errors (MC_ReadAxisError) • 417 Safe torque off without bus option • 96
Safety function - STO (=safe torque off) • 90 Slave Receive Mapping table • 504
Safety instructions • 19 Slave receive slots • 504
Safety instructions concerning the frequency Slave transmission slots (Transmit Slots) • 504
response measurement • 243 Slave Transmit Mapping table • 504
Safety notes for the STO function in the Slave with configuration via Master • 492
Compax3M • 104 Slave-oriented reg synchronization • 397
Safety switching circuits • 103 Slip • 152
Safety technology option S3 for Compax3M Slip Frequency • 178
(axis controller) • 55 Software end limits • 138
Safety-conscious working • 19 Software for supporting the configuration,
Sättigungsverhalten • 179, 212 setup and optimization • 164
Saturation values • 167 Special functions • 160
Scope • 156 Special safety instructions • 20
Scope of delivery • 16 Speed control • 253, 303
Selection of the signal or system to be SSI - Konfiguration • 149
measured. • 249 Stability problem in the high-frequency range: •
Selection of the supply voltage used • 113 182
Sending NMT messages (C3_CANopen_NMT) Stability problem in the low-frequency range: •
• 479 182
Service Data Objekts (SDO) • 487 Stability, attenuation • 181
ServoSignalAnalyzer - function range • 233 Standard • 193
Set error reaction (C3_SetErrorReaction) • 418 Standard cascade structure • 194
Set Ethernet Powerlink (option I30) bus Standard function modules supported • 274
address • 73 Standard functions supported • 274
Setpoint and disturbance behavior of a control Standard optimization parameters • 195
loop • 185 Standstill position Slave (S0) • 331
Setpoint generation • 214 Start cam / coupling • 369
Setting baud rate and Node-ID • 69 Starting a selected curve (MC_CamIn) • 369
Setting the axis function • 66 starting a selected curve with coupling
Setting the HEDA master • 500 movement (C3_CamIn) • 371
Setting the HEDA slave • 503 Static stiffness • 188
Setting the position of the selected master Status diagram of the virtual master • 281
source (C3_SetMaster) • 351 Status diagrams • 280
Setting the positioning mode in reset mode • Status LEDs • 33, 34
296 Status LEDs - PSUP • 34
Setting the time basis XDIV • 158 Status values • 540
Setting up Compax3 • 112 Step 1
Settings for channels 1..4 • 159 C3 ServoManager • 384
Setup and optimization of the control • 193 Step 10
Setup mode • 226 Starting and monitoring cam • 385
Shifting the working point into a linear range • Step 2
247 Connect motor. • 384
Signal analysis overview • 234 Step 3
Signal filtering for external setpoint Supply & I/O wiring • 384
specification and electronic cam • 224 Step 4
Signal filtering for external setpoint RS232 connection & C3 ServoManager • 384
specification and electronic gearbox • 223 Step 5
Signal filtering with external command value • Set Compax3 device type • 384
222 Step 6
Signal image • 341 Configuration • 384
Signal image with absolute master reference • Step 7
341 Selecting Master signal source • 385
Signal image with relative master reference • Step 8
342 Generating the cam • 385
Signal interfaces • 76 Step 9
Signal processing of the analog input 0 • 150 Create IEC program • 385
Signal processing of the analog inputs • 232 Step response of a delay component • 183
Signal source of the load feedback system • Step response of the velocity loop depending
147 on the optimization parameter • 191
Signalflussplan Luenberger-Beobachter • 204 STO (= safe torque off) with Compax3m
SinCos© cable • 562 (Option S1) • 103
Slave clock distance (ST) • 331 STO (= safe torque off) with Compax3S • 93
STO application example (= safe torque off) • Time function and power density spectrum of
96 Compax3 setpoint generator with different
STO delay times • 94, 105 jerk settings • 216
STO function description • 107 Tips • 231
STO function test • 109 Too high overshoot on velocity • 169
STO function with safety switching device via Toothed belt drive as two mass system • 266
Compax3M inputs • 106 Toroidal core ferrite • 39
STO Principle (= Safe Torque Off) with Torque motors • 551
Compax3S • 93 Tracking filter • 222
STO test protocol specimen (Safety Option S1) Traditional generation of a disturbance
• 110 torque/force jerk • 189
Stop (MC_Stop) • 284 Transmission cycle time • 475
Stop module for superimposed movement Transmitter systems for direct drives • 550
(C3_StopSuperImposed) • 326 Travel Limit Settings • 138
Storage • 18 Trigger settings • 160
Store absolute position in the feedback • 123 Turning the motor holding brake on and off •
Structure • 459 269
Structure of a cascade control • 188 Type specification plate • 17
Structure of a control • 181 Type specification plate data • 177
Superimposed motion • 315 Typical application with Bus and IEC61131 •
superimposed motion/shift • 316, 322, 326, 462
364 Typical problems of a non optimized control •
Superimposed positioning 169
(C3_MoveSuperImposed) • 316
Supply networks • 29 U
Supporting IEC modules • 475 Unsigned - Formats • 470
Switching behavior with reset operation • 412 Usage in accordance with intended purpose •
Switching frequency of the motor current / 19
motor reference point • 174 USB - RS232 converter • 64
Switching off error messages (C3_ErrorMask) USB-RS485 Adapter Moxa Uport 1130 • 449
• 419 User interface • 157
Switch-on anticipation is corrected via reset
distance • 412 V
Symbols of the signal image • 344
Value range for positioning parameters • 292
Synchronous position (MS) • 331
Velocity Loop P Term • 192
T Velocity, bandwidth • 183
Virtual Master • 281
T40 Objects for the Process Data Channel / Voltage decoupling • 203
the Messages • 527
Teach machine zero • 132 W
Technical Characteristics STO Compax3S •
Warranty conditions • 21
102
Wiring of analog interfaces • 78
Technical data of the HEDA interface /
Wiring of the analog current inputs • 590
overview • 496
Wiring of the analog voltage inputs • 591
Technical details of the Compax3M S1 option •
Wiring of the motor output filter • 558
111
With direction reversal switches • 127, 130,
Technische Daten • 595
135
Temperature switch PSUP (mains module) •
With motor reference point • 129, 134
53
With upper mounting, the housing design may
Test functions • 186
be different • 86
The calculation of the physically possible
Without direction reversal switches • 126, 129
acceleration • 215
Without motor reference point • 126, 132
The possibilities of the HEDA expansion • 496
Write digital outputs (C3_Output) • 420
This module is used to determine the status
Writing an object in another node
during Nodeguarding
(C3_CANopen_SDO_Write4) • 481
(C3_CANopen_GuardingState) • 476
Writing the PIO outputs 0-15 (PIO_Outputx...y)
This module is used to determine the status of
• 428
the CANopen NMT status machine
Wrongly set notch filter • 210
(C3_CANopen_State) • 475
Time frame signal source master • 150 X
X1 • 40
X10 • 64
X11 • 78
X12 • 79
X13 • 76
X14 Safety technology option S1 for
Compax3M (axis controller) • 55
X2 • 41
X3 • 39
X4 • 38
Z
Zero point shift caused by superimposed
positioning (C3_ShiftPosition) • 322