beautypg.com

Delta DVP-ES2 User Manual

Page 134

background image

D V P - E S 2 / S A 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 1 8

X0

SET

M0

M0

DSW X10

Y10

D0

K0

RST

M0

M1029

When X0 = ON, DSW will be

enabled.

When X0 = OFF, M0 is

latched. M0 will be reset

only when DSW instruction

is completed to activate

M1029.

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 to Extend Functions

Some instructions can extend their function by using some special flags.

Example: instruction RS can switch transmission mode 8-bit and 16-bit by using M1161.

Device

Explanation

M1067

D1067

D1069

When operational errors occur, M1067 = ON. D1067 displays the error code.

D1069 displays the address where the error occurs. Other errors occurring will

update the contents in D1067 and D1069. M1067 will be OFF when the error is

cleared.

M1068

D1068

When operational errors occur, M1068 = ON. D1068 displays the address

where the error occurs. Other errors occurring wil not update the content in

D1068. RST instruction is required to reset M1068 otherwise M1068 is latched.

Limitations for times of using instructions

Some instructions can only be used a certain number of times in a program. These instructions

can be modified by index registers to extend their functionality.

1.

Instructions can be used once in a program:

API 60 (IST)

API 155 (DABSR)

2.

Instruction can be used twice in a program:

API 77 (PR)

3.

Instruction can be used 8 times in a program:

API 64 (TTMR)

4.

For counters C232~C242, the total max times for using DHSCS, DHSCR and DHSZ

instructions: 6. DHSZ can only be used less than 6 times.

This manual is related to the following products: