EasyManua.ls Logo

Delta DVP-PM Series User Manual

Delta DVP-PM Series
561 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #555 background imageLoading...
Page #555 background image
14 High Speed Compare and Capture
DVP-PM Application Manual
14-8
14.3 Capture Function
Reading current position of X/Y/Z axis or count value of C200/C204 in program scan results in error due to the
program scan time. To avoid the error, we can use Capture function to read data immediately through external
input signal. The Capture function is illustrated as the below diagram.
(G)FROM K253 K1 D0 D50
(A)TO K253 K1 D0 D50
(C)Data register DRn(n=0~7)
(B)Control register CRn(n=0~7)
(D)Data source for
Capture function
(E)Capture function
Bit 5-4=0
(F)Trigger switch of
Capture function
Block A: Use TO instruction to write data into control registers (Block B) and data registers (Block C).
Block B: According to the data specified by TO instruction, control registers set up the data source (Block D),
enable the Capture function (Block E) and select the trigger switch (Block F).
Block C: Data registers store the data specified by TO instruction or the caught value from the data source
specified in Block D.
Block D: There are 5 sets of data source including current position of X/Y/Z axis, count value of C200
(current position of Master / MPG of X-axis) and count value of C204 (MPG of Y-axis). For settings
of high speed counters C200 and C204, please refer to Ch3 of this manual.
Block E: Enable Capture function
Block F: Select trigger switch of Capture function
Block G: Use FROM instruction to read data from control registers (Block B) and data registers (Block C)
which stores the caught value.
Process of Capture function:
Write in settings of Capture function by TO instruction (Block A). Æ External input signal triggers ON (Block F) Æ
Capture the value from Block D and store the caught data in Block C Æ Read the caught data by FROM
instruction (Block G).
Program example:
In this example high speed counter C204 is used and high speed counting is enabled. Trigger signal is set as
DOG0 to capture the count value of C204 when MPG is rotating. Please see below for the example program.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-PM Series and is the answer not in the manual?

Delta DVP-PM Series Specifications

General IconGeneral
BrandDelta
ModelDVP-PM Series
CategoryController
LanguageEnglish

Summary

1 Program Structure of DVP-PM

1.1 O100 Main Program

Details the O100 main program, its functions, and activation methods for DVP-PM series MPU.

1.2 Structure of OX Motion Subroutine

Explains the structure and activation of OX0~OX99 motion subroutines for controlling X/Y/Z axes.

1.3 Structure of Pn Subroutine

Describes Pn subroutines, their general purpose, and how they can be called from O100 or OX subroutines.

1.4 Program Design Structure of O100, OX and Pn

Illustrates the program structure by mixing O100 main program, OX motion subroutines, and Pn subroutines.

2 Hardware Specifications and Wiring

2.1 Hardware Specifications

Provides information on electrical specifications, including voltage, power consumption, and insulation.

2.1.2 I/O Point Specifications

Details the specifications for input and output points, including terminal, description, response time, current, and voltage.

2.1.3 Dimension

Illustrates the product profile and outline dimensions of the DVP-PM series MPU.

2.2 Installation & Wiring

Covers installation notes for enclosures, direct mounting, DIN-rail mounting, and general wiring guidelines.

2.3 Communication Ports

Details the built-in communication ports (COM1, COM2) and optional communication cards (COM3).

3 Functions of Devices in DVP-PM

3.1 Devices in DVP-PM

Lists and describes the functions and specifications of various devices within the DVP-PM.

3.2 Values, Constants [K]/[H], Floating Points [F]

Explains different number systems (Binary, Octal, Decimal, BCD, Hexadecimal) and their usage for values and constants.

3.3 Numbering and Functions of External Input/Output Contacts [X] / [Y]

Details the numbering system and functions of external input contacts (X) and output contacts (Y).

3.4 Numbering and Functions of Auxiliary Relays [M]

Describes the numbering and functions of auxiliary relays (M), including general purpose, latched, and special types.

3.5 Numbering and Functions of Step Relays [S]

Explains the numbering and functions of step relays (S), including general purpose and latched types.

3.6 Numbering and Functions of Timers [T]

Details the numbering and functions of timers (T), including general purpose timer operation.

3.7 Numbering and Functions of Counters [C]

Describes the numbering and functions of counters (C), covering 16-bit and 32-bit types and features.

3.8 Numbering and Functions of Registers [D]

Explains the numbering and functions of data registers (D), including general purpose, latched, special, and index registers.

3.9 Pointer [N], Pointer [Pn]

Details the usage of pointers for nested level structures and conditional jumps.

3.10 Special Auxiliary Relays [M], Special Data Register [D]

Lists the types and functions of special auxiliary relays (M) and special data registers (D).

3.11 Functions of Special Auxiliary Relays and Special Registers

Provides detailed explanations on the functions of special M relays and special D registers.

3.12 Special Registers for Manual Mode Settings

Details the special registers used for manual mode settings, covering parameters for motion control.

4 Basic Instructions

4.1 Basic Instructions

Lists and describes basic instructions for PLC programming, categorized into general, output, timers, counters, and triggers.

4.2 Explanations on Basic Instructions

Provides detailed explanations and program examples for basic instructions like LD, LDI, AND, ANI, OR, ORI, ANB, ORB.

5 Categories and Use of Basic Application Instructions

5.1 List of Instructions

Provides a comprehensive list of application instructions, categorized by function, with mnemonic, operands, and page numbers.

5.2 Instruction Composition

Explains the structure of instructions, including mnemonic, operands, function index, and parameter values.

5.3 Numeric Values for Data Processing

Details numeric value formats like Kn values, flags, and binary floating point representation for data processing.

5.4 Index Register V, Z

Explains the usage and properties of index registers V and Z for modifying operands in instructions.

5.5 Instruction Index

Provides an alphabetic index of application instructions, including API number, mnemonic, function, and page reference.

5.6 Application Instructions

Details various application instructions like CJ, CALL, SRET, WDT, CMP, MOV, and their usage with examples.

6 Motion Instructions & G-Code Instructions

6.1 List of Motion Instructions and G-Code Instructions

Lists motion instructions and G-code instructions with their mnemonics, functions, and page references.

6.2 Composition of Motion Instructions and G-Code Instructions

Explains the composition of motion instructions and G-code instructions, including mnemonics, operands, and formats.

6.3 Motion Instructions

Details motion instructions like DRV, LIN, CW/CCW, INTR, SINTR, DINTR, MOVC, CNTC, RADC, CANC, ABST, INCT, SETT.

6.4 O Pointer / M Pointer

Explains the usage of O pointers for main program and motion subroutines, and M pointers for M-codes.

6.5 G-Code Instructions

Provides details on G-code instructions like G00, G01, G02, G03, G04, M codes, and their application rules.

7 Use DVP-PM As Slave

7.1 Access between DVP-EH2, DVP-PM (as Master) and DVP-PM (as Slave)

Describes access between DVP-EH2/Master DVP-PM and Slave DVP-PM, including structure and data exchange examples.

7.1.1 The Structure

Explains the structure of DVP-EH2 and Master DVP-PM accessing Slave DVP-PM using FROM/TO instructions.

7.1.2 Example of Master-Slave Data Exchange

Provides an example of master-slave data exchange, detailing planned registers and control purposes.

8 Application Examples

8.1 Draw the Trajectories by Using Motion Instructions and G-Codes

Illustrates drawing trajectories using motion instructions and G-codes, including trajectory diagrams and design procedures.

8.2 Applying Application Examples in PMSoft

Guides on applying application examples in PMSoft, covering program structure and design examples.

8.3 Planning Variable Speed Operation

Explains how to trigger speed segments in a fixed route using single-speed positioning mode.

8.4 Connect DVP-PM (Master) with DVP01PU-H2 (Slave) for 3rd Axis Control

Details the connection of DVP-PM as Master with DVP01PU-H2 as Slave for controlling a 3rd axis.

9 Electrical CAM

9.1 Introduction to Electrical CAM (E-CAM)

Introduces the concept of Electrical CAM (E-CAM) and compares it with mechanical cam systems.

9.2 E-CAM Application

Explains E-CAM application in electrical cam systems, including structure map and operation process.

9.2.1 Initial Settings

Covers initial settings for E-CAM, including setting E-CAM data, terminal polarity, and pulse type.

9.2.2 Obtain Master Position

Describes three methods to obtain the Master position, including internal virtual Master and encoder signals.

9.2.3 Start / Stop E-CAM

Explains how to start and stop cyclic and acyclic E-CAM operations, including timing diagrams.

9.3 Explanations on Special Flags and Registers

Provides explanations for special flags and registers related to E-CAM operation.

9.4 Set up E-CAM Data

Guides on setting up E-CAM data using PMSoft CAM Chart and DTO/DFROM instructions.

9.6 Field Applications of E-CAM

Details field applications of E-CAM, including winding machines, rotary cut, and flying saw devices.

10 Encrypting User Program

10.1 How to Set

Explains how to set up passwords for user program protection using PMSoft.

10.1.1 System Information

Describes system information areas: Program for editing and PEP Setting for encryption.

10.1.2 Downloading Program

Guides on downloading programs, including applying PEP settings and password setup.

10.1.3 Uploading Program

Details the process of uploading programs, including reading PEP protection area and entering passwords.

11 G-code Application

11.1 DVP-PM00M Program Download with PEP setting

Explains DVP-PM00M program download methods with PEP setting, covering original programs and protection options.

11.2 DVP-PM00M G-code Download Methods

Introduces G-code download methods using PMGDL software or HMI, including common and DNC modes.

11.3 G-code Application in Dispensers

Details G-code application in automatic dispensers using CAM charts and E-CAM operation for smooth movement.

12 POU Editing Mode

12.1 POU Ladder Editing Environment

Describes the POU ladder editing environment, including Local Symbols, Global Symbols, and Function Blocks.

12.1.1 Function of Symbols

Explains the function of symbols, covering local and global symbols, and rules for naming identifiers.

12.1.2 Editing Symbol Tables

Details the two types of symbol tables (Global and Local) and methods for creating, modifying, and deleting symbols.

12.1.3 Create POU Function Block

Guides on creating POU function blocks, including symbol declaration, assignment, and editing pins.

12.1.4 Create POU Folders

Explains how to create, rename, and delete POU folders for program organization.

12.1.5 Export POU

Details the process of exporting program POUs and function block POUs to a file.

12.1.6 Import POU

Describes how to import program POUs and function block POUs from files into PMSoft.

12.1.7 Symbols Allocation

Explains how to set usable ranges for system symbols like data registers, timers, and pointers.

12.1.8 Ladder Find

Covers the Ladder Find and IL Find functions for searching instructions, devices, or symbols in POU ladders.

12.1.9 Ladder Replace

Explains the Ladder Replace function, which works with Find function to replace devices or symbols in POU ladders.

12.2 Edit POU Ladder Diagram

Details advanced functions in POU ladder diagrams like replacing devices with symbols and applying function blocks.

12.3 Monitor POU program

Guides on monitoring POU programs directly in ladder diagram or monitor table.

12.4 Hint Function on Symbols and Function Blocks

Explains how to enable Hint function to display information on symbols and function blocks.

13 CANopen Communication Card

13.1 Introduction to DVP-FPMC: CANopen Communication Card

Introduces the DVP-FPMC CANopen communication card for data exchange, featuring standard protocols and modes.

13.2 Specifications

Details the specifications of CANopen and Ethernet connectors, communication protocols, and electrical requirements.

13.3 Product Profile & Installation

Provides the product profile and installation instructions for the DVP-FPMC communication card.

13.4 Parameters for Control Register (CR)

Lists parameters for control registers (CR) in Normal and A2 modes for CANopen communication.

13.5 Explanations on Control Registers

Provides detailed explanations for control registers related to CANopen communication and servo drive settings.

13.6 DVP-FPMC Mode Settings

Explains DVP-FPMC mode settings, particularly the A2 mode for communicating with ASDA-A2 servo drives.

13.7 DVP-FPMC Ethernet Applications

Covers Ethernet communication between DVP-FPMC, Ethernet devices, PLCs, HMIs, and PMSoft.

13.8 LED Indicator & Troubleshooting

Provides information on CANopen and Ethernet LED indicators and basic troubleshooting steps.

14 High Speed Compare and Capture

14.1 High Speed Compare and Capture Function

Introduces the high-speed compare and capture function, explaining register settings and formats.

14.2 High Speed Compare Function

Details the high-speed compare function, including data access, control settings, and comparison process.

14.3 Capture Function

Explains the capture function for reading data immediately through external input signals.

15 Appendix

15.1 Appendix A: Error Codes

Lists error codes for all program areas and motion axes, including causes and error codes in hex format.

15.2 Appendix B: Manual Revision History

Provides a history of manual revisions, detailing changes made in each version and corresponding chapters.

15.3 Appendix C: Function Comparison Table of DVP-PM Models

Presents a function comparison table for DVP-PM models (20D, 20M, 10PM), indicating supported functions and chapters.

Related product manuals