This manual is part of the product
with order number:
6ES7 178-4BH00-0AE0
Part 1: User Information
Product Overview
Installing and Removing the
Module
Wiring
Parameter Assignment
Preparing for Startup
Part 2: Reference Section
Functions of the IM 178-4
Diagnostics
1
2
3
4
5
6
7
Appendix
Technical Specifications
Configuration and
Parameter Assignment
Frame for the IM 178-4
Glossary, Index
A
B
Safety Guidelines
This manual contains notices which 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
!
indicates that death, severe personal injury or substantial property damage will result if proper
precautions are not taken.
Warning
!
indicates that death, severe personal injury or substantial property damage can result if proper precautions are not taken.
Caution
!
indicates that minor personal injury or property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons 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
!
Trademarks
This device may only be used for the applications described in the catalog or the technical description,
and only in connection with devices or components from other manufacturers which have been approved
or recommended 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.
SIMA TICR, SIMA TIC HMIR and SIMA TIC NETR 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.
Disclaimer of LiabilityCopyright E Siemens AG 1998 All rights reserved
The reproduction, transmission or use of this document or its contents is not
permitted without express written authority. Offenders will be liable for
damages. All rights, including rights created by patent grant or registration of
a utility model or design, are reserved.
Siemens AG
Bereich Automatisierungs- und Antriebstechnik
Geschaeftsgebiet Industrie Automatisierungssystem
Postfach 4848, D- 90327 Nuernberg
Index-2
Siemens AktiengesellschaftC79000-G7076-C178
We have checked the contents of this manual for agreement with the
hardware and software described. Since deviations cannot be precluded
entirely, we cannot guarantee full agreement. However, the data in this
manual are reviewed regularly and any necessary corrections included in
subsequent editions. Suggestions for improvement are welcomed.
E Siemens AG 1998
Subject to change without prior notice.
C79000-G7076-C178-01
IM 178-4
Preface
Purpose of the Documentation
This manual describes all the steps necessary to use the function module
IM 178-4. It will help you to become familiar with the functions of the IM 178-4
quickly and effectively.
Content of the Manual
This manual describes the hardware and software of the IM 178-4. It deals with the
following topics:
SProduct overview
SInstallation and removal of the module
SWiring
SParameter assignment
SStarting up
SFunctions
SDiagnostics
SAppendix
Audience
The manual is intended for the following audience:
SFitters
SProgrammers
SCommissioning engineers
SService and maintenance personnel
Applicability of the Manual
This manual contains the description of the function module IM 178-4 valid at the
time of publication. We reserve the right to describe modifications in the
functionality of the IM 178-4 in a Product Information leaflet.
IM 178-4
C79000-G7076-C178-01
iii
Preface
Finding Your Way in the Manual
To help you find specific information quickly, the manual includes the following :
SAt the start of the manual, you will find a complete table of contents.
SIn the Appendix, you will find a glossary in which the most important
terminology used in the manual is explained.
SAt the end of the manual, you will find a comprehensive index with which you
can locate topics and specific information quickly.
Other Literature Required
To understand this manual, you should also be familiar with the manual
Distributed I/O System
Standards
The S7-300 programmable controller complies with the standard IEC 1131.
Recycling and Disposal
The SIMATIC S7-300 is an environmentally friendly product!
The SIMATIC S7-300 has the following environmental features:
SPlastic casing highly fireproof despite halogen–free flame protection
SLabeled by laser (in other words no unnecessary labels)
SPlastic materials indicated in compliance with DIN 54840
SLess material used due to small dimensions, less components due to
integration in ASICs
The SIMATIC S7-300 is suitable for recycling due to its low pollutant content .
For environmentally friendly recycling and disposal of your old SIMATIC PLC using
This Siemens department offers individual counseling and a comprehensive and
flexible disposal system at a fixed price. Following disposal, you receive a
breakdown of the materials and a certification of the materials.
iv
C79000-G7076-C178-01
IM 178-4
CD-ROM
You can also order the entire SIMATIC S7 documentation on a CD-ROM.
Further Support
If you have questions about using the product described in the manual and cannot
find the answer here, please contact your local Siemens representative. You will
find the addresses in the appendix ”SIEMENS Worldwide” in the
Programmable Controller, Hardware and Installation, CPU Data”
If you have questions or comments about the manual itself, please complete the
reply card at the end of the manual and send it to address shown. Please take a
few minutes to give your own personal assessment of the manual on the reply
card.
To familiarize users with the SIMATIC automation systems, we offer a variety of
training courses. If you are interested in these courses, please contact your
Regional Training Center or the Central Training Center in D-90327 Nürnberg,
Germany, Tel. ++49/911/895 3154.
Preface
”S7-300, M7-300
manual
.
The Latest Information
You can always obtain the very latest information about SIMATIC products from
the following sources:
SOn the Internet: http://www.aut.siemens.de/
SBy calling fax polling no. 08765-93 00 5000
Our SIMATIC Customer Support also supports you with up-to-date information and
downloads, that you may find helpful when using SIMATIC products:
SOn the Internet: http://www.aut.siemens.de/simatic–cs
SIn the SIMATIC Customer Support Mailbox: number
+49 (911) 895-7100
If you connect to the mailbox, use a modem with up to V.34
(28.8 Kbauds), with the following parameter settings:
8, N, 1, ANSI, or dial on ISDN (x.75, 64 Kbps).
SIMATIC Customer Support is available at the following phone and fax numbers or
e–mail addresses. You can also send enquiries by mail on the Internet or by mail to
the mailbox number above.
Sthe bitmap files IM178__N.BMP and IM178__S.BMP
SAcrobat Reader
IM 178-4
C79000-G7076-C178-01
1-1
Product Overview
1.1What Can the IM 178-4 Do?
What Can the IM 178-4 Do?
The IM 178-4 is a DP slave with a fixed number of I/Os and has the same design
as S7-300 modules. It has two technologically identical but independent channels
for position detection of incremental position encoders and/or SSI position
encoders and for controlling analog drives ("10 V). The module is attached to the
DP network via a 9 pin sub-D male connector.
Per channel, the module has the following:
SOne input for position detection with SSI position encoders or incremental
encoders with 5 V differential signals
SOne analog output "10 V
S3 digital inputs (2 with fixed functions)
S3 digital outputs that you can use as required.
1.2Fields of Application of the IM 178-4
Where can you use the IM 178-4?
The IM 178-4 is required mainly by users who want to create distributed position
detection and positioning systems in conjunction with conventional drives with an
analog interface ("10 V) and conventional displacement measuring systems (SSI,
incremental position encoders with 5V differential signals). The technological
functionality is no longer in the individual positioning modules as previously but in a
powerful centralized controller.
1-2
C79000-G7076-C178-01
IM 178-4
1.3The Hardware of the IM 178-4
Module Overview
The following diagram shows the IM 178-4 module with its front connector.
Diagnostic LEDs
Product Overview
Front Connector
Type Label
Labeling Strip
Figure 1-1The IM 178-4 Module
Front Connector
With the IM 178-4, the following attachments are possible via the front connector:
S2 inputs for position detection with SSI position encoders or incremental
position encoders with 5 V differential signals
S6 digital inputs
S6 digital outputs
S2 analog outputs "10 V
SPower supply 1L+
SLoad voltage 2L+
The front connector must be ordered separately (order number
6ES7 392-1AM00-0AA0
Order Number
Version
IM 178-4
C79000-G7076-C178-01
1-3
Product Overview
Labeling Strip
The module has a labeling strip on the right front panel that you can label with your
signal names.
The inner side of the right front panel has the pinout of the IM 178-4.
Order Number and Version
The order number and version are shown at the bottom of the front panel.
Status and Diagnostics LEDs
LabelingColorFunction
SFredGroup error (technology)
BFredBus error
ONgreenOperating display
0I0greenDigital input 0 of channel 0
0I1greenDigital input 1 of channel 0
0I2greenDigital input 2 of channel 0
0Q0greenDigital output 0 of channel 0
0Q1greenDigital output 1 of channel 0
0Q2greenDigital output 2 of channel 0
1I0greenDigital input 0 of channel 1
1I1greenDigital input 1 of channel 1
1I2greenDigital input 2 of channel 1
1Q0greenDigital output 0 of channel 1
1Q1greenDigital output 1 of channel 1
1Q2greenDigital output 2 of channel 1
1-4
C79000-G7076-C178-01
IM 178-4
Installing and Removing the Module
Selecting the Location
A horizontal installation is preferable. If you install the module vertically, remember
that the ambient temperature is restricted (max. 40 _C).
Important Safety Rules
For modules in the S7-300 design, there are important rules that must be kept to.
These rules and regulations are explained in the manual
Controller, Hardware and Installation, CPU Data
Rules
When installing the IM 178-4, no particular measures are necessary regarding
electrostatic discharge (ESD).
Required Tools
.
2
S7-300 Programmable
Installation
To install or remove the IM 178-4, you require a 4.5 mm screwdriver.
To install the IM 178-4 on a rail, follow the steps outlined below. For further
information about installing modules, refer to the manual
Controller, Hardware and Installation, CPU Data
1. Hook the IM 178-4 on to the rail and push in the bottom section of the module.
2. Screw the IM 178-4 tight (torque approximately 0.8 to 1.1 Nm).
3. Plug in the front connector and screw it tight.
4. Fit the shield contact element.
The order number of the shield contact element is 6ES7 390-5AA00-0AA0.
5. Plug in the bus connector.
The order number of the bus connector is 6ES7 972-0BA10-0XA0 or
6ES7 972-0BB10-0XA0.
.
S7-300 Programmable
IM 178-4
C79000-G7076-C178-01
2-1
Installing and Removing the Module
Removing/Replacing the Module
To remove the IM 178-4, follow the steps outlined below. For further information
about removing modules, refer to the manual
Hardware and Installation, CPU Data
1. Turn off the auxiliary voltage and the load voltage at the front connector.
2. Open the front panel. If you require it, remove the label from inside the panel.
3. Release the mounting screw on the front connector and remove the connector.
4. Unplug the bus connector.
Note
If the LAN cable is connected through, you can remove the bus connector from the
DP interface without interrupting the data exchange on the bus.
5. Release the mounting screw on the module.
S7-300 Programmable Controller,
6. Pull out the bottom of the module from the rail and remove it upwards.
7. If required, install the new module.
2-2
C79000-G7076-C178-01
IM 178-4
Wiring
3.1Pinout of the Front Connector
Front connector
You connect the position encoders, the analog outputs, the digital inputs and
outputs, the sensor power supply and the module voltage via the 40-pin front
connector.
Figure 3-1 shows the front of the module, the front connector and the inner side of
the front panel with the pinout plan.
3
Front connectorFront view of the moduleInside the front panel
Figure 3-1Front Connector of the IM 178-4
1
2
3
4
5
6
7
8
9
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
1
0
2
1
2
2
2
2
3
4
2
5
2
6
2
7
2
2
8
2
9
0
3
3
1
3
2
3
3
3
4
3
5
3
6
3
7
3
8
3
9
4
0
3
IM 178-4
C79000-G7076-C178-01
3-1
Wiring
Pinout of the Front Connector
Table 3-1 Pinout of the Front Connector
Pin
1MOUT–Sensor power supply ground
25.2 V DCOUT–5 V sensor power supply
324 V DCOUT–24 V sensor power supply
40A/SDIIN–Channel 0 count signal A / serial data input
50A/SDIIN–Channel 0 count signal A / serial data input, inverted
60BIN–Channel 0 count signal B
70BIN–Channel 0 count signal B, inverted
80NIN–Channel 0 zero mark
90NIN–Channel 0 zero mark, inverted
100CLSOUT–Channel 0 shift clock CLS
110CLSOUT–Channel 0 shift clock CLS, inverted
121A/SDIIN–Channel 1 count signal A / serial data input
131A/SDIIN–Channel 1 count signal A / serial data input, inverted
141BIN–Channel 1 count signal B
151BIN–Channel 1 count signal B inverted
161NIN–Channel 1 zero mark
171NIN–Channel 1 zero mark, inverted
181CLSOUT–Channel 1 shift clock CLS
191CLSOUT–Channel 1 shift clock CLS, inverted
20–
211L+IN–Auxiliary voltage 1L+
22MIN–Auxiliary voltage ground
230AOOUT–Analog output 0AO
240BSOUT–Reference signal 0BS
251AOOUT–Analog output 1AO
261BSOUT–Reference signal 1BS
270I0INgreenDigital input 0I0
280I1INgreenDigital input 0I1
290I2INgreenDigital input 0I2
300Q0OUTgreenDigital output 0Q0
310Q1OUTgreenDigital output 0Q1
320Q2OUTgreenDigital output 0Q2
331I0INgreenDigital input 1I0
If you supply the sensor with an external voltage, connect the ground of the
external voltage to the ground of the module (terminal 1 or 22).
IM 178-4
C79000-G7076-C178-01
3-3
Wiring
3.2Description of the Individual Pins (Notes, Explanations)
24 V Power Supply
For the power supplies of the IM 178-4, connect a DC voltage of 24 V to pins 1L+
and M and 2L+ and 2M.
Caution
!
Make sure that the polarity of the 24 V power supply is correct otherwise the
module will be damaged.
The 24 V power supply must meet the following requirements:
Only an extra-low DC voltage of ≤ 60 V that is safely isolated from the main power
supply must be used as the 24 V power supply. Safe isolation of the power supply
can be achieved by adhering to the requirements of VDE 0100 Part 410 / HD
384-4-41 / IEC 364-4-41 (as functional extra-low voltage with safe isolation) or
VDE 0805 / EN 60950 / IEC 950 (as safety extra-low voltage SELV) or VDE 0106
Part 101.
5.2 V and 24 V Sensor Power Supplies
From the 24 V power supply 1L+/M, the module generates a voltage of 5.2 V. This
voltage is applied to DC5.2V (pin 2) as a short-circuit proof power supply for the
sensors and can accept a maximum load of 600 mA. The ground of the sensor
power supply is connected to M (Pin 1).
For sensors that require a power supply of 24 V, the short-circuit protected
auxiliary voltage is available at DC24V (Pin 3).
Note
A short-circuit of the 5.2 V sensor power supplies leads to a failure of the module.
Sensor Pins
Per channel, you can connect two different sensor types using shielded cables, as
follows:
SIncremental sensors complying with RS 422:
The signals A, A, B, B and N, N are connected via the correspondingly labeled
pins.
3-4
SSSI position encoders:
The signals SDI, SDI and CLS, CLS are connected to the correspondingly
labeled pins.
C79000-G7076-C178-01
IM 178-4
Digital Inputs I0 to I2
Per channel, the IM 178-4 has three digital inputs. These are operated with a rated
voltage of 24 V.
The digital inputs are electrically isolated from the DP interface and the sensor
signals.
The digital inputs I0 and I1 have fixed functions depending on the parameter
assignment (see Chapter 6). Pin I0 must be connected using a shielded cable.
Digital Outputs Q0 to Q2
Per channel, the IM 178-4 has three digital outputs. These are supplied from the
24 V power supply 2L+.
The digital outputs are electrically isolated from the DP interface and the sensor
signals.
The digital outputs are current–sourcing switches and can accept a load current of
0.5 A. They are protected against overload and short–circuits.
Wiring
Note
The direct connection of relays and contactors is possible without external
protective circuits.
Analog Outputs
Per channel, the IM 178-4 has one analog output of ±10 V with a resolution of ±13
bits.
The analog outputs must be connected using shielded cables.
Note
Turning on the auxiliary voltage 1L+ can lead to the analog outputs supplying a
spurious pulse for several ms. This spurious pulse must not cause the power
circuits to be activated. This must be avoided by appropriate external wiring of the
module (digital output to enable the power circuits).
IM 178-4
C79000-G7076-C178-01
3-5
Wiring
3.3Wiring the Front Connector
Cables
When selecting suitable cables, follow the rules outlined below:
SThe cables for digital inputs 0I0 and 1I0 must be shielded.
SThe cables for the position encoder signals must be shielded; the pairs of cores
must be twisted.
SThe shields of the cables for the count signals must be connected to ground
both at the position encoder and in the immediate vicinity of the module, for
example using the shield contact element.
SUse flexible cables with cross–sections of 0.25 to 1.5 mm2.
SThe cables for the analog outputs must be shielded.
Note
If the sensor is supplied with power from the module, the conductor cross-section
must be large enough so that the required voltage is applied to the sensor despite
the voltage drop along the cable.
SA wire-end ferrule is not required. If you use wire-end ferrules, use only those
without an insulation collar according to DIN 46228 form A, short version!
Tools Required
A 3.5 mm screwdriver.
3-6
C79000-G7076-C178-01
IM 178-4
Wiring Procedure
When wiring the front connector, follow the steps outlined below:
Warning
!
Risk of personal injury.
If you wire the front connector of the IM 178-4 with the power supply on, you may
be injured by the electrical current.
Make sure that you wire the IM 178-4 only when the power supply is turned off.
1. Open the front panel and bring the front connector into a position so that you
can wire it.
2. Strip the insulation from the wires (remove 6 mm of the insulation).
3. Are you using wire–end ferrules?
If yes: Crimp the wire-end ferrules onto the wires.
Wiring
4. Thread the accompanying strain relief into the front connector.
5. If the wires are led out towards the bottom, start wiring from the bottom,
otherwise from the top. You should also screw down terminals that are not in
use (tightening torque 0.6 to 0.8 Nm).
6. Pull the strain relief for the cables tight.
7. Screw the front connector into the operating position.
8. Establish contact between the shields of the cables on the shield contact
element or on the shield contact rail.
9. Enter the terminal assignments on the pinout plan.
Figure 3-2 shows the IM 178-4 with shielded cables and a shield contact element.
IM 178-4
C79000-G7076-C178-01
3-7
Wiring
Figure 3-2Connecting Shielded Cables to the IM 178-4
Note
For a detailed description of wiring the front connector, refer to the manual
Programmable Controller, Hardware and Installation, CPU Data
3.4Wiring and Connecting the Bus Connector
LAN Cable
As the LAN cable, use the PROFIBUS shielded twisted pair cable or fiber-optic
cable. For ordering information, refer to the Catalog
Cable Lengths
For information about the length of the LAN cable in a segment and about
interconnecting segments, refer to the manuals describing the DP master.
The cable lengths specified in these manuals are only guaranteed for the
PROFIBUS cable (see Catalog
ST 70
).
ST 70
S7-300
.
.
3-8
C79000-G7076-C178-01
IM 178-4
Attaching the LAN Cable
Connect the LAN cable to the bus connector with order numbers
6ES7 972-0BA10-0XA0 or 6ES7 972-0BB10-0XA0 ... as follows:
1. Strip the insulation from the LAN cable as shown in Figure 3-3.
6XV1 830–0AH10/-3BH106XV1 830–3AH10
Wiring
7,5 9
6
Figure 3-3Lengths for Stripping Insulation for the Bus Connector (6ES7 972-0B?0-0XA0)
120
7,5 9
6
2. Open the casing of the bus connector by undoing the casing screws and
removing the cover.
3. Fit the green and red wire in to the screw terminal block as shown in Figure 3-4.
Make sure that you always connect the same wire to the same terminal A or B
(for example terminal A is always wired with the green wire and terminal B
always with the red wire).
4. Press the cable jacket between the two clamping posts. This fixes the cable in
place.
5. Screw the green and red wire into the terminal block.
LAN cable connection for first andlast node in the segment
1
LAN cable connection for allother nodes in the segment
1
: The LAN cable can be connected to the right or left terminals!
Figure 3-4Connecting the LAN Cable to the Bus Connector (6ES7 972-0B?10 0XA0)
6. Screw the casing back together.
Make sure that the cable shield makes contact with the shield clamp.
IM 178-4
C79000-G7076-C178-01
A B A BA B A B
3-9
Wiring
Connecting the Bus Connector
To connect the bus connector, follow the steps outlined below:
1. Plug the bus connector on to the IM 178-4.
2. Secure the bus connector on the IM 178-4 with the screws.
3. If the bus connector is at the start or end of a segment, the terminating resistor
must be activated (switch setting ”ON”) (see Figure 3-5).
Make sure that the nodes on which the terminating resistor is activated are always
supplied with voltage during startup and operation.
Terminating
resistor
activated
on
off
Terminating
resistor not
activated
on
off
Figure 3-5Bus connector (6ES7 972-0B?10-0XA0): Terminating resistor activated and
deactivated
3-10
C79000-G7076-C178-01
IM 178-4
Loading...
+ 54 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.