Page 1
___________________ PROFIBUS module IM 174 Preface What is new in the ___________ PROFIBUS module IM 174 V1.1 ___________________ Product overview SIMATIC ___________________ Installation and dismantling Distributed I/O PROFIBUS module IM 174 ___________________ Wiring ___________________ Parameterization Manual ___________________ Commissioning ___________________ Interrupt, error and system messages ___________________ Technical data...
Page 2
Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
Preface Purpose of this manual The accompanying documentation describes the standard functionality of the IM 174 module. It can be executable in the module of other functions not mentioned in this documentation. This does not, however, represent an obligation to supply such functions with a new controller or when servicing.
Page 4
Preface Documentation classification You can download this manual from the Internet (http://www.automation.siemens.com/support). All of these manuals are available as electronic manuals on the CD-ROM of the S7-Technology option package. Table 2 Documentation for the Technology CPU Title Contents Getting Started...
Page 5
Siemens representative (http://www.siemens.com/automation/partner) or office nearest you. Training center SIEMENS offers a range of courses to help you to get started with your S7-300 automation system. Please contact your regional training center, or the central training center (http://www.sitrain.com) in D-90327 Nuremberg.
Page 6
Preface PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Table of contents Preface ..............................3 What is new in the PROFIBUS module IM 174 V1.1 ................11 Product overview ............................. 13 Installation and dismantling........................17 Installation of the IM 174......................18 Removal and replacement of the IM 174..................18 Wiring ..............................21 Overview of interfaces .........................21 4.1.1 Overview of operating and display elements ................21...
Page 8
Table of contents Parameterization............................75 Supplementary conditions......................75 Preconditions SIMATIC S7-300 CPU ..................75 Requirements for SIMOTION...................... 76 Inserting an IM 174 DP slave in the configuration ..............76 Parameterization sequence ......................77 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs ....78 5.6.1 Enter PROFIBUS address ......................
Page 9
Table of contents Interrupt, error and system messages ....................133 LED displays ..........................133 Diagnostic messages of the electronic modules................134 Diagnostics with STEP 7......................135 7.3.1 Diagnostics with HW Config.......................135 7.3.2 Reading diagnostics data......................137 7.3.3 Structure of the DP slave diagnostics..................138 7.3.4 Station statuses 1 to 3 .......................139 7.3.5 Master PROFIBUS address.......................140...
Page 10
Table of contents PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
What is new in the PROFIBUS module IM 174 V1.1 What is new in the PROFIBUS module IM 174 V1.1 ● Installation via HSP 2038 The HSP of the PROFIBUS module IM 174 V1.1 is not part of the option package S7 Technology 4.1.
Page 12
What is new in the PROFIBUS module IM 174 V1.1 PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
In the SIMATIC and SIMOTION automation environment, control capability for both analog and stepper motors is required for certain application cases. In addition, operational capabilities must be implemented in the TIA world for older drives or non-Siemens drives that have only an analog interface.
Page 14
The IM 174 has the following interfaces: ● An isochronous PROFIBUS interface ● Setpoint interface +/- 10V for 4 analog drives or pulse / direction for four stepper motors ● Four encoder interfaces SIEMENS Figure 2-1 Typical configuration with the Technology CPU Isochronous PROFIBUS interface The maximum transmission rate is 12 Mbit/s.
Page 15
Product overview Encoder interfaces An encoder (TTL/SSI encoder for incremental and absolute measuring systems) must be connected for each axis with an analog drive. Axes with a stepper motor can be operated both with TTL or SSI encoders and also encoderless (pulse refeed).
Installation and dismantling Overview The IM 174 multi-axis module is operated as distributed PROFIBUS I/O module on a SIMATIC or SIMOTION controller with isochronous PROFIBUS. Configuring the mechanical structure S7-300 Automation System, Installation Refer to the manual for possibilities for the mechanical structure and how to proceed when configuring.
Installation and dismantling 3.1 Installation of the IM 174 Installation of the IM 174 Rules No special protection measures (ESD guidelines) are required for installing an IM 174. Required tools Screwdriver with 4.5 mm blade Procedure To install the IM 174, proceed as follows: 1.
Page 19
Installation and dismantling 3.2 Removal and replacement of the IM 174 Installing a new module Proceed as follows: 1. Remove the upper part of the front connector coding from the new module. 2. Insert a module of the same type, swing it down and screw it in tightly. 3.
Page 20
Installation and dismantling 3.2 Removal and replacement of the IM 174 PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Wiring Overview of interfaces 4.1.1 Overview of operating and display elements The module has the following operating and display elements: Table 4- 1 Overview of the IM 174 operating and display elements Operator controls and indicators Designation Type External +24 V power supply DC24V Connector Isochronous PROFIBUS...
Wiring 4.1 Overview of interfaces 4.1.2 Overview of connections Figure 4-1 IM 174 connection overview Table 4- 2 Overview of the connections by item number Number Designation Type SF/BF/TEMP/ON/RDY Diagnostic LEDs BUS ADDRESS DIP switch corresponds to A (decimal) DC24V External power supply PROFIBUS connection Analog setpoint outputs...
Wiring 4.2 Wiring diagram Number Designation Type Encoder connection for Axis 1 Encoder connection for Axis 2 Encoder connection for Axis 3 Encoder connection for Axis 4 Connections for digital output signals Connections for digital input signals Status LEDs of the digital inputs/outputs (LED display for signal level) Wiring diagram Safety notes for the wiring...
Wiring 4.2 Wiring diagram 4.2.1 Wiring diagram of an IM 174 with servo drive (analog) IM 174 with servo drive (analog) The following figure shows how the individual components of the multiple-axis controller are connected to the IM 174 and analog servo drives. Power Supply Figure 4-2 Overview of the connecting cables for IM 174 with analog servo drives...
Wiring 4.2 Wiring diagram 4.2.2 Wiring diagram of an IM 174 with stepper drive IM 174 with stepper drive The following figure shows how the individual components of the multiple-axis controller are connected to the IM 174 and stepper drives. Figure 4-3 Overview of the connecting cables for IM 174 with stepper drive (example) PROFIBUS module IM 174...
Wiring 4.2 Wiring diagram 4.2.3 Connection cable Configured connecting cables Table 4- 3 Connecting cables for a multi-axis controller Connecting cables for a multi-axis controller with IM 174 Type Order No. Description Connecting cable refer to the S7-300 Automation Connection between IM 174 Isochronous PROFIBUS System;...
Wiring 4.3 External power supply PROFIBUS connectors ● RS-485 bus connectors up to 12 Mbit/s with 90° cable outlet without PG interface 6ES7972-0BA12-0XA0, with PG interface 6ES7972-0BB12-0XA0 ● Fast Connect RS-485 bus connector up to 12 MBit/s with 90° cable outlet in snap-on/screw-on technology without PG interface 6ES7972-0BA50-0XA0, with PG interface 6ES7972-0BB50-0XA0 PROFIBUS cable...
Page 28
The IM 174 and the Technology CPU / SIMOTION C230 should be connected to a shared load power supply. The PS 307 S7-300 power supply modules or other SIEMENS load power supplies (e.g. the 6EP1 series), for example, can be used. Otherwise an equipotential bonding between the power supplies is required.
Page 29
Wiring 4.3 External power supply Mains buffering The PS 307 load power supplies for S7-300 provide mains buffering for 20 ms. Note If you use a load power supply other than the PS 307, it must guarantee the required power failure bridging time of 20 ms.
Page 30
Wiring 4.3 External power supply Connecting the power supply Follow the steps outlined below: 1. Open the left-hand front shutter of the IM 174. 2. Connect the flexible cable to the terminals of the screw-terminal block. Ensure the correct polarity. 3.
Wiring 4.3 External power supply 4.3.2 Grounding Grounding by Installing on Mounting Rails The following figure shows how the protective conductor must be connected to the mounting rail: Figure 4-5 Protective conductor terminal on the mounting rails The module must be installed according to EN 60204. Also refer to: S7-300, CPU 31xC and CPU 31x Hardware and Installation...
Page 32
Wiring 4.3 External power supply Connection diagram The following figure shows the installation of an IM 174 with ungrounded reference potential. If you do not want to ground the reference potential, then you must remove the bridge on the IM 174 between the M terminals and the functional ground. If the bridge is not connected then the reference potential of the IM 174 is connected internally to the grounding wire via an RC combination and via the rail.
Wiring 4.4 PROFIBUS PROFIBUS 4.4.1 Interface (X1): Isochronous PROFIBUS Connection 9-pin SUB D socket Pin assignment Table 4- 6 Pin assignment: Isochronous PROFIBUS (X1) Designation Type Function RxD/TxD-P Receive/transmit data P (B line) Request to Send DGND Data reference potential (M5V) Plus supply voltage (P5V), output current max.
Wiring 4.5 Drive units 4.4.2 Interface (X1): PROFIBUS address Setting The PROFIBUS address of the IM 174 DP slave is set via the BUS ADDRESS switch. ● Adjustable PROFIBUS address: 1...125 Table 4- 7 Meaning of the BUS ADDRESS switch Switch Meaning PROFIBUS address: 2...
Page 35
Wiring 4.5 Drive units Pin assignment Table 4- 8 Pin assignment: Setpoint interface (X2) Designation Type Function Setpoint of Axis 1 (±10 V) Reference for setpoint of Axis 2 Setpoint of Axis 3 (±10 V) Reference for setpoint of Axis 4 PULSE1 Pulse axis 1 DIR1...
Page 36
Wiring 4.5 Drive units Designation Type Function RF1.2 "Drive enable" of Axis 1, Relay Contact 2 RF2.2 "Drive enable" of Axis 2, Relay Contact 2 RF3.2 "Drive enable" of Axis 3, Relay Contact 2 RF4.2 "Drive enable" of Axis 4, Relay Contact 2 Pin assignment of 50-pin SUB D connector Signal designation ●...
Page 37
Wiring 4.5 Drive units Analog drives Signals: One voltage and one enable signal are provided per axis. ● SETPOINT (SW) Analog voltage signal in the ±10 V range for the output of a speed setpoint. ● REFERENCE SIGNAL (BS) Reference potential (analog ground) for the setpoint signal, connected internally to logic ground.
Page 38
Wiring 4.5 Drive units Stepper drives Signals: One clock pulse signal, direction signal, and enable signal is provided as a true and negated signal. ● PULSE (CLOCK) The clock pulses control the motor. The motor performs one step for each rising pulse edge.
Page 39
Wiring 4.5 Drive units Signal parameters All signals for stepper drives are output by means of differential signal line drivers in accordance with the RS422 standard. For optimal reliability, the power unit should have differential signal receivers or optical coupler inputs to enable symmetrical signal transmission.
Page 40
Wiring 4.5 Drive units The following figure shows different possibilities for protective signal circuits. Figure 4-7 Protective signal circuits of the stepper motor interface PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Page 41
Wiring 4.5 Drive units Setpoint assignment Allocation of the command values for axes 1 to 4 is fixed. Command value signals (X2) for analog drive: ● SW1, BS1, RF1.1, RF1.2 for axis 1 ● SW2, BS2, RF2.1, RF2.2 for axis 2 ●...
Wiring 4.5 Drive units 4.5.2 Connection of analog drives Connection Description The figure below shows the connection of the IM 174 to a SIMODRIVE 611-A drive unit. Figure 4-8 Connection of a SIMODRIVE 611-A drive unit Procedure 1. Wire the free cable end of the connecting cable to the terminals on the drive unit. (The terminal markings on the cable ends indicate the corresponding terminals for SIMODRIVE devices.) 2.
Wiring 4.5 Drive units 4.5.3 Connection of stepper drives Connection Description The figure below shows the connection of the IM 174 to FM STEPDRIVE drive devices. Figure 4-9 Connection of FM STEPDRIVE drive devices Procedure 1. Insert the Sub-D socket (15-pin) in the FM STEPDRIVE module. 2.
Wiring 4.5 Drive units 4.5.4 Connection of analog drives and stepper drives in mixed operation Mixed operation of analog drives and stepper drives Connection cables for your configuration are available on request. Follow the procedure outlined for connecting analog drives or stepper drives. The design conditions determine whether you install a terminal block or perform the wiring directly with pre-assembled cables.
Wiring 4.6 Encoder 4.6.2 Encoder types Connectable measuring systems Incremental encoders and absolute encoders can be connected to the IM 174. The PULSE REFEED setting is used for stepper motors. Incremental encoder (TTL) ● Differential transmission with RS422 (5 V or 24 V encoder supply voltage): ●...
Page 48
Wiring 4.6 Encoder The following SSI encoders are supported: ● All SSI encoders in the pine tree format, the MsgLength of which is equal to the number of "significant data bits" – 25-bit with 12-bit multiturn and 13-bit single-turn information (setting of the MsgLength 25) –...
Page 49
Wiring 4.6 Encoder Example 1: 25-bit multiturn encoder, pine tree format (12-bit multiturn, 13-bit single-turn) Settings in … HWC S7T Config S7T Config S7T Config Non-rel. Multiturn Single-turn Msg. Fine No. of encoder Multipl. Data bits bits Length resolution marks factor 8192 2048...
Page 50
Wiring 4.6 Encoder Example 4: 25-bit multiturn encoder, pine tree format (9-bit multiturn, 13-bit single-turn) Settings in … HWC S7T Config S7T Config S7T Config Non-rel. Multiturn Single-turn Msg. Fine No. of encoder Multipl. Data bits bits Length resolution marks factor 8192 2048...
Page 51
Wiring 4.6 Encoder PULSE REFEED (only for stepper motors) For the "Stepper“ encoder type setting, the incremental encoder signal is formed by the IM 174. If a stepper with 500 steps/revolution is configured, the IM 174 will supply the following value: 500 multiplied with the set fine resolution increments / revolution.
Page 52
The maximum cable length depends on the specification for the and the transmission frequency . For problem-free operation, you must not exceed the following values when using SIEMENS prefabricated connecting cables (see Catalogs NC 60/ST 70): Table 4- 16 Encoder supply voltage Supply voltage: 5 VDC...
Page 53
Wiring 4.6 Encoder Prefabricated cables The following prefabricated cables can be used, depending on the encoder type: ● Incremental encoder (TTL) with RS422 (5 V or 24 V encoder supply voltage) 6FX2 001-2... Order number (MLFB): 6FX8 002-2CD01-1⃞⃞0 (5 V) Order number (MLFB): 6FX8 002-2CD24-1⃞⃞0 (24 V) Information on the cable length can be found in the Connecting cables to the encoder...
Wiring 4.6 Encoder 4.6.3 Encoder connections Connecting the Connecting Cables Note the following: Always use shielded data cables. The shielding must be connected with the metallic or metalized connector housing. The pre-assembled cable available as an accessory provides the best possible immunity to interference and adequately dimensioned cross-sections for the power supply to the encoders.
Page 55
Wiring 4.6 Encoder Procedure for Connecting Encoders Proceed as follows to connect the encoders: 1. Connect the cable to the encoders. 2. Open the front panel of the IM 174 and insert the Sub-D connectors (15-pin) into the sockets X3 to X6. 3.
Wiring 4.6 Encoder 4.6.4 Effect of the cabling on homing Homing using the encoder zero mark on the basis of the encoder tracks Note Pin assignment of the encoders To recognize zero mark, A=1 and B=1 and Z=1 have to be true. Interchanging of the connections can otherwise result in sporadic errors during homing.
Page 57
Wiring 4.6 Encoder Example 2: Homing with the encoder zero mark does not function. The encoder zero mark is not recognized, for example because the wiring of the encoder is incorrect. The A-track of the encoder is inverted. The A-track is therefore not high at the zero track moment.
Wiring 4.7 Digital outputs/inputs Digital outputs/inputs 4.7.1 Interface (X11): Digital outputs Pin assignment Table 4- 18 Pin assignment: Digital output interface (X11) Designation Type Function Ext. 24 VDC supply voltage Digital output signal 1 Digital output signal 2 Digital output signal 3 Digital output signal 4 RDY1 "Ready"...
Page 59
Wiring 4.7 Digital outputs/inputs Designation Type Function Pin assignment of the digital output interface ① PIN 1 PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Page 60
Wiring 4.7 Digital outputs/inputs Designation Type Function Pin assignment of the digital output interface Note Controlling the digital outputs To control the digital outputs of the IM 174 with a T-CPU, you must first assign the IM 174 an Axis or External Encoder technology object in S7T Config. Signal designation RDY.1 …...
Page 61
Wiring 4.7 Digital outputs/inputs Signal type ● DO digital output (24 V signal) – Max. current carrying capacity: 0.5 A ● VI Voltage input ● K Switching contact – Max. current carrying capacity: 1 A – Max. switching voltage: 30 VDC –...
Wiring 4.7 Digital outputs/inputs Note Cyclic communication with the DP master The relay contact closes only when a data exchange also takes place between the master and the IM 174. It does not suffice that the master detects a new slave (IM 174) on the PROFIBUS network.
Wiring 4.7 Digital outputs/inputs 4.7.3 Electrical parameters of the Ready output (RDY) READY output (RDY) Ready for operation as potential-free relay contact (NO contact). Table 4- 19 Electrical parameters of RDY relay contact Parameter max. Unit DC switching voltage Switching current Switching capacity 4.7.4 Interface (X11): Digital inputs...
Page 64
Wiring 4.7 Digital outputs/inputs Designation Type Function Reference of the supply voltage Pin assignment of the digital input interface ① PIN 21 PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Page 65
Wiring 4.7 Digital outputs/inputs Figure 4-13 Pin assignment of the digital input interface Signal designation B1 … B4 BERO input for axis 1 … 4 M1, M2 Measuring pulse input 1 and 2 R1 … R4 "Drive Ready" signal, axis 1 - 4 Reference potential for digital inputs Signal type ●...
Page 66
Wiring 4.7 Digital outputs/inputs Drive enable and drive ready signal To allow the drive to be switched on by the Technology CPU using the FB MC_Power, the drive must signal its readiness (IM 174 X11-Rx input = TRUE). This means the ready message of the drive should be wired to the IM 174 (X11-Rx).
Page 67
Wiring 4.7 Digital outputs/inputs The IM174 supports 2 different types of Drive Ready signals: ● Drive Ready (Ready for switching on) is usually required for analog drives. ● Alt.Drive Ready (Operation) is usually required for stepper drives. The Drive Ready signal for the IM 174 can be configured in HW Config with the "Alt.DrvRdy"...
Wiring 4.7 Digital outputs/inputs 4.7.5 Electrical parameters of the digital inputs Digital inputs (with 2 measuring inputs and 4 BEROs) These high-speed inputs (onboard) are PLC-compatible (24 V switching to P potential). Switches or proximity encoders (2- or 3-wire encoders) can be connected. They can be used: ●...
Wiring 4.7 Digital outputs/inputs 4.7.6 Supply voltage of the digital inputs and outputs Digital outputs To supply (+24 VDC) the digital outputs, an external power source is needed. The power is supplied via the X11 connection, Pin 1 (1L+). The reference source of the external voltage source must be connected with X11, pin 20 (1M).
4.7.7 Connection of the digital inputs and outputs Connection A 40-pin cable connector from Siemens: 6ES7392-1AM00-0AA0 For the wiring of the outputs ● The required connection cables must be provided by the user: – Digital outputs X11, Pins 2 to 19: Wire, cable cross-section 0.5 mm...
Page 71
Wiring 4.7 Digital outputs/inputs For the wiring of the inputs ● The required connection cables must be provided by the user: – Digital inputs X11, Pins 22 to 39: Wire, cable cross-section 0.5 - 1.5 mm (AWG20 - AWG16) ● Connection conditions –...
Page 72
Wiring 4.7 Digital outputs/inputs Connecting cables Flexible cable, cross-section 0.5...1.5 mm Ferrules are not required. You can use ferrules without an insulating collar in accordance with DIN 46228, Form A long version. You can connect two cables of 0.5...0.75 mm each in one ferrule.
Page 73
Wiring 4.7 Digital outputs/inputs Shielded cables If shielded cable is used, the following additional actions are required: ● Once the cable has entered the cabinet, the cable shield must be connected to a grounded shield bus (strip the cable first). For this purpose, you can use the shield connecting element, which is fitted onto the mounting rail and accepts up to eight shielding terminals.
Page 74
Wiring 4.7 Digital outputs/inputs PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Parameterization Supplementary conditions Boundary conditions on the isochronous PROFIBUS The following boundary conditions must be taken into account for the operation of an IM 174 DP slave on the isochronous PROFIBUS: ● An IM 174 DP slave is a certified DP standard slave as defined by the PROFIDrive profile V4.1.
Parameterization 5.3 Requirements for SIMOTION Requirements for SIMOTION Components for parameter assignment The following components are required for assigning parameters for an IM 174 DP slave: ● Module IM 174, as from order no. 6ES7174-0AA10-0AA0 ● HSP 2038 for module IM 174, as from order no. 6ES7174-0AA10-0AA0 ●...
Parameterization 5.5 Parameterization sequence Parameterization sequence Basic procedure The parameterization of an isochronous PROFIBUS in HW Config for the IM 174 DP slave can be generally divided into the following steps: Step 1 After inserting the IM 174 DP slave in the configuration, the following parameters are assigned on a slave-specific basis: Parameterizing an isochronous PROFIBUS - "General"...
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs 5.6.1 Enter PROFIBUS address Procedure Inserting an IM 174 DP slave into the configuration will open the dialog box "Properties - PROFIBUS Interface IM 174", "Parameters" tab. Figure 5-1 PROFIBUS address The displayed address value was automatically set by HW Config to the next available...
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs Compliance of the PROFIBUS addresses The PROFIBUS addresses automatically assigned in HW Config can be changed manually within the specified address range. The PROFIBUS address of the IM 174 DP slave is set via the DIP switch. However, it must be ensured that the PROFIBUS address setting in HW Config matches the DIP switch setting on the IM 174 DP slave.
Page 80
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs Example of encoder configuration The following graphic shows an exemplary encoder configuration. Message frame 3 is selected for the encoder on the first and fourth axes, message frame 81 is selected for the encoder on the second and third axes.
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs 5.6.3 Message frame structure Message frame structure The message frame is structured as follows: Table 5- 1 Message frame structure Message frame type Description 4 axes, each with one encoder, standard 4 x Standard message frame 3 or 81 and 1 PZD message frame 3 + IO, PZD-5/9 O/I 1/1 or word each for digital I/O data...
Page 82
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs Message frame type Description Note The message frame type setting for the IM 174 DP slave in HW Config must agree with the message frame type setting in the controller. There is no automatic adjustment.
Page 83
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs Encoder control word Gx_STW Description of the encoder control word (extract) for: ● Find reference mark ● On-the-fly measurement ● Encoder error Note Measurement on rising or falling edge IM 174 only supports measurement on a rising or falling edge.
Page 84
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs Additional encoder actual value Gx_XIST2 Error codes in Gx_XIST2 where G1_ZSW, Bit 15 == 1 Table 5- 2 Error codes in Gx_XIST2 G1_XIST2 Meaning Possible causes / description Encoder sum error The encoder signal levels are too low, faulty (inadequate shielding) or open-circuit monitoring has been tripped.
Parameterization 5.6 Parameterizing an isochronous PROFIBUS - "General" and "Configuration" tabs 5.6.4 Assigning process image partition Process image partition Under the "Configuration > Details" tab you can configure the address range for the input and output parameters and the process image partition. Figure 5-2 Configuration >...
Parameterization 5.7 Function parameters - "Encoders and drives" tab Assigning process image partition To assign the address ranges and the process image partition, proceed as follows: 1. In the "DP Slave Properties" dialog box, select the "Configuration > Details" tab. 2.
Page 87
Parameterization 5.7 Function parameters - "Encoders and drives" tab The figure below shows the corresponding dialog box with sample values for the various drive and encoder types and further function-specific parameters. Figure 5-3 "DP Slave Properties" dialog box, "Encoders and drives" tab PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Parameterization 5.7 Function parameters - "Encoders and drives" tab 5.7.2 Drive parameters You can select the following drive types: ● Servo (analog drive) ● Stepper (stepper drive) Servo drive type If you have selected the servo drive type, you can switch the voltage range of the analog output voltage via the "Unipolar"...
Page 89
Parameterization 5.7 Function parameters - "Encoders and drives" tab Alt.DrvRdy Depending on the drive you use, the Drive Ready signal returns different status messages: ● The drive signals "Ready for switching on" with the Drive Ready signal. An enable from the controller is still required to switch the drive on. ●...
Page 90
Parameterization 5.7 Function parameters - "Encoders and drives" tab Stepper drive type The necessary power electronics (e.g. FM Stepdrive) and the stepper motor are required for the operation of a stepper motor on the IM 174. The basic structure of an IM 174 with stepper drives and without encoders is shown in the following figure: Figure 5-4 Basic structure of an IM 174 with FM STEPDRIVE and SIMOSTEP motor...
Page 91
Parameterization 5.7 Function parameters - "Encoders and drives" tab Alt.DrvRdy Depending on the drive you use, the Drive Ready signal returns different status messages: ● The drive signals "Ready for switching on" with the Drive Ready signal. An enable from the controller is still required to switch the drive on.
Page 92
Parameterization 5.7 Function parameters - "Encoders and drives" tab Calculation of the norm. frequency The norm. frequency can be calculated using the following formula: Norm. frequency [Hz] = n [rpm] / 60 * resolution on the stepper motor n [rpm]: Speed of the stepper motor (characteristic values lie between 500 and 1000 rpm) Resolution on the stepper motor:...
Page 93
Parameterization 5.7 Function parameters - "Encoders and drives" tab Description of the behavior of a stepper motor The positioning accuracy, the speed n as well as the torque M produced by the motor are very important for the process-specific requirements. For the optimum determination of these values, the behavior of the stepper motor must be considered.
Page 94
Parameterization 5.7 Function parameters - "Encoders and drives" tab Remedy The following settings must be made to suppress the vibration of the stepper motor: Therefore, change the following default values: ● In HW Config in the IM 174 object manager (slave OM): –...
Parameterization 5.7 Function parameters - "Encoders and drives" tab 5.7.3 Encoder parameters The following encoder types can be selected for analog drives ● Encoder type not available ● Encoder type TTL ● Encoder type SSI The following encoder types can be selected for stepper drives ●...
Page 96
Parameterization 5.7 Function parameters - "Encoders and drives" tab Encoder type TTL In the case of encoder type "TTL" you can set the following encoder parameters: ● Resolution Encoder resolution in encoder pulses per encoder revolution ● Enabling the speed calculation The IM 174 calculates the speed if the checkbox is enabled.
Page 97
Parameterization 5.7 Function parameters - "Encoders and drives" tab Example ● Tdp (position-control cycle = PROFIBUS cycle clock): 2 ms ● ER (encoder resolution): 2500 pulses per revolution ● PM (pulse multiplication): 4 ● RR = 60000 / (2 * 2500 * 4) = 3 (revolutions/min) / encoder pulse Encoder type SSI Encoder parameters: ●...
Page 98
Parameterization 5.7 Function parameters - "Encoders and drives" tab Encoder type stepper Stepper drive during PULSE REFEED operation: An Axis x with the "Stepper" drive type can be operated with a "Stepper" encoder type. In this mode, the setpoints are signaled back as actual values from the IM 174 to the controller.
Parameterization 5.7 Function parameters - "Encoders and drives" tab 5.7.4 Enabling the speed calculation Validity The speed calculation applies for positioning axes and external encoders. You can activate speed calculation only for TTL encoders and at selection of Message frame 3. Settings in S7T Config and HW Config The calculated rotary speed or speed is transmitted by the drive (IM 174) to the technology object Positioning axis or External encoder by NIST_B at Message frame 3.
Page 100
Parameterization 5.7 Function parameters - "Encoders and drives" tab Figure 5-6 I address in HW Config The speed calculation is now carried out by the drive (IM 174). PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Parameterization 5.7 Function parameters - "Encoders and drives" tab 5.7.5 Homing using external zero mark System structure Figure 5-7 Basic system structure: Homing using external zero mark Function Once the controller requests homing, the IM 174 transmits the actual encoder value to the controller as the home position the next time it detects an external zero mark signal.
Parameterization 5.7 Function parameters - "Encoders and drives" tab 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: ● Digital output word: Bit 8: = 1 => "Axis 1: Rising edge of External zero mark 1 (X11, Pin 22)" 5.7.6 Homing using encoder zero mark System structure...
Parameterization 5.7 Function parameters - "Encoders and drives" tab Without 611U conformant mode No further measures are required. 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: ●...
Page 104
Parameterization 5.7 Function parameters - "Encoders and drives" tab Function The homing output cam signal must be connected to a digital input on the IM 174 (X11, Pins 22 to 25). The homing output cam signal is processed in the controller as part of the homing operation.
Parameterization 5.7 Function parameters - "Encoders and drives" tab 5.7.8 Boundary conditions Measuring input or on-the-fly measurement IM 174 only supports 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.
Parameterization 5.7 Function parameters - "Encoders and drives" tab 5.7.10 Boundary conditions for SIMOTION Error 20005 In conjunction with an IM 174 DP slave, the following message is displayed when the SIMOTION C230 switches from RUN to STOP mode: ● Error 20005: Device type: 1/2, log. address: x faulted. (Bit: 0, Reason: 0x...) The message can be ignored.
Parameterization 5.8 Function parameters - Parameters tab Function parameters - Parameters tab 5.8.1 Shutdown ramp Shutdown ramp Setting: 0 - 65535 ms The "Shutdown ramp" parameter specifies a function that is linear with respect to time. If an error is detected, all drives that are connected to the IM 174 are decelerated down to setpoint 0 in accordance with this function.
Parameterization 5.8 Function parameters - Parameters tab 5.8.2 Shutdown delay time Shutdown delay time parameter: Setting: 0 - 65535 s The "Shutdown delay time" parameter can be used to specify a time after which, after a temperature alarm has occurred, the shutdown ramp is activated. The shutdown delay time is is started when a temperature of 90°...
Page 109
Parameterization 5.8 Function parameters - Parameters tab Digital output word The signal sources for the homing are selected on an axis-specific basis via the following bits of the output word (see also output word in the table "Message frame structure" in the "Message frame type"...
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab Exiting the dialog box If the "DP Slave Properties" dialog box is exited with "OK", the data are accepted and the dialog box is closed. Parameterization of the DP communication - "Isochrone operation" 5.9.1 Parameterization of the equidistant cyclic DP communication Steps to be taken...
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab 5.9.2 Activation of the equidistant DP cycle Equidistant DP slave types of the same type It is recommended that the equidistant DP cycle be enabled for all IM 174 DP slaves by enabling the equidistant DP cycle for the selected IM 174 DP slave, and then performing an alignment.
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab Equidistant DP slave types of the same type If there are different equidistant DP slave types (for example, different SIMODRIVE drives, IM 174, etc.) in an S7 project, the steps ●...
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab 5.9.4 Equidistant DP cycle TDP Introduction When the cyclic component of the DP communication is calculated, the DP master automatically changes the value for the equidistant DP cycle to the maximum permissible time (32 ms).
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab 5.9.5 DP cycle TDP Procedure 1. In the "DP Slave Properties" dialog box, select the "Isochrone mode" tab. factor 2. Enter a < > in the "DP cycle TDP (ms)" input field. Compliance of the DP cycle time The DP cycle time ("DP cycle TDP"...
Page 115
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab Procedure 1. In the dialog box: "DP Slave Properties", open the "Isochrone mode" tab. factor 2. Enter a < > in the "Master application cycle T (ms)" input field. MAPC (See figure in the "Alignment"...
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab GAP, TOKEN, RESERVE: GAP: An attempt is made during GAP to accept new active stations. TOKEN: The token passing is either to itself or other masters. RESERVE: The reserve is used as an "active pause" for the station to send the token to itself until the equidistant cycle expires.
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab 5.9.8 Setpoint acceptance To Introduction The Setpoint acceptance T parameter specifies the time when the IM 174 DP slave receives the speed setpoint from the position controller. It is recommended that setpoint acceptance time T is the same for all IM 174 DP slaves, particularly if axes are interpolated together.
Page 118
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab Procedure 1. Open the "Isochrone mode" tab in the "Properties - DP-Slave" dialog 2. Select the "Synchronize drive with equidistant DP cycle" option. 3. Adapt the parameters. 4. Click "Match". Figure 5-14 "DP Slave Properties"...
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab 5.9.10 Boundary conditions IM 174 The following boundary conditions must be taken into account in the final parameterization of the equidistant DP cycle: Figure 5-15 Zoom area of "DP Slave Properties" dialog box ●...
Page 120
Parameterization 5.9 Parameterization of the DP communication - "Isochrone operation" tab ● Actual value acquisition (T 250 µs ≤ T ≤ 625 µs Ti = 250 µs, 375 µs, 500 µs, 625 µs ● If T = (T - 125 µs) = T O-Max then for T , the following must apply: T...
Parameterization 5.10 Tolerable failure of an encoder 5.10 Tolerable failure of an encoder Description The following settings have to be carried out in the axis wizard of S7T Config to move an axis without encoder: Note The encoder may not be involved in controlling. Set a check mark in the axis wizard of S7T Config at "Tolerate the encoder failure when it is not involved in the closed-loop control"...
Parameterization 5.11 Zero mark monitoring 5.11 Zero mark monitoring Method of functioning of the zero mark monitoring Zero mark monitoring compares the recognized encoder increments between two zero marks with the configured encoder resolution. If a difference is found, an encoder error is reported.
Commissioning Operating an IM 174on an S7-CPU Condition If you are using a SIMATIC S7 CPU without a technology functionality as a DP master, you cannot use any technology functions. In this case, you must realize the supply of the IM 174 with data from your user program.
Page 124
Commissioning 6.2 Absolute encoder (SSI), single-turn Encoder data The encoder used in this example is a Siemens encoder, order number: 6FX2001-5HS12 with the following data: Parameters Value Encoder kind Rotary Encoder type Absolute encoder Increments/revolution 4096 Useful data length Message length...
Page 126
Commissioning 6.2 Absolute encoder (SSI), single-turn Settings MsgLength Encoder parameter: "Useful data length" Encoding Encoder parameter: "Actual value protocol format" Reserved bits for fine resolution 0 - 15 Settings in SIMATIC S7T Config / SIMOTION SCOUT After you have created a new encoder in the project navigator (SIMATIC S7T Config / SIMOTION SCOUT) under "EXTERNAL ENCODERS"...
Page 127
Commissioning 6.2 Absolute encoder (SSI), single-turn Figure 6-3 Settings in the "Encoder - Data" dialog box (zoom area) Settings: Encoder data settings Number of encoder pulses Encoder parameter: "Increments/revolution (resolution)" Data width of absolute value without Encoder parameter: "Useful data length of the encoder" fine resolution Fine resolution for absolute value in Gn_XIST2...
Commissioning 6.3 Incremental encoder (TTL) Overview of the encoder parameters in the SIMATIC S7T Config / SIMOTION SCOUT expert list Parameters: TypeOfAxis > Encoder_1 > Value encoderTyp SENSOR_ABSOLUTE encoderMode SSI_MODE encoderSystem ROTATORY_SYSTEM AbsEncoder > absResolution 4096 AbsEncoder > absDataLength AbsEncoder > absResolutionMutiplierAbsolute AbsEncoder >...
Page 129
6.3 Incremental encoder (TTL) Description of the most important input fields The most important input fields are described in more detail below: Encoder data The encoder used in this example is a Siemens encoder, order number: 6FX2001-2GB02 with the following data: Parameters Value...
Page 131
Commissioning 6.3 Incremental encoder (TTL) Settings in SIMATIC S7T Config / SIMOTION SCOUT After you have created a new encoder in the project navigator (SIMATIC S7T Config / SIMOTION SCOUT) under "EXTERNAL ENCODERS" and then parameterized the technology object in the displayed dialog boxes, e.g. "Units", the encoder data must be entered in the dialog boxes "Encoder Assignment"...
Page 132
Commissioning 6.3 Incremental encoder (TTL) Figure 6-6 Settings in the "Inc. Encoder - Data" dialog box Settings: Settings Number of encoder pulses Encoder parameter: "Increments/revolution (resolution)" Fine resolution = 2048 (STEP 7, HW Config: "Reserved bits for fine resolution") Overview of the encoder parameters in the SIMATIC S7T Config / SIMOTION SCOUT expert list Parameters: TypeOfAxis >...
Interrupt, error and system messages LED displays The module status is displayed on the front of the module with four diagnostic LEDs. The LEDs are explained in the order in which they are arranged on the IM 174 module. Table 7- 1 Meaning of the color assignment for the diagnostics LEDs Color Meaning...
Interrupt, error and system messages 7.2 Diagnostic messages of the electronic modules LEDs Meaning Remedy TEMP ON Any type of system error. Temperature error The LED is illuminated when a certain temperature in the housing is exceeded. In this case, the drives are shut down in accordance with the parameterized shutdown delay time and shutdown ramp.
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Diagnostics with STEP 7 7.3.1 Diagnostics with HW Config Calling the diagnostics in HW Config The diagnostics of the module can be called in HW Config by using the PLC -> Module information menu command.
Page 136
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Table 7- 5 Description of the error messages Error class Error designation Description Remedy Internal error Master Sign-of-Life error / The IM 174 cannot be 1. Check the connection PLL synchronization error synchronized with the of the PROFIBUS Master Sign-of-Life error...
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.2 Reading diagnostics data Introduction STEP 7 Diagnostics can be read out with Length of the diagnostics frame ● The maximum message frame length is 45 bytes. ● The minimum message frame length is 6 bytes. Options for reading out the diagnostics STEP 7 The table below shows the options for reading out the diagnostics with...
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.3 Structure of the DP slave diagnostics Structure of the DP slave diagnostics The figure below shows the structure of the DP slave diagnostics. Figure 7-1 Structure of the DP slave diagnostics Note Length of the diagnostics frame The length of the diagnostic message varies between 6 and 45 bytes.
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.4 Station statuses 1 to 3 Definition Station statuses 1 to 3 provide an overview of the status of a DP slave. Structure of station status 1 (byte 0) Table 7- 7 Structure of station status 1 (byte 0) Meaning Cause/Remedy...
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Structure of station status 2 (byte 1) Table 7- 8 Structure of station status 2 (byte 1) Meaning The DP slave parameters need to be reassigned. A diagnostics message is pending. The DP slave will not operate until the problem is eliminated (static diagnostics message).
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.6 Manufacturer ID Definition Byte 4 and Byte 5 are manufacturer's IDs. Low Byte 4 is 81. High Byte 5 is 33. 7.3.7 Identifier-related diagnostics Definition The identifier-related diagnostic data indicate whether encoders of the IM 174 are faulty or not.
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.8 Module status Definition The module status indicates the status of the configured modules and provides more information on the identifier-related diagnostics with respect to the configuration. The module status starts after the identifier-related diagnostic data and consists of 8 bytes. The module status is structured as follows: Figure 7-3 Structure of the module status...
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.9 Channel-specific diagnostics Definition Channel-specific diagnostics provide information about channel errors in modules and details of the identifier-related diagnostics. The channel-specific diagnostics follows the module status. Channel-specific diagnostics do not affect the module status. Up to 24 channel-specific diagnostic messages are possible.
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.10 Interrupts Definition The interrupt section of the slave diagnostics provides information on the interrupt type and the cause that led to the triggering of the interrupt. The interrupt section comprises 16 bytes. Position in the diagnostic frame The interrupt section comes after the channel-specific diagnostics.
Page 145
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Structure of interrupts STEP 7 Once configuration with is completed the alarm data is evaluated and transferred to the relevant organization blocks (OBs). This transfer does not function if the IM 174 is operated at the DP (DRIVE) of a Technology-CPU.
Page 146
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Diagnostic interrupt, Byte x+4 to x+7 (Data record 0) Figure 7-6 Structure of bytes x+4 to x+7 for diagnostic interrupt Diagnostic interrupt from the modules, Bytes x+8 to x+11 (Data record 1) Figure 7-7 Structure of bytes x+8 to x+11 for the diagnostics frame PROFIBUS module IM 174...
Page 147
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Diagnostic interrupt from the modules, Bytes x+12 to x+15 (Data record 1) Figure 7-8 Structure of bytes x+12 to x+15 for the diagnostics frame PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 7.3.11 Diagnostics with a "300" control system Description Alarms are reported via the cyclic message frame 3 or 81 gemeldet as well as via diagnostics alarm in OB 82. In the case of a CPU 300 (without technology) the messages of the cyclic message frame must be acknowledged as well as in the following table.
Page 149
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 Error messages OB 82 behavior Cyclic message frame behavior Temperature error OB 82 reports Outgoing message in the Error is reported in the cyclic interface. "Incoming event" CPU! Bit 3 is still active in Bit 3 and 11 are set in the Status word 1 (ZSW1) Status word 1 (ZSW1).
Page 150
Interrupt, error and system messages 7.3 Diagnostics with STEP 7 PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Information about the nameplate You can find the currently valid identifiers and approvals on the nameplate of the module. Information about the currently valid identifiers and approvals is available on the Internet (http://support.automation.siemens.com/WW/view/en/28421943/134200). Safety information WARNING Explosion hazard - Risk of injury and damage to property In potentially explosive environments, there is a risk of personal injury and damage to property if you remove IM 174 connectors in runtime.
Page 152
• 94/9/EC "Equipment and protective systems intended for use in potentially explosive atmospheres" (Explosion Protection Directive) The EC declaration of conformity is held on file available to competent authorities at: Siemens AG Industry Sector I IA AS R&D DH A P.O. Box 1963...
Page 153
Technical data A.1 Standards and certifications cULus HAZ. LOC approval Underwriters Laboratories Inc., complying with • UL 508 (Industrial Control Equipment) • CSA C22.2 No. 142 (Process Control Equipment) • UL 1604 (Hazardous Location) • CSA C22.2 No. 213 (Hazardous Location) APPROVED for use in Class I, Division 2, Group A, B, C, D Tx;...
Page 154
Technical data A.1 Standards and certifications Marine approval Classification societies: ● ABS (American Bureau of Shipping) ● BV (Bureau Veritas) ● DNV (Det Norske Veritas) ● GL (Germanischer Lloyd) ● LRS (Lloyds Register of Shipping) ● Class NK (Nippon Kaiji Kyokai) Use in industrial environments SIMATIC products are designed for industrial applications.
Technical data A.2 Establishing the firmware version Establishing the firmware version Requirements ● You are in HW Config and an IM 174 V1.1 is configured. ● An IM 174 V1.1 is connected and available online. Establishing the firmware version To establish the current firmware version of the module, proceed as follows: 1.
Page 156
Technical data A.3 Technical data Dimensions and weight Dimensions W x H x D [mm] 160 x 125 x 118 Weight [g] 1000 Isochronous PROFIBUS cycle (isochronous) Supported cycle times 1.5 - 8 ms Settable steps 250 μs Drive interface Analog drive Setpoint signal Rated voltage range...
Page 157
Technical data A.3 Technical data Stepper drive 5 V output signals according to RS422 standard Error output voltage V Min. 2 V (R = 100 Ω) Output voltage "1" V 3.7 V (I = -20 mA) 4.5 V (I = -100 μA) Output voltage "0"...
Page 158
Technical data A.3 Technical data Digital inputs Number of inputs Supply voltage 24 VDC (permissible range: 20.4 … 28.8 V) Galvanic isolation Input voltage 0 signal: -3 … 5 V • 1 signal: 15 … 30 V • Input current 0 signal: ≤...
List of abbreviations List of abbreviations Table B- 1 List of abbreviations Abbreviation Explanation Distributed I/O Function block Hardware Support Package Interface module Motion Control Multipoint Interface Operation Panel Programming device Power Supply Process data word Equidistant DP cycle Master application cycle MAPC PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Page 162
List of abbreviations PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Index Area of application, 13 Basic knowledge (24 VDC) Required, 3 External power supply, 29, 30 Behavior of a stepper motor, 93 External power supply connection, 28 Boundary conditions, 105, 106 External power supply connection cable, 27 Actual speed value, 105 (X1) Encoders with axes, 105 Isochronous PROFIBUS, 27, 33...
Page 164
Index Data rate Isochronous PROFIBUS, 33 GAP, 116 Definition GC, 115 Station status, 139 General electrical properties Digital outputs, 69 Digital inputs, 65 Interface, 70 Digital outputs, 61 Direction of rotation signal, 88 Global control message frame, 115 Documentation Grounding, 31 Classification, 4 Gx_STW, 83, 84 DP cycle TDP, 114...
Page 166
Index TDP, 113 TDX, 112 Technical specifications Standards and certifications, 151 Technology Integrated inputs and outputs, 15 Technology CPU, 75 TI, 116 TIA environment, 13 TMAPC, 114, 115 TO, 117 TOKEN, 116 Tolerable sign-of-life failures, 108 Training center, 5 UL approval, 152 Zero mark monitoring, 122 PROFIBUS module IM 174 Manual, 10/2012, A5E00859729-05...
Need help?
Do you have a question about the SIMATIC IM 174 and is the answer not in the manual?
Questions and answers