background image

CHAPTER 4 

COMMUNICATION PROTOCOLS 

4-13 

 

DC-24 and DC-25 operation manual 

 

4.1.

 

IP Address. Ethernet option 

Before being able to communicate with the display an IP address must be assigned. To 

assign  an  IP  address  the  DeviceInstaller  program  from  Lantronix  must  be  used,  which  can  be 
downloaded free from their website: 

www.lantronix.com

 

 

Seleccione: Support & Resources 

→ Get Support → Firmware. 

 

Seleccione: DeviceInstaller 

 

O

nce  the  program  is  installed  and  running,  press  the  “Search”  button  to  locate  the 

connected displays. The display must be turned on and connected to the network. 

If there are no network problems, a screen similar to this should be displayed. 

 

The IP address with which the equipment is supplied is: 10.30.90.10  

The Hardware Address is the unit MAC code. 

To assign the IP address you must first select the equipment by clicking on the XPort-03 

to which you wish to assign the address. Then press Assign IP and follow the instructions. 

IMPORTANT: All units are dispatched from the factory with the same IP address. 

Therefore  to  configure  various  units,  they  must  be  connected  to  the  Ethernet  and  the 
address must be assigned one by one. 

4.2.

 

Modifying the port settings.  

To modify the port configuration the DeviceInstaller program from Lantronix must be used, 

which can be downloaded free from their website:  

www.lantronix.com

 

 

Seleccione: Support & Resources 

→ Get Support → Firmware. 

 

Seleccione: DeviceInstaller 

 

Once  the  program  is  installed  and  running,  press  the  “Search”  button  to  locate  the 

connected displays. The display must be turned on and connected to the network. 

If there are no network problems, the same screen for configuring an IP address should 

be displayed. See 4.1 

“IP Address.”  

To access the setup you must first select the unit clicking on the XPort-03 that you wish 

to modify.  

Then press Web Configuration and the GO key placed at the right side of IP address. 

Содержание DC-24

Страница 1: ...1600K23G TETRALEC E I S L USER MANUAL DC 24 and DC 25 Thermometer and hygrometer ...

Страница 2: ...eset 3 1 3 1 1 Displays with several sensors 3 1 3 2 Programming parameters 3 1 3 2 1 Modify parameters RS 485 Ethernet or Wifi 3 2 3 3 RS 485 parameters 3 3 3 3 1 Parameter 1 for RS 485 Address of the display 3 3 3 3 2 Parameter 2 for RS 485 Serial line configuration 3 3 3 3 3 Parameter 3 for RS 485 Sensor control and communication protocol 3 4 3 3 4 Parameter F Exit menu 3 4 3 4 Parameters Ether...

Страница 3: ...e display 4 8 4 4 3 Send values to the display Displays without sensor 4 9 4 5 ModBus TCP PROTOCOL 4 10 4 5 1 Modbus TCP protocol 4 10 4 5 2 Read data from the display 4 10 4 5 3 Send temperature and humidity 4 11 4 1 IP Address Ethernet option 4 13 4 2 Modifying the port settings 4 13 4 2 1 UDP IP configuration 4 14 4 3 IP address Wifi 4 15 4 3 1 Accessing Wifi module configuration 4 17 4 4 Set u...

Страница 4: ...sensors and displays its state once the display is initialized The temperature and humidity sensor is placed in a case that permits a very easy installation using the support included in the package The recommended position of the sensor is at 1 7m from the floor The display can include RS 485 Ethernet or Wifi connectivity as options DC 25 displays are aesthetically identical to the DC 24 but do n...

Страница 5: ...n the model Viewing distance max 50 meters Text Silkscreen Environmental Conditions Operation Temperature 19 9 to 60ºC Storage temperature 20ºC to 70ºC Humidity 5 95 RH non condensing Maximum environmental illumination 1000 lux Sealing IP41 1 2 Temperature and humidity sensor characteristics Temperature sensor Resolution 0 1 C Precision 0 5 at 25 C Response time 20s Working range 20 C to 70 C Humi...

Страница 6: ...The weight of the DC 24S and DC 25S is 5kg The weight of the DC 24D and DC 25D is 7kg 1 4 Dimensions of the DC 24 and DC 25 1 4 1 Dimensions of the DC 24S and DC 25S 1 4 2 Dimensions of the DC 24D and DC 25D 1 4 3 Dimensions of the sensor case The dimensions of the sensor case in mm are C 520 320 40 22 C 520 320 80 ...

Страница 7: ...er Insert the screws leaving their head outside for 4mm Hang the display using the upper side zig zag 2 Screwed Remove the methacrylate cover Place the 4 supplied plugs at the distance showed in the drawing Place the 2 upper screws leaving their head outside for 4 mm Hang the display using the upper side zig zag Place the lower screws Tighten all the screws Replace the methacrylate cover The screw...

Страница 8: ...g of the DC 24D and DC 25D The DC 24D and DC 25D displays must be hanged using the rings the display has Cables or chains can be used The power cables and the sensor can be fixed to the mounting elements without tightening them IN ANY WAY THE POWER OR THE SENSOR CABLES CAN BE USED FOR HANGING THE DISPLAY PARED ...

Страница 9: ...from dust and jets of water Displays DC 24 and DC 25 should not be installed in places with an illumination level in excess of 1000 lux Neither should the display be placed in direct sunlight as visibility would be lost 2 1 Accessing inside the display The access to the interior of the display is only authorised to technical staff The interior must be accessed only for installation and maintenance...

Страница 10: ...ts the humidity to pass through but not water The connexion cable enters through a gland The set must not be manipulated to keep the IP65 sealing In the displays with more than one sensor there is no order or priority There can be connected between 1 and 5 sensors in any of the connectors The display detects the sensor when powering on the display The temperature and humidity sensor should be plac...

Страница 11: ...ms due to doors 2 Placing it in climate control systems outputs 3 Proximity to fridges 4 Walls with direct sunlight In case the sensor cable must be extended the colours of the cables must be respected The colour identification is BL White MAR Brown VER Green AMA Yellow The cable type must be YCY 4 x 0 22 shielded ...

Страница 12: ... Displays with several sensors In the displays with several sensors the displayed value is the mean value of the sensed by the connected sensors The display detects the connected sensors and calculates the mean value depending on the active sensors If when powering up there is no sensor detected 0 is displayed in the 5 digits If once the display is initialized there is no sensor detected E02 is di...

Страница 13: ...d with the digital point indicates the parameter number and the two right digits indicate its value The flashing digit is the one the user can modify with the key To enter the menu main the key pressed for 3 seconds Once this time is passed the first parameter is displayed There are then two options 1 Modify the parameter value By pressing the Advance key entry is gained to modify the parameter va...

Страница 14: ... 09 19200 Bauds 7 bits Even 1 10 4800 Bauds 8 bits Even 1 11 9600 Bauds 8 bits Even 1 12 19200 Bauds 8 bits Even 1 13 4800 Bauds 7 bits Odd 1 14 9600 Bauds 7 bits Odd 1 15 19200 Bauds 7 bits Odd 1 16 4800 Bauds 8 bits Odd 1 17 9600 Bauds 8 bits Odd 1 18 19200 Bauds 8 bits Odd 1 19 4800 Bauds 7 bits No parity 2 20 9600 Bauds 7 bits No parity 2 21 19200 Bauds 7 bits No parity 2 22 4800 Bauds 8 bits ...

Страница 15: ...owing protocols 0 ASCII Really simple protocol that uses ASCII characters 1 ModBus RTU ASCII This uses the ModBus protocol but the temperature and humidity data are coded in ASCII in the same block 2 ModBus RTU Word This uses the ModBus RTU Word protocol The temperature and the humidity are independent words In the display that receives the data through serial line DC 25 the sensor information mus...

Страница 16: ...his parameter performs two functions Left digit Sensor control 0 Disable sensor information 1 Enable sensor information Right digit Communication protocol The user can select between the following protocols 0 TCP IP Really simple protocol that uses ASCII characters 1 ModBus TCP This uses the ModBus protocol the temperature and humidity data are coded in ASCII or integer in the same block In the di...

Страница 17: ...C There can be 99 devices connected to the net with the corresponding amplifiers every 30 devices Using this protocol forces the display to work on slave mode This means that the display waits for a message and once verified it responds depending on the command received To understand how to configure the protocol the used terms are used Message It is formed by all the necessary characters to estab...

Страница 18: ...ace Hum End of block Characters High Low P T T T T H H Carry return Decimal 64d 80d 84d 32d 13d Hexadecimal 40h 50h 54h 20d 0Dh The address returned is the one of the display Temperature and humidity are sent in the indicated format separated by a comma Response frame example Temperature 24 7 and relative humidity 63 Header Address Code Temp Space Hum End of block Characters 1 5 P T 24 7 63 Carry ...

Страница 19: ...13d Hexadecimal 40h 31h 35h 56h 54h 31h 38h 2Ch 36h 20h 34h 37h 0Dh Response from the display The response message from the display is the following Header Address Code End of block Characters High Low V T Carry return Decimal 64d 86d 84d 13d Hexadecimal 40h 56h 54h 0Dh The address returned is the one of the display Example Frame returned when data has been sent Header Address Code End of block Ch...

Страница 20: ...h and 01h The bytes 5 and 6 correspond to the number of words of the data field In the data field the characters PT must be placed so the display know the user is requesting data In the previous example the CRC is calculated for the display at the 03 address An example of the response of the display is the following message Addr Func Register High Register Low Words High Words Low Bytes num 10h 01...

Страница 21: ...number of words of the data field In the data field the characters VT must be placed followed by the temperature and humidity data At the end a 00h character must be sent so the number of byte sent is even The response from the display is the following message Addr Func Register High Register Low Words High Words Low Num bytes Data Low CRC High CRC 10h 01h 01h 00h 01h 02h V T 03h 10h 01h 01h 00h 0...

Страница 22: ...H Reg L Data Low CRC High CRC 06h 00h 00h 00h C5h 48h 7Bh To write the humidity value the data must be sent to register 0001h 40002 The data format must be 16 bit word format In the following example the data block structure is detailed for 57 0039h humidity writing Func Reg H Reg L Data Low CRC High CRC 06h 00h 01h 00h 39h 19h FAh If the data block is correctly received the display responds with ...

Страница 23: ...ucture is detailed for a humidity request Addr Func Start Addr H Start Addr L Num Reg H Num Reg L Low CRC High CRC 03h 03h 00h 03h 00h 01h 75h E8h If the block is correctly received the display responds with the humidity value in 16 bit Word format Response block example Humidity 52 Addr Func Num bytes Data Low CRC High CRC 03h 03h 02h 00h 34h C0h 53h If there is an error in the reception the disp...

Страница 24: ... 4 4 2 Read values from the display To read the current temperature and humidity the following frame must be sent Code End of Block Characters P T Carry return Decimal 80d 84d 13d Hexadecimal 50h 54h 0Dh Response from the display The response frame from the display is the following Code Temperature Space Humidity End of block Characters P T TT T HH Carry return Decimal 80d 84d 32d 13d Hexadecimal ...

Страница 25: ...cimal 56h 54h 20h 0Dh Response block in protocols TCP IP and UDP IP Example The response block from the display is the following In the ModBus TCP protocol the field Data is empty Code End of Block Characters V T Carry Return Decimal 86d 84d 13d Hexadecimal 56h 54h 0Dh Sending data to the display Example Example with the values 23 6ºC temperature and 58 humidity Code Temperature Space Humidity End...

Страница 26: ...00h 00h 00h 06h 01h 03h 00h 02h 00h 01h Response from the display The response frame from the display is the following In this example the identifier is 0862h and the read temperature is 20 5ºC CDh Identifier Protocol Number of bytes Unit Function Number of registers Data 08h 62h 00h 00h 00h 05h 01h 03h 02h 00h CDh Read temperature and humidity Temperature and humidity can be read reading 2 regist...

Страница 27: ...e 20 4ºC and 42 Identifier Protocol Number bytes Unit Function 01h 0Ah 00h 00h 00h 0Dh 01h 10h Data 00h 00h 00h 01h 32h 30h 2Eh 34h 20h 34h 32h 4 5 3 Send temperature and humidity In the repeater displays the temperature and humidity can be sent using the function 06h or 10h Function 06h The temperature must be sent to the register 40003 address 02h and the humidity must be sent to the register 40...

Страница 28: ...ers Identifier Protocol Num bytes Unit Function Start address Num Registers 00h 37h 00h 00h 00h 11h 01h 10h 00h 00h 00h 05h Function 10h mode Word Sending temperature and humidity can be sent using the function 10h In the frame the following codes must be codified Unit 01h Function 10h Start address Register 40003 Address 02h Identifier Protocol Num Bytes Unit Function Start address 00h 37h 00h 00...

Страница 29: ... on the XPort 03 to which you wish to assign the address Then press Assign IP and follow the instructions IMPORTANT All units are dispatched from the factory with the same IP address Therefore to configure various units they must be connected to the Ethernet and the address must be assigned one by one 4 2 Modifying the port settings To modify the port configuration the DeviceInstaller program from...

Страница 30: ...e and click OK on the bottom of the page 4 2 1 UDP IP configuration Select Channel 1 Connection in the left menu Select the UDP protocol in Connection protocol Select Datagram Type 1 in Datagram Mode Introduce the following in Endpoint Configuration Local Port 10001 Remote Port Port of the equipment that will be connected Remote Host IP address of the equipment that will be connected Click OK in t...

Страница 31: ... address is by using the Hyperterminal program and the serial line of computer The cable s wiring diagram is the classic crossover The configuration of the Hyperterminal must be Baud rate 9600 Bauds Data Bits 8 No parity Stop Bits 1 Hardware flow control None 2 3 5 2 3 5 9 DB9 o SAP12 Hembra DB9 Hembra Ordenador Visualizador ...

Страница 32: ...CHAPTER 4 COMMUNICATION PROTOCOLS 4 16 DC 24 and DC 25 operation manual The attached Hyperterminal set up have been verified and work correctly but any other set up may work also correctly ...

Страница 33: ...ule configuration the next steps must be followed 1 Connect the serial cable see 4 3 IP address between the computer and the display 2 Open Hyperterminal 3 Select the display s parameter 7 See Error Reference source not found Error Reference so urce not found 4 Push the advance key Key 5 Keep pushed the lower case letter x before the display counters equals 0 Remain pushing until the following scr...

Страница 34: ...CHAPTER 4 COMMUNICATION PROTOCOLS 4 18 DC 24 and DC 25 operation manual 6 At this time you have 3 seconds to push the Intro key on your keyboard 7 The following screen is shown ...

Страница 35: ...n manual 8 You must set up 0 Server Intro 4 WLAN Intro Example of Server Set up Ask your network administrator the IP and Gateway address Example of WLAN Set up Ask your network administrator the correct values To exit select 8 Exit without save or 9 Save and exit ...

Страница 36: ...ss you must first select the equipment by clicking on the XPort 03 to which you wish to assign the address Then press Assign IP and follow the instructions IMPORTANT All units are dispatched from the factory with the same IP address Therefore to configure various units they must be connected to the Ethernet and the address must be assigned one by one 4 5 Modifying the port settings To modify the p...

Страница 37: ...roduct complies with the following European directives Directive LVD 2006 95 CEE Low Voltage Directive Standard UNE EN61010 1 Security in electric equipment Directive EMC 2014 30 UE Electromagnetic Compatibility Standard UNE EN 61000 6 4 Generic Emission Standard Industrial environment Standard UNE EN 61000 6 2 Generic Immunity Standard Industrial environment Directive 2011 65 CE Restriction of th...

Отзывы: