1 2 3 4 ADI4 - Analog Drive Interface For 4 Axis: Device Manual
1 2 3 4 ADI4 - Analog Drive Interface For 4 Axis: Device Manual
1 2 3 4 ADI4 - Analog Drive Interface For 4 Axis: Device Manual
Hardware description
1
Parameter assignment
2
ADI4 - Analog Drive Startup
3
Interface for 4 Axis
Boundary conditions
4
Index
Device Manual
Valid for
Controller
SINUMERIK 802D
SINUMERIK 840Di
SINUMERIK 840DiE (export version)
SIMOTION P
SIMOTION C
SIMOTION D
SIMATIC Technology CPU
Software version
ADI4 1.3
6FC5 297-0BA01-0BP4
05.2005 Edition
Safety Information
This manual contains notices that you should observe to ensure your own personal safety, as well as to
protect the product and connected equipment. These notices are highlighted in the manual by a warning
triangle and are marked as follows according to the level of danger:
Danger
! means that death, serious injury or considerable material damage will result if the appropriate safety
precautions are not taken.
Warning
! means that death, serious injury or considerable material damage may result if the appropriate safety
precautions are not taken.
Caution
! indicates that minor personal injury or property damage may result if proper precautions are not taken.
Caution
indicates that property damage may result if proper precautions are not taken.
Notice
indicates the risk of potential danger if the corresponding information is not observed.
Qualified personnel
Commissioning and operation of a device may only be performed by qualified personnel. Qualified per-
sons are defined as persons who are authorized to commission, to ground, and to tag circuits, equipment,
and systems in accordance with established safety practices and standards.
Correct usage
Note the following:
Warning
! The unit may be used only for the applications described in the catalog or the technical description, and
only in combination with the equipment, components and devices of other manufacturers where
recommended or permitted by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed
correctly, and operated and maintained as recommended.
Trademarks
SIMATICR, SIMATIC HMIR, SIMATIC NETR, SINUMERIKR , and SIMOTIONR are registered
trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document, which refer to trademarks,
might infringe upon the rights of the trademark owners.
Siemens AG
Automation and Drives
Postfach 4848
90437 Nuremberg E Siemens AG, 2005
Germany Technical data subject
EtoSiemens
change. AG, 2005. All rights reserved
-2 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Siemens Aktiengesellschaft ADI4 - Analog Drive Interface for 4 Axis
Preface
SINUMERIK Documentation
The SINUMERIK documentation is organized in 3 parts:
S General Documentation
S User documentation
S Manufacturer/Service Documentation
Please contact your local Siemens office for more detailed information about other
SINUMERIK 840D sl/840D/840Di/810D publications and publications that apply to
all SINUMERIK controls (e.g., universal interface, measuring cycles, etc.).
A list of documents, updated on a monthly basis, is available on the Internet for the
available languages at:
http://www.siemens.com/motioncontrol
Select “Support”, > “Technical Documentation” > “Overview of Documents”.
The Internet version of the DOConCD (DOConWEB) is available at:
http://www.automation.siemens.com/doconweb
Target readership
This documentation is intended for machine tool manufacturers (project engineers,
electricians and fitters, service and operating staff). The document contains all the
information required to install, connect and parameterize the module.
Standard functionality
This documentation describes the standard functionality of the ADI4 module.
Other functions not described in this documentation may be executable in the mod-
ule. This does not, however, represent an obligation to supply such functions with a
new module or when servicing.
Hotline
A&D Technical Support
A&D Technical Support:
Phone: +49 (0) 180 5050--222
Fax: +49 (0) 180 5050--223
E-mail: adsupport@siemens.com
Internet:www.siemens.com/automation/support-request
Fax form: Refer to the reply form at the end of this manual
Internet address
http://www.siemens.com/motioncontrol
1.1.1 Properties
An ADI4 module (Analog Drive Interface for 4 Axis) is an interface module suitable
for running up to four drives with an analog setpoint interface on the equidistant
PROFIBUS DP.
Communication between the controller and the ADI4 is performed via an ADI4-spe-
cific message frame type which, in addition to digital input/output data, also con-
tains a message frame type (standard message frame 3) for each drive specified
according to a PROFIDrive profile. As part of cyclic DP communication, the actual
drive values (encoder values) are transferred from the ADI4 module to the control-
ler via PROFIBUS DP, and the speed setpoints calculated by the controller are
transferred to the ADI4 module.
The transferred speed setpoints are then output from the ADI4 module to the
drives as analog values.
Order number
Order number (MLFB): 6FC5 211 -0BA01 -0AA2
Firmware version
The firmware version is not displayed directly on the module. The order number
and firmware version correlate as follows:
The following boundary conditions must be taken into account for the module:
S An ADI4 DP slave can only be operated on an equidistant PROFIBUS DP
(see Chapter 2, Page 2-11).
S An ADI4 DP slave is not a certified DP standard slave according to the PROFI-
Drive profile. For example, the ADI4 DP slave does not allow acyclic commu-
nication.
PROFIBUS address:
AH = 10D
corr. to
Diagnostic LEDs
H1: PW TMP
Connection for protective ground
H2: EXCH RDY
screw M6
Connection
3–pin connector MSTB 2.5/3-ST-5.08 by Phoenix
Pin assignment
Connecting cables
The required connecting cables must be provided by the user:
Wire, conductor cross section: 1.0 to 1.5 mm2 (AWG17 – AWG16)
Supply voltage
Specifications for the supply voltage are provided in Section 2.4 (Page 2-26).
Connection
9–pin SUB D socket
Pin assignment
Connector
S 6ES7 972-0BA41-0XA0; Outgoing cable 350, without programming device
socket
S 6ES7 972-0BB41-0XA0; Outgoing cable 350, with programming device socket
S 6ES7 972-0BA12-0XA0; Outgoing cable 900, without programming device
socket
S 6ES7 972-0BB12-0XA0; Outgoing cable 900, with programming device socket
Cable
S 6XV1 830-0EH10; By the meter; without trailing capability
S 6XV1 830-3EH10; By the meter; with trailing capability
The PROFIBUS address of the ADI4 DP slave is set via switch S2.
S Adjustable PROFIBUS address: 1...127
Switch Meaning
1 PROFIBUS address: 20 = 1
2 PROFIBUS address: 21 = 2
3 PROFIBUS address: 22 = 4
4 PROFIBUS address: 23 = 8
5 PROFIBUS address: 24 = 16
6 PROFIBUS address: 25 = 32
7 PROFIBUS address: 26 = 64
8 Not used
Notice
A new PROFIBUS address setting does not take effect until a power OFF/ON.
Connection
50–pin SUB D connector
Pin assignment
ADI4
X3
Pin number:
Relay
Signal: 14 ... 17
“Drive enable”
of Axis 1 to 4 47 ... 50
Preassembled cables
Order No. (MLFB): 6FX2 002-3AD01-jjjj
Cable length: v35 m
Information regarding the length codes is provided in:
References: /Z/ Catalog NC Z.
Connection
15-pin SUB D socket
Pin assignment
Preassembled cables
The following preassembled cables can be used, depending on the encoder type:
S Incremental encoder (TTL) with RS422 (5 V or 24 V) 6FX2 001-2...
Order number (MLFB): 6FX8 002-2CD01-1jj0 (5 V)
Order number (MLFB): 6FX5 002-2CD24-1jj0 (24 V)
Cable length: See “Maximum cable lengths” below.
S Absolute encoder with SSI 6FX2 001-5...
Order number (MLFB): 6FX8 002-2CC11-jjj0
Cable length: See “Maximum cable lengths” below.
S 1FT5 motor with installed ROD320 encoder
Order number (MLFB): 6FX8 002-2CE02-1jj0
Cable length: See “Maximum cable lengths” below.
Information regarding the length codes is provided in:
References: /Z/ Catalog NC Z.
Supply voltage: 5 V DC
Tolerance Current input Max. cable length
4.75 V to 5.25 V x300 mA 25 m
Supply voltage: 24 V DC
Tolerance Current input Max. cable length
20.4 V to 28.8 V x300 mA 100 m
11 V to 30 V x300 mA 300 m
S Transmission frequency
Table 2-8 Transmission frequency
Note
If cable lengths longer than 25 m or 35 m are needed for incremental encoders,
encoder types with a 24 VDC supply voltage can be used instead.
Caution
To ensure error-free transmission of encoder data, do not exceed the maximum
cable lengths shown in these tables.
Supply voltage 1)
P5MS P24SSI
Voltage
Minimum 4.75 V 20.4 V
Nominal 5V 24 V
Maximum 5.25 V 28.8 V
Ripple
Maximum 50 mVpp 3.6 Vpp
Current load
Per encoder connection 0.3 A
Maximum 1.35 A 1A
1) P5MS: Supply voltage for encoder (+5 VDC)
P24SSI: Supply voltage for encoder (+24 VDC)
Notice
In conjunction with ADI4, synchronous serial data transmission for absolute
encoders (SSI) must be operated in “fir tree” (TSSI) output format can be
operated.
(SINUMERIK 802D)
S Absolute encoder (SSI)
The use of absolute encoders (SSI) is not approved.
(SINUMERIK 840Di)
S Absolute encoder (SSI)
– The use of single turn absolute encoders (SSI) is not- approved.
– The use of multiturn absolute encoders (SSI) is approved.
Note
Encoders with SINE/COSINE signals (1 Vpp) can be connected using external
pulse-shaper electronics (EXE), which convert the signals to the 5 V TTL level.
Connection
Two 12-pin connectors FK-MCP 1.5/15–ST–3.81 by Phoenix (X6–1 and X6–2).
Pin assignment
Table 2-10 Pin assignment: digital output interface (X6–1)
Optocoupler
2
Relay
Driver
Driver 3
: :
: :
: :
: :
Driver 9
Relay
10
Signal:
“Ready”
11
12 (MEXT2)
(SINUMERIK 802D)
The signals from pins 2 to 9 are not available on an ADI4 module connected to
SINUMERIK 802D.
Supply voltage
To supply the digital outputs with power, an external 24 VDC voltage source must
be connected to X6–1, Pin 1 (P24EXT2).
The reference ground of the external voltage source must be connected with X6–1,
Pin 15 (MEXT2).
For further information, see Section 2.8 (Page 2-31).
Electrical specification
S A polarity reversal does not cause a high-signal level nor does it destroy the outputs.
Connecting cables
The required connecting cables must be provided by the user:
S Supply voltage X6–1, Pin 1 and 12 (P24EXT2):
Wire, conductor cross section of 1.5 mm2 (AWG16)
S Digital outputs X6–1, Pins 2 to 9:
Wire, conductor cross section 0.5 to 1.5 mm2 (AWG20 – AWG16)
S Ready X6–2, Pins 10 and 11:
Wire, conductor cross section of 1.5 to 3.5 mm2 (AWG16 – AWG12)
Notice
The maximum length of the digital signal cables is 30 m.
Connection
Two 12-pin connectors FK–MCP 1.5/15–ST–3.81 by Phoenix (X6–1 and X6–2).
Pin assignment
Table 2-12 Pin assignment: digital input interface (X6–2)
X6–2
ADI4 P24OUT Pin no.:
(+24 VDC) 1
1
Optocoupler
2
: :
: :
: :
: :
11
0V +24 V
12 P24OUText
ext. power supply
+24 V stabilized
M
(SINUMERIK 802D)
The signal from pin 7 is not available on an ADI4 module in combination with
SINUMERIK 802D.
Voltage
Minimum 20.4 V
Nominal 24 V
Maximum 28.8 V
Ripple
Maximum 3.6 Vpp
Current load
Typical 0.1A
Maximum 1A
Power consumption
Typical 3.02 W
Maximum 30.2 W
Insulation Class A, in accordance with DIN 57110b
Electrical specification
Connecting cables
The required connecting cables must be provided by the user:
S Supply voltage X6–2, Pin 1 (P24OUT), external supply voltage P24OUText:
Wire, conductor cross section of 1.5 mm2 (AWG16)
S Digital outputs X6–2, Pins 2 to –11:
Wire, conductor cross section 0.5 to 1.5 mm2 (AWG20 – AWG16)
Measuring Input
ADI4 supports measurement of a rising or falling edge of the measuring input. A
simultaneous request for measurement of a rising edge and a falling edge of the
measuring input cannot be parameterized.
The module status is displayed on the front of the module via four diagnostic
LEDs.
Installation/Mounting
For high frequency interference currents, the housing of the ADI4 module must be
connected with low-resistance to the back wall of the control cabinet, and this wall
in turn must be connected with low-resistance to the motors/machine. Ideally, the
module should be installed on a bare mounting wall. The connection between the
mounting wall and the motors/machine must be electrically conductive and have a
large surface area. Coated cabinet walls and DIN rails, or similar mounting means
with a small contact area, do not meet this requirement.
Cable routing
Power and signal cables must always be routed separately. All I/O interface
(X6–1/X6–2) signal lines should exit jointly. Single strands that are related from the
signal point of view must be twisted together. Ideally, signal cables and encoder
cables should be installed separately.
All cables and lines within the control cabinet should always be placed as close as
possible to the control cabinet walls. Extended installation through open space can
cause interference injections (antenna effect). The proximity to sources of interfer-
ence (contactors, transformers, etc.) must be avoided by placing a shield plate be-
tween the cable and the source of interference, if necessary. Cable and wire exten-
sions through terminals, etc., must be avoided. To protect against interference in-
jections from external sources, signal cables must be shielded.
Warning
! The module has been designed for operation in an enclosed control cabinet.
Operation outside an enclosed control cabinet is not permissible.
ADI4 module
To supply the ADI4 module (+24 V DC), an external power source is needed. The
power supply is connected through terminal X1 (P24EXT1) on the front panel of
the ADI4 module. See Section 2.2 (Page 2-12).
Digital outputs
To supply (+24 VDC) the digital outputs, an external power source is needed. The
power supply is connected through Terminal X6–1, Pin 1 (P24EXT2).
See Section 2.2 (Page 2-12).
Digital inputs
If the digital inputs are not supplied with the internal supply voltage of X6–2, Pin 1
(P24OUT), this supply voltage can optionally be replaced with an external power
source (+24 VDC, 1 A maximum).
The reference ground (GND) of the external power supply source must be con-
nected with X6–2, Pin 12. X6–2, Pin 1 (P24OUT) remains open.
Supply voltage 1)
P24EXT1 P24EXT2 P24OUText
Voltage
Minimum 18.5 V
Nominal 24 V
Maximum 30.2 V
Ripple
Maximum 3.6 Vpp
Current load
Typical 0.5A – 0.1A
Maximum 1A 8A 1A
Power consumption
Typical 12 W – 3.02 W
Maximum 30.2 W 241.6 W 30.2 W
1) P24EXT1: Supply voltage of ADI4 module
P24EXT2: Supply voltage for digital outputs
P24OUText: Optional supply voltage for digital inputs
Caution
The external supply voltages must each be generated as functional extra-low
voltages with safe electrical isolation (DIN EN 60204–1, Section 6.4, PELV).
On the module side, supply voltages P24EXT1 and P24EXT2 must be protected
against the following:
S Overvoltage
S Short circuit (electrical current limitation of outputs)
S Polarity reversal
S Overload
– P24EXT1: Fuse 2.5 A/250 V
– P24EXT2: Fuse 8 A/125 V
2.5 Grounding
The module must be installed according to EN 60204.
The user must ground each of the supply voltages. To do this, a connection must
be established from Terminal X1, Pin 2 (MEXT1) or X6–1, Pin 15 (MEXT2) to a
central grounding point of the system.
If a large-area, permanent metallic connection with the central grounding point is
not possible using the rear panel, the module must be connected to the grounding
rail by means of a wire (cross section >10 mm2).
Caution
! A protective conductor must be connected. An M6 screw is provided on the lower
right of the front of the housing to connect the protective conductor.
See Section 2.1 (Page 2-11).
Order no.
ADI4 Prefabricated cables
Plug connector:
MSTB 2,5/3–ST–5.08, Phoenix ext. power supply
X1 Cable:
Ext. power 24 V DC
Wire (1.0 to 2.5 mm2)
supply 24 V DC
Plug connector:
6ES7 972–0BA41–0XA0
6ES7 972–0BB41–0XA0 Controller, e.g.,
6ES7 972–0BA12–0XA0 – SINUMERIK 802D
X2 6ES7 972–0BB12–0XA0 – SINUMERIK 840Di
Cable: – SIMOTION
PROFIBUS DP 6XV1 830–0EH10 – SIMATIC Technology CPU
6XV1 830–3EH10
X4–1
Incremental encoder with
6FX8 002–2CD01–1jj0 (5 V) RS422 (TTL) (5 V or 24 V)
6FX5 002–2CD24–1jj0 (24 V)
1) 6FX2001–2...
X4–2
Absolute encoder with
6FX8 002–2CC11–1jj0 SSI
1) 6FX2001–5...
X5–1
ROD320
6FX8 002–2CE02–1jj0 pulse encoder
v 35 m in the 1FT5 motor
X5–2
23.25
Ğ13 6.5
80 1)
3.2
374
360
1)
Necessary clearance to ensure
sufficient ventilation
80 1)
163.6
6.5
48.5
Security
Degree of protection IP20
Protection class Protection class I, according to VDE 0106 T1: 1982 (IEC 536)
Protection against ingress of foreign bodies and water in accordance
with IEC 529
Approvals CE/CSA, CE
Power consumption
Nominal load 12 W
Maximum 30.2 W
Mechanical specifications
Dimensions WxHxD [mm] 154.4 x 325 x 48.5
Weight approx. 1.5 kg
Ambient environmental conditions
Heat dissipation Open–circuit-ventilated
Operation Storage/transport
Temperature limits 0 ... 55 °C –20 ... 55 °C/–40 ... 70 °C
Limits for relative humidity 5 ... 95 % 5 ... 95 %
without condensation without condensation
Per minute Per hour
Condensation Not permissible
Air pressure 700 ... 1060 hPa 700 ... 1060 hPa
Transportation altitude – –1000 ... 3,000 m
Shock stress during transportation
Free fall in transport packaging v1,000 mm
SlaveOM
The SlaveOM for SINUMERIK 840Di enables dialog–based parameter assignment
for SIMODRIVE drives and the ADI4 module as part of configuring with SIMATIC
STEP 7 HW Config.
Drive ES Basic
Drive ES Basic supports dialog–based parameter assignment for SIMODRIVE
drives and the ADI4 module. In addition, Drive ES Basic can be used for assigning
parameter parameters for additional drive systems not relevant to
SINUMERIK 840Di.
Drive ES Basis can be purchased separately.
Note
S If SlaveOM for SINUMERIK 840Di is installed later on a SIMATIC S7 system
with Drive ES Basic, the functionality is reduced to that of the SlaveOM.
S When using the SlaveOM for SINUMERIK 840Di in connection with other PLC
CPUs, a consistency error is reported during the configuration compilation and
no system data blocks are generated.
The PROFIBUS DP parameter assignment for the ADI4 DP slave can be basically
divided into two steps:
1. In the first step, after inserting the ADI4 DP slave in the configuration, the fol-
lowing parameters are assigned on a slave–specific basis:
– PROFIBUS parameters (see Section 3.6, Page 3-37)
– Function parameters (see Section 3.9, Page 3-44)
Step 1 should be carried out first for all ADI4 DP slaves needed in the configu-
ration.
2. In the second step, parameters are assigned for the equidistant cyclic DP com-
munication (see Section 3.10, Page 3-56).
Step 2 can be performed last on any ADI4 DP slave. These settings can be
transferred to all other ADI4 DP slaves by means of the adjustment function of
the SlaveOM.
To insert an ADI4 DP slave in the configuration, open the hardware catalog using
the View > Catalog menu command.
The ADI4 DP slave is located under:
S Profile: Standard
PROFIBUS-DP > SINUMERIK > ADI4
Using a drag-and-drop operation, select the ADI4 DP slave and move onto to the
DP master system in the station window.
The DP master system is displayed in the station window with the following sym-
bol:
Releasing the left mouse button inserts the ADI4 DP slave in the configuration.
Note
As you drag the DP slave, the cursor appears as a circle with a slash through it.
When the cursor is positioned exactly over the DP master system, it changes to a
plus sign, and the DP slave can be added to the configuration.
Inserting the ADI4 DP slave in the configuration opens the dialog: “Properties -
PROFIBUS Interface ADI4”, Tab: Parameter:
General Parameter
Address:
Subnet:
-–– not networked -–– New...
Properties...
Delete...
OK Cancel Help
The displayed address value was automatically set by HW Config to the next avail-
able PROFIBUS address within the configuration.
Note
The dialog can also be called later. To do so, double-click the ADI4 DP slave icon
in HW Config and activate the “PROFIBUS” button in the “General” tab of the
displayed dialog.
Notice
The PROFIBUS address of the ADI4 DP slave can be set to any value, in
principle. However, it must be ensured that the PROFIBUS address setting in
HW Config matches the DIP switch setting on the ADI4 DP slave.
There is no automatic adjustment!
The following data must agree:
1. SIMATIC S7 configuration of the
PROFIBUS address of the ADI4 DP slave
2. ADI4 module DIP switch S2
PROFIBUS address
After you have confirmed this dialog box with “OK”, the “DP Slave Properties” dia-
log opens. Continue with the parameter assignment for the message frame type.
DP slave properties
None
None
Slot 4 axes, each with one encoder, Standard message frame 3 + IO, PZD-5/9 O/I 1/1”
Type Address Type PR... I/O address Pro... Lä...
4 No PKW
5
Comment:
OK Cancel Help
Dialog
Dialog box: “DP Slave Properties”
Tab card: “Configuration”
List field: “Default setting”
4 axes, each with one encoder, Standard message frame 3
and IO, PZD-5/9 O/I 1/1”
OK
STD 3 STD 3 STD 3 STD 3 I word Actual values (slave -> master)
Low High
PZD1 PZD2 PZD 3 PZD 4 PZD 5 PZD6 PZD7
ZSW1 NACT_B ZSW2 G1_ZSW G1_XIST1
PZD8 PZD9
G1_XIST2 Actual value (slave –> master)
Notice
The message frame type setting for the ADI4 DP slave in HW Config must agree
with the message frame type setting in the controller.
There is no automatic adjustment!
or
S If more than one function is enabled, the values for all functions cannot be read
until all functions have ended and this has been signaled via the relevant status bit
on-the-flyy (G1_ZSW, Bit 0 – Bit 3 = 0).
measure-
S on-the-fly measurement
ment
The rising and falling edges of the measuring input can be enabled simultaneously.
The measuring input signal is detected according to the direction of the signal
3
change. The measured values are read out consecutively.
Note
ADI4 only supports measurement on a rising or falling edge.
4 Bit 6, 5, 4 Meaning
000 –––
5 Com- 001 Enable Function x
mand
010 Read Value x
6 011 Cancel Function x
For communication between the controller and the individual axes of an ADI4 DP
slave, it is necessary that the setpoint and the actual value of an axis have the
same I/O address.
HW Config takes this requirement into account automatically when an ADI4 DP
slave is inserted in the configuration.
Dialog
Dialog box: “DP Slave Properties”
Tab card: “Configuration”
PROFIBUS partner, I/O address: <I/O addresses>
OK
Notice
S The setpoint and actual value of an axis must have the same I/O address.
I address (actual value) = Q address (setpoint)
If the ADI4 DP slave is inserted in an S7 project with a copy operation (for
example, from another S7 project), the I/O addresses are assigned solely
through “HW Config”. This could result in an axis receiving a different I/O
address for the setpoint and actual values. The I/O addresses must be
manually corrected in this case.
S To avoid access conflicts between the PROFIBUS DP drives and the I/O
modules, values w272 must be used for I/O addresses for the ADI4 DP slave.
3.7.4 Consistency
This setting means that direct access from the PLC user program (e.g., byte, word,
or double word) to this address area is not permitted by the PLC operating system.
In the “Encoder” tab, all further function-specific parameters of the ADI4 DP slave
are set in addition to the encoder parameters:
S Encoder type
S Unipolar spindle (or unipolar motor)
S Shutdown ramp
S Shutdown delay time
S Tolerable sign-of-life failures
S Reserved bits for fine resolution
S 611U conformant mode
Figure 3-3 shows the corresponding dialog box with sample values for the various
encoder types and parameters.
DP slave properties
Parity Parity
MsgLength: 21 MsgLength: 21
Encoding Encoding
Binary Gray
Unipolar spindle
1st Axis 2nd Axis 3rd Axie 4th Axis
OK Cancel Help
Note
In the case of spindles a with a low-resolution encoder, the actual-value
characteristic (incrementing) may be displayed in a non-linear fashion. The
incrementing that is visible on the actual-value display is the result of the speed
resolution (RR), where:
RR = 60000/( Tdp * ER * PM )
RR (speed resolution): [ ( revolutions/minute )/encoder pulse ]
Tdp (position-control cycle = PROFIBUS clock pulse): [ ms ]
ER (encoder resolution): [ encoder pulses/revolution ]
PM (pulse multiplication)
Example:
– Tdp (position-control cycle = PROFIBUS clock pulse): 2 ms
– ER (Encoder Resolution): 2500 pulses/revolution
– PM (ADI4-internal pulse multiplication): 4
RR = 60000/( 2 * 2500 * 4 ) = 3 ( revolutions/minute )/encoder pulse
(SINUMERIK 840Di)
Smoothing of the actual value for low-resolution encoders via machine data item:
MD34990 $MA_ENC_ACTVAL_SMOOTH_TIME (smoothing time constant)
S Encoding
The following encoder codes are supported:
– Binary
– Gray
S Transmission rate
The following transmission rates are supported:
– 187.5 Kbps
– 375 Kbps
– 750 Kbps
Notice
S The transmission rate setting must be identical for all SSI encoders. If
transmission rate settings are different, the transmission rate of the SSI
encoder with the highest encoder number is used.
S In conjunction with ADI4, only absolute encoders (SSI) with “fir tree” (TSSI)
output format can be operated.
The drive can be moved in two directions. Selecting the “Unipolar spindle” check
box switches the voltage range of the analog output voltage.
(SINUMERIK)
Voltage level of direction of rotation signals at digit. output X6-1, pin 6 - 9, where:
S M3 (spindle CW) = 24 V
S M4 (spindle CCW) = 0 V
S M5 (spindle stop) = 0 V
The “Shutdown ramp” parameter specifies a function that is linear with respect to
time. If an error is detected in the ADI4, all ADI4 drives are slowed down to Set-
point 0 in accordance with this function.
A parameter value of 0 brings the drives to an immediate stop (brake at current
limit).
S Unit: [ms]
Maximum
setpoint
Current
setpoint
0 t [ms]
Parameter value:
Shutdown ramp
The “Shutdown delay time” parameter can be used to specify a time after which all
ADI4 drives are slowed down to Setpoint 0 following a temperature alarm in the
ADI4.
After the “Shutdown delay time” has elapsed, the “Shutdown ramp” is taken into
account.
S Unit: [s]
Notice
Presently, the “Tolerable sign-of-life failures” parameter may only be used on
values in the range of 0 to 13.
The “Additional substitute bits for fine resolution” parameter specifies the desired
pulse duplication of the encoder increments transmitted in actual encoder values
G1_XIST1 and G1_XIST2.
Presently, the number of additional substitute bits for fine resolution must be set
permanently to 11. This corresponds to a pulse duplication of: 211 = 2048.
Notice
S Presently, the “Reserved bits for fine resolution” parameter setting must always
be 11.
(SINUMERIK 840Di)
Notice
S Corresponding to the “Additional substitute bits for fine resolution” parameter,
the following must be entered in the axis-specific NC machine data element:
MD30260: $MA_ABS_INC_RATIO (ratio of the absolute resolution to the
incremental resolution)
Value: 2“Additional substitute bits for fine resolution” = 211 = 2048.
In 611U conformant mode, the signal source for homing of axes is no longer speci-
fied using the PROFIDrive standard message frame (STD3, encoder control word
G1_STW, see Page 3-41), but rather using the additional digital output word in the
PROFIBUS message frame of the ADI4 (see Table 3-1, Page 3-40).
611U conformant mode:
S Not selected
The signal source for homing is specified via the encoder control word Gx_STW
(see page 3-41) in the PROFIDrive standard message frame.
S Selected
The signal source for homing is specified via the additional digital output word in
the PROFIBUS message frame.
If the 611U conformant mode has been parameterized for an axis to be homed, the
axis-specific signal for selecting the signal source must be set in the digital output
word of the ADI4 from the PLC user program, before the “Reference mark search”
function is requested in the encoder control word.
Subsections 3.9.8 to 3.9.10 below show the basic system structure and the re-
spective boundary conditions of the individual homing methods.
(SIMOTION)
With611U conformant mode
S For homing of an axis using an encoder zero mark and an external zero mark
the appropriate axis-specific bit must be set to 0 (encoder zero mark) in the dig-
ital output word by the PLC user program.
S The signal source for homing can be switched during operation.
Dialog: End
When you click “OK” in the “DP Slave Properties” dialog, your data are applied and
the dialog box is closed.
Step 1: End
This concludes Step 1 of the ADI4 DP slave parameter assignment (see Subsec-
tion 3.5.1, Page 3-35).
System structure
ADI4
Controller, e.g., Converter system, e.g.,
– SINUMERIK 802D SIMODRIVE 611 with
– SINUMERIK 840Di PROFIBUS DP
closed-loop control unit with
– SIMOTION analog setpoint interface
– SIMATIC Technology CPU
Analog setpoint
ÍÍÍÍÍÍÍÍ
Fig. 3-5 Basic system structure: homing using encoder zero mark
Function
Once the controller requests homing, the ADI4 transmits the actual encoder value
to the controller as the home position the next time it detects an encoder zero
mark.
System structure
ADI4
Converter system, e.g.,
Controller, e.g.,
SIMODRIVE 611 with
– SINUMERIK 802D PROFIBUS DP
closed-loop control unit with
– SINUMERIK 840Di
analog setpoint interface
– SIMOTION
– SIMATIC Technology CPU Analog setpoint
ÏÏÏÏÍÍÍÍÍÍÍÍ
External
zero mark
Fig. 3-6 Basic system structure: Homing using external zero mark
Function
Once the controller requests homing, the ADI4 transmits the actual encoder value
to the controller as the home position the next time it detects an external zero mark
signal.
(SINUMERIK) (SIMOTION)
Homing using an external zero mark requires 611U conformant mode to be se-
lected.
System structure
ADI4
Converter system, e.g.,
Controller, e.g.,
SIMODRIVE 611 with
– SINUMERIK 802D PROFIBUS DP
closed-loop control unit with
– SINUMERIK 840Di
analog setpoint interface
– SIMOTION
– SIMATIC Technology CPU Analog setpoint
ÏÏÏÏÍÍÍÍÍÍÍÍ
Reference
cam
Fig. 3-7 Basic system structure: Homing using encoder zero mark and external zero mark
Function
The reference cam signal must be connected to a digital input on the ADI4 (X6–2,
Pins 2 to 5). The reference cam signal is processed in the controller as part of the
homing operation.
Once the reference cam signal is detected, the controller reduces the axis velocity
to the homing approach velocity and requests the ADI4 to home to the next en-
coder zero mark. Once the request is detected, the ADI4 transmits the actual en-
coder value to the controller as the home position the next time it detects an en-
coder zero mark.
Error 20005
In conjunction with an ADI4 DP slave, the following message is displayed when the
SIMOTION CPU switches from RUN to STOP mode:
S Error 20005: Device type: 1/2, log. address: x faulted. (Bit: 0, Reason: 0x...)
The message can be ignored.
This message is automatically deleted by the system the next time there is a tran-
sition from STOP to RUN mode.
Notice
When assigning parameters for DP communication, you must observe the
boundary conditions applicable to the individual parameters
(see Subsection 3.10.9, Page 3-65).
Double-click the ADI4 DP slave in the station window of HW Config to open the
“DP Slave Properties” dialog.
Note
It is recommended that the equidistant DP cycle be enabled for all ADI4 DP slaves
by enabling the equidistant DP cycle for the selected ADI4 DP slave, and then
performing an alignment.
During an alignment, the values displayed in dialog:
S DP Slave Properties
Tab: Clock synchronization
are transferred to all DP slaves of the same type in the configuration, i.e., in this
case, to all ADI4 DP slaves.
Dialog: Start
Dialog box: “DP Slave Properties”
Tab: “Clock synchronization”
Check box: “Synchronize drive to equidistant DP cycle”
Button: Adjustment
DP slave properties
General Configuration Clock synchronizationEncoders
Adjustmen
t
OK Cancel Help
Note
If there are different equidistant DP slave types (for example, different
SIMODRIVE drives, ADI4, etc.) in an S7 project, you must first perform the
following two steps for each DP slave type:
1. Synchronize drive to equidistant DP cycle
2. Align
Then, you can continue setting the other parameters.
Once synchronization to the equidistant DP cycle has been enabled for all DP
slaves, the time required for the cyclic component of the DP communication must
be recalculated.
The calculation is performed automatically by the DP master each time the
equidistant bus cycle is enabled. This occurs in the dialog box below by selecting
and clearing the “Enable equidistant bus cycle” check box.
Dialog: Continuation
Dialog box: “DP Slave Properties”
Tab: “General”
Group: “Station/Master System”
Button: PROFIBUS...
Dialog box: “Properties – PROFIBUS Interface ADI4 ...”
Tab: “Parameters”
Button: Properties...
Dialog box: “Properties of PROFIBUS”
Tab: “Network settings”
Button: Options...
Dialog box: “Options”
Tab: “Equidistance”
1st check box: Enable equidistant bus cycle
2nd check box: Enable equidistant bus cycle
Dialog: Continuation
Dialog box: “Options”
Equidistant DP cycle: Equidistance time
OK
OK
OK
Options
Increme
Isochronous DP cycle: 2.000 ms nt: 0.001 ms Details ...
(minimum 0.427 ms)
Synchronization of the
slaves
Times Ti and To same for all slaves
(If not: Set in Properties – Slaves)
OK Cancel Help
Dialog: Continuation
Dialog box: “DP Slave Properties”
Tab: “Clock synchronization”
DP cycle (ms): < Factor >
The DP cycle time of the ADI4 DP slave must be set to the DP master cycle time
displayed under “Equidistant DP cycle”.
Note
The DP cycle time (Parameter: DP cycle) of the ADI4 DP slave must be set to the
same value as the DP cycle time setting for the DP master (Parameter:
Equidistant DP cycle).
DP cycle = equidistant DP cycle
The Master application cycle TMAPC parameter specifies the integer ratio between
the master application (position controller) and the equidistant DP cycle.
By setting a ratio other than 1:1, the dead bands of the position controller can be
reduced for less powerful controller hardware.
See Figures 3-10 and 3-11, Page 3-61.
Dialog: Continuation
Dialog box: “DP Slave Properties”
Tab: “Clock synchronization”
Master application cycle [ms]: < Factor>
TMAPC = TDP
NC:
Master or TM
R
position controller
TDX TDX
1 2
Speed controller -
cycle
Drives: R R R R R R R R R R R R R R R R
DP slave: 1 to 3
TI TO TI TO
TMAPC = 2 * TDP
NC:
Master or position TM
R
controller
TDP TDP
TDX TDX
1 2
Speed controller -
cycle
Drives: R R R R R R R R R R R R R R R R R R R R
DP slave: 1 to 3
TI TO TI
TI Input time: Timing of actual value acquisition. The actual values are transferred to the
DP master in the next DP cycle.
1
The actual values for the current DP cycle/position control cycle are
transferred from the DP slave drives to the NC position controller.
2
The setpoints computed by the NC position controller are transferred
to the DP slave drives.
(SINUMERIK 802D)
The ratio between master application cycle TMAC and DP cycle time TDP can be
set to a ratio other than 1:1.
The actual value acquisition Ti parameter specifies the time when an ADI4 DP
slave reads in the actual values (actual position value).
It is recommended that the time of the actual value acquisition Ti be set the same
for all ADI4 DP slaves, particularly if axes of different ADI4 DP slaves travel on the
same path by interpolation.
Dialog: Continuation
Dialog box: “DP Slave Properties”
Tab: “Clock synchronization”
Actual value acquisition [ms]: < Factor >
Note
The following condition must be satisfied for actual value acquisition time Ti:
DP cycle >= actual value acquisition >= base time
The Setpoint transfer To parameter specifies the time when the ADI4 DP slave re-
ceives the speed setpoint from the position controller.
It is recommended that setpoint transfer time To be the same for all ADI4 DP
slaves, particularly if axes are interpolated together.
Dialog: Continuation
Dialog box: “DP Slave Properties”
Tab: “Clock synchronization”
Setpoint transfer [ms]: < Factor >
Note
The following condition must be satisfied for setpoint transfer time To:
DP cycle >= setpoint transfer >= equidistant master cyclic component +
base time
3.10.8 Alignment
Alignment transfers all values for the current ADI4 DP slave displayed in the “Clock
synchronization” tab to all other ADI4 DP slaves in the configuration.
Dialog: End
Dialog box: “DP Slave Properties”
Tab: “Clock synchronization”
Button: Adjustment
OK
Note
If an S7 project includes different equidistant DP slave types, such as different
SIMODRIVE drives, ADI4, etc., the following parameter settings must be made for
each DP slave type as described above, and an alignment must be performed:
S Equidistant DP cycle TDP
S Master application cycle TMAPC
S Actual value acquisition Ti
S Setpoint transfer To
The alignment operation transfers the values displayed in the “Clock
synchronization” tab only to DP slaves of the same type.
This align operation concludes the parameter assignment DP communication for all
ADI4 slaves.
DP slave properties
General Configuration Clock synchronization
Adjustmen
t
OK Cancel Help
DP slave properties
General Configuration Clock synchronization
DT 0
ÏÏÏÏÏÏÏÏÏÏÏÏÏÏ
ÎÎÎÎÎÎÎÎÎÎ
TI–Max.: TDP
TO
TI–Min.: 2*125 us
TO–Min.: TDX+125 us
TI
TO–Max.: TDP
TDX
TDP
1*125 us 2*125 us 3*125 us 4*125 us 5*125 us 6*125 us 7*125 us 8*125 us
(SINUMERIK 802D)
Typical parameter values are:
– Equidistant DP cycle (TDP): 2.000 ms
– Actual value acquisition (Ti): 0.250 ms
– Setpoint transfer (To): 1.000 ms
(SINUMERIK 840Di)
Typical parameter values are:
– Equidistant DP cycle (TDP): 2.000 ms
– Actual value acquisition (Ti): 0.250 ms
– Setpoint transfer (To): 1.000 ms
Note
ADI4 DP slaves:
Machine data
The following machine data must be set for the purpose of starting up the measur-
ing system of a machine axis with linear encoder featuring distance-coded zero
marks/reference marks:
Example
The following example illustrates how the mounting conditions of the machine axis
and linear encoder have to be taken into account in the machine data for the ma-
chine axis concerned.
Type of linear encoder with distance-coded zero marks/reference marks used:
Heidenhain: LS 476 C
Technical characteristics (extract) Value
Measuring length 270 mm
Reference mark distance 20 mm
Signal division of incremental signals with scale division of 0.02 and inte- 0.004 mm
grated interpolation: x5
Interval between two reference marks (specific to Heidenhain) 0.02 mm
270
20
40
60
0
Because of the various possibilities regarding the orientation of the machine axis
and linear encoder (equidirectional/counterdirectional) it is necessary to distinguish
between 2 scenarios.
270
Reference point offset RO
– +
0
Traversing range of the machine axis
0
270
– +
0
Traversing range of the machine axis
E
Encoder control word, 3-41
I
Encoder error, 3-41
Encoder type, 3-45 I/O addresses, 3-42
SSI, 3-45 Incremental encoders, TTL, 2-18
TTL, 3-45 Input time, 3-62
Encoder zero mark, 3-49, 3-50, 3-51, 3-53 Input word, 3-40
Encoders with axes, 3-54 Installation/Mounting, 2-26
Interface P
(H1/H2): module status, 2-25
Parameter assignment, 3-33
(S2): PROFIBUS address, 2-13
Parameter assignment sequence, 3-35
(X1): external power supply, 2-12
POWER, LED: ADI4, 2-25
(X2): PROFIBUS DP, 2-13
Power supply, 2-26
(X3): Analog setpoint interface, 2-15
PROFIBUS address, 3-37
(X4--1/X4--2/X5--1/X5--2): encoder inter-
PROFIBUS parameters
faces, 2-16
SIMOTION, 3-37
(X6--1): Digital outputs, 2-20
SINUMERIK 802D, 3-37
(X6--2): Digital inputs, 2-23
SINUMERIK 840D, 3-37
Interface description, 2-12
PROFIBUS DP parameter assignment, 3-35
Interface overview, 2-12
Properties, 1-9
Isochronous DP cycle, 3-56, 3-59
R
L READY, LED: ADI4, 2-25
Linear encoders, 2-19 Reference mark search, 3-41, 3-49
SINUMERIK, 4-69 Reference marks, 2-19
SINUMERIK 840Di, 4-69
Requirements
SIMATIC Technology CPU, 3-34
M
SIMOTION, 3-34
M3, 3-47 SINUMERIK 802D, 3-33
M4, 3-47 SINUMERIK 840Di, 3-33
M5, 3-47 RESERVE, 3-62
Main features, 1-9 Reserved bits for fine resolution, 3-48
Master application cycle, 3-60, 3-62 SINUMERIK 840Di, 3-48
SIMATIC Technology CPU, 3-62
SIMOTION, 3-62
SINUMERIK 802D, 3-62 S
SINUMERIK 840Di, 3-62 S7 Technology, 3-34
Master time, 3-62 Setpoint transfer, 3-63
MD34990, SINUMERIK 840Di, 3-45 Shutdown delay time, 3-47
Measuring Input, 2-25, 3-54 Shutdown ramp, 3-47
Message frame structure, 3-40 Sign-of-life failures, 3-47
Message frame type, 3-39 SIMATIC STEP 7, 3-34
MLFB: 6FC5 211--0BA01--0AA0, 1-9, 3-67 SIMOTION C, 3-34
MLFB: 6FC5 211--0BA01--0AA1, 3-34, 3-65, SIMOTION D, 3-34
3-67 SIMOTION P, 3-34
SlaveOM, 3-33
Smoothing time constant,
N SINUMERIK 840Di, 3-45
STEP 7 SIMATIC Manager , 3-34
NC startup, 4-69
Supply voltages (+24 VDC), 2-27
O T
On-the-fly measurement, 3-41, 3-54 TDP, 3-59, 3-60, 3-62
Order number, 1-9 TDX, 3-58, 3-62
Output time, 3-62 Technical specifications, 2-31
Output word, 3-40 Technology CPU, 3-34
OVTEMP, LED: ADI4, 2-25 TI, 3-62, 3-63
TM, 3-62 U
TMAPC, 3-60, 3-62
SIMATIC Technology CPU, 3-62 Unipolar motor, 3-46
SIMOTION, 3-62 SIMATIC Technology CPU, 3-46
SINUMERIK 802D, 3-62 SIMOTION, 3-46
SINUMERIK 840Di, 3-62 SINUMERIK, 3-47
TO, 3-62, 3-63 Unipolar spindle, 3-46
TOKEN, 3-62 SIMATIC Technology CPU, 3-46
Tolerable sign-of-life failures, 3-47 SIMOTION, 3-46
Total length, 3-43 SINUMERIK, 3-47