LPPYRA12
- 18 -
V2.5
4.
Within 10 seconds from the pyranometer power on, send the
@
command and
press
Enter
.
Note
: if the pyranometer does not receive the
@
command within 10 seconds from
power on, the RS485 MODBUS mode is automatically activated. In such a case, it is
necessary to switch off and on again the pyranometer.
5.
Send the command
CAL USER ON
.
Note
: the command CAL USER ON is disabled after 5 minutes of inactivity.
6.
Send the serial commands given in the following table to set the RS485 MODBUS
parameters:
Command
Response
Description
CMAnnn
&|
Set RS485 address to nnn
Ranging from 1 to 247
Preset on 1
CMBn
&|
Set RS485 Baud Rate
n=0
9600
n=1
19200
n=2
38400
n=3
57600
n=4
115200
Preset on 1
19200
CMPn
&|
Set RS485 transmission mode
n=0
8-N-1 (8 data bits, no parity, 1 stop bit)
n=1
8-N-2 (8 data bits, no parity, 2 stop bits)
n=2
8-E-1
(8 data bits, even parity, 1 stop bit)
n=3
8-E-2
(8 data bits, even parity, 2 stop bits)
n=4
8-O-1 (8 data bits, odd parity, 1 stop bit)
n=5
8-O-2 (8 data bits, odd parity, 2 stop bits)
Preset on 2
8-E-1
CMWn
&|
Set receiving mode after RS485 transmission
n=0
Violate protocol and go in Rx mode right after Tx
n=1
Respect protocol and wait 3.5 characters after Tx
Preset on 1
Respect the protocol
7.
You can check the parameters setting by sending the following serial commands:
Command
Response
Description
RMA
Address
Read RS485 address
RMB
Baud Rate
(0,1)
Read RS485 Baud Rate
0
9600
1
19200
2
38400
3
57600
4
115200
RMP
Tx Mode
(0,1,2,3,4,5)
Read RS485 transmission mode
0
8-N-1
1
8-N-2
2
8-E-1
3
8-E-2
4
8-O-1
5
8-O-2
RMW
Rx Mode
(0,1)
Read receiving mode after RS485 transmission
0
Violate protocol and go in Rx mode right after Tx
1
Respect protocol and wait 3.5 characters after Tx
Note
: it is not required to send the CAL USER ON command to read the settings.