Access Between Dvp-Eh2, Dvp20Pm (As A Master) And Dvp-20Pm (As A Slave); Structure; Example Of Master-Slave Data Exchange - Delta DVP-20PM Applications Manual

Hide thumbs Also See for DVP-20PM:
Table of Contents

Advertisement

7
Using a DVP-20PM Series Motion Controller as a Slave
7.1
Access between DVP-EH2, DVP-20PM (as a Master) and DVP-20PM
(as a Slave)
When DVP-20PM is used as Slave, there is a data exchange area in DVP-20PM which corresponds to
the control registers (CRs) in the Master. The data exchange area is consisted of consecutive special
registers, and users can utilize the data exchange area for accessing data between Master and Slave
as well as performing motion control functions through a Slave DVP-20PM.
7.1.1

Structure

 DVP-EH2 and Master DVP-20PM apply FROM/TO instructions to transmit commands to Slave
DVP-20PM for executing motion control subroutines.
 DVP-EH2 and Master DVP-20PM apply FROM/TO instructions to access the control registers
(CR#0~CR#199, corresponding to special registers D1500~D1699 in the Slave) in Slave
DVP-20PM.
7.1.2

Example of Master-slave Data Exchange

 Set up: design the data exchange programs in Master and Slave respectively.
 Slave DVP-20PM: Move the data to be accessed by Master into the data exchange area
through MOV instruction
 Master: Plan the CRs (on Slave) for Master to access.
 Example 1
【Control purpose】
 DVP-EH2 applies FROM/TO instructions to access special registers D1500~D1699 in Slave
DVP-20PM and executes manual mode position control on X/Y axis. (For relative registers see
3.12.3)
【Table for CRs in the Master and corresponding special registers in the Slave】
Master
Planned internally Planned by user
CR#0
D1500
CR#1
D1501
CR#2~3
D1502~D1503
DVP-20PM Application Manual
CR#0 ~ CR#199
DVP-E H2/DVP-20PM Master
Master access es the data in Slave
by FROM/TO i ns tr uction
D1501~ D1699
D1500
Model
F RO M/T O
code
data exchange ar ea
Users move the
data to be ex changed
Special
into data exc hange area
registers
.
Slave
Set up by the
system
D1846
D1848~D1849
DVP-20PM Slave
Content
Model code of Slave DVP-20PM
Operation commands for X axis
Current position of X axis CP (Pulse)
7-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents