DVP - ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming

X0

When X0 = ON, DSW will be

 

 

 

 

 

 

 

SET

M0

enabled.

 

 

 

 

 

M0

 

 

When X0 = OFF, M0 is

 

 

 

 

 

 

DSW

X10 Y10 D0 K0

 

 

 

 

 

 

 

 

 

M1029

 

latched. M0 will be reset

 

 

 

 

 

 

RST

M0

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

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

D1067

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

D1069

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

 

cleared.

M1068

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

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

D1068

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.

3 - 18

Page 134
Image 134
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Limitations for times of using instructions, API 155 Dabsr