182
Command Functiondescription remark
01
Readonegroupcoilstatus(00000~0XXXX) ReadCoilStatus(output)
02 Fetchonegroupdataofthestatusofswitchinput
(10000~1XXXX)
ReadinputStatus(inputrelay)
03
Readdataofmulti-holdingregister(40000~4XXXX)
ReadHoldingRegisters
(Outputregister)
04
Readdataofinputregisters(3000~3XXXX)
ReadInputRegisters
Note:Pleaseuse “03” commandtoreadAI/AOofxLogic
4.WheretosavethedatareadfromSlave.
Example:Thefollowingwe'lltakeaexamplethatonexLogic(Master)communicatewithotherxLogic
(Slave)viaRS485.
Example1: GetQ1statusofSLAVE1(xLogic)andthensavethebitstatustoF1.