TREBING + HIMSTEDT SPI 3 Manual

Serial-profibus-interface
Hide thumbs Also See for SPI 3:

Advertisement

Quick Links

SERIAL-PROFIBUS-INTERFACE SPI 3
for Fieldbus devices with a serial interface
ASCII | 3964R | RK512
Contents SPI 3 – Controls other than SIMATIC S5 / S7
(SPI 3 Release 12 and higher)
Contents Online Documentation
Doc. version 3.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPI 3 and is the answer not in the manual?

Questions and answers

Summary of Contents for TREBING + HIMSTEDT SPI 3

  • Page 1 SERIAL-PROFIBUS-INTERFACE SPI 3 for Fieldbus devices with a serial interface ASCII | 3964R | RK512 Contents SPI 3 – Controls other than SIMATIC S5 / S7 (SPI 3 Release 12 and higher) Contents Online Documentation Doc. version 3.1...
  • Page 2 & Himstedt Prozessautomation GmbH & Co. KG. The right is reserved to make changes to this online documentation and to the SPI 3 device at any time without prior notification. All product names used in this online documentation are trademarks or otherwise protec- ted by law, even if this is not specifically mentioned.
  • Page 3: Table Of Contents

    About this manual ...................... 3 Safety notes .......................... 4 Safety notes for the planning stage ............4 Safety notes for installation and operation of the SPI 3 ......5 Overview of the SPI 3 ......................6 Connections and interfaces ..............6 Mounting the device ................
  • Page 4: Introduction

    Data is exchanged between the DP master and the SPI 3 in the form of telegrams or tele- gram fragments through a data channel, the size of which can be configured to adapt it to the telegram length and the size of the PLC I/O area.
  • Page 5: Scope Of Delivery

    About this Online Documentation Please read this online documentation before starting the installation work. It contains im- portant information on planning your system, connecting up and configuring the SPI 3 and on parameter setting. The online documentation uses the following keywords and symbols: Danger! Risk of injury to personnel due to electric shock.
  • Page 6: Safety Notes

    ASCII | 3964R | RK512 Safety notes Safety notes for the planning stage Observe the general rules for PROFIBUS components when planning the SPI 3 installa- tion. Please observe the following to avoid risk to personnel and damage to equipment and to...
  • Page 7: Safety Notes For Installation And Operation Of The Spi 3

    VDE 0100 regulations for handling electrical equipment. – Always mount the SPI 3 on a suitable top-hat rail. – The cables used to connect up the SPI 3 should not apply any mechanical forces to the device.
  • Page 8: Overview Of The Spi 3

    · GND Signal ground terminal · PE Protective ground terminal – PROFIBUS interface – Serial interface (RS232, RS422 or RS485 see label on SPI 3) Mounting the device – Spring-loaded orange clip for releasing the SPI 3 from the top-hat rail Operating elements –...
  • Page 9: Indicating Elements

    (see »Error diagnosis and remedies« on page 23): – RUN: lights continuously if supply voltage is present, flashes in case of errors – PB: lights up if the SPI 3 has been configured by the master and is operational, flashes in case of errors – TX: flashes if data is being sent to the serial interface –...
  • Page 10: Mounting And Connecting Up The Spi 3

    Attaching the SPI 3 to the top-hat rail – Hook the SPI 3 onto the top-hat rail and snap it into place. In order to remove the SPI 3 from the top-hat rail, pull out the orange locking clip with a suitable tool.
  • Page 11: Connecting Up To The Profibus

    We recommend you to use connectors from ERNI and Sie- mens. If the SPI 3 is installed at the beginning or end of the PROFIBUS cable segment, you should use PROFIBUS connectors which contain an integrated terminating resistor.
  • Page 12: Setting Up The Spi 3

    ASCII | 3964R | RK512 Setting up the SPI 3 In order to set up the SPI 3, you need to configure it, set the parameters and install the function blocks in your PLC programming software or, if you do not use SIMATIC control, establish the function blocks (see following chapter).
  • Page 13: Configuring The Spi 3

    Note! You should only configure one module for the SPI 3 device. After configuring the SPI 3, you need to set the parameters. This is described in »Setting parameters for the SPI 3« on page 12. Definitions for any modules not indicated there can be found in the online doc- umentation.
  • Page 14: Setting Parameters For The Spi 3

    Setting up the SPI 3 ASCII | 3964R | RK512 Setting parameters for the SPI 3 When you configure the SPI 3 with the PROFIBUS configurator, you will be prompted to choose the required parameters from a menu. You can set the following parameters: Unstructured ASCII driver, 3964R, RK512 see »SPI 3-specific parameters«...
  • Page 15: Creating Function Blocks

    ASCII | 3964R | RK512 Creating function blocks Data is exchanged between the DP master and the SPI 3 in the form of telegrams or te- legram fragments through a data channel. The size of the data channel between DP ma- ster and SPI 3 can be varied by configuration and thus be adjusted to telegram length and available SPS I/O range.
  • Page 16: Telegram For Data Exchange Without Fragmentation

    Telegram Telegram for data exchange without fragmentation Configure the SPI 3 with a sufficiently large module (I/O field) and apply the data ex- change as described below. Precondition: I/O range size of the module to be configured needs to have a minimum size of I/O size of the bytes to be transferred + 2 byte (for control data and telegram length).
  • Page 17: Send Telegram Without Fragmentation

    Setting up the SPI 3 ASCII | 3964R | RK512 Send telegram without fragmentation DP Master SPI 3 Example original configuration (module: ASCII_Prm+_+__2W_i/o) Byte 0 …1 …2 …3 Bit 7 …6 …5 …4 …3 …2 …1 …0 Request (DP Master) Byte 0 …1...
  • Page 18: Receit Telegram Without Fragmentation

    Setting up the SPI 3 ASCII | 3964R | RK512 Receit telegram without fragmentation DP Master SPI 3 Example original configuration (moduel: ASCII_Prm+_+__2W_i/o) Byte 0 …1 …2 …3 Bit 7 …6 …5 …4 …3 …2 …1 …0 Request (DP Master) Byte 0 …1...
  • Page 19: Telegram For Data Exchange With Fragmentation

    Setting up the SPI 3 ASCII | 3964R | RK512 Telegram for data exchange with fragmentation If you want to transfer a telegram bigger than the data channel available (2, 4, 16, 32 or 64 words), the telegram needs to be fragmented and transferred in several parts (frag- ments).
  • Page 20 Setting up the SPI 3 ASCII | 3964R | RK512 Send user data in telegram fragments (only toggle Bit 1 in Byte 0, specify further user data from Byte 1 onward) Byte 0 …1 …2 …3 …n … Bit 7 …6 …5 …4 …3 …2 …1 …0...
  • Page 21: Receipt Telegram With Fragmentation

    Setting up the SPI 3 ASCII | 3964R | RK512 Receipt telegram with fragmentation DP Master SPI 3 Example original configuration Byte 0 …1 …2 …3 …n Bit 7 …6 …5 …4 …3 …2 …1 …0 Request (DP Master) Byte 0 …1...
  • Page 22 Setting up the SPI 3 ASCII | 3964R | RK512 Receive further user data in telegram fragments (only toggle Bit 3 in Byte 0, specify further user data from Byte 1 onward) Byte 0 …1 …2 …3 …n Bit 7 …6 …5 …4 …3 …2 …1 …0...
  • Page 23: Reset The Spi 3

    ASCII | 3964R | RK512 Reset the SPI 3 Upon SPI 3 reset, all current send and receipt commands are cancelled, the I/O field in the SPI 3 is deleted and newly initialised corresponding to the configured module. Modify bit 4 in byte 0 to 1 and send this telegram to the SPI 3.
  • Page 24: Checking The Spi 3 For Correct Operation

    Refer to »Error diagnosis and reme- dies« on page 23 for details of how to locate the fault. If no errors were detected, the SPI 3 is ready for use and you can use it for transferring data.
  • Page 25: Error Diagnosis And Remedies

    ASCII | 3964R | RK512 Error diagnosis and remedies If errors are detected, the pattern of flashing of the PB and RUN LED’s on the SPI 3 can be used for error diagnosis. The LED’s can flash with the following patterns (this is called the “LED code”):...
  • Page 26 Communication OK – Serial partner communicat- – SPI 3 working correctly ing correctly with the SPI 3 If errors occur during communication, you can also carry out PROFIBUS diagnostics with the DP master. The device-specific diagnostics data contains the following information:...
  • Page 27: Technical Specifications

    2, 4, 16, 32, 64 Certification Max. number of fieldbus devices** 32 (RS 485); 1 (RS 232, RS 422) * See label on the SPI 3 for information on the serial interface which is fitted ** Depends on the protocol...
  • Page 28: Appendix

    The module codes are used to select the operating mode of the SPI 3 (see »Configuring the SPI 3« on page 11). The module codes in the configuration telegram should be specified as follows: –...
  • Page 29: Spi 3-Specific Parameters

    Appendix ASCII | 3964R | RK512 SPI 3-specific parameters The following 18 bytes of the parameter telegram (bytes 7 to 24) contain SPI 3-specific parameters (see table). The specific parameters are valid for SPI 3 release 12 and higher. Note! The hex value for character timeout/response timeout must be specified in Mo- torola format (high byte first).
  • Page 30 Appendix ASCII | 3964R | RK512 Byte Parameter Value Hex code Default 18+19 Character timeout (unstruc- Both parameters in units of 10 ms: 0x0000 200 (0x00, 0xC8) tured ASCII data) (0…65535) × 10 ms Response timeout (for 3964 0xFFFF and RK512) SIO mode 0x00 ASCII driver CT...
  • Page 31: Glossary

    Glossary Glossary → Station address Address ANZW 16 bit in-out variable for sending commands to an FB and re- ceiving return values. Abbreviation for binary digit, the smallest unit in the binary sys- tem; it can have the value 0 or 1. Cable with two defined ends which is used for exchanging data between the connected bus stations.
  • Page 32 Data channel A logical channel for exchanging data with the SPI 3. The size of the data channel (i.e. I/O area) is dependent on the SPI 3 configuration. If a telegram is larger than the data channel, it needs to be fragmented.
  • Page 33 Mirror The input byte 0 of a data channel is called the mirror. The SPI 3 mirrors (returns a copy of) the stamp (q.v.) to confirm the oper- ation or when user data is being processed. Mirror = 0 indicates that the DP slave is ready for data exchange.
  • Page 34 Glossary MODBUS MODBUS RTU is implemented according to the Reference Guide “Modicon PI-MBUS-300, Rev. D”. Module Selecting a module during device configuration determines the configuration telegram and thus the size of the PLC I/O area. Most Significant Bit Non-floating With non-floating I/O devices, the reference potentials of control circuits and power circuits are electrically interconnected and are not galvanically isolated.
  • Page 35 The DP master sends a telegram to a Fieldbus device through the SPI 3. Send channel Data channel for data which is sent to the SPI 3. Slave Bus station which is only allowed to exchange data with a mas-...
  • Page 36 Glossary Stamp The output byte 0 of a data channel is called the stamp. Stamp = 0 indicates that the master is ready for data exchange. If stamp = 0, output byte 2 contains information on the length of the following user data. Stamp ≠...
  • Page 37 Glossary Version code Indicates the version of a product and is always incremented when the hardware or software in the product is updated or modified. The version code can be seen on the first and second page of this online documentation at the bottom left. →...
  • Page 38: Product Brochures

    General conditions General conditions Änderungsrecht / Right to make changes Trebing & Himstedt Prozeßautomation GmbH & Co. KG behält sich das Recht vor, das vorliegende Handbuch sowie die Eigenschaften der Hard- und Software jederzeit weiterzuentwickeln, auch ohne dieses vorher anzukündigen oder über Änderungen zu berichten. Trebing &...
  • Page 39 Documentation No. 10001240 © Trebing & Himstedt Prozeßautomation GmbH & Co. KG...

This manual is also suitable for:

Gpa-ns-011236Gpa-ns-011237Gpa-ns-011238

Table of Contents