Skip to main content

Setting up sensor with modbus

Connecting

The sensor is terminated with a 6 core pigtailed cable.

Wire ColourFunction
BlackGround
WhitePower
RedRS232 Sensor Receive
GreenRS232 Sensor Transmit
YellowRS485 A
BlueRS485 B

Modbus Integration

ObjectiveSendNotesModbus FunctionExample ResponseResponse Notes
Scan Ocean55 10 00 00 00 02 04 FF FF 00 04 E6 79Start Ocean Scan1655 10 00 00 00 02 4C 1C
Scan Fresh Water55 10 00 00 00 02 04 FF FF 00 03 A7 BBStart Fresh Water Scan1655 10 00 00 00 02 4C 1C
Stop Scanning55 10 00 00 00 02 04 00 00 00 00 E7 9EStop Scanning1655 10 00 00 00 02 4C 1C
Get Current pH Value55 03 00 30 00 03 08 10355 03 06 00 00 00 00 00 00 EF B6
Get Current Temperature (in C)55 03 00 02 00 03 A9 DF355 03 06 00 00 00 00 00 00 EF B6
Get Sensor Serial Number55 03 00 22 00 03 A8 15Get 6 ascii Bytes of serial No.355 03 06 33 30 30 30 30 34 B0 A9Ser. No. = 300004 (Could be Alpha-Numeric)
Get Sensor ManufacturerComing soonGet up to 16 ascii Bytes of Manf3
Get Sensor NameComing soonGet up to 16 ascii Bytes of Name3
Get Sensor Sub NameComing soonGet up to 16 ascii Bytes of Sub Name3
IF Firmware Version Revision55 03 00 3C 00 06 08 10Get 8 ascii Bytes of Version355 03 0C 56 33 30 33 2E 32 00 00 00 00 00 00 2F 9AV303.2
DV Firmware Version Revision55 03 00 48 00 06 48 0AGet 8 ascii Bytes of Version355 03 08 56 55 33 30 31 33 0D 0D 0D 0D 0D 0D 0E 02VU3013
Get Sensor Mode Controlled55 03 00 0E 00 01 E8 1DGet 1 Byte 1 = Controlled, 2 = Autonomous355 03 02 00 01 48 481 = Controlled, 2 = Autonomous
Set Sensor Mode Autonomous55 06 00 0E 00 02 64 1CSend 1 Byte 1 = Controlled, 2 = Autonomous1655 06 00 0E 00 02 64 1C1 = Controlled, 2 = Autonomous
Get Interval Time55 03 00 10 00 01 88 1B355 03 02 00 38 88 5Aexample = 56 minutes
Set Interval Time55 06 00 10 00 54 84 24ie 54 = 84 minutes1655 06 00 10 00 54 84 24example = 84 minutes
Get Delay Time Before Scan55 03 00 12 00 02 69 DA355 03 04 00 01 00 1E 3E 3E
Set Delay Before Scan55 10 00 12 00 02 04 00 01 00 1E B6 831655 10 00 12 00 02 EC 19
Get Module Address00 03 00 1C 00 01 44 1DSystem Address Default = 0x55300 03 02 00 55 45 BB
Set Module Address55 06 00 1C 00 55 85 E7System Address Default = 0x551600 06 00 1C 00 55 89 E2
Get Salinity55 03 00 54 00 04 08 0D55 03 06 00 01 00 02 00 03 00 04 55 45
Set Sleep ModeComing soon
Set Long PH FileComing soon
Get Health StatusComing soon0,1,2,3 Purple, Green, Amber, Red
Set RTC55 10 00 5A 00 06 0C 00 43 00 37 00 15 00 11 00 22All RTC values are BCD. Time is 24 hour1655 10 00 5A 00 06 6D CC
Get RTC55 03 00 5A 00 06 E8 0F355 03 0C 00 42 00 39 00 06 00 14 00 11 00 22 21 78
Set Baud rate55 06 00 18 00 08 05 DFBaud rate changes after restart655 03 00 18 00 08 05 DF1=9600 2=14400 3=19200 4=28800 5=38400 6=56000 7=57600 8=115200
Set Interface Style Terminal55 06 00 1A 00 01 64 19Interface Style changes on Restart655 03 00 1A 00 01 64 19
Exit ModBus Mode via terminal#700,0x0DCannot use Modbus address 0x23
Inhibit immersion checkComing soon
Immersion fail responseComing soon
Data stream ModeComing soon