GY-GD52 User Manual
This manual explains the photoelectric liquid detection principle, applications, specifications and wiring. It covers switching and RS485 output versions, Modbus RTU communication, register read/write examples, installation requirements and troubleshooting for integration into leak monitoring systems in server rooms and similar facilities.
On this page

ProductManual
Explosionproofphotoelectricwater
immersionsensor
ProductModel:GYGD52
Releasedate:August10,2026
Version:V1.0
DongguanYunjieIntelligentTechnologyCo.,Ltd.

1.ProductOverview
Understandthebasicinformation,characteristicsandworking
principleoftheproduct
Product
Overview
Thephotoelectricwaterimmersionsensorisappliedtothewater
leakagedetectionofthecomputerroom.Accordingtotheoptical
principle,itcanprovideveryaccurateandreliablewaterimmersion
measurement,whichissafe,reliable,easytoinstall,andnoteasyto
bedisplacedbyimpact.
Applicable
scenarios
Product
Features
Working
principle
Thephotoelectricwaterimmersionsensorworksbasedontheprincipleofinfraredlightrefraction,andits
corecomponentsincludeaninfraredlightemittingdiode(LED)andaphotosensitivereceiver.Whenthe
sensorprobeisinadrystate,thelightemittedbytheLEDistotallyreflectedbythelenstothereceiver;
Oncealiquid(suchaswater,oil,oraweaklycorrosivesolution)contactstheprobe,thelight
refractionpathchangesandthereceiversignaldropssharply,triggeringanalarmcircuit.
AboutourCOMPANYPROFILE
Warehouse
Factory
Pumproom
Archive
Data
Center
Datacenter
Highsensitivity
Alarmnotification
Stronganti
interference
Rapidresponse,alarmtime≤3seconds
Soundandlightdoublealarm,abnormalprompt
Resistenvironmentalinterferenceandreduce
misoperation
Easy
maintenance
Easytoinstall
Wide
compatibility
DIN35railinstallation
Removableforcleaning.Theleakdetectioncableisreusableafter
drying.
Supportaccesstothirdpartymonitoring
systems

2.technicalparameters
Productdetailedtechnicalspecificationsand
performanceindicators
Product
parameters
Version
Switching
quantity
Model
Supplyvoltage
Operating
current
Operating
temperature
Detection
accuracy
1mm(wateralarm1mmverticallydownward)
Outputsignal
Modbusprotocol485output
Powerindicator
light
Green
Alarmindicator
Red
Line
length
100cm±3cm(lengthcanbecustomized)
160cm±3cm(lengthcanbecustomized)
Wiring
Definitions
Redline:positive
Blackline:negative
Yellowline:publicend
Blue:Normallyclosed
(NC)
Whitewire:Normallyopen
(NO)
Redline:positiveinputpower
Blackwire:negativeinputpower
Yellowline:RS485A
Whiteline:RS485B
Waterproof
rating
Explosionproof
marking
parametersof
Explosionproof
certificate
Number
Thedataarealllaboratorymeasurements,butduetochangesintheobjectiveenvironment,thedata
willbeslightlybiased.
3.communicationprotocol
specification
ModbusRTUCommunicationInteraction
Standard
Basic
Agreement
Encoding
8bitbinary
Databit
8Bits
AboutourCOMPANYPROFILE

paritybit
None
Stopbit
1st
place
errorcheck
CRC(RedundancyCheck)
Baudrate
2400/4800/9600/19200/38400/115200canbeset,factorydefault4800bit/s
Dataframeformatdefinition
UsingtheModbusRTUcommunicationprotocol,theformatisas
follows:
Initialstructure≥4bytesintime
Addresscode=1byte
Functioncode=1byte
DataArea=Nbytes
Errorchecking=16bitCRCcode
Endstructure≥4bytesoftime
Addresscode:istheaddressofthetransmitter,whichisuniqueinthecommunication
network(factorydefault0x01),thebroadcastaddressis0xFE,andthebroadcastaddress
canbeusedforqueryandsettingwhenthereisonlyonedeviceonthebus.
Functioncode:theinstructionfunctioninstructionissuedbythehost,thistransmitteronly
usesfunctioncode0x03(readregisterdata)andfunctioncode0x06(writeregisterdata).
Dataarea:Thedataareaisspecificcommunicationdata.Notethatthehighbyteof16bitsdataisfirst!
CRCcode:atwobytecheckcode.
Hostinquiryframestructure:
Address
code
Function
code
registerstartaddress
Registerlength
lowbitofcheck
code
Highbitofcheck
code
1byte
1byte
2bytes
2bytes
1byte
1byte
Slightanswerframestructure:
Address
code
Function
code
Numberofvalid
bytes
DataArea1
Seconddataarea
DataAreaN
1byte
1byte
1byte
2bytes
2bytes
2bytes
Slightanswerframestructure:
Registeraddress
Content
Operation
Description
Devicestatus
Read
only
Datareadas0:Devicestatuspositive
often
Value1:floodalarm
Value2:WaterImmersion
Fault
AboutourCOMPANYPROFILE

Registeraddress
Content
Operation
Description
Deviceaddress
Read/
Write
Deviceaddressrange:1253
Devicecommunication
baudrate
Read/
Write
Setthebaudrate,16respectively,asshown
in
down
Whentheequipment
delaysthealarm
space
Read/
Write
065535seconds
Queryusingthe
command
1.Example:Readthedevicestatusinquiryframeofdeviceaddress0x01(hexadecimal):
Address
code
Function
code
StartAddress
Datalength
lowbitofcheck
code
Highbitofcheck
code
Devicenormalresponseframe(hex):
Address
code
Function
code
StartAddress
Datalength
lowbitofcheck
code
Highbitofcheck
code
Devicealarmresponseframe(hex):
Address
code
Function
code
Returnsthenumberof
validbytes
Data
lowbitofcheck
code
Highbitofcheck
code
Devicefailureresponseframe(hex):
Address
code
Function
code
Returnsthenumberof
validbytes
Data
lowbitofcheck
code
Highbitofcheck
code
2.Readthedeviceaddressinquiryframeofdeviceaddress0x01(hexadecimal):
Address
code
Function
code
StartAddress
Datalength
lowbitofcheck
code
Highbitofcheck
code
Replyframe(hexadecimal):Deviceaddressvaluebit1
Address
code
Function
code
Returnsthenumberof
validbytes
Data
lowbitofcheck
code
Highbitofcheck
code
3.Readthedevicecommunicationbaudrateinquiryframe(hexadecimal)withdeviceaddress0x01:
Address
code
Function
code
StartAddress
Datalength
lowbitofcheck
code
Highbitofcheck
code
AboutourICOMPANYPROFILE

Answerframe(hexadecimal):baudratevalueof3is9600
Address
code
Function
code
Returnsthenumberof
validbytes
Data
lowbitofcheck
code
Verification
code
High
4.Readtheequipmentdelayalarmtimeinquiryframewithequipmentaddress0x01(hexadecimal):
Address
code
Function
code
StartAddress
Datalength
lowbitofcheck
code
Highbitofcheck
code
Answerframe(hexadecimal):delayalarmtimeis0(default)
Function
code
Returnsthenumberof
validbytes
Data
lowbitofcheck
code
Highbitofcheck
code
5.Setthedeviceaddressvalueofdeviceaddress0x01to2inquiryframes(hexadecimal):
Address
code
Function
code
Registeraddress
Data
lowbitofcheck
code
Highbitofcheck
code
Answerframe(hexadecimal):setsuccessfully
Address
code
Function
code
Registeraddress
Data
lowbitofcheck
code
Highbitofcheck
code
6.Setthedevicecommunicationbaudrateofdeviceaddress0x01to19200inquiryframe(hexadecimal):
Address
code
Function
code
Registeraddress
Data
lowbitofcheck
code
Highbitofcheck
code
Answerframe(hexadecimal):setsuccessfully
Address
code
Function
code
Registeraddress
Data
lowbitofcheck
code
Highbitofcheck
code
7.Settheequipmentdelayalarmtimeofequipmentaddress0x01to3inquiryframes(hexadecimal):
Address
code
Function
code
Registeraddress
Data
lowbitofcheck
code
Highbitofcheck
code
Answerframe(hexadecimal):setsuccessfully
Address
code
Function
code
Registeraddress
Data
lowbitofcheck
code
Highbitofcheck
code
Commonproblemsandsolutions
Possiblecausesofnooutputoroutputerrors:
ThecomputerhasaCOMmouth,andthemouthselectedis
incorrect.
Thebaudrateiswrong.
The485busisdisconnected,ortheandBlinesareconnected
reversely.
AboutourCOMPANYPROFILE
Address
code

Iftherearetoomanydevicesorthewiringistoolong,supplypowernearby,adda485booster,andincreasethe120Ωterminalresistance.
TheUSB485driverisnotinstalledorisdamaged.
Damagetoequipment.
4.installationmethod
Standardizetheinstallationprocessandlowerthe
operatingthreshold
Itshouldgenerallybeinstalledinlowlyingareaspronetowaterimmersionorinsidewater
containingcontainers,andcanbemountedeitherhorizontallyorvertically.Whenitisusedfor
thefloodalarmundertheisolationfloorofthemachineroom,thegroundisfixedwithround
nails,andthentiedwithPVCcableties.Whenitisusedforindoorcabletrenches,itisdirectly
tiedwithPVCcabletiesonthecrossbraceorthickcables.
Installationprecautions
Groundcleaning:cleanupdustandoilonthegroundbeforeinstallationtoensuregoodcontactbetweentheprobe
andtheground.
Fixfirmly:thesensorandcableshallbefixedwithbuckleoradhesivetapetopreventdisplacement.
Avoidfalsepositives:Donotinstallinplaceswherewaterstainsandcondensateoftenoccur(suchasdirectlybelowtheair
outletoftheairconditioner).
Wiringspecification:powerlinesandsignallinesawayfromstrongcablestoavoid
interference.
Waterprooftreatment:theterminaliswaterproofandsealedtopreventpoorcontactcausedbywatervapor
corrosion.
ProductSize(Unit:mm)
Shellmaterial:zincalloydimensions:47*30mm
AboutourCOMPANYPROFILE

AboutourICOMPANYPROFILE

Readabletextreferenceforsmalllabels
Sourcepage2
Warehouse
Sourcepage2
Factory
Sourcepage2
Pumproom
Sourcepage2
DataCenter
Sourcepage2
Highsensitivity
Sourcepage2
Alarmnotification
Sourcepage2
Strongantiinterference
Sourcepage2
Rapidresponse,alarmtime≤3seconds
Sourcepage2
Soundandlightdoublealarm,abnormalprompt
Sourcepage2
Resistenvironmentalinterferenceandreducemisoperation
Sourcepage2
Easymaintenance
Sourcepage2
Easytoinstall
Sourcepage2
Widecompatibility
Sourcepage2
DIN35railinstallation
Sourcepage2
Removableforcleaning.Theleakdetectioncableisreusableafterdrying.
Sourcepage2
Supportaccesstothirdpartymonitoringsystems
Sourcepage3
Switchingquantity

Sourcepage3
Operatingcurrent
Sourcepage3
Operatingtemperature
Sourcepage3
Detectionaccuracy
Sourcepage3
Powerindicatorlight
Sourcepage3
Linelength
Sourcepage3
WiringDefinitions
Sourcepage3
Blackline:negative
Sourcepage3
Yellowline:publicend
Sourcepage3
Blue:Normallyclosed(NC)
Sourcepage3
Whitewire:Normallyopen(NO)
Sourcepage3
Waterproofrating
Sourcepage3
Explosionproofmarking
Sourcepage3
Explosionproofcertificate
Sourcepage3
Number
Sourcepage3
Encoding
Sourcepage4
None
Sourcepage4
1stplace
Sourcepage4
Addresscode
Sourcepage4

Functioncode
Sourcepage4
lowbitofcheckcode
Sourcepage4
Highbitofcheckcode
Sourcepage4
Addresscode
Sourcepage4
Functioncode
Sourcepage4
Numberofvalidbytes
Sourcepage4
Operation
Sourcepage4
Description
Sourcepage4
Readonly
Sourcepage4
often
Sourcepage4
Value2:WaterImmersionFault
Sourcepage5
Operation
Sourcepage5
Description
Sourcepage5
Deviceaddress
Sourcepage5
Read/Write
Sourcepage5
Devicecommunicationbaudrate
Sourcepage5
Read/Write
Sourcepage5
Setthebaudrate,16respectively,asshownin
Sourcepage5

down
Sourcepage5
Whentheequipmentdelaysthealarm
Sourcepage5
space
Sourcepage5
Read/Write
Sourcepage5
065535seconds
Sourcepage5
Addresscode
Sourcepage5
Functioncode
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage5
Addresscode
Sourcepage5
Functioncode
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage5
Addresscode
Sourcepage5
Functioncode
Sourcepage5
Returnsthenumberofvalidbytes
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage5

Addresscode
Sourcepage5
Functioncode
Sourcepage5
Returnsthenumberofvalidbytes
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage5
Addresscode
Sourcepage5
Functioncode
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage5
Addresscode
Sourcepage5
Functioncode
Sourcepage5
Returnsthenumberofvalidbytes
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage5
Addresscode
Sourcepage5
Functioncode
Sourcepage5
lowbitofcheckcode
Sourcepage5
Highbitofcheckcode
Sourcepage6

Addresscode
Sourcepage6
Functioncode
Sourcepage6
Returnsthenumberofvalidbytes
Sourcepage6
lowbitofcheckcode
Sourcepage6
Verificationcode
Sourcepage6
Addresscode
Sourcepage6
Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Functioncode
Sourcepage6
Returnsthenumberofvalidbytes
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Addresscode
Sourcepage6
Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Addresscode
Sourcepage6

Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Addresscode
Sourcepage6
Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Addresscode
Sourcepage6
Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Addresscode
Sourcepage6
Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6
Highbitofcheckcode
Sourcepage6
Addresscode
Sourcepage6
Functioncode
Sourcepage6
lowbitofcheckcode
Sourcepage6

Highbitofcheckcode
Sourcepage6
Addresscode
