background image

RemoDAQ-8031A/33A/34 User’s Manual 

3 Command Set 

Introduction 

To avoid communication conflicts when several devices try 

to send data at the same time, all actions are instigated by the 
host computer. The basic form is a command/response 
protocol with the host initiating the sequence. 

When modules are not transmitting they are in listen mode. 

The host issues a command to a module with a specified 
address and waits a certain amount of time for the module to 
respond. If no response arrives, a timeout aborts the sequence 
and returns control to the host. 

Changing RemoDAQ’s configuration might require the 

module to perform auto calibration before changes can take 
effect. Especially when changing the range, the module has to 
perform all stages of auto calibration that it also performs 
when booted. When this process is under way, the module 
does not respond to any other commands.   

The command set includes the exact delays that might 

occur when modules are reconfigured. 

 
Syntax 

[delimiter character][address][command][data][checksum] 
[carriage return] 

Every command begins with a delimiter character. There 

are four valid characters

a dollar sign $, a pound sign #, a 

percentage sign % and an at sign @. 

 

19

Summary of Contents for RemoDAQ-8031A

Page 1: ...V1 1 2009 02 13 RemoDAQ 8031A RemoDAQ 8033A RemoDAQ 8034 User s Manual Beijing Gemotech Intelligent Technology Co Ltd ...

Page 2: ...al may be reproduced copied translated or transmitted in any form or by any means without the prior written permission of Beijing Gemotech Intelligent Technology Co Ltd Information provided in this manual is intended to be accurate and reliable However Beijing Gemotech Intelligent Technology Co Ltd assumes no responsibility for its use or for any infringements upon the rights of third parties whic...

Page 3: ...les representative or Gemotech s customer service center for technical support if you need additional assistance Please have the following information ready before you call z Product name and serial number z Description of your peripheral attachments z Description of your software operating system version application software etc z A complete description of the problem z The exact wording of any e...

Page 4: ...st 12 2 Initialization Installation 14 2 1 Installation Guideline 14 2 2 Software Installation 14 2 3 Basic configuration and hook up 15 2 4 Baudrate and Checksum 17 3 Command Set 19 3 1 AANNTTCCFF 22 3 2 AA 24 3 3 AAN 25 3 4 AA0 26 3 5 AA0N 27 3 6 AA1 28 3 7 AA1N 29 3 8 AA2 30 3 9 AA30 VVVV 31 3 10 AA3NV VVVV 32 3 11 AA40 VVV VV 33 3 12 AA4N VVV VV 34 3 13 AAF 35 3 14 AAM 36 3 15 AAO Data 37 3 16...

Page 5: ... counter wireless communication collection AC and other functions RemoDAQ 8031A RTD Module RemoDAQ 8031A RTD input module supports one RTD input channel for temperature measurement This module can accept 2 wire 3 wire RTD sensor The module offers signal conditioning A D conversion ranging and RS 485 digital communication functions RemoDAQ 8033A is a three channel RTD input module RemoDAQ 8034 is a...

Page 6: ...RTD type Pt100 Cu100 Cu50 Output Speed in bps Maximum distance RS 485 2 wire 1200 2400 4800 9600 19 2K 38 4K 57 6K 115 2K 4000ft 1200m Conversion rate 10samples sec 60 50Hz Bandwidth 5 24Hz Accuracy 0 1 or better Zero drift 0 5µV C Span drift 1 0µV C CMR 50 60Hz 150dB NMR 50 60Hz 100dB Isolation voltage 3000VDC Power supply 10 30VDC 5 ...

Page 7: ...oDAQ 8033A Specifications Input channel 3 Input type 2 3 wire RTD type Pt100 Cu100 Cu50 Output Speed in bps Maximum distance RS 485 2 wire 1200 2400 4800 9600 19 2K 38 4K 57 6K 115 2K 4000ft 1200m Conversion rate 10 samples sec 60 50Hz Bandwidth 5 24Hz Accuracy 0 1 or better Zero drift 0 5µV C Span drift 1 0µV C CMR 50 60Hz 150dB 6 ...

Page 8: ... 20 70 C Environment Humidity 5 95 non condensing RemoDAQ 8034 Specifications Input channel 4 Input type 4 wire RTD type Pt100 Cu100 Cu50 Output Speed in bps Maximum distance RS 485 2 wire 1200 2400 4800 9600 19 2K 38 4K 57 6K 115 2K 4000ft 1200m Conversion rate 10 samples sec 60 50Hz Bandwidth 5 24Hz Accuracy 0 1 or better Zero drift 0 5µV C 7 ...

Page 9: ...r s Manual Span drift 1 0µV C CMR 50 60Hz 150dB NMR 50 60Hz 100dB Isolation voltage 3000VDC Power supply 10 30VDC Power consumption 1W Operating Temperature 20 70 C Environment Humidity 5 95 non condensing 1 2 Block Diagram 8 ...

Page 10: ...RemoDAQ 8031A 33A 34 User s Manual 9 ...

Page 11: ...Filter at 60 Hz rejection except R 8036 1 5 Calibration What do you need to do calibration 1 One 5 1 2 digital multimeter 2 A voltage calibrator or very stable and noise free DC voltage generator 3 A precision resistance decade box or discrete resistors 4 RemoDAQ 8000 Utility Calibrate Order RemoDAQ 8031A 1 Connect calibration resistor to module by 3 wire RTD 2 Apply power to the module and let it...

Page 12: ...pply power to the module and let it warm up for about 30 minutes 3 Setting type 4 Enable calibration 5 Apply zero calibration resistance 001 00 Ohms 6 Perform AA4N VVV VV Command output resistor value 001 00 7 Perform Zero Calibration Command AA1N 8 Apply span calibration resistance 200 00Ohm 9 Perform AA3NV VVVV Command output resistor value 200 00 10 Perform span calibration command AA0N 11 0 2 ...

Page 13: ...m span calibration command AA0N 11 0 3 channel is calibrated according to 5 10 step 1 6 Install List Baudrate Setting CC Code 03 04 05 06 07 08 09 0A Baudrate 1200 2400 4800 9600 19200 38400 57600 115200 RTD type setting TT Code RTD type Temperature Range 20 Pt100 200 400 21 Cu100 50 150 22 Cu50 50 150 Data format setting FF 7 6 5 4 3 2 1 0 1 2 0 3 1 0 60Hz Restrain 1 50Hz Restrain 2 Checksum 0 Di...

Page 14: ...F 20 Platinum 100 a 0 00385 200 400 Ohm 247 09 018 52 Project Unit 150 00 50 00 FSR 100 00 033 33 2 s Complement HEX 7FFF D554 21 Cu100 50 150 Ohm 164 27 078 49 Project Unit 100 00 000 00 FSR 100 00 033 33 2 s Complement HEX 7FFF D554 22 Cu50 0 100 Ohm 082 13 039 24 RTD Over range Under range Reading Over rang Under range Project Unit 9999 0000 FSR 9999 0000 2 s Complement HEX 7FFF 8000 13 ...

Page 15: ...ed for power lines Vs R Red GND B Black We advice that the following standard colors as indicated on the modules be used for the communication lines DATA Y Yellow DATA G Green 2 2 Software Installation 1 If you have already installed RemoDAQ 8000 Utility then skip other steps 2 Backup your software diskette 3 Insert RemoDAQ 8000 Utility disc into CD ROM 4 Change drive to the path of CD ROM For exa...

Page 16: ...y 2 3 Basic configuration and hook up Before placing a module in an existing network the module should be configured Though all modules are initially configured at the factory it is recommended to check that the baud rate is set correctly Default Factory Settings Baud rate 9600 Bit sec Address 01 hexadecimal Checksum disable The basic hook up for module configuration is shown below Figure 2 2 Layo...

Page 17: ...can also be configured by issuing direct commands from within a terminal emulation program that is part of the RemoDAQ utility software The following example guides you through the setup of an analog input module Assume that RemoDAQ 8031A still has its default settings baud rate 9600 and address 01h Before the module is reconfigured it is first requested to send its default settings To change the ...

Page 18: ... should be powered down and powered up to force a reboot and let the changes take effect 2 4 Baudrate and Checksum RemoDAQ modules contain EEPROMs to store configuration information and calibration constants The EEPROM replaces the usual array of switches and ports required to specify baudrate input output range etc All of the RemoDAQ modules can be configured remotely through their communication ...

Page 19: ...ust perform the following steps Power on all components except the RemoDAQ Module Power the RemoDAQ module on while shorting the INIT and GND terminals Wait at least 7 seconds to let self calibration and ranging take effect Configure the checksum status and or the baud rate Switch the power to the RemoDAQ Module OFF Remove the grounding of the INIT terminal and power the module on Wait at least 7 ...

Page 20: ... timeout aborts the sequence and returns control to the host Changing RemoDAQ s configuration might require the module to perform auto calibration before changes can take effect Especially when changing the range the module has to perform all stages of auto calibration that it also performs when booted When this process is under way the module does not respond to any other commands The command set...

Page 21: ...otal string Every command is terminated by a carriage return cr Calculate Checksum 1 Calculate ASCII sum of all characters of command or response string except the character return cr 2 Mask the sum of string with 0ffh Example Command string 012 cr Sum of string 0 1 2 24h 30h 31h 32h B7h The checksum is B7h and CHK B7 Command string with checksum 012B7 cr Response string 01200600 cr Sum of string ...

Page 22: ...tion Calibrates an AI module to correct for gain errors 3 6 AA1N Channel N Zero Calibration Calibrates channel N of the module to correct for gain errors 3 7 AA2 Configuration status Return the configuration parameters for the module 3 8 AA30V VVVV Span adjust Set the span adjust values for the module RemoDAQ 8031A 3 9 AA3NV VVVV Span adjust Set the span adjust values for the module RemoDAQ 8033A ...

Page 23: ...um we should INIT termination land 7 6 5 4 3 2 1 0 Not used Figure 3 1 Data format setting of AI modules Response AA cr if the command was valid AA cr if an invalid operation was entered if the INIT terminal was not grounded when attempting to change baud rate or checksum settings Syntax error or communication error may get no response command is valid Checksum status 0 Disable 1 Enable 00 Enginee...

Page 24: ... 02 an input type 20 baud rate 9600 integration time 50 ms 60 Hz engineering units data format and no checksum checking or generation The response indicates that the command was received Table 3 1 Input Rang Codes Type Code Code RTD type Temperature Range 20 Pt100 200 400 21 Cu100 50 150 22 Cu50 50 150 Table 3 2 Baudrate Code Code 03 04 05 06 07 08 09 0A Baudrate 1200 2400 4800 9600 19200 38400 57...

Page 25: ...cr is the terminating character carriage return 0Dh Response data cr Syntax error or communication error may get no response delimiter character data AI input value the data is the combination for each channel respectively Example Command 01 Response 02 555 Read analog input value at address 01 return with 02 555 Command 04 Response 02 422 05 457 04 654 Read analog input value at address 04 R 8033...

Page 26: ...of reading module 00 FF N channel 0 7 cr is the terminating character carriage return 0Dh Response data cr Syntax error or communication error may get no response delimiter character data AI input value For data formats refer sec 1 7 Example Command 32 Response 02 455 Read address 03 and channel 2 return 02 455 Command 28 Response 02 Read address 02 and channel 8 return error channel number Notice...

Page 27: ...s entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF In order to successfully calibrate an analog input module s input range a proper calibration input signal should be connected to the analog input module before and during the calibration Example Command 010 Response 01 Span calibration of address 01 return success Co...

Page 28: ... AA cr if the command was valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF In order to successfully calibrate an analog input module s input range a proper calibration input signal should be connected to the analog input module before and during the calibration Example Command ...

Page 29: ...s entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF In order to successfully calibrate an analog input module s input range a proper calibration input signal should be connected to the analog input module before and during the calibration Example Command 011 Response 01 Zero calibration of address 01 return success Co...

Page 30: ... AA cr if the command was valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF In order to successfully calibrate an analog input module s input range a proper calibration input signal should be connected to the analog input module before and during the calibration Example Command ...

Page 31: ...atus command cr the terminating character carriage return 0Dh Response AATTCCFF cr if the command is valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of module 00 FF TT represents the type code CC represents the baud rate code FF data format Also see the AANNTTCCFF configuration command Example Co...

Page 32: ... V VVVV span adjust value cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF Example Command 01300 9213 Receive 011 Span address 01 channel span adjust value 0 9213 return success Notice Command...

Page 33: ...adjust value cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF Example Command 02310 9213 Receive 011 Span address 02 and 1 channel span adjust value 0 9213 return success Notice N 0 RemoDAQ 80...

Page 34: ...nd VVV VV zero adjust value cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF Example Command 0140 000 18 Receive 011 Span address 01 channel zero adjust value 000 18 return success Notice Comm...

Page 35: ... adjust value cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered Syntax error or communication error may get no response command is valid command is invalid AA address of the module 00 FF Example Command 0242 000 16 Receive 011 Span address 02 and 2 channel zero adjust value 000 16 return success Notice N 0 RemoDAQ ...

Page 36: ...e terminating character carriage return ODh Response AA data cr if the command is valid AA cr if an invalid command was issued Syntax error or communication error may get no response command is valid command is invalid AA address of response module 00 FF Data is the version code of the module s firmware Example Command 01F Receive 01041201 Read address 01 firmware version return version 041201 Com...

Page 37: ...cr is the terminating character carriage return ODh Response AA data cr if the command is valid AA cr if an invalid command was issued Syntax error or communication error may get no response command is valid command is invalid AA address of response module 00 FF data the name of the module Example Command 01M Receive 018034 Read address 01 module name return name 8034 Command 03M Receive 038034 Re...

Page 38: ...e for module max 6 characters cr is the terminating character carriage return ODh Response AA cr if the command is valid AA cr if an invalid command was issued Syntax error or communication error may get no response command is valid command is invalid AA address of response module 00 FF Example Command 01O8034 Receive 01 Set address 01 module name to 8034 return success Command 01M Receive 018034 ...

Page 39: ... cr if the command is valid AA cr if an invalid command was issued Syntax error or communication error may get no response command is valid command is invalid AA address of response module 00 FF Example Command 010 Receive 01 Perform address 01 span calibration return the command is invalid before enable calibration Command 01E1 Receive 01 Set address 01 to enable calibration return success Comman...

Reviews: