DN-107NE display series
4-6
OPERATION
CHAPTER 4
End of block not necessary.
The last character sent is displayed on the right of the display.
Port 502 must be used.
The data block transmitted must have the following values:
Byte 6. Slave ID = 01h.
Byte 7. Function Code = 16(10h)
Byte 8 and 9. Start address = 00h 00h.
It allows to use integers with or without sign. The address sent determines if the values
are signed or unsigned.
Parameter 1 can be equal to 1 or 2. See 4.2.3.1
Address 40003 (02h) ........... Signed integer. - 32767 to +32767
Address 40007 (06h). .......... Unsigned integer. 0 to 65535
In this example the identifier has the value 01C9h and the value to write is
–4096.
Block to send:
Identifier
Protocol
Number
of
bytes
Unit
Function
Start Address
Data
01h C9h
00h 00h
00h 06h
01h
06h
00h 02h
F000h
Response from the display:
The response from the display is the same block received.
It allows the user to send blocks with ASCII characters to the display
Parameter 1 must have value 2. See 4.2.3.1
In the block, the following values must be codified:
Unit
=
01h
Function = 10h
It allows to use integers with or without sign. The address sent determines if the values
are signed or unsigned.
Address 40003 (02h) ........... Signed integer. - 2147483647 a +2147483647
Address 40007 (06h). Unsigned integer. 0 a 4294967295
The Data field must contain 3 Words. The two first fields must contain the Data and the
third must contain the position of the decimal point
Value 0001h for 00000000,0
Value 0010h for 0000,00000
Value 0002h for 0000000,00
Value 0011h for 000,000000
Value 0004h for 000000,000
Value 0012h for 00,0000000
Value 0008h for 00000,0000
Value 0014h for 0,00000000
Example 3:
4.3.3.1. Function 06h.
4.3.3.2. Function 10h mode Word
4.3.3. Modbus/TCP Protocol