DGH D3000M Series Bedienungsanleitung

D3000M SERIES USERS MANUAL
REVISED: 9/15/08
DGH CORPORATION
P. O. BOX 5638
MANCHESTER, NH 03108
TELEPHONE: 603-622-0452
FAX: 603-622-0487
URL: www.dghcorp.com
The information in this publication has been carefully checked and is
believed to be accurate; however, no responsibility is assumed for possible
inaccuracies or omissions. Applications information in this manual is in-
tended as suggestions for possible use of the products and not as explicit
performance in a specific application. Specifications are subject to change
without notice.
D3000M modules are not intrinsically safe devices and should not be used
in an explosive environment unless enclosed in approved explosion-proof
housings.

2
TABLE OF CONTENTS
Warranty 3
CHAPTER 1 Getting Started
Quick Hook-Up 1-2
Module Configuration 1-5
Modbus Protocol 1-7
Modbus Exceptions (Errors) 1-12
Modbus Register Map 1-14
Modbus Enable/Disable 1-15
CHAPTER 2 Functional Description
Block Diagram 2-3
CHAPTER 3 Communications
Data Format 3-2
RS-232C 3-2
Multi-party Connection 3-3
Changing Baud Rate 3-5
RS-485 3-6
RS-485 Multidrop System 3-7
CHAPTER 4 Command Set
Table of Commands 4-6
User Commands 4-7
ASCII Error Messages 4-17
CHAPTER 5 Setup Information and Command
Command Syntax 5-2
Setup Hints 5-9
CHAPTER 6 Digital I/O Function
Manual Modes/Digital Inputs 6-1
Controller Input 6-3
Limit Switches 6-4
CHAPTER 7 Power Supply
CHAPTER 8 Troubleshooting
CHAPTER 9 Calibration
Appendix A (ASCII TABLE )
Appendix B D3000M Data Sheet

3
WARRANTY
DGH warrants each D3000M series module to be free from defects in
materials and workmanship under normal conditions of use and service and
will replace any component found to be defective, on its return to DGH,
transportation charges prepaid within one year of its original purchase. DGH
assumes no liability, expressed or implied, beyond its obligation to replace
any component involved. Such warranty is in lieu of all other warranties
expressed or implied.
WARNING
The circuits and software contained in D3000M series modules are
proprietary. Purchase of these products does not transfer any rights
or grant any license to the circuits or software used in these products.
Disassembling or decompiling of the software program is explicitly
prohibited. Reproduction of the software program by any means is
illegal.
As explained in the setup section, all setups are performed entirely
from the outside of the D3000M module. There is no need to open the
module because there are no user-serviceable parts inside. Removing
the cover or tampering with, modifying, or repairing by unauthorized
personnel will automatically void the warranty. DGH is not responsible
for any consequential damages.
RETURNS
When returning products for any reason, contact the factory and request a
Return Authorization Number and shipping instructions. Write the Return
Authorization Number on the outside of the shipping box. DGH strongly
recommends that you insure the product for value prior to shipping. Items
should not be returned collect as they will not be accepted.
Shipping Address:
DGH Corporation
146 Londonderry Turnpike
Hooksett, NH 03106

This document contains step-by-step instructions to quickly connect
and communicate with your D3000M modules. The modules require
a one-time configuration to properly operate within a data acquisi-
tion system. Parameters such as the device address, communica-
tions speed (baud rate) and communications parity type must be
determined before the configuration can begin. Each module is
shipped from the factory with the same default communications val-
ues: ASCII character address = 1 (0x31), Baud rate = 300 and Par-
ity type = None.
The first step is to connect the module to a host computer. Use Fig-
ure 1.0 to connect an RS-232 module to a host computer or Figure
2.0 to connect an RS-485 module to a host computer. The commu-
nications connections are the same for all models of the D3000M
series.
Configuration of each module can be performed using either the
DGH Utility Software (shipped on CD-ROM with each order) or use
Windows Hyper-terminal to manually configure a module. The DGH
Utility Software CD-ROM can be downloaded from our website
www.dghcorp.com. See the Installation Instructions below to install
the DGH Utility software on your computer.
Use the same connections and cable to pre-configure each module
before installing it into the final application system. The 10-pin screw
terminal plug on each module is removable. Therefore, make one
cable and plug each individual module onto the computer to perform
the setup and configuration.
Helpful Hints:
1. Typical Modbus slave addressing begins with address ‘0x01’. Each
following module address increments sequentially from there. If you
are installing modules into an existing Modbus application then you
must determine a free address value before setting up the module.
This will prevent communications errors due to address overlaps.
2. Before configuring the module, users must also determine the
host serial port baud rate, number of stop bits, and the parity type.
The modules must be programmed to the same communications
values as the host serial port. Otherwise, the host will not communi-
cate with the modules.
Quick Start Steps:
1. Connect the module to host computer via appropriate draw-
ing (Figure 1.0 or Figure 2.0).
2. Install the Utility Software from CD-ROM provided, using in-
structions below.
3. Start the Utility Software 2000 from Window, Start, Programs
menu selection.
4. Setup the module using ‘Software/Module Setup Instructions’
below.
Chapter 1
Getting Started

Getting Started 1-2
CD-ROM Software Installation Instructions:
1. Insert the DGH Utility Software CD-ROM into the computer
CD-ROM drive.
2. Click on the “My Computer” icon on your Windows Desktop,
a window will open that lists all the computer drives.
3. Click on the drive icon that says “Dgh”. A new window will
open.
4. Click on the file “setup.exe” and run this program.
5. Follow the installation prompts and complete the entire pro-
cess. You may close the “My Computer” and “Dgh” windows
als, and Utility Software. The software is now installed and
ready to run.
Figure 1.1, RS-232 Module Connection to Host PC:
The following connection diagrams illustrate connections between a
D3000M module and a host computer serial port. The diagrams indi-
cate connection to either a DB-9 or DB-25 pin serial port connector.
Determine your connector type and use the appropriate connection
drawing below.
Please note that these diagrams will work for any DGH RS-232 mod-
ule regardless of model number. The connections are always the
same during the configuration and setup process.
Figure 1.1a Conection to DB-9 serial port.

Getting Started 1-3
Figure 1.1b Connection to DB-25 host computer serial port.
Notes:
1. The module DEFAULT* pin is connected to GND in each of these
illustrations. Whenever, DEFAULT* is grounded, the module will only
communicate at 300 baud. The parity setting should be No parity,
eight data bits and one stop bit. Some computers may require Mark
parity and seven data bits.

Getting Started 1-4
The following connection diagrams illustrate how to connect a RS-
485 module to a host computer. Figure 1.2 illustration shows how to
connect an RS-485 module to a host PC serial port. This illustration
should be used only for configuration of modules. It is not recom-
mended, or suitable for installed applications.
Figure 1.3 illustrates connections to a RS-485 host serial port. The
RS-485 data line polarity is indicated and should be noted when
making the connect
Figure 1.2 RS-485 Module to RS-232 Serial Port.
Figure 1.3 RS-485 Module to Host RS-485 Serial Port:

Getting Started 1-5
The polarity of the DGH RS-485 lines is indicated above. It should
be noted that ‘(Y) Data’ is the Positive (+) line. The ‘(G) Data*’ line is
the Minus (-) line.
Note: The module DEFAULT* pin is connected to GND in each of
these illustrations. Whenever, DEFAULT* is grounded, the module
will only communicate at 300 baud. The parity setting should be No
parity, eight data bits and one stop bit. Some computers may require
Mark parity and seven data bits.
Setup Overview:
The D3000M contains two different protocol sets: the Modbus RTU
protocol and the D3000 ASCII protocol. The D3000M ships from the
factory in the D3000 ASCII protocol mode. Users configure the mod-
ule in the ASCII protocol before installation in a Modbus application.
The D3000 ASCII protocol makes configuring the module easier with
programs such as Hyper-Terminal or the Utility Software. Further,
configuration should always be performed with the DEFAULT* line
connected to ground as shown in Figures 1 and 2.
While the DEFAULT* line is connected to ground the module will
only communicate in the D3000 ASCII protocol mode at 300 baud,
mark parity, seven data bits, and one stop bit. This mode provides a
known set of communications parameters and the module will an-
swer to any ASCII character address. Thus, allowing easy access to
setup information. Setup values such as the Modbus Slave Address,
application Baud Rate and Parity Type must be determined written
into the module. In addition writing the new setup values, the Modbus
RTU protocol must be ‘enabled’ in the module before installing the
module into the application.
Utility Software Setup Instructions:
1. To run the software, click on the Windows “Start” button in lower
left corner of the screen.
2. Select “Programs” and select “Dgh Data Acquisition”
3. Select “Utility Software” and select “Utility Software 2000” to run
this program.
4. From the software main menu select “Edit” and “Serial Ports”
5. Select the correct COM Port, COM1:..COM32: and press “Open”
button. All other port parameters are configured for a module in
DEFAULT mode.
6. Plug the cable into the host computer serial port.
7. Connect the module to host computer using cable illustrations in
this document.
8. Turn the power on and at the software main menu select “Setup”
and “Modules”.
9. Ensure that the proper COM Port is displayed.
10. The program default address of ‘1’ is usable when the Default*
pin is connected to Ground.

Getting Started 1-6
11. Select the four-digit model number from the “Model” drop-down
list box.
12. Press the ‘Read Setup’ button.
13. A progress bar will appear while the program is reading the mod-
ule parameters. If no communications errors are displayed then
the module is communicating properly with the host computer.
14. Make the required setup adjustments to the ‘on-screen’ values
and ‘APPLY’ the changes.
After the new settings have been ‘APPLY’d then you can disconnect
the module from the 10-pin connector, insert the next module, and
repeat this same process for the remaining modules. Once all the
modules have been configured then they can be installed into the
system application.
Manual Setup Instructions
The D3000M can be configured manually using a terminal emulation
program such as Windows Hyper-Terminal. This configuration method
will require an understanding of the binary and hexadecimal num-
bering systems to interpret the setup configuration tables in the
D3000M Users Manual. The setup configuration tables illustrate the
user-selectable bits that control features such as the module Baud
Rate, Parity Type, and number of stop bits. Once the new bit values
are determined then use the SetUp (SU) command to send the new
value.
The Modbus Protocol mode can be manually enabled using the MBR
command. All of this information can be found in the D3000M Users
Manual. The MBR and MBD commands are described further down
in this document.
Overview
Once the configuration process is completed then the D3000M mod-
ules can be installed into the system application. The D3000M mod-
ules will use the Modbus RTU protocol mode to communicate with
the host Programmable Logic Controller (PLC) or PC based com-
puter. The Modbus RTU protocol is widely used in data acquisition
and control applications that utilize either a PLC or a PC based com-
puter and data acquisition software program.
Data acquisition software programs and OPC servers are commonly
used in process control applications today to read and write values
to control modules. All commercial data acquisition software programs
in the market today include a Modbus RTU protocol driver, providing
instant connectivity to your D3000M module. The D3000M analog
output module can be used to control devices such as valves, actua-
tors, annunciators and more. Consult the factory if you need further
assistance with compatibility questions about a specific program.
The Modbus RTU protocol handles data values in registers and dis-
crete I/O bits as numbers. A complete register map of locations, func-
tions and data values can be found at the end of this document.

Getting Started 1-7
The D3000M Modbus RTU protocol mode supports six functions that
are part of the Modbus RTU protocol specification. The function num-
bers and their descriptions have been detailed below. If you need
more information about the Modbus RTU protocol then you can find
it on the internet at www,modbus.org
D3000M Modbus RTU Protocol
The D3000M series modules support several of the Modbus RTU
protocol functions. These functions read and write values to register
locations within the D3000M. The values and register locations con-
trol features such as the Analog Output value, the Slope control value,
and the Watchdog Timer value. Table 1.0 below contains a list of the
supported Modbus functions and their descriptions.
Function Description
01 Read Coil Status
02 Read Input Status
03 Read Holding Registers
04 Read Input Registers
06 Preset Single Register
10 Preset Multiple Registers
Table 1.0. D3000M Modbus Functions.
Modbus RTU Command Structure
The Modbus RTU serial protocol operates using a command and
response protocol. The command structure begins an address, com-
monly referred to as the Modbus Slave Address. The address is fol-
lowed by the command value or the Modbus function number. The
function number indicates what action the device should perform.
The required data values for the command function will follow and
the message is terminated by a cyclical redundancy check (CRC)
value.
The response message contains the same address and function val-
ues along with the requested data. Each response is terminated by a
CRC checksum of the response bytes.
The Modbus protocol contains provisions for error checking. The
Modbus standard contains a standardized set of values that can be
returned from a Modbus Slave device when a problem or error is
detected. These error values are referred to as “exception codes”
and the DGH implementation of the Modbus RTU protocol utilizes
these exception codes when applicable. See Table 3.0 for a com-
plete list of supported exception codes.
A typical Modbus RTU command to read the analog output value
from a D3000M module whose slave address is 0x01 would be:
Command: 03 03 00 00 00 01 85 E8
Inhaltsverzeichnis
Andere DGH Steuereinheit Handbücher
Beliebte Steuereinheit Handbücher anderer Marken

Festo
Festo Compact Performance CP-FB6-E Stücklistenhandbuch

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Bedienungsanleitung

JS Automation
JS Automation MPC3034A Bedienungsanleitung

JAUDT
JAUDT SW GII 6406 Series Kurzanleitung

Spektrum
Spektrum Air Module System Bedienungsanleitung

BOC Edwards
BOC Edwards Q Series Bedienungsanleitung












