beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 489

background image

9 Application Instructions API 150-199

DVP-PLC Application Manual

9-17

M1306: (For EH/EH2/SV series MPU) PLSV, DPLSV, DRVI, DDRVI, DRVA, DDRVA instructions for CH1

(Y2, Y3) reverse running.

M1334: (For EH series MPU) When M1334 = On, CH0 (Y0, Y1) pulse output will pause.

(For EH2/SV series MPU) When M1334 = On, CH0 (Y0, Y1) pulse output will stop.

(For SC series MPU) When M1334 = On, the DDRVI and DDRVA execution criteria will stop and CH0

(Y10) pulse output will stop immediately without deceleration.

M1335: (For EH series MPU) When M1335 = On, CH1 (Y2, Y3) pulse output will pause.

(For EH2/SV series MPU) When M1335 = On, CH1 (Y2, Y3) pulse output will stop.

(For SC series MPU) When M1335 = On, DDRVI and DDRVA execution criteria will stop and CH1

(Y11) pulse output will stop immediately without deceleration.

M1520: (For EH2/SV series MPU) When M1520 = On, CH2 (Y4, Y5) pulse output will stop.

M1521: (For EH2/SV series MPU) When M1521 = On, CH3 (Y6, Y7) pulse output will stop.

M1336: (For EH/EH2/SV series MPU) CH0 (Y0, Y1) pulse output indication flag

M1337: (For EH/EH2/SV series MPU) CH1 (Y2, Y3) pulse output indication flag

M1346: (For EH/EH2/SV series MPU) ZRN instruction for “enabling CLEAR output signal” flag

6. Special

registers:

D1337, D1336: 1. (For EH/EH2/SV series MPU) Registers for the first group (Y0, Y1) output pulse present

value of position control instructions (API 156 ZRN, API 157 PLSV, API 158 DRVI, API

159 DRVA). The present value increases or decreases according to the corresponding

rotation direction. D1337 is for high word; D1336 is for low word.

2. (For EH/EH2/SV series MPU) Registers for storing the current number of output pulses of

the first group (Y0, Y1) output of pulse output instructions (API 57 PLSY, API 59 PLSR).

D1337 is for high word; D1336 is for low word.

D1338, D1339: 1. (For EH/EH2/SV series MPU) Registers for the second group (Y2, Y3) output pulse

present value of position control instructions (API 156 ZRN, API 157 PLSV, API 158 DRVI,

API 159 DRVA). The present value increases or decreases according to the

corresponding rotation direction. D1339 is for high word; D1338 is for low word.

2. (For EH/EH2/SV series MPU) Registers for storing the current number of output pulses of

the second group (Y2, Y3) output of pulse output instructions (API 57 PLSY, API 59

PLSR). D1339 is for high word; D1338 is for low word.

D1340 (D1352): For setting up the frequencies of the first acceleration segment and the last deceleration

segment when the position control instructions (API 156 ZRN, API 158 DRVI, API 159

DRVA) are executing CH0 (CH1) outputs.

Range of setting:

For EH/EH2/SV series MPU, the speed has to be higher than 10Hz. Frequency lower than

10Hz or higher than maximum output frequency will be output by 10Hz. The default setting

in EH/EH2/SV series MPU is 200Hz. For SC series MPU, the speed has to be 100 ~

100KHz. Frequency lower than 100Hz will be output by 100Hz and frequency higher than