
BAROsense - 10 - V1.2
5ASCII PROPRIETARY PROTOCOL
To se the ASCII proprietary protocol, it is necessary to connect the instr ment to the
PC via a RS485/USB or RS485/RS232 converter and se a standard serial comm nica-
tion program. In the serial comm nication program, set the COM port n mber to
which the instr ment is connected and the comm nication parameters as follows:
•If the MODBUS-RTU protocol is set as the operating protocol in the instr ment
(defa lt), set the Ba d Rate 57600 and the parameters 8N2 in the serial comm -
nication program, then power cycle the instr ment and send the command @
within 10 seconds from the instr ment power on.
•If the proprietary protocol is already set as the operating protocol in the instr -
ment, it is possible to operate with Ba d Rate 57600 and parameters 8N2 by
sending the command @ within 10 seconds from the instr ment power on, or
yo can let the 10 seconds pass witho t sending the command @ and operate
with the comm nication parameters set in the instr ment (defa lt 19200, 8E1).
To change the instr ment config ration, the serial command CAL USER ON m st be
sent first (the instr ment replies with USER CAL MODE ON). The command CAL USER ON
is a tomatically disabled after a few min tes of inactivity. If the settings sho ld be only
read, the command CAL USER ON is not req ired.
Below is the list of the serial commands.
Instrument information:
Command Reply Description
G0 Model Instr ment model
G1 &Revision| Instr ment hardware revision
G2 SN=nnnnnnnn Instr ment serial n mber
G3 Firm.Ver.=x.y Instr ment firmware revision
G4 Firm.Date=yyyy/mm/dd Date of firmware revision
GC Fact.Calib.Date= yyyy/mm/dd Date of factory calibration
Protocol:
Command Reply Description
@ &| Keeps the proprietary protocol operational even after 10
seconds from instr ment power on. It m st be sent within
10 seconds from instr ment power on.
DPn &| Sets the operating protocol:
Proprietary if n=0
MODBUS-RTU if n=1
Default : MODBUS-RTU (n=1)
GP & n| Reads the operating protocol set in the instr ment.
SM &| Activates the MODBUS-RTU protocol immediately.
CMAn &| Sets the MODBUS-RTU address (1…247) to n.
Default : 1
RMA & n| Reads the MODBUS-RTU address.
Warning: after sending the DP1 command, the instr ment remains with the proprietary pro-
tocol. Send the command SM to activate the MODBUS-RTU protocol immediately, or power cy-
cle the instr ment.