beautypg.com

5 categories & use of application instructions – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 202

background image

5 Categories & Use of Application Instructions

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.

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:

API 58 PWM (ES series MPU)

API 60 IST (ES/SA/EH series MPU)

API 74 SEGL (ES series MPU)

API 155 DABSR (SC/EH series MPU)

2. Can be used only twice in the program:

API 57 PLSY (ES series MPU)

API 59 PLSR (ES series MPU)

API 74 SEGL (EH series MPU)

API 77 PR (SA/EH series MPU)

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

(SA series MPU).

ƒ

There is no limitation on the times of using the instructions listed below, but there are limitations on the times of

executing the same instruction at the same time.

1. Instructions which can be executed only once: API 52 MTR (SA/EH), API 56 SPD (ES/SA/EH), API 69 SORT

(SA/EH), API 70 TKY (SA/EH), API 71 HKY (SA/EH), API 72 DSW (SA), API 74 SEGL (SA), API 75 ARWS, API

80 RS (ES/SA/EH), API 100 MODRD (ES/SA/EH), API 101 MODWR (ES/SA/EH), API 102 FWD (ES/SA/EH),