Appendix 6. Data Type Unit: Enum A2_ A-57 Error Code Description Corrective action 16#201A IRET/SRET is not after FEND. (SM5) 1. Compile the program again, and download the program again. 2. Reinstall ISPSoft, compile the program again, and download the program again. 16#201B There is an interrupt task, but there is no IRET. There is IRET, but there is not interrupt task. (SM5) 1. Compile the program again, and download the program again. 2. Reinstall ISPSoft, compile the program again, and download the program again. 16#201C End is not at the end of the program. (SM5) 1. Compile the program again, and download the program again. 2.
Reinstall ISPSoft, compile the program again, and download the program again. 16#201D There is CALL, but there is no MAR. (SM5) 1. Compile the program again, and download the program again. 2. Reinstall ISPSoft, compile the program again, and download the program again. 16#201E The function code used in MODRW is incorrect. (SM102/SM103) Check the usage of the instruction and the setting of the operands. Please refer to the explanation of the instruction MODRW in AH500 Programming Manual for more information. 16#201F The length of the data set in MODRW is incorrect. (SM102/SM103) Check the usage of the instruction and the setting of the operands.
Please refer to the explanation of the instruction MODRW in AH500 Programming Manual for more information. 16#2020 The communication command received by using MODRW is incorrect. (SM102/SM103) Check whether the slave supports the function code and the specified operation. 16#2021 The checksum of the command received by using MODRW is incorrect. (SM102/SM103) 1. Check whether there is noise, and retry the sending of the command. 2. Check whether the slave operates normally. 16#2022 The format of the command used in MODRW does not conform to the ASCII format. (SM102/SM103) Make sure that the format of the command conforms to the ASCII format.