beautypg.com

Delta DVP-ES2 User Manual

Page 135

background image

3 . I n s t r u c t i o n S e t

3 - 1 9

5.

For counters C243, C245~C248, C251, C252, the total max times for using DHSCS, DHSCR

and DHSZ instructions: 4. DHSZ takes up 2 times of the total available times.

6.

For counters C244, C249, C250, C253, C254, the total max times for using DHSCS, DHSCR

and DHSZ instructions: 4. DHSZ takes up 2 times of the total available times.

Limitation of synchronized execution

Most instructions have no limitation on the times to be used in a program, but there are limitations

on the number of instruction to be executed in the same scan cycle.

1. Only 1 instruction can be executed at the same scan cycle: API 52 MTR, API 69 SORT, API

70 TKY, API 71 HKY, API 72 DSW, API 74 SEGL, API 75 ARWS.

2. Only 4 instruction can be executed at the same scan cycle: API 56 SPD, API 169 HOUR.

3. There is no limitation on the times of using the high-speed output instructions API 57 PLSY,

API 58 PWM, API 59 PLSR, API 156DZRN, API 158 DDRVI, API 159 DDRVA and API 195

DPTPO, but only one high-speed output instruction will be executed in the same scan time.

4. There is no limitation on the times of using the communication instructions API 80 RS, API

100 MODRD, API 101 MODWR, API 102 FWD, API 103 REV, API 104 STOP, API 105 RDST,

API 106 RSTEF , API 150 MODRW, but only one communication instruction will be executed

on single COM port during the same scan cycle.

Numeric Values

1.

Devices indicates ON/OFF status are called bit devices, e.g. X, Y, M and S. Devices used for

storing values are called word devices, e.g. T, C, D, E and F. Although bit device can only be

ON/OFF for a single point, they can also be used as numeric values in the operands of

instructions if the data type declaration device Kn is added in front of the bit device.

2.

For 16-bit data, K1~K4 are applicable. For 32-bit data, K1~K8 are applicable. For example,

K2M0 refers to a 8-bit value composed of M0 ~ M7.

M15

M14

M13 M12

M11 M10

M9

M8

M7

M6

M5

M4

M3

M2

M0

M1

0

0

0

0

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

1

1

1

1

D1

D1

1

1

1

1

0

0

0

0

0

0

0

0

0

0

0

0

b15

b14

b13

b12

b11

b10

b9

b8

b7

b6

b5

b4

b3

b2

b0

b1

0

0

0

0

0

0

0

0

Valid data

Reset to 0

Transmit to

Equals

Low byte

Low byte

This manual is related to the following products: