beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 295

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7 - 11

Counter

type

Program-interruption

high speed counter

Hardware high speed counter

1-phase 1 input

1-phase 1 input

1-phase 2 inputs

2-phase 2 inputs

Type


Input

C235 C236 C237 C238 C239 C240 C241 C242 C243 C244 C246 C247 C248 C249 C251 C252 C253 C254

X0

U/D

U/D

U

A

X1

U/D

D

B

X2

U/D

R

R

R

X3

U/D

S

S

S

X4

U/D

U/D

U

A

X5

U/D

D

B

X6 R

R

R

X7 S

S

S

X10

U/D

U

A

X11

D

B

X12 R

R

R

X13 S

S

S

X14

U/D

U A

X15

D B

X16

R

R R

X17

S

S S

U: Progressively increasing input

A: A phase input

S: Input started

B: Progressively decreasing input

B: B phase input

R: Input cleared

c) In EH/EH2/SV series MPU, there is no limitation on the times of using the hardware high speed counter

related instructions, DHSCS, DHSCR and DHSZ. However, when these instructions are enabled at the

same time, there will be some limitations. DHSCS instruction will occupy 1 group of settings, DHSCR 1

group of settings and DHSZ 2 groups of settings. There three instructions cannot occupy 8 groups of

settings in total; otherwise the system will ignore the instructions which are not the first scanned and

enabled.

d) System structure of the hardware high speed counters:

i) HHSC0 ~ 3 have reset signals and start signals from external inputs. Settings in M1272, M1274,

M1276 and M1278 are reset signals of HHSC0, HHSC1, HHSC2 and HHSC3. Settings in M1273,

M1275, M1277 and M1279 are start signals of HHSC0, HHSC1, HHSC2 and HHSC3.

ii) If the external control signal inputs of R and S are not in use, you can set M1264/M1266/M1268/M1270

and M1265/M1267/M1269/M1271 as True and disable the input signals. The corresponding external

inputs can be used again as general input points (see the figure below).

iii) When special M is used as a high speed counter, the inputs controlled by START and RESET will be

affected by the scan time.