Chapter 6 Applied Instruction The communication command which the AH500 series PLC sends: The communication command which the AH500 series PLC receives: 3. After the receiving of the data from the ES2 series PLC is complete, SM100 is ON if no error occurs. 4. The data which is received from the ES2 series PLC is stored in the device specified by users. After the receiving of the data is complete, the AH500 series PLC automatically checks whether the data which is received is correct. If an error occurs, SM102 is ON. 5. In the ASCII mode, the data which is received is stored as the ASCII character in the internal register.
The AH500 series PLC automatically converts the data into the hexadecimal value, and the conversion result is stored in S . 6. In the RTU mode, the data which is received is stored as the hexadecimal values in S . 6-414 Data Description ‘0’ 16#30 ADR 1 ADR (10) is the station address of the slave. ‘0’ 16#30 ADR 0 ‘0’ 16#30 CMD 1 CMD (10) is the command code. ‘6’ 16#36 CMD 0 1’ 16#31 Initial data address ‘0’ 16#30 ‘0’ 16#30 ‘0’ 16#30 ‘1’ 16#31 Value in the register ‘2’ 16#32 ‘3’ 16#33 ‘4’ 16#34 ‘A’ 16#41 LRC CHK 1 LRC CHK (01) is the error checking code. ‘4’ 16#34 LRC CHK 0 Data Description ‘0’ 16#30 ADR 1 ADR (10) is the station address of the slave.
‘0’ 16#30 ADR 0 ‘0’ 16#30 CMD 1 CMD (10) is the command code. ‘6’ 16#36 CMD 0 1’ 16#31 Initial data address ‘0’ 16#30 ‘0’ 16#30 ‘0’ 16#30 ‘1’ 16#31 Value in the register ‘2’ 16#32 ‘3’ 16#33 ‘4’ 16#34 ‘A’ 16#41 LRC CHK 1 LRC CHK (01) is the error checking code. ‘4’ 16#34 LRC CHK 0