LARTET DC-24S Скачать руководство пользователя страница 21

CHAPTER 4 

COMMUNICATION PROTOCOLS 

4-1 

 

DC-24 and DC-25 operation manual 

 

4.

 

COMMUNCATION PROTOCOLS 

In this paragraph, the different protocols will be explained, as well as the programmation 
of the displays through them. The formats of values of the numbers and characters are 
written in this manual are: 

 

When telling about a hexadecimal number, this will be followed by an “h”. 

 

When telling about a decimal number, this will 

be followed by a “d”.  

 

When telling about a binary number, this will be followed by a “b”. 

 

When telling about an ASCII character, this will be explained in the context. 

 
As an example, the X ASCII character can be explained as 58h, 88d or 1011000b, as 

needed in the moment. Number 15 ASCII can be seen as 31h 35h, 49d 53d or 110001d 

110101d. 

4.1.

 

ASCII protocol for RS-485 

This  protocol  allows  communicating  with  any  device  that  disposes  serial  line  and  can 

configure the communication protocol, as a PC or PLC. 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 establish  the  dialogue.  For  each 

correct message  received,  the  display  returns  a  response  message. The  message  consists  of 

three parts: The header, the data and the end of block 

Header.

  It  is  used  to  identify  the  beginning  of  the  message.  The  character  @  (64d,  40h) 

followed by the address of the display is sent.   

Data  block:

 The data block can consist of commands  or responses. The valid  commands 

are the following 

 

The  command 

PT

  is  a  request  to  the  display  to  ask  for  the  current  temperature  and 

humidity values. 

 

The  command 

VT 

is  an  order  to  the  display  to  shoe  temperature  and  humidity  values 

that are sent. 

End  of  block:  It  is  used  to  identify  the  complete  arrival  of  the  block.  It  is  used  the  character 
“Carry return” (13d 0Dh) 

 

 

 

 

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

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

Страница 2: ......

Страница 3: ...set 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...

Страница 4: ...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 h...

Страница 5: ...ensors 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 Th...

Страница 6: ...een depending on the model Viewing distance max 50 meters Text Silkscreen Environmental Conditions Operation Temperature 20 to 60 C Storage temperature 30 C to 70 C Humidity 5 95 RH non condensing Max...

Страница 7: ...he 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 C 520 320 40 22 1 4 2 Dimensions of...

Страница 8: ...r 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 dr...

Страница 9: ...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 elemen...

Страница 10: ......

Страница 11: ...rom 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 visibi...

Страница 12: ...on part protected by a cap that permits 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 Slot for mounting...

Страница 13: ...s 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...

Страница 14: ......

Страница 15: ...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...

Страница 16: ...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...

Страница 17: ...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 4...

Страница 18: ...wing 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 M...

Страница 19: ...is 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 prot...

Страница 20: ......

Страница 21: ...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 me...

Страница 22: ...wing Header Address Code Temp Space 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 d...

Страница 23: ...84d 49d 56d 44d 54d 32d 52d 55d 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...

Страница 24: ...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 exampl...

Страница 25: ...umber 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...

Страница 26: ...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 t...

Страница 27: ...cture 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 respond...

Страница 28: ...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 0...

Страница 29: ...imal 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 Cha...

Страница 30: ...0h 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 Ide...

Страница 31: ...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 displ...

Страница 32: ...rs 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...

Страница 33: ...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 confi...

Страница 34: ...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 I...

Страница 35: ...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 Da...

Страница 36: ...4 16 COMMUNICATION PROTOCOLS CHAPTER 4 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...

Страница 37: ...n 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 No se encuentra e...

Страница 38: ...4 18 COMMUNICATION PROTOCOLS CHAPTER 4 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...

Страница 39: ...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 corre...

Страница 40: ...s 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 f...

Страница 41: ...oduct 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 Com...

Отзывы: