impac pyrometer ethernet tcp/ip protocol converter...andheri kurla road andheri east, mumbai 400072...

25
Operation Manual IMPAC Pyrometer Ethernet TCP/IP Protocol Converter

Upload: others

Post on 20-Oct-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

  • MANUAL

    OPE

    RATIONMANUAL

    MANUAL

    Ope

    ratio

    nMan

    ual

    IMPAC PyrometerEthernet TCP/IP Protocol Converter

  • Confidential InformationThe material contained herein consists of information that is the property of LumaSenseTechnologies and intended solely for use by the purchaser of the equipment described in thismanual. All specifications are subject to change without notice. Changes are made periodicallyto the information in this publication, and these changes will be incorporated in new editions.

    LumaSense Technologies prohibits the duplication of any portion of this manual or the usethereof for any purpose other than the operation or maintenance of the equipment describedin this manual, without the express written permission of LumaSense Technologies.

    Copyright

    © LumaSense Technologies 2016. All rights reserved.

    Trademarks

    IMPAC is a trademark of LumaSense Technologies.

    All other trademarks are trademarks, registered trademarks, and/or service marks of theirrespective holders.

    Service Centers

    LumaSense Technologies, Inc.North AmericaSales & Service3301 Leonard CourtSanta Clara, CA, 95054Ph: +1 800 631 0176Ph: +1 408 727 1600Fax: +1 408 727 1677

    LumaSense Technologies GmbHOther Than North AmericaSales & SupportKleyerstrasse 9060326 Frankfurt, GermanyPh: +49 (0)69 97373 0Fax: +49 (0)69 97373 167

    Global and Regional Centers

    Our HeadquartersLumaSense Technologies, Inc.3301 Leonard CourtSanta Clara, CA, 95054Ph: +1 800 631 0176Fax: +1 408 727 1677

    Americas, Australia, & Other AsiaLumaSense Technologies, Inc.3301 Leonard CourtSanta Clara, CA, 95054Ph: +1 800 631 0176Fax: +1 408 727 1677

    Europe, Middle East, AfricaLumaSense Technologies GmbHKleyerstrasse 9060326 Frankfurt, GermanyPh: +49 (0) 69 97373 0Fax: +49 (0) 69 97373 167

    BrazilLumaSense, Vendas BrasilRua Ataliba Camargo Andrade,172/sl 112Campinas, SP – 13025-290BrasilPh: +55 19 3367 6533Fax: +55 19 3367 6533

    IndiaLumaSense Technologies, India514, A Wing, Sagar Tech Plaza,Sakinaka Junction,Andheri Kurla RoadAndheri East, Mumbai 400072IndiaPh: + 91 22 67419203Fax: + 91 22 67419201

    ChinaLumaSense Technologies, ChinaRm 1004,No. 1607 South Pudong RdPudong New AreaShanghai, 200122ChinaPh: +86 133 1182 7766Fax: +86 21 5877 2383

    E-mail [email protected] [email protected] [email protected] http://www.lumasenseinc.com

    Part No 3 852 555-ENRevision BApril 2016

  • Ethernet TCP/IP Protocol Converter General ∂ 3

    Contents

    1 General ........................................................................................................................... 5

    1.1 Ethernet TCP/IP Protocol Converter ...................................................................... 5

    1.2 Legend ................................................................................................................... 5

    1.3 Terminology ........................................................................................................... 5

    2 Technical Data................................................................................................................ 7

    2.1 Electrical Characteristics ....................................................................................... 7

    2.2 Mechanical characteristics .................................................................................... 7

    2.3 Ethernet TCP/IP ...................................................................................................... 7

    2.4 Interface RS485/RS232 ........................................................................................... 7

    2.5 EMC ........................................................................................................................ 7

    3 Connections ................................................................................................................... 9

    3.1 Device Labeling ..................................................................................................... 9

    3.2 Connector X1 to the pyrometer bus (RS-interface) ............................................. 9

    3.3 Connector X2 supply voltage .............................................................................. 10

    3.4 Connector X3 Ethernet 10/100 BASE/T ................................................................ 10

    3.5 Shield ................................................................................................................... 10

    3.6 Electrical Installation .......................................................................................... 10

    3.7 Pyrometer Bus Wiring ......................................................................................... 10

    3.8 LEDs Status Indicator .......................................................................................... 11

    4 Ethernet ....................................................................................................................... 13

    4.1 Network-addresses, network-connections ......................................................... 134.1.1 IP-Address .......................................................................................................... 134.1.2 Netmask ............................................................................................................. 134.1.3 Data Port ........................................................................................................... 13

    4.2 TCP-connection setup .......................................................................................... 13

    4.3 IT-Functions .......................................................................................................... 13

    5 Communication Modes and Boot-up Sequence ......................................................... 15

    5.1 Polling Mode ........................................................................................................ 155.1.1 Request string structure .................................................................................... 155.1.2 Data Format UPP (Universal Pyrometer Protocol) ............................................. 15

    5.2 Burst Mode .......................................................................................................... 175.2.1 Data Format of Measuring Values in Burst Mode ............................................. 17

    5.3 Coverter Commands ............................................................................................ 17

  • Ethernet TCP/IP Protocol Converter General ∂ 4

    5.3.1 Data Rate (TI = Sample Time) ............................................................................ 175.3.2 Change between Polling and Burst mode (IF = Interface) ................................ 185.3.3 Converter Baud rate (BR = Baud rate) ............................................................... 185.3.4 Converter Software version (VE = Software version) ........................................ 185.3.5 Dataport (DP = Dataport) .................................................................................. 195.3.6 Ethernet Settings (IP = IP Settings) .................................................................... 195.3.7 Number and Addresses of devices (DN = Device Number)................................ 20

    5.4 Notes for Programming ...................................................................................... 20

    5.5 Example Program for a S7-1200 ......................................................................... 20

    6 Dimensional Drawing .................................................................................................. 23

    Index .................................................................................................................................. 25

  • Ethernet TCP/IP Protocol Converter General ∂ 5

    1 General

    1.1 Ethernet TCP/IP Protocol ConverterThe RS232/485 – Ethernet TCP/IP – converter is designed for the connection of digital LumaSensePyrometers to the Ethernet network. Devices equipped with RS232 (max 1 device) and RS485(1 … 32 devices) UPP interfaces can be connected to the converter. The pyrometers can be readand parameters can be passed to them via the Ethernet. The converter operates as master onthe RS485 bus and as server on the Ethernet network. The data is transferred between thepyrometer and the converter via an RS485 or RS232 interface. The data from the converter tothe control system is transferred using the Ethernet protocol.

    It is possible to connect up to 32 pyrometers with RS485 UPP Interface to one converter.

    The device features 1 Ethernet port. The data is exchanged via a Dual-RAM memory.

    The length of the cable between the pyrometer and the converter should not exceed 20 m whena device with an RS232 interface is used.

    1.2 Legend

    Note: The note symbol indicates tips and useful information in this manual. All notesshould be read to effectively operate the instrument.

    Attention: This sign indicates special information which is necessary for a correcttemperature measurement.

    Warnings and Cautions: The general warnings and cautions symbol signifies thepotential for bodily harm or damage to equipment.

    MB Shortcut for Temperature range (in German: Messbereich)

    1.3 TerminologyThe used terminology corresponds to the VDI- / VDE-directives 3511, part 4.

  • Ethernet TCP/IP Protocol Converter General ∂ 6

    To ensure consistent document formatting, this page was intentionally left blank.

  • Ethernet TCP/IP Protocol Converter Technical Data ∂ 7

    2 Technical Data

    Order Number: 3 852 650

    2.1 Electrical Characteristics

    Supply voltage: 10…33 VDC, shielded twisted-pair

    Current consumption at 24 VDC: Typ. 120 mA, max 150 mA

    Reverse voltage protection: Yes

    Short-circuit protection: Yes

    Overload protection: Poly-Switch, Thermal fuse

    Undervoltage detection (USP): ≤ 9V DC

    2.2 Mechanical characteristics

    Housing size (W x H x D): 23 x 100 x 115 mm

    Weight: 140 g

    Mounting: Top hat rail DIN EN 50 022

    Protection class: IP 20 according to IEC 529

    Ambient temperature: -25 ºC ... +85 °C

    Relative humidity: Max. 80%

    2.3 Ethernet TCP/IP

    Addressing: per IP-Address and data port

    Cycle time: 640 ms for 32 Pyrometers at 19200 Baud

    2.4 Interface RS485/RS232

    Transmission method: Master/Slave

    Number of users: RS485: 1…32 or RS232: 1

    Transmission rate: 9600…115200 Baud (19200 setting ex works)

    Bus topology: Line/Point-to-point

    2.5 EMC

    CE-sign: according to EU guidelines

    Immunity to disturbance: EN 61000-6-2 (2005)

    Transient emissions: EN 55011, cl. A (2007)

  • Ethernet TCP/IP Protocol Converter Technical Data ∂ 8

    To ensure consistent document formatting, this page was intentionally left blank.

  • Ethernet TCP/IP Protocol Converter Connections ∂ 9

    3 Connections

    3.1 Device Labeling

    Terminal labeling and termination

    Front panel: Rotary switches and LEDs

    3.2 Connector X1 to the pyrometer bus (RS-interface)

    Pin Name Color Function

    1 RX232 Black Receive signal

    2 TX232 Violet Transmit signal

    3 AP-GND Red Application Ground

    4, 6 RS485+ Black Data line RS485+ to pyrometer

    5, 7 RS485- Violet Data line RS485- to pyrometer

    Note: For operation on RS485 interface, pin 4 on connector X1 must be connected topin 6, and pin 5 must be connected to pin 7.

  • Ethernet TCP/IP Protocol Converter Connections ∂ 10

    3.3 Connector X2 supply voltageConnect converter to direct current (DC). Connecting an alternating current (AC) can damagethe device or result in it malfunctioning.

    Pin Name Color Function

    1 UB (Pwr) White 10..33 V supply voltage / DC

    2 0 V (Pwr) Brown 0 V supply voltage / DC

    3 N.C Do not connect

    4 N.C Do not connect

    3.4 Connector X3 Ethernet 10/100 BASE/TThe plug (labeled: RJ45 Ethernet) for the connection to the Ethernet is available on the bottomside of the device.

    Pin Name Function

    1 TD+ (RD+*) Transmission line+ (receive line+*)

    2 TD- (RD-*) Transmission line- (receive line-*)

    3 RD+ (TD+*) Receive line+ (transmission line+*)

    6 RD- (TD-*) Receive line- (transmission line-*)

    * The device supports “autocrossover”

    3.5 ShieldShielded twisted pair cables must be used for the supply!

    The shielding is to be connected with large surface on the mating connector housing!

    The connection to the potential equalization automatically takes place when the device ismounted on the DIN-rail. Ground the top hat rail to which the converter has been clipped. Theconnection wire must have a cross section of at least 10 mm².

    3.6 Electrical InstallationConnect the 24 VDC power supply on the connector X2 to clamp 1 (24 V) and 2 (0 V). Thepyrometer bus will be connected on the connector X1 to clamps 4 and 5 (for RS485) or clamps 1und 2 (for RS232). For operation with RS485 the pin 4 on connector X1 must be connected to pin6, and the pin 5 must be connected to pin 7. The rotary switches S4 and S5 must be set to 0.

    If the converter is physically the first or last device in an RS485-bus then the bus must beterminated. The RS485- switch must be set to ON, the RS485+ switch has to be on OFF. Theresistor integrated in the converter is activated. In all other cases leave the switches in theirs OFFposition. The data cable of the pyrometer must always form an in-line connection between thefirst and the last node. This in-line connection must end with a terminator.

    3.7 Pyrometer Bus WiringThe pyrometer’s A1, B1 connectors need to be wired to the A2, B2 connectors of the previouspyrometer in the bus so that a series connection of the devices in the RS485 bus is created. Bothends of the RS485-bus must be terminated with a 120 Ohm resistor. For the wiring of the RS485we recommend the PROFIBUS-wires made by Siemens.

  • Ethernet TCP/IP Protocol Converter Connections ∂ 11

    The following picture illustrates the RS485 interface connection of 3 pyrometers to theconverter.

    Nr. Color code of pyrometer cable Signal

    1 Black B1 (RS485+)

    2 Violet A1 (RS485-)

    3 Gray-pink B2 (RS485+)

    4 Red-blue A2 (RS485-)

    5 Red Buswire shielding

    Note: The shield of pyrometer cable (orange) must not connect to the shield of the buscable.

    3.8 LEDs Status IndicatorThe converter provides eleven integrated LEDs indicating the converter operating status andeventually error messages. In particular upon commissioning and in case of error they providethe first information on the system status.

    LED “(Ethernet) State”

    State DescriptionGreen constantly Connection established and active / the TCP communication socket has

    been established in the converterGreen blinking

    No communication establishedGreen/Red blinking Converter is waiting for Ethernet initializationRed constantly General network error

    LED “Link / Act”

    State DescriptionOFF No bus connectionGreen constantly Connection is established, but no activity. The converter is on a fully

    functional network.Green blinking Connection and communication is active

    on

    off

    blinking200 ms

    200 ms

  • Ethernet TCP/IP Protocol Converter Connections ∂ 12

    LED “(Ethernet) Power”

    State DescriptionOFF Power OFFGreen Indicates power is good on the Ethernet side

    LED “Full Duplex”

    State DescriptionGreen blinking The data transmission is full duplex

    LED “100 MB”

    State DescriptionGreen constantly The data communication occurs on the Ethernet LAN with 100 Mbit

    LED “Power” (Serial Interface)

    State DescriptionOFF Power OFFGreen Indicates power is good on the Serial Interface side

    LED “State” (Serial Interface)

    State DescriptionGreen constantly Data exchange in burst mode with pyrometerGreen blinking Data exchange in polling mode with pyrometerRed constantly General converter errorRed blinking Parameter Error

    LEDs 1/2/4/8

    Constantly DescriptionID1 Sending data to pyrometerID2 Waiting for answer from pyrometerBaud Rate display 9600 Baud 19200 Baud

    factory default38400 Baud 115200 Baud

    ID4 OFF ON OFF ONID8 OFF OFF ON ON

  • Ethernet TCP/IP Protocol Converter Ethernet ∂ 13

    4 Ethernet

    To use the Ethernet converter with a client system platform independent commands and datacan be ex-changed by TCP/IP. The converter was designed to act as a TCP/IP server.

    The network settings can be changed only if the converter is in polling mode.

    4.1 Network-addresses, network-connectionsAfter switching on, the converter is waiting for data communication with a network-participant.In this case the converter is always prepared to react to ICMP messages (e. g. PING Request andReply). The functions of the ARP-protocol are also available.

    4.1.1 IP-Address

    The factory setting for the IP-address is 192.168.1.1, the IP-Address is modifiable by using thedelivery software “InfraWin-ET”.

    4.1.2 Netmask

    If the IP-Address is outside of the IP-Address range and/or the IP-Address range is subdivideddifferently, the netmask must be modified using the software “InfraWin-ET”.

    4.1.3 Data Port

    The TCP-transfer to send and receive is realized using the data port “default 2000”. Should thisbe a problem (e.g. due to a firewall), the port may be modified using the software“InfraWin-ET” or per software command.

    4.2 TCP-connection setupIn the characteristic application in the TCP/IP-protocol, after switching on, the converter is in thestate "Passive Open" under an IP-Address and port number that was determined in theconfiguration. A connection must be established on the TCP/IP level before data can beexchanged. From this point onwards, commands can be sent from the client to the converter.After successful connecting, a full duplex data connection is available. The data stream isprotected by the TCPI/IP-protocol in both directions.

    4.3 IT-FunctionsThe Ethernet converter also supports functions like Webserver and FTP functions. The ITfunctions can be used simultaneously with the Ethernet communication.

  • Ethernet TCP/IP Protocol Converter Ethernet ∂ 14

    To ensure consistent document formatting, this page was intentionally left blank.

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 15

    5 Communication Modes and Boot-upSequence

    The converter implements two separate communication modes, Polling mode and Burst mode,which are not active at the same time. The default mode of operation is the polling mode andthis is the mode the converter always enters following power-up.

    The two modes are not active at the same time, but the user can command the converter toswitch from one mode to the other. The details of each mode and how to switch between themis described in the following sections.

    5.1 Polling ModeThe Polling mode is a polled protocol in ASCII format, which allows the direct access to thepyrometer. The client system sends a request message to the pyrometer to obtain a readingvalue and the pyrometer sends a response message containing the requested value. In this casethe UPP command has to be sent as ASCII sequence corresponding to the manual of thepyrometer with address byte.

    5.1.1 Request string structure

    The data exchange occurs in ASCII format. These commands are ignored in burst mode.

    ∂ The device responds to the entry of a command with: output (e.g. the measuring value) + CR(Carriage Return, ASCII 13), to pure entry commands with "ok" + CR, or "no" + CR.

    ∂ Every command starts with the 2-digit device address AA, followed by two lower casecommand letters, and is finished with CR.

    ∂ The ASCII parameter "X” indicates a change to be made in a parameter. When used, thecommand contains the new value.

    ∂ A “?“ after the lower case command letters answers with the limits of the respective settings(only at setting commands, not at query commands).

    To take a look at the commands and a short description, please see Section 5.1.2.

    Example:Set emissivity of pyrometer with the address 05 to 60%:Request string: “05em0600” + in hexadecimal “30 35 65 6D 30 36 30 30 0D”Response string: “ok” + in hexadecimal “6F 6B 0D”

    By simply replacing the pyrometer address from example 05 to 06 you can issue this command tothe next pyrometer.

    5.1.2 Data Format UPP (Universal Pyrometer Protocol)

    Description Command ParametersReading temperaturevalue:

    AAms Output: XXXXX (dec., in 1/10 °C or °F) (77770 = Instrument’s temperature too high 88880 = temperature overflow)

    Emissivity: AAemXXXX XXXX = (0100 ... 1000‰) (decimal)Ambient temperaturecompensation:

    AAutXXXX XXXX = value of ambient temperature, 4-digit, hex XXXX e.g. FFEC corresponds to -20 degrees - 99 dez = FF9D hex means: automatic, no manual compensation

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 16

    Exposure time t90: AAezX X = 0 ... 6 (decimal) 0 = intrinsic time constant of the device 1 = 0.01 s 3 = 0.25 s 5 = 3.00 s 2 = 0.05 s 4 = 1.00 s 6 = 10.00 s

    Clear times of themaximum valuestorage:

    AAlzX X = 0 ... 9 (decimal) 0 = Maximum value storage off 1 = 0.01 s 4 = 1.00 s 7 = external deletion 2 = 0.05 s 5 = 5.00 s 8 = automatically deletion 3 = 0.25 s 6 = 25.00 s 9 = Hold

    External clearing: AAlx Clearing the max. value storage (only with lz = 7,external)Analog output: AAasX X = 0…1 0 = 0…20 mA; 1 = 4…20 mAReading basictemperature range:

    AAmb Output: XXXXYYYY (hex 8-digit, °C or °F) XXXX = beginning of temp. range

    YYYY = end of temp. rangeReading temperaturesub range:

    AAme Output: XXXXYYYY (hex 8-digit, °C or °F) XXXX = beginning of temp. range YYYY = end of temp. range

    Setting temperaturesub range:

    AAm1XXXXYYYY XXXX (hex 4-digit) beginning of temp. range (°C or °F)YYYY (hex 4-digit) end of temp. range (°C or °F)

    Baud rate: AAbrX X = 0 ... 6 or 8 (decimal) 0 = 1200 baud 3 = 9600 baud 6 = 2400 baud 1 = 2400 baud 4 = 19200 baud 7 (is not allowed) 2 = 4800 baud 5 = 38400 baud 8 = 115200 baud

    Temp. display °C / °F AAfhX Output: X = 0: display in °C; X = 1: display in °FAddress: AAgaXX XX = (00 … 97)

    00 … 97 = regular device addresses 99 = Global address with response 98 = Global address without response (only setting commands!)

    Wait time: AAtwXX XX = 00...99 (decimal, in bit time of the current baud rate)Internal temperature: AAgt Output: XXX (dec. 000 ... 099 °C, 032 ... 210 °F)Max. internaltemperature:

    AAtm Output: XXX (dec. 000 ... 099 °C, 032 ... 210 °F)

    Error status: AAfs Output: XX; XX=00…FF (00 = no error) (01…FF: error code for LumaSense service)

    Laser targeting light: AAlaX X = 0 switch off laserX = 1 switch on laser

    Reading parameters: AApa Output 11-digit, decimal: Digit 1 und 2 (10...99 or 00): Emissivity Digit 3 (0 ... 6): Exposure time Digit 4 (0 ... 8): Clear time max. storage Digit 5 (0 ... 1): Analog output Digit 6 und 7: (00 ... 98): Internal temperature Digit 8 und 9 (00 ... 97): Address Digit 10 (0 ... 6 or 8): Baud rate

    Digit 11 (0,1, 3): Keyboard lockDevice type: AAna Output: “pyrometer name” (16 ASCII-characters)Serial number: AAsn Output: XXXXX (dec. 5-digit)Device type /software version:

    AAve Output: XXYYZZ (6-digit decimal) XX = 65 YY = Month of software version

    ZZ = Year of software versionDetailed Softwareversion:

    AAvs tt.mm.yy XX.YYtt = day; mm = month; yy = year; XX.YY = software version

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 17

    Reference number: AAbn Output: XXXXXX (hex 6-digit)

    Note: the letter “l” means the small type of “L”.

    5.2 Burst ModeThe burst mode establishes “streaming” data flow from the converter with a selected samplerate to the user’s client system. The simplicity of this protocol allows for the maximum data ratemeasurements. The data is “streaming” asynchronous and therefore the client system mustreceive it carefully. There are only limited commands supported in the Burst mode, such as“Start”, “Stop” sending readings, Setting the “Sample rate”, “Dataport”, “IP-Settings”, “Baudrate” and “Device number”.

    Note: Once you enter Burst Mode, the converter will no longer accept UPP commands.

    5.2.1 Data Format of Measuring Values in Burst Mode

    All measuring values recorded at a time are combined into a measuring value frame with fixedsize (one measuring value per pyrometer) and then transmitted together as a TCP packet.

    Name Format Bytes Function

    Index 16 Bit (Word) 2 0.. 65535 / every record contains a new number,so that the client system can detect duplicatedata and skipped records

    Statusbits 32 Bit 4 Error bits, every bit represents the status of onedevice – is the value of a bit 1, then temperatureis invalid (timeout)(bit 0= device 1, bit 31 = device 32)

    Temperature 1 32 Bit (Float) 4 Temperature device 1 in °C or °F depending onthe Pyrometer type

    Temperature 2 32 Bit (Float) 4 Temperature device 2 in °C or °F depending onthe Pyrometer type

    … … … …

    5.3 Coverter CommandsEach command to the converter starts with a $ character followed by two bigger case commandletters and finished with CR. The ASCII parameter “X” indicates a change to be made in aparameter. When used, the command contains the new value.

    5.3.1 Data Rate (TI = Sample Time)

    This command changes the sample time in ms for the measuring values transmission. The datarate only works in burst mode (no effect in polling mode). Initially the data rate is set to “0”.

    TI = Sample Time

    Command "$TIXXXXX" +

    XXXXX = designated new sample time in msRange = 00001…60000 (1 ms to 60 s)Example: "$TI01000" + (It will set a sample time of 1 s)

    "24 54 49 30 31 30 30 30 0D" in hexadecimal

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 18

    Response "ok" + by correct request string"no" + by incorrect request stringno acknowledgment is issued in burst mode

    Request the sample timeCommand “$TI” + Response "XXXXX" +

    The set sample time in ms

    5.3.2 Change between Polling and Burst mode (IF = Interface)

    This command switches between Polling mode and Burst mode. It can also be used for startingand stopping the Burst mode.

    IF = InterfaceCommand "$IFX" +

    X = 0 Polling mode / Burst stopX = 1 Burst mode / Burst start

    Response "ok" + by correct request string"no" + by incorrect request string

    5.3.3 Converter Baud rate (BR = Baud rate)

    This command changes the baud rate of the serial interface RS232/485 of the converter. Theconnected pyrometer and the converter must have the same baud rate. Initially the baud rate isset to “19200”.

    BR = Baud rateCommand "$BRX" +

    X = designated new BaudrateRange = 1...4 1 = 9600 baud 3 = 38400 baud 2 = 19200 baud 4 = 115200 baud

    Example: "$BR2" + (It will set a baud rate of 19200) "24 42 52 32 0D" in hexadecimal

    Response "ok" + by correct request string"no" + by incorrect request stringno acknowledgment is issued in burst mode

    Request the DataportCommand "$BR" + Response "X" +

    The set baud rate

    5.3.4 Converter Software version (VE = Software version)

    This command requests the current software version of the converter, including date.

    VE = VersionCommand "$VE" + Response "VX.YY tt.mm.jj" +

    X.YY = software versiontt = day; mm = month; jj = year

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 19

    5.3.5 Dataport (DP = Dataport)

    This command changes or reads the TCP dataport. The new dataport is activated after a restartof the converter. Initially the dataport is set to “2000”.

    DP = Dataport

    Command "$DPXXXXX" +

    XXXXX = designated new DataportRange = 01024…65535

    Example: "$DP03000" + (It will set a dataport of 3000) "24 44 50 30 33 30 30 30 0D" in hexadecimal

    Response "ok" + by correct request string"no" + by incorrect request stringno acknowledgment is issued in burst mode

    Request the Dataport

    Command “$DP” + Response "XXXXX" +

    The set dataport

    5.3.6 Ethernet Settings (IP = IP Settings)

    This command sets or requests the IP-Settings of the converter. The IP-Address, Subnet andGateway must be valid in form a.b.c.d, with a, b, c, d from 0 to 255.

    Attention: The IP-Settings will take effect immediately after the command is executed.The converter will perform a software reset and the new settings will be activated.

    IP = IP SettingsCommand "$IPxxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz.zzz.zzz.zzz" +

    xxx.xxx.xxx.xxx = IP-Addressyyy.yyy.yyy.yyy = Subnet-Addresszzz.zzz.zzz.zzz = Gateway-Address

    Example: "$IP192.168.115.020 255.255.255.000 000.000.000.000"+ "24 49 50 31 39 32 2E 31 36 38 2E 31 31 35 2E 30 32 30 00 32 35 35 2E 32 35 35 2E 32 35 35 2E 30 30 30 00 30 30 30 2E 30 30 30 2E 30 30 30 2E 30 30 30 0D" in hexadecimal

    Response no acknowledgmentRequest settingsCommand "$IP" + Response "xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz.zzz.zzz.zzz" +

    The set IP-Settings

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 20

    5.3.7 Number and Addresses of devices (DN = Device Number)

    DN = Device NumberCommand "$$DNXXaabbccddeeff..." +

    XX = Number of pyrometer on the RS485 bus (Range = 01...32)aa = Bus address pyrometer 1 in ASCII-Format (Range = 00…97 )bb = Bus address pyrometer 2 in ASCII-Format (Range = 00…97 )cc = Bus address pyrometer 3 in ASCII-Format (Range = 00…97 )…

    Example: "$DN03000102" + (3 pyrometers are connected on RS485 bus with the addresses 00, 01 and 02) "24 44 4E 30 33 30 30 30 31 30 32 0D" in hexadecimal

    Response "ok" + by correct request string"no" + by incorrect request string

    Request the Device NumberCommand “$DN” + Response "XX" +

    The number of devices

    5.4 Notes for ProgrammingAs soon as the operating mode burst has been set, the converter begins to send data on theRS485 or RS232 bus. In order to avoid the propagation of invalid data it is mandatory that avalid data record in the parameter region has been set (operating mode, number of devices andbus address of devices).

    1. Set the device number and the bus address of the pyrometer with the softwarecommand “DN”

    2. Set operating mode to burst with the software command “IF”

    3. The data packets are a fixed size [6 Bytes + (4*number of devices)]

    4. The cycle time is [(20 ms*number of devices) + configured wait time]

    5.5 Example Program for a S7-1200Any Ethernet based programming tool can be used for connecting the Ethernet converter.The following example shows how the converter can be integrated into an Ethernetnetwork. The used control system is a Siemens PLC S7-1200.

    The converter operates as a server, the Ethernet connection is established by the PLC. For aSiemens PLC the following blocks are required. The function blocks TSEND_C and TRCV_Cmanage the client connection to the converter. The two blocks simplify the implementationof a client application by encapsulating the functionality of three function blocks TCON,TDISCON, and TSEND or TRCV.

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 21

    Send request string to the pyrometer:

    Receive Response string from pyrometer:

  • Ethernet TCP/IP Protocol Converter Communication Modes and Boot-up Sequence ∂ 22

    To ensure consistent document formatting, this page was intentionally left blank.

  • Ethernet TCP/IP Protocol Converter Dimensional Drawing ∂ 23

    6 Dimensional Drawing

    The Ethernet converter features protection type IP20 and is thus suitable for switch cabinetuse. The device is designed for snapping onto a 35 mm DIN-rail.

  • Ethernet TCP/IP Protocol Converter Dimensional Drawing ∂ 24

    To ensure consistent document formatting, this page was intentionally left blank.

  • Ethernet TCP/IP Protocol Converter ∂ 25

    Index

    B

    Boot-up Sequence 15

    Burst Mode 17

    C

    Changing Modes 18

    Communication Modes 15

    Connection cable 25

    Connections 9

    Connector X1 9

    Connector X2 10

    Connector X3 10

    Coverter Commands 17

    D

    Data Format UPP 15

    Device Labels 9

    Dimensional Drawing 23

    E

    Electrical Characteristics 7

    Electrical Installation 10

    EMC 7

    Ethernet 13

    Ethernet TCP/IP 7

    Example Program 20

    G

    General 5

    I

    Interface RS485/RS232 7

    IT-Functions 13

    L

    LED

    Status 11

    LEDs 11

    M

    Mechanical characteristics 7

    N

    Network connections 13

    Network-addresses 13

    P

    Pin-Belegung des Flanschsteckers 10

    Polling Mode 15

    Pyrometer Bus Wiring 10

    Pyrometer Protocol 15

    S

    Shield 10

    Status Indicator 11

    T

    TCP-connection 13

    Technical Data 7

    1 General1.1 Ethernet TCP/IP Protocol Converter1.2 Legend1.3 Terminology

    2 Technical Data2.1 Electrical Characteristics2.2 Mechanical characteristics2.3 Ethernet TCP/IP2.4 Interface RS485/RS2322.5 EMC

    3 Connections3.1 Device Labeling3.2 Connector X1 to the pyrometer bus (RS-interface)3.3 Connector X2 supply voltage3.4 Connector X3 Ethernet 10/100 BASE/T3.5 Shield3.6 Electrical Installation3.7 Pyrometer Bus Wiring3.8 LEDs Status Indicator

    4 Ethernet4.1 Network-addresses, network-connections4.1.1 IP-Address4.1.2 Netmask4.1.3 Data Port

    4.2 TCP-connection setup4.3 IT-Functions

    5 Communication Modes and Boot-up Sequence5.1 Polling Mode5.1.1 Request string structure5.1.2 Data Format UPP (Universal Pyrometer Protocol)

    5.2 Burst Mode5.2.1 Data Format of Measuring Values in Burst Mode

    5.3 Coverter Commands5.3.1 Data Rate (TI = Sample Time)5.3.2 Change between Polling and Burst mode (IF = Interface)5.3.3 Converter Baud rate (BR = Baud rate)5.3.4 Converter Software version (VE = Software version)5.3.5 Dataport (DP = Dataport)5.3.6 Ethernet Settings (IP = IP Settings)5.3.7 Number and Addresses of devices (DN = Device Number)

    5.4 Notes for Programming5.5 Example Program for a S7-1200

    6 Dimensional DrawingIndex