调试与维护8.1 使用说明1) 通电前首先检查电源线是否正确接入。2) 通电后,电源指示灯(POWER)被点亮,同时运行灯(RUN)开始闪烁,时间间隔为1 秒。3) 通讯的建立a) 正确接入 RS485 总线,并连接至上位机。b) 上位机根据模块的站号和波特率,按规约格式下发命令。此时模块的通信指示灯闪烁,表明模块已经收到上位机命令并应答,即通讯已经建立。8.2 调 试1) 通电前检查电源是否连接正确。2) 通电后,观察电源灯是否点亮,若不亮则表明电源未加上。3) 观察运行灯是否闪烁,若不闪烁,表明模块没有正常运行。4) 只有当通讯指示灯闪烁时,才表明通讯建立起来。5) 设置上位机查询时间间隔。由于总线是半双工方式,上位机应设定适当的时间间隔,时间间隔应根据模块应答命令的长短和波特率决定,时间间隔设置不当会导致通讯失败。
Debugging and Maintenance 8.1 Instructions for Use 1) Before powering on, first check whether the power cord is correctly connected. 2) After powering on, the power indicator light (POWER) is lit, and the running light (RUN) starts flashing at a time interval of 1 second. 3) The establishment of communication a) Correctly connect to the RS485 bus and connect to the upper computer. b) The upper computer sends commands according to the protocol format based on the station number and baud rate of the module. At this point, the communication indicator light of the module flashes, indicating that the module has received a command from the upper computer and responded, indicating that communication has been established. 8.2 Debugging 1) Before powering on, check if the power supply is connected correctly. 2) After powering on, observe if the power light is on. If it is not on, it indicates that the power has not been added. 3) Observe if the running light flashes. If it does not, it indicates that the module is not operating properly. 4) Only when the communication indicator light flashes, does it indicate that communication has been established. 5) Set the upper computer query interval. Due to the half duplex mode of the bus, the upper computer should set an appropriate time interval, which should be determined based on the length and baud rate of the module's response commands. Improper setting of the time interval can lead to communication failure.