beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 503

background image

9 Application Instructions API 150-199

DVP-PLC Application Manual

9-31

Y6).

When in backward direction, the content in the present value register will decrease.

10. For SC series MPU, S

1

is the 32-bit data stored in the present value registers D1348 (low word) and D1349

(high word) of CH0 (Y10) or the 32-bit data stored in the present value registers D1350 (low word) and D1351

(high word) of CH1 (Y11). When in backward direction, the content in the present value register will decrease.

When the program goes from STOP to RUN or from RUN to STOP, the content in the present value register

will remain unchanged.

11. For EH/EH2/SV series MPU, when DRVA instruction is executing pulse output, you cannot change the content

of all operands. The changes will be valid next time when DRVA instruction is enabled.

12. For EH/EH2/SV series MPU, when the drive contact of DRVA instruction is Off, the pulse output will decelerate

to stop and M1029 and M1030 will be enabled. For SC series MPU, the pulse output will decelerate to stop and

M1102 and M1103 will be enabled.

13. For EH/EH2/SV series MPU, when the drive contact of DRVA instruction is Off, even the indication flag M1336

sent by CH0 pulses or M1337 sent by CH1 pulses are “On”, DRVA instruction will not be driven again.

14. When the absolute value of the input frequency of DRVA and DDRVA insturctions in EH/EH2/SV series MPU is

larger than 200KHz, the output will be operated at 200KHz. When the absolute value of the input frequency is

smaller than 10Hz, the output will be operated at 10Hz.

15. D1343 (D1353) is for setting up the time of the first acceleartion segment and last deceleration segment of

CH0 (CH1). The acceleration and deceleration time of EH/EH2/SV series MPU shall not be shorter than 10ms.

The output will be operated for 10ms if the time is shorter than 10ms or for 100ms (default) if the time is longer

than 10,000ms. The time range for SC series MPU is 50 ~ 20,000ms. The output will be operated for 20,000ms

or 50ms if the time set is longer than 20,000ms or shorter than 50ms.

16. For EH/EH2/SV series MPU, M1305 (M1306) is the direction signal of CH0 (CH1). When S

1

is a positive

number, the output will be operated in a forward direction and M1305 (M1306) will be Off. When S

1

is a

negative number, the output will be operated in a backward direction and M1305 (M1306) will be On.

17. D1340 (D1352) is for setting up the start/end frequency of Y10 (Y11). If S

2

is less than or equals start/end

frequency, the pulse output frequency will be executed by the start/end frequency.

Program

Example:

When M10= On, Y0 will output 20,000 pulses (absolute designation) at 2KHz. Y5 = On indicates the pulses are

executed in forward direction.

M10

DRVA

K20000

K2000

Y0

Y5

Remarks:

1.

Explanations on EH/EH2/SV series MPU:

a) Absolute position control: Designating the traveling distance starting from the zero point (0); also known as a

absolute driving method.