Gantner E Series Communications Manual

Hide thumbs Also See for E Series:

Advertisement

e.bloxx Communication Guide
Vers.-No. 12

Advertisement

Table of Contents
loading

Summary of Contents for Gantner E Series

  • Page 1 e.bloxx Communication Guide Vers.-No. 12...
  • Page 3 Communication © © © © Copyright 2003 by GANTNER INSTRUMENTS TEST & MEASUREMENT GMBH, Schruns (Austria). Copyrights: Operating instructions, manuals and software are protected by copyright ©. All rights are reserved. Copying, duplication, translation, installation in any electronic medium or machine-readable form in whole or in part is prohibited.
  • Page 4 Communication HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 5 10. Do not attempt yourself to repair an appliance after a defect, failure or damage, or to put it back into operation again. In such cases, it is essential you contact either your customer adviser or the Gantner Instruments Test &...
  • Page 6 12. Although every care is taken and we are continuously aiming for improvement, we cannot exclude completely the possibility of errors appearing in our documentation. Gantner Instruments Test & Measurement GmbH therefore accepts no responsibility for the completeness or the accuracy of this manual. The right is reserved to make alterations, and we may carry out alterations at any time without giving prior notice.
  • Page 7: Table Of Contents

    Register Contents................................39 LOCAL-BUS PROTOCOL..............................43 6.1. General....................................43 6.2. Character Format ................................43 6.3. Transmission Order................................43 6.4. Primary Build-Up Of The Frame............................43 6.5. Data Format Coding ................................44 6.6. Baud Rate ..................................44 6.7. Communication Procedure..............................45 6.8. Command Table................................45 HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 8: About This Manual

    1, and is supported by the sensor modules in the PROFIBUS protocol as well as in the ASCII, MODBUS and LOCAL-BUS protocol. This character format is predefined with the e.bloxx modules and cannot be changed. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 9: Output Format

    (dec - 32768) ≤    i    ≤  (dec +32767) Real 4 byte (dec - 2 ) ≤ x ≤ (dec + 2 Table 2.4 Format settings for transmission in the MODBUS-format Example: The value 50.3094 cm shall be displayed. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 10 With a transmission in PROFIBUS and MODBUS format no identification key is given in case of an overflow. The number of decimals must, however, not be selected too large, if the value is to be transmitted in integer format (range of values in integer format limited to -32768 to +32767). HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 11: Ascii Protocol

    3max 3max timeout) can be adjusted by means of the Configuration Software ICP 100. The default values for the time T is 1 CT 2min and for the time T 60 sec. 3max HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 12: Telegram Format

    ReqDataUnit: Request-Data-Unit (Length = 1 ... n byte): The Request-Data-Unit identifies a data field in the request telegram, which contains data for the communication partner with the DA address. ResDataUnit: Response-Data-Unit (Length = 1 ... n byte): HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 13 With a request, where no data are returned, the proper performance of the instruction is acknowledged by an "Acknowledge"-character (hex 06). NAK: No-Acknowledge (length = 1 byte): When a request has not been performed in correct way, a "No Acknowledge" (hex 15) is sent back. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 14: Instruction Set

    ASCII - String z..z status information ASCII - String b..b variable information ASCII - String d..d variable value max. 8 ASCII - String Table 3.4 Explanation of command characters in ASCII-protocol HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 15: Instruction Parameters

    <variable type> ASCII 1 char <variable name> ASCII 20 char <data format> ASCII 1 char <field length> ASCII 1 char <decimals> ASCII 1 char <unit> ASCII 4 char <host input> ASCII 1 char HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 16 ASCII "1": BOOL ASCII "4": INTEGER ASCII "6": LONG INTEGER ASCII "8": REAL ASCII "9": SET 8 Coding <host input>: ASCII "0": host input is not possible ASCII "1": host input is possible (tare/reset/dig.out/setpoint values) HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 17: Profibus Protocol

    T The PROFIBUS-DP is running on the e.bloxx devices as software stack and is not based on an ASIC-device. The PROFIBUS ID number for the e.bloxx modules is 6782 in hex format. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 18: Diagnostic Data

    Diagnostic bits 0 to 7 will indicate module specific messages. Bits 8 to 23 are assigned to the variables 1 to 16 of each module. Each module transmits 3 bytes, even though not all bits may be occupied for the module type. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 19 Error for variable 14 (sensor break, linearisation error) Error Var 15 Error for variable 15 (sensor break, linearisation error) Error Var 16 Error for variable 16(sensor break, linearisation error) Table 4.3 - Diagnostic Data Decoding Table HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 20: Launching Profibus-Dp Communication With A Hilscher Master

    The newest e.bloxx GSD file (GEA6782.gsd, shipped with the ICP 100 software and located in the \GSD directory in the installation directory of ICP 100 or directly received from the Gantner Instruments Test & Measurement GMBH) has to be copied to the directory "\Fieldbus\Profibus\GSD" in the SyCon installation directory.
  • Page 21 • Now you have to set the correct process interface settings. Therefore open the "DP Master Settings" window and in this window you have to mark "Buffered, device controlled" in the "Handshake of the process data" field in order to guarantee data consistency in transfer between master and user application. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 22 (1) in the window "Slave Configuration". • The configuration of an e.bloxx module is done in the Configuration Table of the Configuration Software ICP 100 (see next picture). HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 23 • In order to activate the configuration, select the master again and perform a "Download ...". • The last step is to switch on the "Start Debug Mode”, so that successful or erroneous working of system can be viewed. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 24 Communication PROFIBUS PROTOCOL HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 25: Profibus-Dp Configuration For A Siemens S7-300

    • Insert a new SIMATIC 300 Station. Therefore select the menu item "Station" -> "2 SIMATIC 300-Station" in the menu "Insert". • Now click on the new entry for the SIMATIC 300 Station. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 26 • Open the directory "SIMATIC 300" in the list field on the right side of this windows. Then go to the sub-directory RACK-300. There you find the entry "Profile Rail". Click on this entry and drag it with the mouse onto the main window (see next picture). HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 27 • On the right list field open the directory "SIMATIC 300". Then open the sub-directory PS-300. There you find the entry PS 307 2A for the power supply. Drag this entry into the first channel of the Profile Rail Element (see next picture). HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 28 • When the SPS controller is dropped into the second line of the Profile Rail Element the following window will be opened. • In this window change to the register card "Parameters" and press the button "New…". The following window will be opened. • Go to the register card "Network Settings". HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 29 Note: The option "activate cyclic distribution of pus parameters" must not be activated (no check mark). This option  may only be used in a pure Siemens -DP system with special care. • Now confirm all settings with "OK". The main window of the SIMATIC Manager will be shown again. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 30 "PROFIBUS-DP" on the right side of the window. In the sub-directories "Further Fieldbus Devices" -> "I/O" click on "e.bloxx" and drag that entry onto the PROFIBUS-DP line in the main window. A small box will be shown for the e.bloxx and it will be attached automatically to the PROFIBUS-DP line. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 31 (3). Slot 0 indicated channel 1, slot 1 indicated channel 2, etc.. • The configuration of the channels of an e.bloxx module is done in the Configuration Table of the Configuration Software ICP 100 (see next picture). HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 32 • Now you have to save and translate the defined configuration. Therefore select the menu item "Save and Translate" in the menu "Station". • You get back to the hardware configuration window of the SIMATIC Manager. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 33 The copies must have the names "OB80", "OB81", "OB82", "OB85", "OB86", "OB87", "OB121" and "OB122". ® • With the button "Load" the complete SIMATIC project must now be sent to the Siemens S7-300. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 34: Modbus-Protocol

    (communication timeout) can be 2min 3max 3max adjusted by means of the Configuration Software ICP100. The default value for T is 1 CT and for T it is 60 sec. 2min 3max HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 35: Telegram Format

    Read holding register (read/write register) 04 hex Read input register (read only register) 06 hex Preset single register 08 hex Diagnostic 10 hex Preset multiple register Table 5.2 - MODBUS commands supported by the e.bloxx modules HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 36 REGSTA ..Address of the first register to be read REGNUM ...Number of registers to be read BYTNUM ..Number of databytes (max. 64) D0 - Dn ..Data bytes (max. 64) CRC ...Check sum CRC polynomial: u CRC start value: hex FFFF HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 37 REGNUM .. Number of registers to be read BYTNUM ... Number of databytes (max. 64) D0 - Dn ..Data bytes (max. 64) CRC ... Check sum CRC polynom: u CRC start value: hex FFFF HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 38 ADR ....ISM address (hex 00..7F) FNR ....Function number (hex 06) REGADR ..Address of the register to be written DATA ..Data word (hex 0000..FFFF) CRC ...Check sum CRC polynomial: u CRC start value: hex FFFF HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 39 ADR ... ISM address (hex 00..7F) FNR ... Function number (hex 08) SUBFCT ..Subfunction number (hex 0000) DATA ..Data word (hex A537) CRC ... Check sum CRC polynomial: u CRC start value: hex FFFF HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 40 REGSTA ..Address of the first register to be written REGNUM ...Number of registers to be written BYTNUM ..Number of databytes (max. 64) D0 - Dn ..Data bytes (max. 64) CRC ...Check sum CRC polynomial: u CRC start value: hex FFFF HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 41: Register Contents

    After a writing command for this variable the new set value will be taken over. Digital Output Variable (Host Output): A writing command for this variable will set the corresponding variable to '1' or '0' respectively. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 42 3-wire technique hex 5 resistance 4-wire technique hex 6 bridge 4-wire technique hex 7 bridge 6-wire technique hex 8 thermocouple internal hex 9 thermocouple external hex A cold junction terminal 1 hex B potentiometric HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 43 Type Content Length 0400..XXXX....ro ...... vendor name ("Gantner,") ..............1..32 char XXXX..XXXX .....ro ...... model name (<type of module>,) ............1..32 char XXXX..XXXX .....ro ...... hw version ("xy.yy,") ................1..8 char XXXX..XXXX .....ro ...... sw version ("xy.yy,") ................1..8 char HB_EBLOXX_COM_E_V12.doc...
  • Page 44 If the bit Kn in the variable status is set it indicates that an error has occurred in variable n. A variable error is given when the measuring value is outside of the linearization, e.g. in consequence of a sensor break down or of a short circuit of transmission. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 45: Local-Bus Protocol

    FCS: ... Frame check sequence of the frame: CHAR FCS = (Addr + L + CMDXX + RequDATA[...]) mod 256 6.4.2. Response Frame Positive Without Data SQ ....Short quit; one single character: 0xE5 CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 46: Data Format Coding

    CHAR STRING ... a different number of following CHAR 6.6. Baud Rate For communication the baud rates 19.2 kbit/s, 38.4 kbit/s, 57.6 kbit/s, 93.75 kbit/s, 115.2 kbit/s, 187.5 kBit, 500 kbit/s and 1.5 Mbit/s are available. HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 47: Communication Procedure

    Set single variable GetDeviceIdent 13 (0x0D) Get device identification GetSingleVarEx 20 (0x14) Get single variable extended SetSingleVarEx 21 (0x15) Set single variable extended Table 6.1 - Command Table M ... Mandatory Type: O ... Obligatory HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 48 FCS .....Frame check sequence of the ACK response CHAR Not Acknowledge: ADDR ErrorCode FCS L ....Length of the data: 0x01 CHAR ErrorCode ...Command not available/invalid: 0x01 CHAR FCS .....Frame check sequence of the NAK response CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 49 FCS .... Frame check sequence of the ACK response CHAR Not Acknowledge: ADDR ErrorCode FCS L....Length of the data: 0x01 CHAR ErrorCode... Command not available/invalid: 0x01 CHAR FCS .... Frame check sequence of the NAK response CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 50 FCS .....Frame check sequence of the ACK response CHAR Not Acknowledge: ADDR ErrorCode FCS L ....Length of the data: 0x01 CHAR ErrorCode ...Command not available/invalid: 0x01 CHAR FCS .....Frame check sequence of the NAK response CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 51 FCS .... Frame check sequence of the request CHAR Response Telegrams Acknowledge: Not Acknowledge: ADDR ErrorCode FCS L....Length of the data: 0x01 CHAR ErrorCode... Command not available/invalid: 0x01 CHAR FCS .... Frame check sequence of the NAK response CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 52 L ....Length of the data: max. 0xFF CHAR L1 ....Length of the vendor string: max. 0x14 CHAR VENDOR..The vendor of the slave: e.g. "Gantner" CHAR STRING L2 ....Length of the device type string: max. 0x14 CHAR DEVTYPE ...The type of the device: e.g. "e.bloxx A1-1"...
  • Page 53 FCS .... Frame check sequence of the ACK response CHAR Not Acknowledge: ADDR ErrorCode FCS L....Length of the data: 0x01 CHAR ErrorCode... Command not available/invalid: 0x01 CHAR FCS .... Frame check sequence of the NAK response CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 54 FCS .....Frame check sequence of the request CHAR Response Telegrams Acknowledge: Not Acknowledge: ADDR ErrorCode FCS L ....Length of the data: 0x01 CHAR ErrorCode ...Command not available/invalid: 0x01 CHAR FCS .....Frame check sequence of the NAK response CHAR HB_EBLOXX_COM_E_V12.doc Gantner Instruments Test & Measurement GmbH...
  • Page 55 Notice: Information in this manual are valid from June 17 2005 until revocation. Further changes and completion of the manual are reserved and possible without notice.
  • Page 56 . g a n t n e r - i n s t r u m e n t s . c o m Gantner Instruments Test & Measurement GMBH Montafonerstraße 8 • A-6780 Schruns/Austria Tel.: +43 (0)5556-73784-410 • Fax: +43 (0)5556-73784-419...

This manual is also suitable for:

E.bloxx

Table of Contents