Delta DVP02HC-H

Delta DVP02HC-H Two-Channel High-Speed Counter Module

Delta DVP02HC-H adds two hardware counter channels, CH0 and CH1, to DVP-EH PLC systems. Its high-speed counter hardware processes encoder pulses while the CPU reads values from control registers. Among PLC input and output modules, it supports length measurement, cutting and position-tracking applications.

Counting modes and frequency limits

Available modes include one-phase one-input, one-phase two-input and two-phase A/B counting, with 16-bit ring counting or 32-bit counting. An incremental encoder provides direction through its A/B phase relationship. Signed 32-bit range is −2,147,483,648 to +2,147,483,647.

Maximum counting frequency depends on the mode: 200 kHz in single-phase modes; 200 kHz for A/B ×1, 100 kHz for ×2 and 50 kHz for ×4. Distinguish the encoder input frequency from the resulting edge count. A 1000 PPR encoder produces 4000 counts per revolution in ×4 mode, whose A/B input-frequency limit is 50 kHz.

Input levels and terminals

Counting and control inputs use 24 V DC ±10%. CH0 terminals are ΦA0, ΦB0, PRE0, DIS0 and S/S0; CH1 terminals are ΦA1, ΦB1, PRE1, DIS1 and S/S1. PRE loads a preset value; DIS inhibits counting.

Select sink/source wiring and the S/S common according to the NPN or PNP encoder output and the manufacturer’s diagram. A line-driver encoder is not compatible merely because its signals are named A/B; 5 V differential signals require a suitable interface. When selecting an absolute encoder, distinguish an A/B pulse output from a serial position-data interface.

Power and comparison outputs

External power is 24 V DC, allowable range 20.4–28.8 V DC. Size the DC supply and current budget for startup demand and connected field equipment. Module power must be ready when the CPU performs its initial expansion-module detection.

YH0 is the CH0 hardware comparison output; YH1 belongs to CH1. The transistor terminals are YH0+/YH0− and YH1+/YH1−. The specified output rating is 5–30 V DC, 0.5 A. Configure comparison values, output enables and set/reset behaviour together.

CPU compatibility, programming software and cable

This model belongs to the original DVP-EH / −H expansion family. Check the PLC CPU code, expansion connection and hardware generation. Use WPLSoft for DVP-EH projects. For ISPSoft, verify support for the actual CPU in the installed version. In PLC programming, use TO/DTO for settings and FROM/DFROM for reading registers.

Use a DVPACAB2A30 programming cable for the PC-to-CPU connection. This is RS-232; a USB-only PC requires a suitable USB-to-RS-232 converter, its driver and the correct COM-port setting. The module’s Modbus RS-485 port supports independent serial operation; module RS-485 access is unavailable while connected to the CPU expansion bus.

Control registers and 32-bit reading examples

CR#0 = H0220 identifies the module. In CR#2, b0 enables CH0 counting and b4 enables CH1 counting. CR#3 selects counting modes: its low nibble selects CH0 and the next nibble selects CH1. Disable counting before changing the mode, and check the external DIS inputs.

CH0 present count: CR#16–#17; CH1 present count: CR#22–#23. The first register is the low WORD and the second is the high WORD. For module number 0, DFROM K0 K16 D100 K1 reads CH0 into D100–D101; DFROM K0 K22 D102 K1 reads CH1 into D102–D103. K1 here means one 32-bit value.

CR#12–#13: YH0 comparison value. CR#14–#15: YH1 comparison value. CR#28: comparison result. CR#29: channel/input/output status. CR#31: error status. CR#32: firmware version. For example, FROM K0 K31 D110 K1 reads the error register. Do not copy the DVP01HC-H register map directly into a DVP02HC-H application.

Special modules are numbered 0–7 from the CPU outward and occupy no digital X/Y addresses. Replace K0 with the actual special-module number and allocate suitable D-register storage in the project.

Editor’s Note

When buying a used module, test both channels. Inspect the label, expansion connector, terminal block, locking parts and signs of heat damage or corrosion. One working channel does not prove that the whole module works.

Start at low frequency with a suitable source producing a known number of 24 V pulses. Test both directions in A/B mode and compare the result with the selected ×1/×2/×4 multiplier.

If no counts appear, check CR#2 counting enables, the CR#3 mode, DIS inputs and S/S wiring first. During PLC debugging, watching only the low WORD of a 32-bit value can be misleading.

For missed pulses at higher speeds, inspect signal amplitude and edges at the module terminals with an oscilloscope. Check shielding, grounding and separation from power wiring before changing the program to compensate.

Test YH outputs with a suitable test load after disconnecting the machine load. If the CPU fails to detect the module at startup, check the 24 V power-up timing. Back up the program and CR settings before making changes.

PDF manuals

Start with our Delta DVP PLC files page. Chapter 7 of the DVP-PLC Application Manual — Special Modules, 12 November 2013 covers DVP01HC-H/DVP02HC-H. Use section 7.4.2 for DVP02HC-H wiring and section 7.6.2 for its register map.

Related topics

See DVP01HC-H for the single-channel counter arrangement and DVP01PU-H for pulse/position control. Channel arrangements, input levels and CR maps differ. Browse DVP-H modules and DVP expansion modules to select the correct hardware family.

Delta DVP PLC series | DVP02HC-H model page | DVP file archive

External references

Delta Special Modules application manual — English manufacturer-document archive copy | Delta programming-cable guidance — DVPACAB2A30