
































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!

































Page 4 Release: 1.5 8VHU'HVFULSWLRQ
10/99 Copyright (C) Siemens AG 1999. All rights reserved.
Disclaimer of liability Although we have checked the contents of this publication for agreement with the actual hardware and software, responsibility for complete agree- ment cannot be accepted. The information in this document is reviewed at regular intervals and necessary corrections included in later releases. Your suggestions are welcome.
Copyright Copyright (C) Siemens AG 1999. All rights reserved Passing on of this document, duplication, utilization and revelation of its contents is prohibited unless express permission is granted. Violations will be subject to damages. All rights reserved, particularly in the event a pat- ent is granted or a utility model is registered.
Subject to change without prior notice
8VHU'HVFULSWLRQ Release: 1.5 Page 5
Copyright (C) Siemens AG 1999. All rights reserved. 10/
6.2.1 Introduction of Data Communication by the Low-Priority Station 14 6.2.2 Conflicts 15 6.2.3 Introduction of Data Communication by the High-Priority Station 15
10.2.1 Plug Connector to External Device 18 10.2.2 PROFIBUS-DP Plug Connector 18 10.2.3 Power Supply 19 10.2.4 Shield Termination 19
6HWXS*XLGHOLQHV 10.3.1 Mounting the Interface Module 19 10.3.2 Wiring 20 10.3.3 Cabling, Shielding and Measures against Interference Voltage 25
8VHU'HVFULSWLRQ Release: 1.5 Page 7
Copyright (C) Siemens AG 1999. All rights reserved. 10/
Products bearing the CE seal meet the requirements of EU guidelines 89/336/EEC on electromagnetic compatibility and the harmonized European standards con- tained therein. The EU declarations of conformity are available at the following address for viewing by responsible authorities in accordance with article 10 of the above stated EU guidelines.
Siemens Aktiengesellschaft Bereich Antriebs-, Schalt- und Installationstechnik ASI 2 Postfach 1954 D-92220 Amberg
following requirements.
Industry EN 50081-2 : 1993 EN 50082-2 : 1995
When individual approval is granted, the interface module can also be used in resi- dential areas (e.g., residential, business and commercial zones and small busi- nesses).
Residential areas Individual approval EN 50082-1 : 1992
Individual approval must be obtained from an appropriate authority or inspection office. In Germany, this document can be obtained from the Bundesamt für Post und Telekommunikation and its branches.
,QVWDOODWLRQ Interface modules must be installed in electrical equipment rooms or in closed housings (e.g., control boxes of metal or plastic). In addition, the device and the metal control box or at least the top hat rail (plastic box) snapped onto the interface must be grounded.
:RUNRQVZLWFKLQJ To protect the modules from discharge of static electricity, personnel must FDELQHWV discharge themselves electrostatically before opening the switching cabinets or control boxes.
Page 8 Release: 1.5 8VHU'HVFULSWLRQ
10/99 Copyright (C) Siemens AG 1999. All rights reserved.
1RWHVIRUWKH0DQXIDFWXUHURI0DFKLQHV
does not require a declaration of conformity in accordance with EU guideline 89/392/EEC on machines.
machine is defined as an entity of connected parts or devices. See also paragraph 3.1 of EN 292-1.
Since the interface is part of the electrical equipment of a machine, the manufac- turer of the machine must include it in the declaration of conformity procedure.
Page 10 Release: 1.5 8VHU'HVFULSWLRQ
10/99 Copyright (C) Siemens AG 1999. All rights reserved.
The PROFIBUS master sends the output data cyclically to the gateway. The gateway compares the data received from the master with the previous telegram. When changes are detected, the gateway sends the data to the external device in accordance with the selected procedure. When no changes are detected, the telegram is not sent to the external device (i.e., each telegram is only sent once to the external device). The external device responds in accordance with procedure conventions. The gateway always sends the data received from the external device to the master without changes. The gateway writes the data received from the external device in the internal RAM of the SPC3. The updated data are transferred during the next polling cycle with the gateway.
Construction of data:
Userdata Bytes
Triggerbyte and Number of characters are only present when the corresponding flag is set.
8VHU'HVFULSWLRQ Release: 1.5 Page 11
Copyright (C) Siemens AG 1999. All rights reserved. 10/
Master Gateway external device
8VHU'HVFULSWLRQ Release: 1.5 Page 13
Copyright (C) Siemens AG 1999. All rights reserved. 10/
As the data transmission on PROFIBUS is done cyclically the gateway has to recognize when new data should be transferred via the serial interface. Normally this is done by comparing the internal data with the new received data from PROFIBUS. In some cases this procedure doesn´t work, f.e. when the same data should be send twice or more. The user can influence this behaviour by adjusting the triggerbyte..In this mode the data is only send when the triggerbyte changes. In the normal mode the program in the gateway cannot detect whether the gateway has received several same telegrams. But when the trigger byte mode is switched on the gateway increments the triggerbyte at anytime it has received a new telegram. When the trigger byte mode is switched on it is always the first byte in the data unit.
If the Send-Ready-Trigger is used, the lower 7 bits of the Triggerbytes in the input-data is used like described above However the MSB toggles each time a send-telegram has finished.
The meaning of one bit in the flags register is to tell the fuser programm in the gateway whether the length of the data to be send is included in the data unit. The gateway will only send as much data as it is defined. This mode only makes sense in combination with the trigger byte. In the receive direction the gateway stores the number of received characters in this byte.
Page 14 Release: 1.5 8VHU'HVFULSWLRQ
10/99 Copyright (C) Siemens AG 1999. All rights reserved.
The 3964 driver package is used to transfer data between 2 serial devices. To resolve initialization conflicts, one partner must have high priority and the other low priority.
The interface consists of 3 parts.
The telegram format is described below.
STX, data, DLE, ETX, BCC (1 start bit, 8 data bits, 1 stop bit, even parity)
When the low-priority station receives an STX in response to an STX, it interrupts its request to send, as- sumes receiving mode, and acknowledges the received STX with DLE.
Station assumes receiving mode. High-priority station wants to send too.
STX DLE Data, DLE, ETX, BCC DLE positive acknowledgment or NAK negative acknowledgment
A DLE in the data string is doubled and included in the checksum. BCC is calculated from the XOR linking of all characters.
Page 16 Release: 1.5 8VHU'HVFULSWLRQ
10/99 Copyright (C) Siemens AG 1999. All rights reserved.
Protocol: (< Start delimiter>), Net data, < End delimiter> (< 2nd End delimiter>)
The character in brackets are optional. The Start-End delimiter are transmitted transparently that means they have to be sttored iin the send buffer by the user.
Receive direction: When the start delimiter is switched on the gateway sxnchronises the gateway with this character. If not the gateway stores the next received character in the receive buffer. The telegram ends when the end delimiter is recognized. send direction: When the flag ´length byte´is set the required length is transmitted. If not the data is transmitted until the end delimiter is detected. The maximum data that can be transmitted always corresponds to the adjusted length in th configuration telegram.
In this mode the timeout detection is active and aborts a receive-telegramm if the delay time is exired. This can be inhibited by switching off the timeout monitoring.
no protocol
Receive direction: The received data are stored in the send buffer until the character delay time has run out. This time monitor- ing is adjusted in the parameterization telegram.
send direction: The data is transmitted transparently.
In this mode the timeout monitoring must not be switched off!
The data are transferred transparently without time monitoring. The user specifies the data for the master. When changes are detected, these data are sent to the external device without monitoring. A response from the external device is also sent to the master unchanged. Any desired security mechanisms for user data must be provided by the user.
8VHU'HVFULSWLRQ Release: 1.5 Page 17
Copyright (C) Siemens AG 1999. All rights reserved. 10/
'HYLFH ,QWHUIDFH
(^)
$GGUHVV
(6 $$;$ [ [
(^)
9
56&
352),%86'
*MMPPGG
red » Device malfunction. No function possible off → Device is not turned on
yellow » Interface 1 unclear (PROFIBUS-DP) off » Interface 2 unclear (RS232C) red » both interfaces unclear
8VHU'HVFULSWLRQ Release: 1.5 Page 19
Copyright (C) Siemens AG 1999. All rights reserved. 10/
The device must be supplied with 24 V via a 4-pin, plug-in, screw-type terminal. The 24 V supply can be looped through.
Pin No. Name Function 1 P24 24 V supply voltage 2 P24 24 V supply voltage 3 M24 0 V supply voltage 4 M24 0 V supply voltage
The shield signal for the electronic circuit is connected to the top hat rail with the shied plate. For reasons of interference immunity, the shield signal for the cable shield is not connected to the shield signal of the elec- tronic circuit. It must be applied to the screw terminal on the front plate.
Since the interface module has been developed for use in switching cabinets (IP20), it can only be secured on a standard rail (i.e., low top hat rail in accordance with EN 50022).
Page 20 Release: 1.5 8VHU'HVFULSWLRQ
10/99 Copyright (C) Siemens AG 1999. All rights reserved.
Hutschiene
Gerät
Anschaltungsbaugruppe
Schieber
Erdungsklemme
210 34 5678 9 210 34 5678 9
6,(0(16 '356&/LQN
$GGUHVV
'HYLFH ,QWHUIDFH
(6$$;$ [ [ *
9
352),%86'
56&
The standard rail can also be mounted vertically so that the interface module is mounted at an angle of 90°. Since heat dissipation through convection is less when this type of mounting is used, the permissible ambient temperature is reduced to a maximum of 40° C.
:LULQJ
The following connection techniques must/can be used to wire the interface module.
a) One line can be connected per terminal point for the standard screw-type terminals. A screwdriver with a blade width of 3.5 mm is recommended to tighten the screws. Permissible cross sections of the line:
b) The plug-in terminal strips are a combination of the standard screw-type connection and the plug-in con- nector. The plug-in connection portion is coded so that it cannot be inserted incorrectly.
c) The 9-pin sub D plug-in connectors are secured with two "4-40-UNC" thread screws. A screwdriver with a blade width of 3.5 mm is recommended to tighten the screws. Turning moment: 0.2 to 0.4 Nm
This interface is equipped with a 9-pin sub D pin strip on the interface.