Manual GK473 - Gateway RS485 – Profibus-DP Version 1.00 and up Applicable for: Spindle position display N 140 / N 141 / N 142 / N 143 / N 150 / N 152 / N 153 / N 155 Baumer IVO GmbH & Co. KG Dauchinger Strasse 58-62 DE-78056 Villingen-Schwenningen Phone +49 (0)7720 942-0 Fax +49 (0)7720 942-900 info.de@baumerivo.com www.baumer.com 05.11 · 174.02.042/4 Subject to technical and design modifications. Errors and omissions excepted.
Contents Page 1. Introduction 3 1.1. 1.2. 3 3 Scope of delivery Product assignment 2. Overview 3 3. Safety precautions and operating information 4 4. Commissioning 5 4.1. 4.2. 4.3. 4.3.1. 4.3.2. 4.3.3. 4.3.4. 4.4. 4.4.1. 4.4.2. 4.4.3. 4.4.4.
Disclaimer of liability The present manual was compiled with utmost care, errors and omissions reserved. For this reason Baumer IVO GmbH & Co. KG rejects any liability for the information compiled in the present manual. Baumer IVO nor the author will accept any liability for direct or indirect damages resulting from the use of the present information. At any time we should be pleased receiving your comments and proposals for further improvement of the present document. 1. Introduction 1.1.
3. Safety precautions and operating information Supplementary information • This manual is intended as a supplement to already existing documentation (catalogues, product information and mounting instructions). • It is imperative to read the manual prior to initial commissioning of the equipment. Intended purpose • The gateway is an interface transformer for RS485 serial interface and Profibus DP. It comprises specific modifications for the IVO multicon spindle positioning system.
4. Commissioning 4.1. Scope of delivery • • • • • Gateway Two screw terminals Strain relief/shield connection terminal Data carrier with GSD file Manual 4.2. Mechanical Mounting The gateway features a small housing for DIN rail mounting. It can easily be opened by screwdriver and pulled out partially in order to set the bus node ID and bus termination. • Width of pattern 22.5 mm, height approx. 100 mm and depth approx.
4.3.4. Profibus - RS485 bus connection RS485 Bus Profibus CAN Bus connection is provided by 9pin D-SUB connector (female) that is integrated in the front panel. PIN 1 2 3 4 5 6 7 8 9 Function Shield/functional earth Profibus B (+) Profibus A (-) Connector-housing: shield / functional earth. Any requested Profibus looping can be proceeded in the attachment connector itself (not included in the delivery).Corresponding connectors are available in specialized shops.
4.4. Device parameters 4.4.1. How to open the housing (partial pull-out) Setting the user address requires partial opening of the gateway housing. Please use a small screwdriver, press-in the snap-locks provided at the top and bottom behind the screw terminals and pull out the housing halfway until stop so that the operating elements are accessible. The housing is closed again by pulling it back to its original position until both locks snap in again. 4.4.2.
A bus termination is imperative as soon as the connected gateway is the final user in a Profibus segment. Make sure that only the first and the last user in the Profibus segment provide a bus termination. The bus termination in the arriving D-Sub connector must not be used since it is not actively terminating the Bus to 0 V and + 5 V. 4.4.4.
5. Profibus-DP interface description 5.1. General information The gateway provides the connection between the SPA’s RS 485 protocol and the Profibus-DP. The Profibus-DP interface is in line with Profibus standard DP-V0 (cyclic communication) according DIN EN 50170. Possible transmission rates are 9600, 19200, 93,75k, 187,5k, 500k, 1.5M, 3M, 6M and 12M Baud. The baud rate applied is recognised and set automatically. Since there are no existing standards for gateway profiles they are manufacturer-specific.
5.3. Transparent gateway function 5.3.1. General information Basically all commands with code „A“ ... „z“ are transparently transmitted by Profibus to the SPAs and vice-versa, allowing addressing each SPA individually or altogether by PLC broadcast command. The gateway does not check whether an SPA is connected by the registered address, neither the code of the command.
5.4.2. Continuous scanning of all connected SPAs During operation the gateway is automatically scanning all SPA connected, checking whether they are „in position“ or in error status. If requested, this information may be compiled by special command for read-in by Profibus. This function is optional in projecting (GSD file) and can even later be switched on or off by supplementary command. 5.5.
5.5.2. Batched information „Check Position“ The batched information „Check Position“ (command @-C) provides by the „Anz“ parameter the total number of SPAs being „not in position“. The data field comprises the addresses of 10 SPAs each being “not in position”. First the Profibus Master should give the command with block number 20h. This will already be sufficient as basic information whether all SPAs are in position.
5.5.4. Automatic SPA scanning ON or OFF The command (@-Z) is for switching on and off the automatic scanning of all SPAs connected. The preset parameters are overwritten (but not altered permanently). Data = 0 (30h) = scan OFF Data = 1 (31h) = scan ON Several commands to the SPA are only valid until another command is being received (for example display SPA address in the bottom line of the display). Any automatic scan would turn these commands void.
• The gateway itself will indicate error if the error is due to a gateway command (code „@“). Furthermore, the gateway will also indicate error if the error status results from any automatic function (for example cyclic SPA scanning). The gateway error messages comprise dummy address 20h, command „@“ (40h), sub-command „e“ (65h) as well as the error number.
Errors in configuration and parameterizing should not occur when the attached GSD file is applied. Both errors are transferred as single bit by standard diagnostic data and therefore do not require a specific error code in external data. In case of configuration error, bit „diag.cfg.fault“ is set in diagnostic byte 1. In case of parameterizing error, bit „diag.prm_fault is set in diagnostic byte 1.
6. Technical Data Technical data – electrical ratings Supply voltage 12...