![background image](http://html1.mh-extra.com/html/astral-pool/57434/57434_manual_2990428010.webp)
10
7.3.
ADDRESS AND BAUD RATE SELECTION
7.3.1.
ADDRESS SETTING
The address of the Lumiplus in the bus is set through the 0x00 Holding Register.
ID_Address:
Address of the Lumiplus in the bus.
Factory setting: 0x30.
Suggested range: 0x30 - 0x3F.
The factory default for the Lumiplus is (0x30). However you can change this value by sending writing
this holding registers and as far as you check to do not introduce collisions or conflicts with other
slave’s addresses.
Example: changing the address ID from 0x30(default) to 0x31.
Transmit Message: 30 10 00 00 00 01 02 00 31 3E 15
Where:
30 is the slave address. (The actual ID address).
10 is the function used. Write Multiple Registers.
00 00 is the address of the Holding Register to be written.
00 01 is the number of Holding Registers to be written. 1 in this case.
02 is the number of bytes of data to be sent.
00 31 is the new ID address.
3E 15 is the CRC.
7.3.2.
BAUD RATE SELECTION
The Baud Rate selection of the serial communications with the Lumiplus set through the 0x01 Holding
Register. By default, 9600 bps and 8E1 (8 data bits, Even Parity, 1 stop bit) is implemented. However,
19200 bps and 2 stop bits are also supported (when NO parity is implemented).
The reason for supporting N2 frames is to keep the MODBUS standard requirement of sending eleven
bits per byte ( 1 start + 8 data + 1 1 stop). Whenever a No parity configuration is chosen, then
2 stop bits are introduced to keep the eleven bits per byte required by the standard.
For compatibility reasons, N1 frames are also supported. However, mind that using this selection you
are not fulfilling the MODBUS standard requirements as far as only ten bits per byte are used.
According to this, the baud rate and frame selection is completed defining the baud rate (in bauds),
number of data bits, parity and number of stop bits.
Содержание 57434
Страница 3: ...3 ...