AH500 Programming Manual 3. 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 . 4. In the RTU mode, the data which is received is stored as the hexadecimal values in S . 5. After the receiving of the data from the ES2 series PLC is complete, SM100 is ON if no error occurs. 6. 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. Example 2: 1. Function code 03 (16#03): The AH500 series PLC reads the data from several word devices which are not input registers. The AH500 series PLC is connected to the ES2 series PLC. (ASCII mode: SM210 is OFF.) The AH500 series PLC is connected to the ES2 series PLC. (RTU mode: SM210 is ON.) 2. ASCII Mode: The AH500 series PLC is connected to the ES2 series PLC. When SM96 and X0.0 are on, the AH500 series PLC sends and receives the following commands. AH ES2 The AH500 series PLC sends “ : 00 03 1000 0001 EC CR LF”. ES2 AH The AH500 series PLC receives “ : 00 03 02 04D2 25 CR LF”.
The data which the AH500 series PLC receives from the ES2 series PLC is stored in D10. 6-411