Kaiyi — 6.19.2 Explanation of Communication Instructions

Chapter 6 Applied Instruction instruction RST continuously. 4. If the command which the PLC receives includes a special character, I32 will be triggered. The value in D30 will increase by one. The main program: The interrupt task (I32): 16-bit mode: PLC  External equipment The AH500 series PLC sends “ : 00 03 1000 0002 EB CR LF”. External equipment  PLC The AH500 series PLC receives “ : 00 03 04 0E34 04E6 CD CR LF”. The transmission registers in the PLC: (The PLC sends the message.) 6-380 Register Data Description D10 Low 8 bits ‘:’ 16#3A STX D10 High 8 bits ‘0’ 16#30 ADR 0 ADR (00) is the station address of the external equipment.

D11 Low 8 bits ‘0’ 16#30 ADR 0 D11 High 8 bits ‘0’ 16#30 CMD 0 CMD (03) is the command code. D12 Low 8 bits ‘3’ 16#33 CMD 3