Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

1 2 3 4 ADI4 - Analog Drive Interface For 4 Axis: Device Manual

Download as pdf or txt
Download as pdf or txt
You are on page 1of 79

Preface, Contents

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.

Copyright Siemens AG, 2005. All rights reserved Disclaimer of Liability


The reproduction, transmission or use of this document or its contents is not We have checked that the contents of this document correspond to the
permitted without express written permission. Offenders will be liable for hardware and software described. Since discrepancies cannot be precluded
damages. All rights, including rights created by patent grant or registration of entirely, we cannot guarantee full agreement. The information given in this
a utility model, are reserved. publication is reviewed at regular intervals and any corrections that might be
necessary are made in the subsequent editions.

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

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition Preface-3
Preface

If you have any comments, suggestions, or corrections regarding this documenta-


tion, please fax or e-mail them to:
Fax: +49 (0) 9131 98 - 63315
E-mail: motioncontrol.docu@siemens.com

Fax form: Refer to the reply form at the end of this manual

Internet address
http://www.siemens.com/motioncontrol

E Siemens AG, 2005. All rights reserved


Preface-4 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Preface

Changes in 04/2004 Edition


The 04/2004 Edition reflects changes to the previous version (02/2003 Edition) as
follows:
Cons. No. Change
1. SIMATIC
S Boundary conditions for:
-- SIMATIC Technology CPU
Changes in 04/2004 Edition
Cons. No. Change
1. General
S Boundary conditions for:
-- Controlled axes (axes without encoders)
-- External encoder interface (encoders without an axis)
-- on-the-fly measurement
S Parameter assignment
-- Minimum DP cycle of 1 ms
2. SIMOTION
S Requirements
S Boundary conditions for:
-- Homing using external zero mark
3. SIMATIC
S Requirements

Changes in 05/2005 Edition


Cons. No. Change
1. General
S Error codes in additional encoder actual value Gx_XIST2
S Spindles with low-resolution encoder
S Corrections
-- Shutdown ramp and parameter value 0
-- Homing using ext. zero mark: “Without 611U conformant
mode”
S The function: “Parking axis” is now available.
S In the case of open-loop controlled axes (axes without encoder),
it is no longer necessary to parameterize an encoder in order for
a setpoint to be output.
2. SINUMERIK
S Linear encoder with distance-coded zero marks/reference marks
-- Startup
-- Approved linear encoders
S Voltage level with unipolar spindle/motor and M3, M4, M5.
S Corrections
-- Homing using external zero mark not possible: “Without
611U conformant mode” possible
-- Homing using encoder zero mark and ref. cam possible
3. SIMOTION
S Corrections
-- Homing using external zero mark not possible: “Without
611U conformant mode” possible

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition Preface-5
Preface

E Siemens AG, 2005. All rights reserved


Preface-6 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Contents

1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9


1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.1.1 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.1.2 Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.1.3 Order number and firmware version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.1.4 Supplementary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
2 Hardware Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.1 Overview of connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.2 Interface description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.2.1 Interface overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.2.2 Interface (X1): external power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.2.3 Interface (X2): PROFIBUS DP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.2.4 Interface (S2): PROFIBUS address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.2.5 Interface (X3): Analog setpoint interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.2.6 Interfaces(X4--1/X4--2/X5--1/X5--2): encoder interfaces . . . . . . . . . . . . . . . 2-16
2.2.7 Interface (X6--1): Digital outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.2.8 Interface (X6--2): Digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-23
2.2.9 Interface (H1/H2): Module status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.3 Control cabinet installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
2.4 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-26
2.5 Grounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-28
2.6 Overview of connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29
2.7 Dimension drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30
2.8 Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
3 Parameter Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
3.1 Requirements (SINUMERIK 802D) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
3.2 Requirements (SINUMERIK 840Di) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
3.3 Requirements (SIMOTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
3.4 Requirements (SIMATIC Technology CPU) . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
3.5 PROFIBUS DP parameter assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
3.5.1 Parameter assignment sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
3.5.2 Inserting an ADI4 DP slave in the configuration . . . . . . . . . . . . . . . . . . . . . . 3-35
3.6 PROFIBUS parameters (SINUMERIK 802D) . . . . . . . . . . . . . . . . . . . . . . . . 3-37
3.7 PROFIBUS parameters (SINUMERIK 840Di), (SIMOTION) and
(SIMATIC Technology CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
3.7.1 PROFIBUS address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition Contents-7
Contents

3.7.2 Message frame type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39


3.7.3 I/O addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
3.7.4 Consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
3.8 Function parameters (SINUMERIK 802D) . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
3.9 Function parameters (SINUMERIK 840Di), (SIMOTION), and
(SIMATIC Technology CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44
3.9.1 Encoder type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45
3.9.2 Unipolar spindle (or unipolar motor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46
3.9.3 Shutdown ramp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
3.9.4 Shutdown delay time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
3.9.5 Tolerable sign-of-life failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
3.9.6 Reserved bits for fine resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48
3.9.7 611U conformant mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49
3.9.8 Homing using encoder zero mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51
3.9.9 Homing using external zero mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52
3.9.10 Homing using encoder zero mark and reference cam
(SIMOTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-53
3.9.11 Supplementary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
3.9.12 Boundary conditions (SIMOTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
3.9.13 Boundary conditions (SIMATIC Technology CPU) . . . . . . . . . . . . . . . . . . . . 3-54
3.10 Assigning parameters for DP communication . . . . . . . . . . . . . . . . . . . . . . . . 3-56
3.10.1 Activation of the equidistant DP cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-56
3.10.2 Equidistant master cyclic component TDX . . . . . . . . . . . . . . . . . . . . . . . . . . 3-58
3.10.3 Equidistant DP cycle TDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-59
3.10.4 DP cycle TDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60
3.10.5 Master application cycle TMAPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60
3.10.6 Actual value acquisition Ti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63
3.10.7 Setpoint transfer To . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63
3.10.8 Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-64
3.10.9 Supplementary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-65
4 Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
4.1 Controller startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
4.1.1 Linear encoder with distance-coded zero marks/reference marks
(SINUMERIK 840Di) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
5 Supplementary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-75

E Siemens AG, 2005. All rights reserved


Contents-8 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
General Information 1
1.1 Overview

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.

1.1.2 Main features

The module has the following important features:


S PROFIBUS DP connection (max. 12 Mbps)
S 4 servo interfaces
– Inputs: TTL/SSI encoders for incremental and absolute measuring systems
– Outputs: $10 V analog
S General and drive-specific digital input/output signals
S Onboard status display by means of 4 diagnostic LEDs
To supply the module and digital outputs with power, an external voltage source
(+24 V DC) is needed.

1.1.3 Order number and firmware version

Order number
Order number (MLFB): 6FC5 211 -0BA01 -0AA2

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 1-9
General Information

Firmware version
The firmware version is not displayed directly on the module. The order number
and firmware version correlate as follows:

Order number Firmware version


6FC5 211-0BA01-0AA0 1.1.4
6FC5 211-0BA01-0AA1 1.2.2
6FC5 211-0BA01-0AA2 1.3.1

1.1.4 Supplementary Conditions

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.

E Siemens AG, 2005. All rights reserved


1-10 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description 2
2.1 Overview of connections

X1: External 24 V DC power


supply
OFF
ON

X2: PROFIBUS link


1

PROFIBUS address:
AH = 10D
corr. to

S2: DIP switch for setting


the PROFIBUS address
8

X3: Analog setpoint outputs


$10 V DC, Axis 1 to 4

X4–2: Encoder connection X4–1: Encoder connection


for Axis 2 for Axis 1

X5–2: Encoder connection X5–1: Encoder connection


for Axis 4 for Axis 3

X6–2: Connection for digital X6–1: Connection for digital


input signals output signals

Diagnostic LEDs
H1: PW TMP
Connection for protective ground
H2: EXCH RDY
screw M6

Fig. 2-1 Connection overview for ADI4

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-11
Hardware Description

2.2 Interface description

2.2.1 Interface overview

The module has the following interfaces:

Table 2-1 Interface overview: ADI4

Interface Name Type


External +24 V power supply X1 connector
PROFIBUS DP X2 Socket
PROFIBUS DP address S2 DIP switch
Analog setpoint interface X3 connector
Encoder connection for Axis 1 X4–1 Socket
Encoder connection for Axis 2 X4–2 Socket
Encoder connection for Axis 3 X5–1 Socket
Encoder connection for Axis 4 X5–2 Socket
Digital outputs X6–1 connector
Digital inputs X6–2 connector
module status H1/H2 LEDs

2.2.2 Interface (X1): external power supply

Connection
3–pin connector MSTB 2.5/3-ST-5.08 by Phoenix

Pin assignment

Table 2-2 Pin assignment: Ext. power supply (X1)

Pin Name Type1) Function


1 P24EXT1 VI External supply for module (+24 V)
2 M24EXT1 VI Reference for external supply
3 PE VI Protective conductor of the external supply
1) VI Voltage input

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).

E Siemens AG, 2005. All rights reserved


2-12 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

2.2.3 Interface (X2): PROFIBUS DP

Connection
9–pin SUB D socket

Pin assignment

Table 2-3 Pin assignment: PROFIBUS DP (X2)

Pin Name Type1) Function


1 – – –
2 – – –
3 RxD/TxD–P B Receive/transmit data P (B line)
4 RTS O Request to send
5 DGND VO Data reference potential (M5V)
6 VP VO Supply voltage plus (P5V)
7 – – –
8 RxD/TxD–N B Receive/transmit data N (A line)
9 – – –
1) VO Voltage Output
O Output
B Bidirectional

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

Additional technical specifications


Maximum possible data rate: 12 Mbps

2.2.4 Interface (S2): PROFIBUS address

The PROFIBUS address of the ADI4 DP slave is set via switch S2.
S Adjustable PROFIBUS address: 1...127

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-13
Hardware Description

Table 2-4 Meaning of switch S2

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.

E Siemens AG, 2005. All rights reserved


2-14 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

2.2.5 Interface (X3): Analog setpoint interface

Connection
50–pin SUB D connector

Pin assignment

Table 2-5 Pin assignment: Analog setpoint interface (X3)

Pin Name Type1) Function


1 SW1 VO Setpoint of Axis 1 ($10 V; max 10 mA)
2 BS2 VO Reference for setpoint of Axis 2
3 SW3 VO Setpoint of Axis 3 ($10 V; max 10 mA)
4 BS4 VO Reference for setpoint of Axis 4
5–13 – – –
14 RF1_1 K 2) “Drive enable” of Axis 1, Relay Contact 1
15 RF2_1 K 2) “Drive enable” of Axis 2, Relay Contact 1
16 RF3_1 K 2) “Drive enable” of Axis 3, Relay Contact 1
17 RF4_1 K 2) “Drive enable” of Axis 4, Relay Contact 1
18–33 – – –
34 BS1 VO Reference for setpoint of Axis 1
35 SW2 VO Setpoint of Axis 2 ($10 V; max 10 mA)
36 BS3 VO Reference for setpoint of Axis 3
37 SW4 VO Setpoint of Axis 4 ($10 V; max 10 mA)
38–46 – – –
47 RF1_2 K 2) “Drive enable” of Axis 1, Relay Contact 2
48 RF2_2 K 2) “Drive enable” of Axis 2, Relay Contact 2
49 RF3_2 K 2) “Drive enable” of Axis 3, Relay Contact 2
50 RF4_2 K 2) “Drive enable” of Axis 4, Relay Contact 2
1) VO Voltage output
K Relay contact
2) Max. current carrying capacity: 2 A at 150 VDC or 125 VAC
Max. number of operating cycles:
– 24 VDC, 1 A: 107
– 24 VDC, 2 A: 105

ADI4
X3
Pin number:
Relay
Signal: 14 ... 17
“Drive enable”
of Axis 1 to 4 47 ... 50

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-15
Hardware Description

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.

2.2.6 Interfaces(X4–1/X4–2/X5–1/X5–2): encoder interfaces

Connection
15-pin SUB D socket

Pin assignment

Table 2-6 Pin assignment: Encoder interface of Axis 1 to 4 (X4–1/X4–2/X5–1/X5–2) for


incremental encoder (TTL) and absolute encoder (SSI)

Pin Designation1) Type 2) Function


Incremental Absolute (SSI)
1 Do not use – –
2 – CLSx O SSI shift clock
3 – CLSx_N O SSI shift clock inverted
4 P5MS VO 5 V DC supply voltage
5 P24SSI VO 24 V DC supply voltage
6 P5MS VO 5 V DC supply voltage
7 MEXT VO Reference for supply voltage
8 Do not use – –
9 MEXT VO Reference for supply voltage
10 Rx_S – I Zero mark signal (Ua0)
11 XRx_S – I Zero mark signal inverted (Ua0)
12 XBx_S – I Encoder signal Track B inverted (Ua2)
13 Bx_S – I Encoder signal Track B (Ua2)
14 XAx_S – I Encoder signal Track A inverted (Ua1)
– DATAx_N I SSI data inverse
15 Ax_S – I Encoder signal Track A (Ua1)
– DATAx I SSI data
1) x Number of encoder interface with X4–1=1, X4–2=2, X5–1=3, X5–2=4
2) VO Voltage output
I Signal input
O Signal output

E Siemens AG, 2005. All rights reserved


2-16 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

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.

Maximum cable lengths


The maximum cable length depends on the following two parameters:

S Encoder supply voltage


Table 2-7 Encoder supply voltage

Supply voltage: 5 V DC
Tolerance Current input Max. cable length
4.75 V to 5.25 V x300 mA 25 m

4.75 V to 5.25 V x220 mA 35 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

Encoder type Supply voltage Frequency Max. cable length


Incremental (TTL) 5V 1 MHz 10 m
500 kHz 35 m
24 V 500 kHz 150 m
Absolute (SSI) 24 V 1.5 Mbps 10 m
187.5 kbps 250 m

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-17
Hardware Description

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.

Encoder supply voltage


The encoder supply voltages must comply with the following specification:

Table 2-9 Specification of encoder supply voltages

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)

Connectable measuring systems


S Incremental encoders (TTL)
– Differential transmission with RS422 (5 V or 24 V):
Track A as true and inverted signal (Ua1, Ua1)
Track B as true and inverted signal (Ua2, Ua2)
Zero signal N as true and inverted signal (Ua0, Ua0)
– Maximum output frequency: 1.5 MHz
– Phase shift of Track A to Track B: 90_"30_
– Current consumption: Max. 300 mA
– Encoders with distance-coded zero marks/reference marks are not generally
enabled.

E Siemens AG, 2005. All rights reserved


2-18 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

S Absolute encoders (SSI)


– Transmission procedure: Synchronous serial interface (SSI) with 5 V
differential signal transmission (RS422 standard):
Output signal: Data as true and inverted signal
Input signal: Shift clock as true and inverted signal
– Output format for rotary encoder: “Tree”
– Resolution: Max. 25 bits
– Maximum transmission frequency: 1 Mbps
– Current consumption: Max. 300 mA

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.

S Linear encoder with distance-coded zero marks/reference marks


The following linear encoders with distance-coded zero marks/reference marks
have been approved for ADI4:
S Heidenhain: LS 476 C
S Heidenhain: LS 186 C,
in conjunction with external pulse-shaper electronics (EXE): e.g., IBV 610

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.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-19
Hardware Description

2.2.7 Interface (X6–1): Digital outputs

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)

Pin Name Type1) Function


1 P24EXT2 VI ext. 24 V DC supply voltage
2 Q0 DO Digital output signal 1
3 Q1 DO Digital output signal 2
4 Q2 DO Digital output signal 3
5 Q3 DO Digital output signal 4
6 DIR1 DO Digital output signal 5 or directional signal of Axis 1 3)
7 DIR2 DO Digital output signal 6 or directional signal of Axis 2 3)
8 DIR3 DO Digital output signal 7 or directional signal of Axis 3 3)
9 DIR4 DO Digital output signal 8 or directional signal of Axis 4 3)
10 RDY1 K 2) “Ready” signal of Relay Contact 1
11 RDY2 K 2) “Ready” signal of Relay Contact 2
12 MEXT2 VI Reference of the external supply voltage
1) VI Voltage input
Pin 1
DO Digital output (24 V)
K Relay contact
2) Max. current carrying capacity: 2 A
for 150 VDC or 125 VAC;
Max. number of operating cycles:
– 24 VDC, 1 A: 107
– 24 VDC, 2 A: 105
3) For “unipolar spindle” function j
(or unipolar motor)

ext. power supply


ADI4 X6–1 +24 V stabilized
Pin no.: 0V
+24 V
1 (P24EXT2)

Optocoupler
2
Relay

Driver

Driver 3
: :
: :
: :
: :
Driver 9

Relay
10
Signal:
“Ready”
11
12 (MEXT2)

E Siemens AG, 2005. All rights reserved


2-20 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

(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

Table 2-11 Electrical specification for digital outputs

Digital outputs Minimum Standard Maximum Nominal


Voltage at high signal level (UH) VCC – 3 V 1) VCC 24 V
Output current IOUT – – 500 mA –
Voltage at low signal level (UL) – – – 0V
Leakage current at low signal level – 50 mA 400 mA –
Signal delay TPHL, TPLH 2) – 0.5 ms – –

S Supply voltage for dig. outputs


1) Typical output voltage: VCC – IOUT<RON – 0.65 V
VCC: Current operating voltage P24EXT2
Max. output current IOUT: 500 mA
Max. short-circuit current: 4 A (max. 100ms, VCC= 24 V)
Internal resistance RON: 0.4W

S 2) The PROFIBUS communication time and the application cycle time


must also be taken into account.

S A polarity reversal does not cause a high-signal level nor does it destroy the outputs.

General electrical properties


S Galvanic isolation using optocouplers
S Current limitation to a maximum of 500 mA
S Protection from: short circuit, overtemperature, and loss of ground
S Automatic disconnection in case of undervoltage

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-21
Hardware Description

Relay contact: “Ready” signal


The relay contact remains/is open/opened if the module is in one of the following
states:
– Initialization of the module after Power ON
– Power failure or hardware interrupt (NMI)
– No cyclic communication to the DP master
– PLL error
– Synchronization error
– Overtemperature
The relay contact is closed if both conditions are present:
– Module status “Ready”
– Cyclic communication with the DP master

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.

E Siemens AG, 2005. All rights reserved


2-22 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

2.2.8 Interface (X6–2): Digital inputs

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)

Pin Name Type1) Function


1 P24OUT VI 24 V DC supply voltage
2 BERO1 DI Input signal of BERO/external zero mark 1
3 BERO2 DI Input signal of BERO/external zero mark 2
4 BERO3 DI Input signal of BERO/external zero mark 3
5 BERO4 DI Input signal of BERO/external zero mark 4
6 MEPU1 DI Measuring signal of Measuring Input 1 (see Measuring Inputs,
Page 2-25)
7 MEPU2 DI Measuring signal of Measuring Input 2 (see Measuring Inputs,
Page 2-25)
8 DRV1_RDY DI “Drive Ready” signal of Axis 1
9 DRV2_RDY DI “Drive Ready” signal of Axis 2
10 DRV3_RDY DI “Drive Ready” signal of Axis 3
11 DRV4_RDY DI “Drive Ready” signal of Axis 4
12 MOUT VI Reference of the supply voltage
1) VI Voltage input
Pin 1
DI Digital input (24 V)

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

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-23
Hardware Description

1 Connection if the internal supply voltage P24OUT is used;


the connection in accordance with 2 is no longer required.

2 Connection if an external supply voltage P24OUText is used;


the connection in accordance with 1 is no longer required.

(SINUMERIK 802D)
The signal from pin 7 is not available on an ADI4 module in combination with
SINUMERIK 802D.

Internal supply voltage P24OUT


Specification of the internal supply voltage P24OUT available at X6–2, pin 1 for the
digital inputs:

Table 2-13 Specification of the supply voltage P24OUT

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

S Typical output voltage: VCC – IOUT<RON – 0.65 V


VCC: Current P24OUT operating voltage
Max. output current IOUT: 1A
Internal resistance RON: 0.4 W

S The supply voltage P24OUT is short-circuit proof.

External supply voltage P24OUText


If an external supply voltage is used, its reference ground must be connected to
X6–2, Pin 12 (M).
X6–2, Pin 1 (P24OUT) then remains open.

E Siemens AG, 2005. All rights reserved


2-24 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

Electrical specification

Table 2-14 Electrical specification for digital inputs


Digital inputs Minimum Standard Maximum Nominal
Voltage at high signal level (UH) 15 V 1) 30 V 24 V
Input current IIN at UH 3.7 mA – 7.5 mA –
Voltage at low signal level (UL) –30 V – +5 V 0V
Signal delay TPHL, TPLH 2) – 3 ms – –

S 1) see Table 2-13 (Page 2-24)


S 2) The PROFIBUS communication time and the application cycle
time must also be taken into account.
S A polarity reversal does not cause a high signal level, nor does it destroy the inputs.

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)

General electrical properties


S Galvanic isolation using optocouplers
S Active current limitation of inputs
S Protection from negative input voltage

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.

2.2.9 Interface (H1/H2): Module status

The module status is displayed on the front of the module via four diagnostic
LEDs.

Table 2-15 Diagnostic LEDs (H1/H2)

Name Color Description


H1 POWER Green Supply voltage
OVTEMP Red Overtemperature indication
H2 EXCHANGE Green Cyclic data exchange with DP master in progress
READY Red Ready for cyclic data exchange with DP master

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-25
Hardware Description

2.3 Control cabinet installation

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.

2.4 Power supply

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).

E Siemens AG, 2005. All rights reserved


2-26 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

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.

Specification of the supply voltages (+24 VDC)


The external supply voltages for the ADI4 module, the digital outputs and, option-
ally, the digital inputs must adhere to the specifications provided in Table 2-7.

Table 2-16 Specification of the external supply voltages

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

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-27
Hardware Description

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).

E Siemens AG, 2005. All rights reserved


2-28 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

2.6 Overview of connections

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

6FX2 002–3AD01–1jj0 SIMODRIVE 611 analog


X3 v35 m
Analog output 4 setpoints
Axis 1 to 4
Connections for encoders 1 to 4

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

ext. power supply


24 V DC
X6–1
Dig. outputs Plug connector:
FK–MCP 1.5/15–ST–3.81, Phoenix
Cable: Sensors 1 – n
Wire (0.14 to 2.5 mm2)
X6–2 v 30 m
Dig. inputs Actuators 1 – n

1) Maximum cable lengths: See Section 2.2, Page 2-12

Fig. 2-2 ADI4 connection overview

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-29
Hardware Description

2.7 Dimension drawing

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

Maximum tightening torque for all screws: 0.8 Nm

Fig. 2-3 Dimension drawing: ADI4

E Siemens AG, 2005. All rights reserved


2-30 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Hardware Description

2.8 Technical data

Table 2-17 Technical data of the ADI4 module

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

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 2-31
Hardware Description

E Siemens AG, 2005. All rights reserved


2-32 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment 3
Notice
The following boundary conditions must be taken into account for the operation of
an ADI4 DP slave on the PROFIBUS DP:
S An ADI4 DP slave is not a certified DP standard slave as defined by the
PROFIDrive profile. For example, an ADI4 DP slave does not enable acyclic
communication. Therefore, an ADI4 DP slave can only be operated on a DP
master specially released for this purpose.
S An ADI4 DP slave can only be operated on an equidistant PROFIBUS DP. The
minimum DP cycle is 1 ms.

3.1 Requirements (SINUMERIK 802D)


The following components are required for assigning parameters for an ADI4 DP
slave:
S SINUMERIK 802D system software: Version 02.01.05 and higher
Various preconfigured bus configurations (SDBs) are available in the SINUMERIK
802D Toolbox for assigning parameters for SINUMERIK 802D.
Once the appropriate bus configuration is enabled using machine data element:
S MD 11240: PROFIBUS_SDB_NUMBER
the parameter assignment for the ADI4 DP slave is completed.

3.2 Requirements (SINUMERIK 840Di)


The following components are required for assigning parameters for the NC (drive)
or the corresponding ADI4 DP slave:
S References: /HBI/ SINUMERIK 840Di Manual
S SIMATIC STEP 7, Version 5, Service Pack 2 and higher
S SlaveOM (Slave Object Manager) for SINUMERIK 840Di, Version 5.1.1 and
higher or Drive ES Basic, Version 5.1 and higher

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.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-33
Parameter Assignment

The SlaveOM object manager for SINUMERIK 840Di is included in the


SINUMERIK 840Di installation.

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.

3.3 Requirements (SIMOTION)


The following components are required for assigning parameters for an ADI4 DP
slave:
S ADI4: Order no. (MLFB) and higher: 6FC5 211-0BA01-0AA1
Firmware Version 01.02.02 and higher
S SIMATIC STEP 7 Version 5.1 and higher
S SIMOTION
– SIMOTION P or C: SIMOTION V2.1 and higher (SCOUT and Runtime)
– SIMOTION D: SIMOTION V3.1 and higher (SCOUT and Runtime)

3.4 Requirements (SIMATIC Technology CPU)


The following components are required for assigning parameters for an ADI4 DP
slave:
S ADI4: (MLFB) 6FC5 211-0BA01-0AA1 and higher
Firmware Version 01.02.02 and higher
S CPU 317T 2DP (MLFB) 6ES7 317-6TJ10-0AB0, V2.1.0/V3.0.1 and higher
S SIMATIC STEP 7, Version 5.3, Service Pack 1 and higher
S S7 Technology, Version 2.0 and higher

E Siemens AG, 2005. All rights reserved


3-34 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.5 PROFIBUS DP parameter assignment

3.5.1 Parameter assignment sequence

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.

3.5.2 Inserting an ADI4 DP slave in the configuration

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

(SIMATIC Technology CPU)


If S7 Technology was installed for the Technology CPU, the ADI4 DP slave is lo-
cated under:
S Profile: SIMATIC Technology CPU
PROFIBUS-DP(DRIVE) > Other FIELD DEVICES > 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.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-35
Parameter Assignment

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.

E Siemens AG, 2005. All rights reserved


3-36 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.6 PROFIBUS parameters (SINUMERIK 802D)


The PROFIBUS parameters are permanently specified in the preset configuration
and cannot be changed. The values of the PROFIBUS parameters are described
in:
References
SINUMERIK 802D Toolbox > Readme: ADI4_SDB.PDF

3.7 PROFIBUS parameters (SINUMERIK 840Di), (SIMOTION)


and (SIMATIC Technology CPU)
The PROFIBUS parameters are a result of the following:
S PROFIBUS address
S Number of axes and encoders (message frame type)
S I/O addresses

3.7.1 PROFIBUS address

Inserting the ADI4 DP slave in the configuration opens the dialog: “Properties -
PROFIBUS Interface ADI4”, Tab: Parameter:

Properties – PROFIBUS interface ADI4

General Parameter

Address:

Data transfer rate: 12 Mbps

Subnet:
-–– not networked -–– New...

Properties...

Delete...

OK Cancel Help

Fig. 3-1 PROFIBUS address

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-37
Parameter Assignment

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.

E Siemens AG, 2005. All rights reserved


3-38 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.7.2 Message frame type

The ADI4 DP slave is operated with a specific message frame type:


– 4 axes, each with one encoder (Standard message frame 3) and I/O data

DP slave properties

General Configuration Clock synchronization Encoder

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

Add slot Delete slot


Master-slave configuration 1
Master: (2) DP(DRIVE)
Station: SIMATIC 300(1)

Comment:

OK Cancel Help

Fig. 3-2 Message frame type

By default, no message frame type is selected. The ADI4-specific message frame


type must be explicitly selected in the “Configuration” tab.

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

Message frame structure


The message frame is structured as follows:

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-39
Parameter Assignment

Table 3-1 Message frame structure

Message frame type Description


4 axes, each with one encoder, Standard mes- 4 x Standard message frame 3 and 1 PZD word
sage frame 3 + IO, PZD-5/9 O/I 1/1 each for digital I/O data
PZD x/y Number of process data words, x: Setpoint, y: Actual value
e.g., PZD–5/9: 5 process data words for setpoints
9 process data words for actual values

ADI4 message frame structure


Axis1 Axis2 Axis3 Axis4 I/O
STD 3 STD 3 STD 3 STD 3 Q word Setpoints (master -> slave)
Low Axis1 Axis2 Axis3 Axis4 I/O High

STD 3 STD 3 STD 3 STD 3 I word Actual values (slave -> master)

STD 3: standard message frame 3 per PROFIDrive V3.0


Q word: digital output data (16 bits)
I word: digital input data (16 bits)

Standard message frame 3: speed setpoint interface 32 bits with 1 encoder


PZD1 PZD2 PZD 3 PZD 4 PZD 5
STW1 NSET_B STW2 G1_STW Setpoint (master –> slave)

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)

Q word (dig. output data 16 bits)


High byte Low byte
15 12 11 8 7 4 3 0
611U conformant mode
Selection: homing using external
Zero mark signals 1 to 4
Not used

Dig. outputs 1–4 –> X6–1: Pins 2 to 5

Dig. outputs 5 to 8/direction signal


1 to 4 for unipolar spindle –> X6–1: Pins 6 to
9

I word (dig. input data 16 bits)


High byte Low byte
15 14 13 12 11 8 7 2 1 0
Dig. inputs 9 to 10/Drv_Rdy 3 to 4
–> X6–2: Pins 10 to 11
Not used
Dig. inputs 1–4/ext. zero marks 1 to 4
–> X6–2: Pins 2 to 5
Dig. inputs 5 to 6/measuring inputs 1 to 2
–> X6–2: Pins 6 to 7
Dig. inputs 7 to 8/Drv_Rdy 1 to 2
–> X6–2: Pins 8 to 9

E Siemens AG, 2005. All rights reserved


3-40 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

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!

Encoder control word Gx_STW


Description of the encoder control word (extract) for:
S Find reference mark
S Flying measurement
S Encoder error

Table 3-2 Encoder control word Gx_STW (extract)

Bit Name Signal state/description

Bit 7 = 0 => Request: Reference mark search


Bit Meaning Homing using:
0 Function 1: Encoder zero mark (except in “ 611U conformant mode”)
0
1 Function 2: Rising edge of external zero mark
2 Function 3: Falling edge of external zero mark
3 Function 4: Not used

Bit 7 = 1 => Request: on-the-fly measurement


Bit Meaning
0 Function 1 Measuring input 1 rising edge
1 1 Function 2 Measuring input 1 falling edge
2 Function 3 Measuring input 2 rising edge
3 Function 4 Measuring input 2 falling edge
Func-
tions N t
Note
Reference
S Bit x = 1 Function requested
mark
Bit x = 0 Function not requested
2 search

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

0 Reference mark search


7 Mode
1 on-the-fly measurement

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-41
Parameter Assignment

Table 3-2 Encoder control word Gx_STW (extract), continued

Bit Name Signal state/description


0 No fault
15 Encoder error
1 Encoder error pending; error code in Gx_XIST2

Additional encoder actual value Gx_XIST2


Error codes in Gx_XIST2 where G1_ZSW, Bit15 == 1

Table 3-3 Error codes in Gx_XIST2

G1_XIST2 Meaning Possible causes/description


The encoder signal levels are too low, faulty (inadequate shielding) or
1Hex Encoder sum error
open-circuit monitoring has been tripped.

A fluctuation in the measured rotor position has arisen between 2 encoder


2Hex Zero mark monitoring
zero marks (encoder pulses may be lost).

3.7.3 I/O addresses

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.

E Siemens AG, 2005. All rights reserved


3-42 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.7.4 Consistency

The default setting for I/O data consistency is:


– Total length

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.

3.8 Function parameters (SINUMERIK 802D)


The function parameters are permanently specified in the preset configuration and
cannot be changed.
The following parameter values are set:
S Encoder type: TTL 1)

S Unipolar spindle: “Inactive”


S Shutdown ramp: 0
S Shutdown delay time: 0
S Tolerable sign-of-life failures: 0
S Reserved bits for fine resolution: 11
S 611U conformant mode: “Active”

1) Incremental encoder (TTL) with differential transmission of 5 V rectangular


signals (RS 422 Standard).

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-43
Parameter Assignment

3.9 Function parameters (SINUMERIK 840Di), (SIMOTION),


and (SIMATIC Technology CPU)

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

General Configuration Clock synchronization Encoders


Encoder 1 Encoder 2 Encoder 3 Encoder 4
Encoder type: Encoder type: Encoder type: Encoder type:
TTL TTL SSI SSI

Parity Parity

Resolution: 6000 Resolution: 6000 Resolution: 2048 Resolution: 2048

MsgLength: 21 MsgLength: 21
Encoding Encoding
Binary Gray

Baud rate: Baud rate:


187.5 Kbps 187.5 Kbps

Unipolar spindle
1st Axis 2nd Axis 3rd Axie 4th Axis

shutdown ramp [ms]: 1 Tolerable sign-of-life errors: 0

Shutdown delay [s]: 0 Reserved bits for fine resolution: 11

611U conformant mode

OK Cancel Help

Fig. 3-3 Dialog: DP slave properties, Tab: Encoder

E Siemens AG, 2005. All rights reserved


3-44 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.9.1 Encoder type

Encoder type: “Not available”


An encoder type setting of “not available” for Encoder x means that Axis x does not
exist, or that it is not to be operated. Useful data transmitted for this axis in the
PROFIBUS message frame are empty.

Encoder type: TTL


Encoder parameters:
S Resolution
Encoder resolution in increments per encoder revolution

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)

Encoder type: SSI


Encoder parameters:
S Parity
Select this check box if the encoder data are to be transmitted from the encoder
to the ADI4 with a parity bit.
S Resolution
Encoder resolution in increments per encoder revolution
S MsgLength
Number of useful data bits transmitted by the encoder

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-45
Parameter Assignment

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.

3.9.2 Unipolar spindle (or unipolar motor)

The drive can be moved in two directions. Selecting the “Unipolar spindle” check
box switches the voltage range of the analog output voltage.

Unipolar spindle not selected


If the “Unipolar spindle” check box is not selected, an analog voltage in the range
of –10 V to +10 V is output as the setpoint.

Unipolar spindle selected


If the “Unipolar spindle” check box is selected, an analog voltage in the range of
0 V to +10 V is output as the setpoint. The direction of rotation is then output from
the ADI4, depending on the current speed setpoint, via a digital output:
– Direction of rotation signal for Axis 1 –> digital output X6-1, pin 6
– Direction of rotation signal for Axis 2 –> digital output X6-1, pin 7
– Direction of rotation signal for Axis 3 –> digital output X6-1, pin 8
– Direction of rotation signal for Axis 4 –> digital output X6-1, pin 9

(SIMOTION) and (SIMATIC Technology CPU)


The function: Unipolar spindle (or Unipolar motor) is not available.

E Siemens AG, 2005. All rights reserved


3-46 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

(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

3.9.3 Shutdown ramp

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

Fig. 3-4 Parameter: Shutdown ramp

3.9.4 Shutdown delay time

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]

3.9.5 Tolerable sign-of-life failures

The “Tolerable sign-of-life failures” parameter specifies the number of sign-of-life


failures tolerated for the DP master. If the assigned number is exceeded, the set-
point interfaces of the drives are ramped down to a value of 0 using the “Shutdown
ramp”.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-47
Parameter Assignment

Notice
Presently, the “Tolerable sign-of-life failures” parameter may only be used on
values in the range of 0 to 13.

3.9.6 Reserved bits for fine resolution

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.

Transmitted actual encoder value G1_XIST1 or G1_XIST2


31 10 0
Overflows Current encoder increments Reserved bits for fine resolution

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.

E Siemens AG, 2005. All rights reserved


3-48 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.9.7 611U conformant mode

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.

Digital output word


The signal sources for homing are selected on an axis-specific basis via the follow-
ing bits of the output word (see also Q word: Table 3-1, Page 3-40):

Table 3-4 Output word: signal sources for homing

Bit Value Signal source for homing


0 0 Axis 1: Zero mark of Encoder 1 (X4–1)
1 Axis 1: Rising edge of External zero mark 1 (X6–2, Pin 2)
1 0 Axis 2: Zero mark of Encoder 2 (X4–2)
1 Axis 2: Rising edge of External zero mark 2 (X6–2, Pin 3)
2 0 Axis 3: Zero mark of Encoder 3 (X4–3)
1 Axis 3: Rising edge of External zero mark 3 (X6–2, Pin 4)
3 0 Axis 4: Zero mark of Encoder 4 (X4–4)
1 Axis 4: Rising edge of External zero mark 4 (X6–2, Pin 5)

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.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-49
Parameter Assignment

Without 611U conformant mode


S Homing is always performed in relation to the zero mark of the axis.

(SIMATIC Technology CPU)


S7 Technology Version 1.0
The 611U conformant mode calls for the connection of a bit in the digital output
word (see Table 3-4). This is not possible from the user program with the Technol-
ogy CPU (see also Subsection 3.9.13, Page 3-54). In the case of homing via:
S Encoder zero mark
S Encoder zero mark and reference cam
this has no effect. To enable homing using an external zero mark, the relevant out-
put bit of the axis must be set using an “Output Cam” technology object.
S7 Technology Version 2.0 and higher
The following options are available for using 611U conformant mode with signal
source selection:
S Use the Output Cam technology object for signal source selection. To do so,
configure an output cam in S7TConfig with its output pointing to the relevant bit
address for selection of the signal source on the corresponding axis.
S You place the address of the additional data word in the ADI4 message frame in
the DP(DRIVE) I/O image. This address is placed using the “MC_ReadPer-
iphery” and “MC_WritePeriphery” technology functions. The address of the data
word must be adapted manually for the module in HW Config; it must be within
the address range of 0 to 63 bytes.

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).

E Siemens AG, 2005. All rights reserved


3-50 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.9.8 Homing using encoder zero mark

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

Actual encoder value/


encoder zero mark
Motor, e.g., 1FT6

Axis, e.g., machining table

ÍÍÍÍÍÍÍÍ
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.

Without 611U conformant mode


No further actions are necessary.

With 611U conformant mode


The relevant signal for the axis to be homed (e.g., Axis 1) must be set in the digital
output word:
S Digital output word:
Bit 0: = 0 => “Axis 1: Zero mark of Encoder 1 (X4–1)”

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-51
Parameter Assignment

3.9.9 Homing using external 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

Digital inputs, e.g.,


Axis 1: (X6–2), Pin 2

External Actual encoder value


zero mark signal
Motor, e.g., 1FT6

Axis, e.g., machining table

ÏÏÏÏÍÍÍÍÍÍÍÍ
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.

Without 611U conformant mode


The controller must define the relevant function via encoder control word G1_STW:
S Function 2 (Homing via rising edge of external zero mark)
S Function 3 (Homing via falling edge of external zero mark)

With 611U conformant mode


The relevant signal for the axis to be homed (e.g., Axis 1) must be set in the digital
output word:
S Digital output word:
Bit 0: = 1 => “Axis 1: rising edge of External zero mark 1
(X6–2, Pin 2)”

(SINUMERIK) (SIMOTION)
Homing using an external zero mark requires 611U conformant mode to be se-
lected.

E Siemens AG, 2005. All rights reserved


3-52 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.9.10 Homing using encoder zero mark and reference cam


(SIMOTION)

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

Digital inputs, e.g.,


Axis 1: (X6–2), Pin 2

Actual encoder value/


Reference cam encoder zero mark
signal Motor, e.g., 1FT6

Axis, e.g., machining table

ÏÏÏÏÍÍÍÍÍÍÍÍ
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.

Without 611U conformant mode


No further actions are necessary.

With 611U conformant mode


The relevant signal for the axis to be homed (e.g., Axis 1) must be set in the digital
output word:
S Digital output word:
Bit 0: = 0 => “Axis 1: Zero mark of Encoder 1 (X4–1)”

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-53
Parameter Assignment

3.9.11 Boundary conditions

Measuring input or on-the-fly measurement


ADI4 supports only measurement using a rising or falling edge of the measuring
input. It is not possible to parameterize simultaneous measurement on a rising
edge and a negative edge.

Actual speed value


The actual speed value (PZD2/3: NACT_B) contained in Standard message frame
3 (see Table 3-1, Page 3-40) is not supported by the ADI4. The ADI4 always sends
a value of 0 as the actual speed value.

External encoder interface (encoders without an axis)


If encoders are connected to an ADI4 without at least one axis being parameter-
ized, i.e., the ADI4 uses the encoder as an external encoder interface only, a
“Ready” signal (interface X6–1, Pin 10/11) will not be output. For information on the
“Ready” signal, refer to Subsection 2.2.7, Page 2-20.

3.9.12 Boundary conditions (SIMOTION)

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.

Homing using external zero mark


Homing always occurs at a rising edge, irrespective of which external zero mark
edge (rising or falling) was selected for homing in SIMOTION.

3.9.13 Boundary conditions (SIMATIC Technology CPU)

Homing using external zero mark


Homing always occurs at a rising edge, irrespective of which external zero mark
edge (rising or falling) was selected for homing in SIMOTION.

E Siemens AG, 2005. All rights reserved


3-54 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

Access to I/O data


S7 Technology Version 1.0
The address area of the ADI4 cannot be accessed from the user program.
S7 Technology Version 2.0
The I/O data of the ADI4 can only be accessed from the user program using the
I/O image of DP(DRIVE). This requires the I/O data to be within the address range
of 0 to 63. The I/O data are accessed using the “MC_ReadPeriphery” and
“MC_WritePeriphery” technology functions.
You cannot access the axis message frames.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-55
Parameter Assignment

3.10 Assigning parameters for DP communication


Once all the intended DP slaves have been inserted in the configuration and their
functional parameters have been assigned as described (Step 1), parameters are
assigned for the equidistant cyclic DP communication in Step 2.
Parameters are also assigned to the equidistant cyclic DP communication in two
steps:
Step 1
– Activation of the equidistant DP cycle
– Equidistance master cyclic component TDX
Step 2
– Equidistant DP cycle TDP
– Master application cycle TMAPC
– Actual value acquisition Ti
– Setpoint transfer To

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).

3.10.1 Activation of the equidistant DP cycle

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.

E Siemens AG, 2005. All rights reserved


3-56 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

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

Synchronize drive to equidistant DP cycle

Network settings in ms:

Isochronous bus cycle activated

Equidistant DP cycle: 1.533 Equidistance master cyclic 0.516


component:

Factor Increments/base time


Master application [ms]
1.625 = 1 x 1.625
cycle [ms]:
Factor Increments/base time
[ms]
DP cycle [ms]: 1.625 = 13 x 0.125

Factor Increments/base time


Time Ti [ms]:
[ms]
(Actual value 0.125 = 1 x 0.125
acquisition)
Factor Increments/base time
Time To [ms]:
[ms]
(Setpoint transfer) 0.750 = 6 x 0.125

Adjustmen

t
OK Cancel Help

Fig. 3-8 Dialog: DP slave properties

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.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-57
Parameter Assignment

3.10.2 Equidistant master cyclic component TDX

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

See Figure 3-9, Page 3-59.

E Siemens AG, 2005. All rights reserved


3-58 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.10.3 Equidistant DP cycle TDP

When the cyclic component of the DP communication is calculated, the DP master


automatically changes the value for the equidistant DP cycle to the minimum re-
quired time. This change must be undone by re-entering the intended value for the
equidistant DP cycle.

Dialog: Continuation
Dialog box: “Options”
Equidistant DP cycle: Equidistance time
OK
OK
OK

Options

Equidistance Network stations Lines

Enabling equidistant bus cycle/Recalculating equidistance time

Number of PGs/OPs/TDs on the


PROFIBUS
0 0

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)

Time Ti (read in process values) ms

Time To (Output process values) ms

OK Cancel Help

Fig. 3-9 Dialog: Options

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-59
Parameter Assignment

3.10.4 DP cycle TDP

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”.

See Figure 3-12, Page 3-65.

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

3.10.5 Master application cycle TMAPC

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>

See Figure 3-12, Page 3-65.

E Siemens AG, 2005. All rights reserved


3-60 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

TMAPC = TDP
NC:
Master or TM
R
position controller

TDX TDX

1 2

PROFIBUS-DP DPV1 GTR GC Dx Dx Dx DPV1 GTR GC Dx Dx Dx


communication

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

Fig. 3-10 Example: optimized DP cycle with TMAPC : TDP = 1 : 1

TMAPC = 2 * TDP
NC:
Master or position TM
R
controller

TDP TDP
TDX TDX

1 2

PROFIBUS DP GC Dx Dx Dx DPV1 GTR GC Dx Dx Dx DPV1 GTR GC


communication

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

Fig. 3-11 Example: optimized DP cycle with TMAPC : TDP = 2 : 1

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-61
Parameter Assignment

Explanations for Figures 3-10 and 3-11:


TMAPC Master application cycle: Position control cycle clock

TDP DP cycle time: DP cycle time

TDX Data exchange time: total transfer time for all


DP slaves

TM Master time: Offset of start time for NC


position control

TI Input time: Timing of actual value acquisition. The actual values are transferred to the
DP master in the next DP cycle.

TO Output time: Timing of the setpoint transfer. The setpoints were


generated by the DP master application in the previous DP cycle.

GC Global control message frame (broadcast message frame) for


cyclic synchronization of the equidistance between the
DP master and DP slaves

R Speed or position controller computing time

Dx Useful data exchange between the DP master and DP slaves

DPV1 After cyclic communication, an acyclic service is sent,


if the token holding time TTH is not yet exceeded. TTH is
calculated by the configuring system.

GTR GAP, TOKEN, RESERVE:


GAP During GAP, an attempt is made to incorporate new active stations.
TOKEN The station passes the token to itself or to another master.
RESERVE The reserve is used as an “active pause” for the station to send the token
to itself until the equidistant cycle expires.

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.

(SINUMERIK 840Di), (SIMOTION) , and (SIMATIC Technology CPU)


The ratio between master application cycle TMAC and DP cycle time TDP must
be 1:1.

E Siemens AG, 2005. All rights reserved


3-62 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

3.10.6 Actual value acquisition Ti

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 >

See Figure 3-12, Page 3-65.

Note
The following condition must be satisfied for actual value acquisition time Ti:
DP cycle >= actual value acquisition >= base time

3.10.7 Setpoint transfer To

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 >

See Figure 3-12, Page 3-65.

Note
The following condition must be satisfied for setpoint transfer time To:
DP cycle >= setpoint transfer >= equidistant master cyclic component +
base time

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-63
Parameter Assignment

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

See Figure 3-12, Page 3-65.

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.

E Siemens AG, 2005. All rights reserved


3-64 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

DP slave properties
General Configuration Clock synchronization

Synchronize drive to equidistant DP cycle

Network settings in ms:

Isochronous bus cycle activated

Equidistant DP cycle: 2.000 Equidistance master cyclic 0.872


component:

Factor Base time [ms]


Master application 2.000 = 1 2.000
x
cycle [ms]:
Factor Base time [ms]
DP cycle [ms]: 2.000 = 16 x 0.125

Factor Base time [ms]


Actual value 0.250 = 2 x 0.125
acquisition [ms]:
Factor Base time [ms]
Setpoint transfer [ms]: 1.000 = 8 x 0.125

Adjustmen

t
OK Cancel Help

Fig. 3-12 Dialog: DP slave properties

3.10.9 Supplementary Conditions

ADI4, Order No.: 6FC5 211-0BA01-0AA1


The following boundary conditions must be taken into account in the final parameter
assignment for the equidistant DP cycle in conjunction with ADI4 starting with
MLFB: 6FC5 211-0BA01-0AA1:

DP slave properties
General Configuration Clock synchronization

Synchronize drive to equidistant DP cycle

Network settings in ms:

Isochronous bus cycle activated

Equidistant DP cycle: 2.000 Equidistance master cyclic 0.872


component:
TDP TDX
Factor Base time [ms]
Master application
2.000 = 1 x 2.000
cycle [ms]:
Factor Base time [ms]
DP cycle [ms]: 2.000 = 16 x 0.125
TI
Factor Base time [ms]
Actual value 0.250 = 2 x 0.125
acquisition [ms]:
TO Base time [ms]
Factor
Setpoint transfer [ms]: 1.000 = 8 x 0.125

Fig. 3-13 Dialog: DP slave properties (excerpt)

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-65
Parameter Assignment

1. Equidistant DP cycle (TDP)


TDP = 2* n * 125 us;
with n w 4 ( => minimum TDP = 1 ms)
2. Setpoint transfer (To)
(TDX + 125 us) v TO t TDP;
with TDX = TDX, rounded to an integral
multiple of 125 us
3. Actual value acquisition (Ti)
250 us v TI v TDP

(SIMOTION) and (SIMATIC Technology CPU)


(250 us v TI v TDP) and (TI , 500 us)

4. TI and TO cannot be in the same 125 us cycle clock


DT , 0; with DT = TDP – TI – TO
5. If TO == (TDP – 125 us)
Then for TI, the following must apply: TI u 3 * 125 us
6. If TO == (TDX + 125 us)
Then for (TI + TO), the following must apply: (TI + TO) , (TDP + 125 us)

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

Fig. 3-14 Graphic illustration of boundary conditions

(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

E Siemens AG, 2005. All rights reserved


3-66 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Parameter Assignment

(SIMOTION) and (SIMATIC Technology CPU)


Typical parameter values are:
– Equidistant DP cycle (TDP): 2.000 ms 3.000 ms
– Actual value acquisition (Ti): 0.250 ms 0.250 ms
– Setpoint transfer (To): 1.250 ms 1.000 ms

Note
ADI4 DP slaves:

– Order number (MLFB): 6FC5 211-0BA01-0AA0


– Order number (MLFB): 6FC5 211-0BA01-0AA1 or. ...-0AA2
display a different behavior for a parameter assignment deviating from the boundary
conditions indicated above for actual value acquisition (Ti) and setpoint transfer (To).
S ADI4 DP slave with MLFB ...–0AA0
If parameters are assigned that deviate from the boundary conditions indicated above,
they are ignored by this ADI4 DP slave, as parameters are fixed internally. The ADI4 DP
slave establishes cyclic communication with the DP master – using the preset values not
matching parameterization – without an error message.

S ADI4 DP slave with MLFB ...-0AA1 or ...-0AA2


If parameters are assigned that deviate from the boundary conditions indicated above
and these parameters are downloaded to the ADI4 DP slave, the ADI4 DP slave does
not establish cyclic communication with the DP master.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 3-67
Parameter Assignment

E Siemens AG, 2005. All rights reserved


3-68 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Startup 4
4.1 Controller startup

4.1.1 Linear encoder with distance-coded zero marks/reference marks


(SINUMERIK 840Di)

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:

Number Identifier: $MA_ Meaning


30240 ENC_TYPE Encoder type (data transmission)
31000 ENC_IS_LINEAR Encoder type (type of construction) Linear encoders
31010 ENC_GRID_POINT_DIST Signal division or scale division/EXE factor
31040 ENC_IS_DIRECT Encoder type: Direct measuring system
32100 AX_MOTION_DIR Traversing direction (does not affect control direction)
32110 ENC_FEEDBACK_POL Encoder value polarity (affects control direction)
34090 REFP_MOVE_DIST_CORR Zero point/reference point offset
The offset between the machine zero point and the first refer-
ence mark.
34200 ENC_REFP_MODE Homing mode
34300 ENC_REFP_MARKER_DIST Reference mark distance (basic distance)
34310 ENC_MARKER_INC Interval between two reference marks
Note
Heidenhain: For all linear encoders with distance-coded zero
marks/reference marks 20 mm
34320 ENC_INVERS Orientation of the measuring system in relation to axis motion

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 4-69
Startup

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

LS 476 C; Measuring length ML = 270 mm

Interval between two reference marks:


10.06 – 10.04 = 0.02

10.02 10.04 10.06

270
20

40

60
0

Reference mark distance

Fig. 4-1 linear encoder: LS 476 C

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.

Machine data remains the same in both cases


Number Identifier: $MA_ Value
30240 ENC_TYPE 2
31000 ENC_IS_LINEAR 1
31010 * ENC_GRID_POINT_DIST 0.004
31040 ENC_IS_DIRECT 1
34200 ENC_REFP_MODE 3
34300 * ENC_REFP_MARKER_DIST 20
34310 * ENC_MARKER_INC 0.02
*) Technical characteristics of the encoder

E Siemens AG, 2005. All rights reserved


4-70 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Startup

Case 1: Equidirectional orientation

LS 476 C; Measuring length ML = 270 mm

270
Reference point offset RO

– +
0
Traversing range of the machine axis

Fig. 4-2 Machine axis with linear encoder: Equidirectional orientation

Orientation-dependent machine data


32100 AX_MOTION_DIR 1
32110 ENC_FEEDBACK_POL 1
34090 REFP_MOVE_DIST_CORR RO
34320 ENC_INVERS 0

Case 2: Counterdirectional orientation

LS 476 C; Measuring length ML = 270 mm

0
270

Reference point offset RO

– +
0
Traversing range of the machine axis

Fig. 4-3 Machine axis with linear encoder: Counterdirectional orientation

Orientation-dependent machine data


32100 AX_MOTION_DIR 1
32110 ENC_FEEDBACK_POL –1
34090 REFP_MOVE_DIST_CORR RO
34320 ENC_INVERS 1

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 4-71
Startup

E Siemens AG, 2005. All rights reserved


4-72 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Supplementary Conditions 5
There are no other supplementary conditions to note.

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition 5-73
Supplementary Conditions

E Siemens AG, 2005. All rights reserved


5-74 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Index
Symbols (X6--2): Digital inputs
Connecting cable, 2-25
(H1/H2): module status, 2-25
Electrical specification, 2-25
(S2): PROFIBUS address, 2-13
External supply voltage P24OUText, 2-24
(SIMATIC Technology CPU), 3-34, 3-44, 3-46,
General electrical properties, 2-25
3-50, 3-54, 3-62, 3-66, 3-67
internal supply voltage P24OUT, 2-24
(SIMOTION), 3-34, 3-37, 3-44, 3-46, 3-49,
Pin assignment, 2-23
3-52, 3-54, 3-62, 3-66, 3-67
Terminal, 2-23
(SINUMERIK 802D), 2-19, 2-21, 2-24, 3-33,
3-37, 3-43, 3-62, 3-66
(SINUMERIK 840Di), 2-19, 3-33, 3-37, 3-44,
3-45, 3-48, 3-62, 3-66, 4-69
(SINUMERIK), 3-47, 3-52
(X1): external power supply
Connecting cable, 2-12 Numbers
Pin assignment, 2-12
Supply voltage, 2-12
Terminal, 2-12 611U conformant mode, 3-40, 3-41, 3-43, 3-44,
(X2): PROFIBUS DP 3-49
Cables, 2-13 SIMATIC Technology CPU, 3-50
Connector, 2-13 SIMOTION, 3-49, 3-52
Data rate, 2-13 SINUMERIK, 3-52
Pin assignment, 2-13 With, 3-51, 3-52, 3-53
Terminal, 2-13 Without, 3-51, 3-52, 3-53
(X3): Analog setpoint interface
Pin assignment, 2-15
Preassembled cables, 2-16
Terminal, 2-15
(X4--1/X4--2/X5--1/X5--2): encoder interfaces
Connectable measuring systems, 2-18
Encoder supply voltages, 2-18 A
Maximum cable lengths, 2-17
Pin assignment, 2-16 Absolute encoder, SSI, 2-19
Preassembled cables, 2-17 Actual speed value, 3-54
Terminal, 2-16 Actual value acquisition, 3-63
(X6--1): Digital outputs Additional encoder actual value, 3-42
Connecting cable, 2-22 ADI4 module, 2-26
Electrical specification, 2-21 Adjustment, 3-64
General electrical properties, 2-21 Approved encoders, Linear encoder with
Pin assignment, 2-20 distance-coded zero marks/reference
Relay contact: “Ready” signal, 2-22 marks, 2-19
Supply voltage, 2-21 Assigning parameters for
Terminal, 2-20 DP communication, 3-56

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition Index-75
Index

B Equidistance master cyclic component, 3-58


Error codes, Gx_XIST2, 3-42
Boundary conditions, 1-10, 3-54, 3-65, 5-73 EXCHANGE, LED: ADI4, 2-25
Actual speed value, 3-54 External encoder interface, 3-54
Encoders with axes, 3-54 External zero mark, 3-49, 3-52, 3-53
Error 20005, 3-54
External encoder interface, 3-54
Homing using external zero mark, 3-54
Measuring Input, 3-54 F
On-the-fly measurement, 3-54
SIMATIC Technology CPU, 3-54, 3-66, 3-67 Fine resolution, 3-48
SIMOTION, 3-54, 3-66, 3-67 SINUMERIK 840Di, 3-48
SINUMERIK 802D, 3-66 Fir tree, 2-19, 3-46
SINUMERIK 840Di, 3-66 Firmware version, 1-9
Function parameters
SIMATIC Technology CPU, 3-44
SIMOTION, 3-44
C SINUMERIK 802D, 3-43
SINUMERIK 840Di, 3-44
Cable routing, 2-26
Configuration, 3-35
Connection overview, 1-9, 2-11, 2-29
Consistency, 3-43 G
Control cabinet installation, 2-26
GAP, 3-62
Controller startup, 4-69
GC, 3-62
CPU 317T, 3-34
General, 1-9
Global control message frame, 3-62
Grounding, 2-28
GTR, 3-62
D Gx_STW, 3-41
Data exchange time, 3-62 Gx_XIST2, 3-42
Digital inputs, 2-27
Digital outputs, 2-27
Dimension drawing, 2-30
Direction of rotation signal, 3-46 H
Direction of rotation signals, 3-47 Hardware description, 2-11
Distance-coded zero marks, 2-19 Homing
SINUMERIK 840Di, 4-69 Encoder zero mark, 3-51
DP cycle, 3-61 Encoder zero mark and external
DP cycle time, 3-62 zero mark, 3-53
Drive ES Basic, 3-34 External zero mark, 3-52
Dx, 3-62 SIMATIC Technology CPU, 3-50
SIMOTION, 3-49, 3-52
SINUMERIK, 3-52

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

E Siemens AG, 2005. All rights reserved


Index-76 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
Index

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

E Siemens AG, 2005. All rights reserved


ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition Index-77
Index

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

E Siemens AG, 2005. All rights reserved


Index-78 ADI4 - Analog Drive Interface for 4 Axis, 05.2005 Edition
To Suggestions
SIEMENS AG Corrections
A&D MC BMS For Publication/Manual:
P.O. Box 3180
ADI4 -- Analog Drive Interface for
D--91050 Erlangen 4 Axes
SIMATIC, SIMOTION, SINUMERIK
Phone: +49 (0) 180 5050 - 222 [Hotline]
Fax: +49 (0) 9131 98 - 63315 [Documentation]
E--mail: motioncontrol.docu@siemens.com Manufacturer/Service Documentation
Product Manual
From
Order No.: 6FC5 297-0BA01-0BP4
Name Edition: 05.2005
Company/Dept. If you find any errors when reading this
Street publication, please use this form to notify us.
Suggestions for improvement are also welcome.
Postal code: Town:
Phone: /
Fax: /

Suggestions and/or corrections

You might also like