Click to Shopping Cart | Site Map | Contact Us  |   

 

 
  About Us
 
Data Acquisition
  D1000 Series
  D1000M Series
  D1700 Series
  D1700M Series
  D2000 Series
  D3000 Series
  D4000 Series
  D5000 Series
  D5000M Series
  DIN-100 Series
 
Data Converters
  A1000 Series
  A2000 Series
  A3000 Ethernet
  DIN-190 Series
  USB Series
 
Data Acquisition Software
  Dasylab
  Kepware OPC Server
  WinWedge
  Drivers
  Utility Software
  Program Samples
 
Accessories
  Backplanes
  Cables
  DIN Rail Mounting Kit
  Power Supplies
  Solid State Relays
 
 
 

1700M Series Command Set

 

The 1700M series uses the Modbus RTU protocol for communications. The Modbus protocol uses a master-slave technique, in which only the master device can initiate transactions. The slave devices respond by supplying the requested data to the master or by taking the action requested in the query.

The master can address any slave. The returned messages are considered response messages.

The Modbus protocol format used by a master consists of a device address, a command function code which defines the operation to be performed, data required with the command, and an error checking value. The slave response message contains any required data and error value. If an error occurs, and exception code will be generated. The supported master codes are:

Modbus Command Functions 

Function  Description Application
01 Read Coil Status Read Coil Status is a digital input such as contact status or contact closure.
     
04 Read Input Register Read Input Register in the module.
     
05 Force Single Coil Force Single Coil is used to set or clear a digital output.
     
06 Preset Single Register Preset Single Register is used to temporarily suspend Modbus RTU mode and return to DGH ASCII protocol mode.
     
15 Force Multiple Coils Force Multiple Coils is used to set or clear digital outputs.

The DGH 1700M series products use a simple command and response protocol. A module must be interrogated by a host computer to obtain data. A module will never initiate a command sequence in order to prevent communications collisions.

A command is initiated with a command prompt, may be a dollar sign ($) or pound sign (#). Following the prompt a single address character must be transmitted. Each module on a communications bus must be setup with a unique address. The address is followed by a two character command. Every command is terminated with a carriage return.

The module response begins with a response prompt, which is an asterisk (*) followed by the necessary data. Every response is terminated with a carriage return. Linefeeds after the carriage return are user selectable. See the table below for typical commands and their respective response messages.

Command Definition Typical Command  Typical Response 
ACK - Acknowledge $1ACK *
CB - Clear Bit $1CB0C *
CP - Clear Position $1CP12 *
DI -  Digital Input $1DI *0007
DO -  Digital Output $1DO1234 *
RA - Read Assignments $1RA *0F0F
RAB - Read Assignment Bit $1RAB0E *O
RAP - Read Assignment Position $1RAP14 *I
RB - Read Bit $1RB0E *1
RD - Read Data $1RD *+99999.99
RE - Read Event Counter $1RE *0001107
RIB - Read Input Bit $1RIB0E *1
RID - Read IDentification $1RID *BOILER
RIP - Read Input Bit Position $1RIP15 *0
RIV - Read Initial Value $1RIV *0F0F
RMA - Read Modbus Address $1RMA *0103
RP - Read Position $1RP14 *0
RS - Read Setup $1RS *31070002
RSU - Read Setup $1RSU *31070002
RWT - Read Watchdog Timer $1RWT *+00010.00
SB - Set Bit $1SB0C *
SP - Set Position $1SP12 *
WE - Write Enable $1WE *
     
Write Protected Commands    
AIB - Assign Input Bit $1AIB0E *
AIO - Assign Input/Output $1AIO0F0F *
AIP - Assign Input Position $1AIP14 *
AOB - Assign Output Bit $1AOB0E *
AOP - Assign Output Position $1AOP14 *
CE - Clear Events $1CE *
EC - Events Clear $1EC *0000100
ID - IDentification $1IDBOILER *
IV - Initial Value $1IV0F0F *
MBD - Modbus Disable $1MBD *
MBR - Modbus Enable $1MBR01 *
RR - Remote Reset $1RR *
SU - Setup  $1SU310701C2 *
WT - Watchdog Timer $1WT+00010.00 *
     
Continuous Input/Output Mode Commands    
CIA - Set Continuous Input Address $1CIA31 *
CMC - Continuous Mode Change $1CMC *
CMD - Continuous Mode Disable $1CMD *
CME - Continuous Mode Edge Triggered $1CME *
CMT - Continuous Mode Timer $1CMT *
CT - Continuous Time (Set Time) $1CT+00010.00 *
RCM - Read Continuous Mode $1RCM *D,T,E,C
RCT - Read Continuous Time Variable $1RCT *+00010.00
RIA - Read Continuous Input Address $1RIA *31

 

Notes: 

1. This command set is for the D1711M, D1712M, H1750M and H1770M products.

 

Copyright Dutile, Glines, and Higgins Corporation, 2008.

All Rights Reserved.

  DHTML Menu / JavaScript Menu Powered By OpenCube