Table of Contents Chapter 1 Introduction........................... 1 1.1 About This Manual..........................1 1.1.1 Scope............................1 1.1.2 Conventions ..........................1 1.2 Related Documents ..........................1 1.3 What is the DFI Series? ........................1 1.3.1 Features............................1 1.3.2 Chassis Models..........................1 1.3.3 Channel Types..........................2 1.4 What is Calibration? ..........................
Page 3
6.4 QBasic I QuickBasic .......................... 12 6.5 Visual BASIC 5 or 6........................... 12 6.5.1 MSCOMM Active X Control ......................12 6.5.2 Third party Active X controls and DLLs ..................13 6.6 C and C++ ............................13 6.6.1 Win32 API ........................... 13 6.6.2 Third-party Libraries........................
This manual contains information about the wiring and protocol used for serial communications SC series instruments. This series includes the models DFI 1550, DFI 1650, DFI 1650PT, and DFI 1650-3004. Nearly all of the DFI’s features available via its front panel switches, indicators, display and rear panel connectors are also available through its serial communications interface.
Output Channels Output channels are hardware circuit boards with a unique channel number. They include: • Relay Output channels, which can add additional limits to the standard four (N/A on DFI 1550). • DAC Output channels, which provide additional voltage or current outputs.
• Full-scale mV/V: The full-scale millivolt-per-volt (mV/V) rating of the transducer when its full load is applied; also called "calibration factor". • Shunt-Cal mV/V: The millivolt-per-volt output of the transducer when the shunt calibration resistor is placed across its -SIGNAL and -EXCITATION leads. •...
3.3 Differences between Instruments The commands described in this guide may not be available on all versions of DFI series instruments. For example, since the model DFI 1550 does not have "limits" or "peak/valley" functions, commands CF 126 Nov 2001...
relating to this functionality will not work with it. If a command is not available on such an instrument, it will be mentioned in the description for that command. Likewise, if your instrument is not equipped with an optional Relay/DAC channel, commands relating to relays and DAC outputs will not work on your instrument.
3.6.2 Command Codes The first character of each two-character command code signifies if that command is a function command ("F"), a read operating parameter command ("R"), or a write operating parameter command ("W"). Read and write commands can be used instead of the front panel setup menus to configure the operation of the instrument.
pin 4) RS-232 Data Set Ready Output RS-232/RS-485 reference Reference RS-232 Data Carrier Detect (not connected) RS-232 Data Terminal Ready (not connected) RS-232 Ring Indicator (not connected) The RS-232 communications pins are electrically isolated from the rest of the instrument. The RS-232 and RS-485 interfaces are exclusive;...
Model DFI Computer or Terminal DB-25 connector DB-9 connector Figure 4-2: Wiring to 9-pin DTE Chapter 5 RS422/RS-485 Installation Notes 5.1 Introduction This chapter provides wiring examples and hardware information for RS-422/RS-485 communications. "Bus master" will be used to refer to the personal computer, programmable controller, terminal, data acquisition system, etc.
The RS-485 communications pins are electrically isolated from the rest of the instrument. The RS-232 and RS-485 interfaces are exclusive; an instrument cannot have both. 5.4 RS-422 Wiring RS-422 uses two pairs of wires to communicate between one bus master and up to 10 slave devices. It is a full-duplex system, i.e.
5.6.1 Determine Address To determine what address the instrument is using from the front panel: 1) Enter the setup menus by pressing [UP] and [DOWN] together. The display will read “SETUP” and then “CHANNEL 01 MENU” (which is the top-most item on the setup menus). 2) Press and release [DOWN] until the display reads “SERIAL COM.MENU”.
Page 14
Next, select the serial port you wish to connect with. Finally, configure the serial port parameters as shown below. CF 126 Nov 2001...
If HyperTerminal reports "Unable to open Com 2" (or whatever port you are using} some other application on your computer is currently using the port. It could be a printer, a mouse or another terminal emulation program. 6.2.3 Establish Communications Type “#00RR”...
6.5.2 Third party Active X controls and DLLs Because of the above problems with the MsComm control, you may wish to use a third-party Active X control for serial communications. One such product is CommX from Greenleaf software. Their web site is located at: http://www.greenleafsoftware.com Several vendors offer DLL libraries for serial communications.
"CommLib" and "CommX" are trademarks of Greenleaf Software Inc. "National Instruments" and "LabVIEW" are trademarks of National Instruments Corporation. "MARSHALLSOFT" is a registered trademark of MarshallSoft Computing, Inc. Chapter 7 System Commands 7.1 Introduction System commands affect the operation of the entire instrument. 7.2 Listings Following are the Commands listed in this section.
Page 18
ON” button or by using the Function Input #2 pin on the rear panel System Connector. This command does not apply to instruments not equipped with limits, such as the Model DFI 1550. Display Received Characters Purpose Display text momentarily on the display.
Page 19
Transmit Multiple Readings Purpose Transmit a set of multiple readings as defined with the "WL" command Usage ↵” # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address. ↵ is the 'carriage return' character (ASCII decimal 13). Example Suppose that the command “#00WL01110212↵“...
Page 20
aa is the two-character instrument address. n is the argument defined below. ↵ is the 'carriage return' character (ASCII decimal 13). Argument “0” disables the auto line-feed function. Each reply ends only with a carriage return. “1” enables the auto line-feed function (default). Each reply ends with a line-feed/carriage- return combination.
Page 21
Example Sending “00WB04415.5↵“ will change the RETURN POINT of Limit 4 to 415.5. Reply When writing: "OK", "ERROR" or "N/A" When reading: an floating-point value or "N/A" Remarks This command does not apply to instruments not equipped with limits, such as the DFI 1550.
Page 22
aa is the two-character instrument address. n is the argument defined below. ↵ is the 'carriage return' character (ASCII decimal 13). Argument "0" disables continuous transmission (default). The instrument will only transmit when requested. "1" enables continuous transmission of the front panel display. This is equivalent to sending the system command "F0 Transmit Front Panel Display"...
Page 23
reply with the track, peak and valley values of channel 03. The instrument will reply with "OK". Reply When writing: "OK", "ERROR" or "N/A". When reading: a list of hexadecimal characters as explained above. Remarks See "FL Transmit Multiple Readings" and "WI Write Continuous Transmit Setting" for more information.
Page 24
Example If the instrument is setup to display channel 01 's track value on power up, sending “#00RQ↵” will generate a reply of "1". Reply When writing: “OK" or "ERROR". When reading: a number corresponding to a channel number and data value as shown above.
Page 25
Examples Sending “#00WS01↵” will cause the display to show channel 01 's tracking value. The instrument will reply with "OK". Sending “#00WSUP↵” will increment the channel number shown on the display. The instrument will reply with "OK". Reply When writing: "OK" or "ERROR". When reading: a numeric value corresponding to a channel number and data value as explained above.
Reply A list card types, followed by a CRC check. The list of card types consists of a series of two hexadecimal - characters for every installed channel in the instrument. Note that the display is considered to be an installed channel with a channel number of "00".
Page 27
↵ is the 'carriage return' character (ASCII decimal 13). Example “0001F9↵” Reply “12602.5” (typical) or "N/A" Remarks This command is not available on the DFI 1550 Transmit Valley Data Purpose To transmit the channel's valley data value Usage ↵” “#aacc # is the 'pound' or 'hash' character (ASCII decimal 35).
Page 28
Transmit Analog-to-Digital Converter Reading Purpose To transmit the Analog-to-Digital converter reading as a percentage from -100% to +100% of the AID converter’s full scale Usage ↵” “#aacc # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address. cc is the two-character channel number ↵...
Page 29
R7/W7 Read/write Full-Scale Range Purpose Reads or writes the channel's "FULL SCALE MU/U" menu item Usage ↵” to read, “#aacc “ #aacc n↵” to write # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address. cc is the two-character channel number n is the full-scale mV/V value.
Page 30
"03" accesses the "KNOWN POINT 4/5" menu item. "04" accesses the "KNOWN POINT 2/2", "KNOWN POINT 3/3" or "KNOWN POINT 5/5" menu items. Example “#0001RK01↵” Reply When writing: "OK" or "ERROR". When reading: an ASCll-floating-point value. Changing this value has no effect until the channel is re-calibrated to the transducer with the Known-Load Calibration method.
Page 31
Example “#0001WN-8000↵” Reply When writing: "OK" or "ERROR". When reading: an ASCll-floating-point value. RO/WO Read/Write DAC Full-Scale Value Purpose Reads or writes the channel's "DAC. FULL-SCALE" menu item Usage ↵” to read, “#aacc “#aacc n↵” to write # is the 'pound' or 'hash' character (ASCII decimal 35) aa is the two-character instrument address cc is the two-character channel number ~ n is the full Analog Output value in engineering units.
Page 32
When reading: a numeric value according to the information above. RQ/WQ Read/Write Display Formatting Purpose Reads or writes the operation of the channel's display formatting. Usage ↵” to read, “#aacc “#aacc n↵” to write. # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address.
n is the argument defined below. ↵ is the 'carriage return' character (ASCII decimal 13) Argument The argument is created by adding together the values of the desired options as shown. [VALUE] Value [CLEAR] Value ENABLED ENABLED DISABLED DISABLED [CHANNEL] Value [TARE] Value ENABLED...
Page 34
↵ is the 'carriage return' character (ASCII decimal 13). Example "#0001F9↵” Reply " 12620.5" (typical) or "N/A" Remarks This command is not available on the DFI 1550. Transmit Valley Data Purpose To transmit the channel's valley data value Usage "#aaccFA↵”...
Page 35
Reply “872945" (typical) Remarks none Write DAC Control Value Purpose To control the channel's Digital-to-Analog Converter (DAC) manually or automatically. Usage "#aaccFHn↵" # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address cc is the two-character channel number n is the argument defined below.
Page 36
"#0001W7l0. ↵" Example Reply When writing: "OK" or "ERROR". When reading: an ASCll-floating-point value. Changing this value will change the gain of the amplifier circuit. It is recommended that a re-calibration of the transducer to the channel be performed to maintain calibration.
Page 37
Example “aaccRM33↵” will cause the channel 01's DAC to monitor channel 01 's valley value. Reply When writing: "OK", "ERROR" or "N/A". When reading: a number corresponding to a channel number and data value as shown above. Remarks none RN/WN Read/write DAC Zero-Scale Value Purpose Reads or writes the channel's "DAC.
Page 38
Using pp="02" accesses the "AUX1 FUNCTION" menu item. Using pp="03" accesses the "AUX2 FUNCTION" menu item. When writing these parameters: n=0 means the Auxiliary Function pin is disabled. n=1 means track hold. n=2 means peak & valley hold. n=4 means peak & valley clear (edge triggered) n=16 means activate Tare function.
Reply A text string such as 084-1169-0101 Remarks This is the part number and version of the firmware used by the channel's microprocessor. RT/WT Read/write Front Panel Switch Operation Purpose Reads or writes the operation the front panel switches when the Protection jumper is installed.
Page 40
↵ is the 'carriage return' character (ASCII decimal 13). Example "#0001F9↵ " Reply " 12620.5" (typical) or "N/A" Remarks This command is not available on the DFI 1550. Transmit Valley Data Purpose To transmit the channel's valley data value Usage "#aaccFA↵"...
Page 41
Remarks This command is not available on the DFI 1550. Clear Peak and Valley Data Purpose To reset the channel's peak and valley data values to the track value. Usage "#aaccFB↵" # is the 'pound' or 'hash' character (ASCII decimal 35).
Page 42
R6/W6 Read/write Units Label Purpose Reads or writes the channel's "DISPLAY. UNITS" menu item Usage "#aaccR6↵" to read, "#aaccW6n↵" to write. # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address. cc is the two-character channel number n is the four-character units label.
Page 43
A value of 3 means the Signal Type Jumper is set to "voltage". A value of 4 means the Signal Type Jumper is set to "current". RK/WK Read/write Known-Load Calibration Point Purpose Reads or writes the channel's "KNOWN POINT x/y" menu items Usage "#aaccRKpp↵...
Page 44
Example "#0001RM33↵" will cause the channel 01's DAC to monitor 8 channel 01 's valley value. Reply When writing: "OK", "ERROR" or "N/A". When reading a number corresponding to a channel number and data value as shown above. Remarks none RN/WN Read/write DAC Zero-Scale Value Purpose...
Page 45
Using pp="01" accesses the "CALIBRATION TYPE" menu item. When writing this parameter: n=1 means Shunt Calibration. n=2 means 2-Point Known-Load Calibration. n=3 means 3-Point Known-Load Calibration. n=5 means 5-Point Known-Load Calibration. Using pp="02" accesses the "AUX1 FUNCTION" menu item. Using pp="03" accesses the "AUX2 FUNCTION" menu item. When writing these parameters: n=0 means the Auxiliary Function pin is disabled.
Usage "#aaccRR↵" # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address. cc is the two-character channel number ↵ is the 'carriage return' character (ASCII decimal 13). Example "#0001RR↵" Reply A text string such as 084-1169-01 01 Remarks This is the part number and version of the firmware used by the channel's...
" 00000." Remarks Since this channel generates no track, peak or valley data values, this command always returns 0. This command is not available on the DFI 1550. Write Relay Control Value Purpose To control the channel's relay outputs manually or automatically Usage "#aaccFJn↵"...
Page 48
Example "#0012FJ12↵" turns on relays 3 and 4 of channel 12 Reply "OK" or "ERROR" RA/WA Read/write Limit Set Point Purpose Reads or writes the SET POINT of a limit Usage "#aaRApp↵ " to read, "#aaWAppn↵" to write. # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address.
“ 00000.” Remarks Since this channel generates no track, peak or valley data values, this command always returns 0. This command is not available on the DFI 1550. Transmit Valley Data Purpose To maintain compatibility with other types of channels Usage "#aaccFA↵"...
Page 50
" 00000." Remarks Since this channel generates no track, peak or valley data values, this command always returns 0. This command is not available on the DFI 1550. Write DAC Control Value Purpose To control the channel's Digital-to-Analog Converter (DAC) manually or automatically.
When reading: an number corresponding to a channel number and data value as shown above. RN/WN Read/Write DAC Zero-Scale Value Purpose Reads or writes the channel’s “DAC.ZERO-SCALE” menu item. Usage “#aaccRN↵” to read, “#aaccWNn↵” to write # is the ‘pound’ or ‘hash’ character (ASCII decimal 35). aa is the two-character instrument address.
Page 52
0. This command is not available on the DFI 1550. Transmit Valley Data Purpose To maintain compatibility with other types of channels Usage “#aaccFA↵" # is the 'pound' or 'hash' character (ASCII decimal 35). aa is the two-character instrument address.
↵ is the 'carriage return' character (ASCII decimal 13). Example "#0001F9↵" Reply " 12620.5" (typical) or "N/A" Remarks This command is not available on the DFI 1550. Transmit Valley Data Purpose To transmit the channel’s valley data value Usage "#aaccFA. ↵"...
Page 54
↵ is the 'carriage return' character (ASCII decimal 13). Example "#0001FA↵” Reply "-0012.5" (typical) or "N/A" Remarks This command is not available on the DFI 1550. Clear Peak and Valley Data Purpose To reset the channel's peak and valley data values to the track value Usage "#aaccFB.J"...
5 digit, bipolar display Count by one digit Enable display averaging = 64 Sending "#000BWQ66↵" will change display operation accordingly. Reply When writing: "OK" or "ERROR". When reading: an ASCll-floating-point value described above. RT/WT Read/write Front Panel Switch Operation Purpose Reads or writes the operation the front panel switches when the Protection jumper is installed.
Page 56
Advance authorization is required prior to the return to COOPER. Before returning the item contact the Repair Department at (540) 349-4746 to obtain a Return Material Authorization. Shipment to COOPER shall be at buyer’s expense and repaired or replacement items will be shipped F.O.B. our plant in Warrenton, Virginia.
Need help?
Do you have a question about the DFI 1550 and is the answer not in the manual?
Questions and answers