3. Instruction Set

I010

EI

M1002

MOV K100 D1131

MOV K200 D1340

MOV K300 D1343

MOV K600 D1348

SET M1534

DMOV K0 D1030

DMOV K0 C243

M0

 

K9999

 

 

 

 

 

DCNT

C243

 

 

 

 

 

 

 

 

 

 

DHSCS

K50000

C243

I010

 

 

 

 

DCLLM

C243

K50000

K100000 Y0

 

 

 

 

 

 

 

 

FEND

 

 

 

M1000

D0

 

 

 

 

 

 

INC

 

 

 

 

 

 

 

 

IRET

END

2.Assume the first execution results are as below:

Frequency

100KHz

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C243 =K50000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y0 stops output

D1340

Time

Pulse number

D1343

D1348

6s

Specified number of output pulses: 50,000

Actual number of output pulses (D1030, D1031) = K50,600

3.Observe the results of the first execution:

a)The actual output number 50,600 – specified output number 50,000 = 600

b)600 x (1/100Hz) = 6s (idle time)

c)3 seconds are too long. Therefore, increase the percentage value (D1131) to K101.

4.Obatin the results of the second execution:

3 - 4 4 3

Page 559
Image 559
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Assume the first execution results are as below