background image

TECHNICAL MANUAL  
LARGE DISPLAYS DN109/NB - DN119/NB - DN189/NB - DN129/NB

  

CHAPTER 24 

ETHERNET COMMUNICATION 

24-14 

 

 

 

UDP Protocol 

The functionality of the parameters explained in the previous section  (

protocol TCP/IP)

 

also applies to the UDP protocol. 

Summary of Contents for DN109/10D

Page 1: ...TECHNICAL MANUAL LARGE DISPLAYS DN109 NB DN119 NB DN189 NB DN129 NB...

Page 2: ...LLATION 21 1 Connectors 21 1 Power supply wiring 21 2 IP65 protection level 21 2 Serial Line connection 21 3 RS 232 connection between a PC and DN 1x9 display 21 4 RS 485 between DN1x9 display and a P...

Page 3: ...WIFI COMMUNICATION 25 1 WIFI Communication settings 25 1 26 SERIAL BUS COMMUNICATION 26 1 Serial Communication adjustments 26 1 Protocols KOSMOS ASCII and KOSMOS ISO 1745 26 4 MODBUS RTU Protocol 26 4...

Page 4: ...racters can be added allowing data plus engineering unit presentation One or two sides Digit height can be DN109 57 mm DN119 100 mm DN189 180 mm DN129 250 mm so maximum reading distance span from 30 5...

Page 5: ...Hz Option 24VDC Consumption See 20 2 2 Display 7 segments 100 mm decimal dot Red Max reading distance 50 m Text LED Red 3 mm 65 mm height Text Vinyl White Vinyl 65 mm de height Parameter internal memo...

Page 6: ...tion 24VDC Consumption See 20 2 4 Display 7 segments 250 mm decimal dot Red Max reading distance 120 m Text Vinyl White Vinyl Parameter internal memory Eeprom Environmental conditions Working Temperat...

Page 7: ...DN109 9D TL 5 7 38 6 DN109 9D TV 5 7 34 5 DN109 10S 4 7 21 2 DN109 10S TL 5 2 23 2 DN109 10S TV 5 2 21 2 DN109 10D 5 7 37 7 DN109 10D TL 6 2 41 7 DN109 10D TV 6 2 37 7 DN119 Ref W kg C W Ref W kg C W...

Page 8: ...4 2 104 6 DN189 9S 11 2 60 6 DN189 9S TV 13 2 60 6 DN189 9D 13 7 117 2 DN189 9D TV 15 7 117 2 DN189 10S 12 2 66 9 DN189 10S TV 14 2 66 9 DN189 10D 15 2 129 8 DN189 10D TV 16 7 129 8 DN129 Ref W kg C W...

Page 9: ...DN109 7S T 478 122 DN109 8S 430 122 DN109 8S T 526 122 DN109 9S 478 122 DN109 9S T 574 122 DN109 10S 526 122 DN109 10S T 622 122 DN119 3S 324 177 DN119 3S T 504 177 DN119 4S 414 177 DN119 4S T 594 17...

Page 10: ...S TV 1620 251 67 DN189 9S 1460 251 67 DN189 9S TV 1780 251 67 DN189 10S 1620 251 67 DN189 10S TV 1940 251 67 DN129 2S 515 366 186 DN129 2S TV 985 366 186 DN129 3S 750 366 186 DN129 3S TV 1220 366 186...

Page 11: ...splay IP level according to place requirements IP65 installation details can be found at 21 3 DN1x9 displays must be installed indoors with maximum 1 000 lux ambient light far from direct sun light Fo...

Page 12: ...VAC 50 60 Hz or 24VDC displays with the option 24V External connection must comply local regulations A minimum section of 1 5 mm is recommended See pin out at the below picture depending on AC or DC...

Page 13: ...e sure that all are well placed to assure IP 22 Place and screw again the 6 highlighted screws 23 Tight the glands PLEASE BE CAREFUL BAD INSTALLATION MAY VOID WARRANTY Serial Line connection DN 1x9 di...

Page 14: ...d cable and connect shield to pin 9 Please avoid near disturbances 2 3 5 2 3 5 9 DB9 Hembra DB9 Hembra Ordenador Visualizador 4 6 8 Fig 88 Aerial cable RS 485 between DN1x9 display and a PC Use a stan...

Page 15: ...is done by a RJ 45 connector located at the bottom of the display The display can be connected directly to a computer or to a network usually using a switch or hub module We recommend at least 100Base...

Page 16: ...ne and lately they are deactivated in reverse order so everyone can check if they all are working properly 13 F XX Displays the hardware ID XX corresponds to the specific value corresponding to the ac...

Page 17: ...0 To change the IP you have to select the default IP and press Change IP button Once done press Refresh to view the new IP IP address can be changed any time is needed If an automatic IP address is de...

Page 18: ...y from the list of detected devices and clicking this button will cause it to flash 3 times allowing you to easily identify which device is going to be configured Display Configuration To configure th...

Page 19: ...P 24 Link to WIFI Settings 25 Link to Communication Settings Sets the parameters for the communication interface and protocol selected 26 Link to Color Settings It allows configuring the color and rel...

Page 20: ...nfigures the precision of the values to be shown on the display AUTO will set dynamically the number of decimal digits for the value on display according to the digits available on the equipment If US...

Page 21: ...that will be used to obtain the time accurately By default the public SNTP server pool ntp org is set It can be configured with an internal company SNTP server or another public access server 36 Time...

Page 22: ...teway address and allows its changing 25 Primary DNS In case DNS is not set correctly you must configure the SNTP server with your IP and not with your domain 26 Secondary DNS 27 By clicking UPDATE th...

Page 23: ...ed since the connection could not be made 25 Configures the display to connect to an existing WIFI network STATION or generate an AP ACCES POINT By default the network in AP mode is called DIRECT_DN_D...

Page 24: ...omatic redirection is performed Fig 99 IP changing windows Particularities of WIFI communication WIFI communication is not identical in functionality to ETHERNET Here are the points to consider ETHERN...

Page 25: ...lects whether the display color is fixed Red Orange Yellow or Green or dynamic Depending on the selection between fixed or dynamic a greater or lesser number of configuration parameters will be displa...

Page 26: ...ing from the condition R0 ON deactivate bit R0 when the displayed value is 3 The following parameters must be defined Parameter 6 VAL TRIG Parameter 7 3 Parameter 8 HYSTERESIS Parameter 9 0 1 29 Selec...

Page 27: ...TECHNICAL MANUAL LARGE DISPLAYS DN109 NB DN119 NB DN189 NB DN129 NB CHAPTER 22 INITIALIZATION 22 12 Fig 101 Graphic explanation of delay and hysteresis DELAY HYSTERESIS...

Page 28: ...lay is in charge of converting the aforesaid string to a numerical value in case it consists exclusively of numerical information Later it will also carry out the necessary actions such as rounding sh...

Page 29: ...accepted by the display are the following Car cter 0 1 2 3 4 5 6 7 8 9 A b HEX 30h 31h 32h 33h 34h 35h 36h 37h 38h 39h 41h 42h DEC 48d 49d 50d 51d 52d 53d 54d 55d 56d 57d 65d 66d Car cter C c d E F H...

Page 30: ...Fig 102 Ethernet communications web server winndow 13 Drop down menu to select the protocol to be used Available protocols TCP UDP y MODBUS TCP Detailed information to be found at sections 24 2 24 3...

Page 31: ...45h 44h 30h 2Ah 0Dh 06h ENDBLOCK 06h Block end Table 58 Answers for ASCII protocol 17 Sets the time to wait in seconds for a new request before the display sets to all characters The value can be any...

Page 32: ...r designated physical Coils The structure of this function is presented below Request Function code 1 Byte 01h Start adress 2 Bytes 0001h to 0005h Number of Coils 2 Bytes 0001h to 0005h Answer Functio...

Page 33: ...uest Function code 1 Byte 05h Coil Address 2 Bytes 0001h to 0005h State to write 2 Bytes 0000h OFF or FF00h ON Answer Function Code 1 Byte 05h Coil address 2 Bytes 0001h to 0005h State to write 2 Byte...

Page 34: ...ode 1 Byte 0Fh Start address 2 Bytes 0001h to 0005h Number of outputs 2 Bytes 0001h to 0005h Number of bytes used 1 Byte N N Outputs 8 Output value N x 1 Byte XX XX Answer Function code 1 Byte 0Fh Sta...

Page 35: ...rt address 2 Bytes 0000h to 0011h Number of registers 2 Bytes 0001h to 0012h Answer Function Code 1 Byte 01h Number of bytes used 1 Byte 2 x N N registers Register Value N x 2 Bytes XX XX Error Error...

Page 36: ...0h to FFFFh Error Error Code 1 Byte 86h Exception code 1 Byte 01 or 02 or 03 or 04 Table 65 Write Single Register function structure Depends on the type of data you want to write 2 bytes 0002h Word ty...

Page 37: ...2 Bytes 0001h to 0005h Number of bytes used 1 Byte 2 x N N registers Register Value N x 2 Byte XX XX Answer Function Code 1 Byte 10h Start Address 2 Bytes 0000h to 0011h Number of registers 2 Bytes 0...

Page 38: ...2 3 or 4 bytes of information with the starting address being 2 The first two bytes indicate the value to display in two s complement The following modify the color and or brightness of the display C...

Page 39: ...to send between 6 and 8 bytes of information the starting address being 10 The first four bytes indicate the value to display in two s complement The next two modify the position of the decimal point...

Page 40: ...layed if the device has 10 digits or more Otherwise the display shows OvL 24 2 2 5 Register 00 It is used to write text on the display in ASCII characters Keep in mind that when writing to a 7 segment...

Page 41: ...hat can be activated or deactivated starting from START ADDRESS 1 In order the coils are used to establish the following parameters Coil 1 Activates or deactivates relay 0 Coil 2 Activates or deactiva...

Page 42: ...rameters must be sent AFTER the values to be displayed Color Luminosity Blinking Order ASCII Code Order ASCII Code Order ASCII Code Red X0 or x0 7830h o 5830h Minimal Y0 or y0 7930h or 5930h Start 08h...

Page 43: ...GE DISPLAYS DN109 NB DN119 NB DN189 NB DN129 NB CHAPTER 24 ETHERNET COMMUNICATION 24 14 UDP Protocol The functionality of the parameters explained in the previous section protocol TCP IP also applies...

Page 44: ...o data visualization For these same reasons it is recommended not to transmit information with the display while it is being configured via WIFI WIFI Communication settings Fig 107 WIFI communication...

Page 45: ...rial bus Serial Communication adjustments Fig 108 Serial communication window In the communication settings screen the parameters related to the communication of the display are configured 33 Modifies...

Page 46: ...0 and 2550 inclusive In case of value 0 the display does not establish any timeout the last data will be shown indefinitely 38 Allows you to select a message header ASCII protocol only The available h...

Page 47: ...ignored in a process where only the units or tens change Example The information PESO 203 5 is sent Depending on the value of this element 13 the following situations would occur G 0 As many character...

Page 48: ...e specific information of the KOSMOS protocols must be consulted in the RS outputs manual for KOSMOS indicators MODBUS RTU Protocol Fig 110 Modbus TCP and Modbus RTU differences As can be seen in the...

Page 49: ...stand how the protocol can be configured the terms used are described below Transmission BLOCK It is made up of all the bytes necessary to display a value For each successfully received transmission b...

Page 50: ...ock CR MSG OFFSET 0 VIEW NORMAL Send data 358964 Transmission block ASCII Block 0 8 3 5 8 9 6 4 CR HEX Block 02h 30h 38h 33h 35h 38h 39h 36h 34h 0Dh HEADER Datos enviados ENDBLOCK Send value 4 digits...

Page 51: ...HEADER Send Data ENDBLOCK Displayed value on a 4 digits device 1 5 8 Choosing MSG OFFSET 1 the display has ignored all the characters prior to the first numerical value without the need to count them...

Page 52: ...and proceed as follows IMPORTANT The update must be done through a wired ETHERNET connection Steps to do the firmware upload 7 Start the program and go into settings 8 Check program settings A Set TC...

Page 53: ...f it detects that too much time has passed but it has no way of knowing if the process has finished and it does not interrupt its loading It is only a time notice NOTE If the loading process is interr...

Page 54: ...e web server according to the type of communication established There are several ways to send information Write the values directly they will be applied one by one as independent messages Write the c...

Page 55: ...2 5 Global settings window DATA PORT SERIAL 6 Communication settings window ADDRESS 14 PROTOCOL ASCII INTERFACE RS232 HEADER 02h AL AH one has been chosen the message must be consistent with the estab...

Page 56: ...e the Unit ID and the Scan Rate if there is only one device connected an image like the previous one will be displayed At this point the type of frame to be sent will be set according to the value to...

Page 57: ...Settings PROTOCOL MODBUS Second the Write Multiple Registers 10h function is used to write 2 registers with the content 484Fh 4C41h starting at address 0 QModMaster configuration Fig 114 Communicatio...

Page 58: ...200 PARITY NONE DATA SIZE 8 bits STOP BITS 1 bit To send the message with QModMaster a USB to RS 232 converter is used To find out which COM port it is set to consult it in the Windows Device Manager...

Page 59: ...PLC The following examples has been done using a Siemens PLC CPU 1512 SP 1 PN MODBUS_RTU The following blocks are used to communicate with the display First the blocks used to configure and make the...

Page 60: ...ARGE DISPLAYS DN109 NB DN119 NB DN189 NB DN129 NB ANNEX III Second the blocks and variables used to generate and send a registers writing message are shown Fig 116 Generation of the content of the reg...

Page 61: ...Modbus_Master By changing the input values you configure it to be a write or read message as well as you can configure the number of registers or their location IMPORTANT When configuring the Modbus_...

Page 62: ...MBTCP Ethernet correctly Fig 118 MODBUS_TCP communication configuration The IP must be configured according to the value assigned in the device s web server To do this generate the variable MBTCP_Ethe...

Page 63: ...ecifically S7 1200 S7 1500 LOpenUserComm_Udp Fig 119 LOpenUserComm_Udp block udsed for UDP communication The mentioned module is in charge of carrying out the configuration automatically once the inpu...

Page 64: ...The difference is clearly visible since in this case we work on the address MB_DATA_ADDR 2 and the length of the data is MB_DATA_LEN 5 since there are 5 modifiable elements 4 relays flashing Fig 120 C...

Page 65: ...ty than the aforementioned products comply with the following European directives 2014 35 UE LVD UNE EN 60204 1 2019 Safety of machinery EMC 2014 30 UE Electromagnetic compatibility directive UNE EN 6...

Reviews: