beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 487

background image

9 Application Instructions API 150-199

DVP-PLC Application Manual

9-15

transmit the data to D1337 and D1336 of CH0 or D1339 and D1338 of CH1. In addition, the absolute position

data should be written into the present value registers (D1348, D1349) of CH0 pulse (Y10) or the present value

registers (D1350, D1351) of CH1 pulse (Y11) in SC series MPU; therefore, we suggest you designate the two

corresponding registers. If you designate other devices as the registers, you still have to transmit the data to

D1348 and D1349 of CH0 or D1350 and D1351 of CH1.

9.

When DABSR instruction starts to read, after finishing reading the absolute position of SERVO, flag M1029 will

be On. The user has to reset the flag.

10. When driving the DABSR command, please specify normally open contact. If the drive contact of DABSR

command turns Off when DABSR command read starts, the execution of absolute current value read will be

interrupted and result in incorrect data. Please be careful and notice that.

Program Example:

1.

When X7 = On, the 32-bit absolute position data read from Servo will be stored in the present value registers

(D1337, D1336) of CH0 pulse in EH MPU. At the same time, the timer T10 is enabled and starts to count for 5

seconds. If the reading of the absolute position is not completed after 5 seconds, M10 will be On, indicating that

the reading of absolute position encounters abnormality.

2.

When enabling the connection to the system, please synchronize the power input of DVP-PLC EH/EH2/SV and

SERVO AMP or activate the power of SERVO AMP earlier than DVP-PLC.

X7

DABS

X0

Y4

D1336

TMR

T0

K50

M11

M10

T0

SET

M11

M1029

ABS read completed

execution completed
flag

Read overtime

ABS absolute position
data read is abnormal

ABS absolute position
data read completed

Time-out : 5 sec.

Remarks:

1.

If the instruction is interrupted when PLC is still reading the absolute position of SERVO, an ALARM message

(ALE5) will occur in SERVO.

2.

Timing chart of DABSR instruction reading absolute position:

a) When DABSR instruction starts to execute, it will drive SERBVO On (SON) and ABS transmittion mode for

output.

b) By “transmission is ready” and “ABS request” signals, you can confirm the transmission and reciept of both

sides as well as processing the transmission of the 32-bit present position data plus the 6-bit check data.

c) The data are transmitted by ABS (bit0, bit1).