5 Categories & Use of Application Instructions 2. Error Operation Flags Errors occur during the execution of the instruction when the combination of application instructions is incorrect or the devices designated by the operand exceed their range. Other than errors, the flags listed in the table below will be On, and error codes will also appear. 3. Flags for expanding functions Some application instructions can use some special flags to expand their functions or complete special functions. For example, the communication instruction RS can use M1161 to switch between 8-bit and 16-bit transmission mode.
Times of using instructions There are limitation on the times of using some instructions in the program. However, you can use index register modification in the operands to expand the functions of the instruction. 1. Can be used only once in the program: 2. Can be used only twice in the program: 3. Can be used only 4 times in the program: API 169 HOUR (SA series MPU) 4. Can be used only 8 times in the program: API 64 TTMR (SA series MPU) 5. API 53 DHSCS and API 54 DHSCR together can be used only maximum 4 times in the program (ES series MPU). 6.
API 53 DHSCS, API 54 DHSCR, and API 55 DHSZ together can be used only maximum 6 times in the program There is no limitation on the times of using the instructions listed below, but there are limitations on the times of (SA series MPU). executing the same instruction at the same time. DVP-PLC Application Manual 5-10 Device Explanation M1067 D1067 D1069 When operational errors occur, M1067 will be On. D1067 displays the error code. D1069 displays the step where the error occurs. Other errors occurring will update the contents in D1067 and D1069. M1067 will be Off when the error is eliminated. M1068 D1068 When operational errors occur, M1068 will be On.
D1068 displays the step where the error occurs. Other errors occurring wil not update the content in D1068. You have to use RST instruction to reset M1068 to Off; otherwise M1068 will keep being On. API 58 PWM (ES series MPU) API 60 IST (ES/SA/EH2/EH3/SV/SV2 series MPU) API 74 SEGL (ES series MPU) API 155 DABSR (SC/EH2/EH3 series MPU) API 57 PLSY (ES series MPU) API 59 PLSR (ES series MPU) API 74 SEGL (EH2/EH3/SV/SV2 series MPU) API 77 PR (SA/EH2/EH3/SV/SV2 series MPU)