Ditel DN109/NB Manuel Technique page 172

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

TECHNICAL MANUAL
LARGE DISPLAYS DN109/NB - DN119/NB - DN189/NB
CHAPTER 24
Write Multiple Registers: It is used to assign the value to several registers
simultaneously.
The structure of this function is presented below:
Request
Function Code
Start Address
Number of registers
Number of bytes used
Register Value
Answer
Function Code
Start Address
Number of registers
Error
Error Code
Exception Code
Table 64: "Write Multiple Registers" function structure.
Example:
You want to write in 2 registers, with initial address "0". For the display to show the word
"HELLO", it is sent to the registers "48h 4Fh 4Ch 41h". To do this, the following frames are sent
and received:
ETHERNET COMMUNICATION
1 Byte
2 Bytes
2 Bytes
1 Byte
N x 2 Byte
1 Byte
2 Bytes
2 Bytes
1 Byte
1 Byte
10h
0000h to 0011h
0001h to 0005h
2 x N (N = # registers)
XX...XX
10h
0000h to 0011h
0001h to 0005h
90h
01 or 02 or 03 or 04
24-8

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Dn119/nbDn189/nb

Table des Matières