beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 492

background image

9 Application Instructions API 150-199

DVP-PLC Application Manual

9-20

EH/EH2/SV series MPU, Y0: D1337, D1336; Y2: D1339, D1338, Y4: D1376, D1375; Y6: D1378, D1377. For

SC series MPU, Y10: D1348, D1349; Y11: D1350, D1351. In this way, you can keep track of the position of the

machine at any time. However, due to that the data will be lost when the power of the PLC is switched off, you

have to enter the zero point position of the machine when executing zero return for the first time.

Program Example:

When M10= On, Y0 output pulses start to operate zero return at the frequency of 20KHz. When the zero return meets

DOG X15 = On, Y0 output pulses will start to operate by creep speed 1KHz until X15 is Off.

M10

ZRN

K20000

K1000

X15

Y0

Remarks:

1.

Timing chart of the reset signal output for EH/EH2/SV series MPU. (SC series MPU does not support this

function.)

a) When the reset signal flag M1346 = On, after zero return is completed, the PLC can send the reset signal to

the servo drive and the signal will last for approximately 20ms. After 20ms, the reset signal will return to Off

again.

b) Output devices for reset signals of EH series MPU:

CH0 (Y0, Y1) reset output device (Y4)

CH1 (Y2, Y3) reset output device (Y5)

c) Output devices for reset signals of EH2/SV series MPU:

CH0 (Y0, Y1) reset output device (Y10)

CH1 (Y2, Y3) reset output device (Y11)

CH2 (Y4, Y5) reset output device (Y12)

CH3 (Y6, Y7) reset output device (Y13)

Off

On

On

Off

DOG ON

Zero return speed

Scan in circle

Creep speed

Reset signal

Output near point signal (DOG)

Reset signal Y4 or Y5

M1336, M1337
Pulse output monitor

Inside 1 ms

Greater than 20ms

Program interrupt

Note: The designated devices, X, Y, M, and S, other than the external input devices X10 ~ X17 will be affected

by the scan period, 2 times of the scan period at worst.

2.

The zero return operation:

a) When ZRN instruction is executed, the frequency of the first acceleration segment of CH0 (CH1) in

EH/EH2/SV series MPU is set by D1340 (D1352). In SC series MPU, CH0 (CH1) will set creep speed as the