background image

CF 126 

Nov 2001 

 
The instrument enters its INITIALIZE mode that lasts a few seconds per channel. When the instrument 
enters its normal operating mode (RUN mode), you will see the following format on the front panel 
display: 
 

1

 

c

 

ØØØØØ

. PSIG 

 

 

2.5 Configure a Terminal Emulator Program 

Start your favorite terminal emulator program. Configure it to communicate with the serial port you have 
connected the instrument to (usually COM1 or COM2), at 9600 baud, no parity bits, 8 data bits and 1 stop 
bits ("9600,8,N, 1"). Disable any hardware or software handshaking or flow control such as (RTS/CTS 
handshaking, DSR/DTR handshaking or Xon/Xoff flow control. 
 

2.6 Establish Communications  

The following examples assume that the two-character address of the instrument is the factory default of 
"00" (ASCII code decimal 30, ASCII code decimal 30). 

 

2.6.1 Example 1 

All instruments will respond to the "RR: Read Revision" command. Type the following command into your 
terminal emulator software, followed by the Enter key: 
 

#00

RR

 

 

You should see a reply from the instrument similar to: 
 

084-1500-01 2.07 

2.6.2 Example 2 

The "FI: Display Characters" command can be used to send a message to the instruments display. For 
example, type the following command into your terminal emulator program: 
 

#

00FIHELLO, WORLD

 

 

The instrument will acknowledge with "OK" and the characters "HELLO, WORLD!" III should be displayed 
on the instrument's front panel. 
 

Chapter 3 Command Format  

3.1 Introduction 

 
All DFI instruments have a standard DB-25 type female connector that is used for both serial 
communications and other control functions. One of two communications hardware interfaces is available: 
RS-232 or RS-485. Instruments equipped with the RS-485 two-wire interface can also be used in an RS-
422 four-wire type setup; thus this interface is sometimes called RS-422/RS-485. Regardless of the type 
of hardware interface used, the SC uses the same software command set, the general format of which is 
described in this chapter. 
 

3.2 Baud Rate, Start Bits, Stop Bits and Parity  

DFI Instruments always use 8 data bits, one start bit and one stop bit and no parity bits (often described 
as "N81 ") for serial communications. Baud rates of 300, 1200, 2400, 4800, 9600, 19200 or 38400 baud 
are available. As shipped from the factory, DFI Instruments are set to communicate at 9600 baud. The 
baud rate can be viewed from the front panel but can only be changed over the serial communications 
link. For details on changing the baud rate, see "W1 Write Baud Rate". 
 

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 

Содержание DFI 1550

Страница 1: ...DFI 1550 1650 COMMUNICATIONS GUIDE...

Страница 2: ...Introduction 4 3 2 Baud Rate Start Bits Stop Bits and Parity 4 3 3 Differences between Instruments 4 3 4 Two Types of Commands 5 3 4 1 System Commands 5 3 4 2 Channel Commands 5 3 5 Addressing 5 3 6...

Страница 3: ...duction 23 8 2 Descriptions 23 Chapter 9 AC AC LVDT Input Channel Commands 30 9 1 Introduction 30 9 2 Descriptions 30 Chapter 10 High Level Input Channel Commands 36 10 1 Introduction 36 10 2 Descript...

Страница 4: ...menu items Indicates that what follows is an item from a sub menu such as SYSTEM MENU DIAGNOSTICS DATA Commands sent to or replies from the instrument The carriage return character ASCII code decimal...

Страница 5: ...uage called SensoCode This provides great flexibility which allows the DFI Series to do many jobs which otherwise requires a personal computer or PLC 1 4 What is Calibration 1 4 1 Overview A small int...

Страница 6: ...n male or an IBM 9 pin male RS 232 serial connector Remember that all personal computer serial ports have male connectors Parallel printer ports have female connectors RS 422 or RS 485 serial ports ar...

Страница 7: ...ELLO WORLD The instrument will acknowledge with OK and the characters HELLO WORLD III should be displayed on the instrument s front panel Chapter 3 Command Format 3 1 Introduction All DFI instruments...

Страница 8: ...is shown below 0002WK0169 89 where is called the attention character which alerts all instruments that a command is being transmitted to them This character is ASCII code decimal 35 00 is the two cha...

Страница 9: ...arameter W command or when a function F command has been completed ERROR which is sent when an instrument has been asked to perform an invalid command or when invalid information is given with a write...

Страница 10: ...rriage Return See Command Format for further information If the address sent by the DTE matches the address of the instrument and the command string is valid then the instrument pulls the DSR line low...

Страница 11: ...interface Wire up one and only one slave instrument to the communications loop z according to the wiring diagrams in this chapter 2 Determine the address used by this DFI instrument factory default i...

Страница 12: ...ations bus uses one pair of wires to allow up to 32 devices to send and receive data A two wire RS 485 system is a half duplex system which means that no device can transmit and receive data at the sa...

Страница 13: ...send it the command string 00W401 followed by a carriage return Chapter 6 Application Programs 6 1 Introduction This chapter provides several programming examples and hints for using serial communicat...

Страница 14: ...CF 126 11 Nov 2001 Next select the serial port you wish to connect with Finally configure the serial port parameters as shown below...

Страница 15: ...omputer Both QBasic and QuickBasic can only access ports COM1 and COM2 Two sample programs for Microsoft QuickBasic can be located on Sensotec s web site at http www sensotec com scprograms 084 1031 0...

Страница 16: ...documented and do not always work in a consistent way across Win32 operating systems 6 6 2 Third party Libraries Another way of using serial communications with a CIC program is by purchasing a third...

Страница 17: ...wer Up Display Value RR Read Firmware Revision RS WS Read Write Channel to Display ZM Read Scan Time ZX Temporarily Suppress Continuous Transmissions ZY Read Configuration 7 3 Descriptions F0 Transmit...

Страница 18: ...IT LATCHING menu item set to ON Latched limits may also be cleared by pressing the front panel CLEAR button or by using the Function Input 2 pin on the rear panel System Connector This command does no...

Страница 19: ...ply none Remarks Do not pass GO Do not collect 200 Monopoly W1 Write Baud Rate Purpose Writes a new baud rate for serial communications Usage aaW1n is the pound or hash character ASCII decimal 35 aa i...

Страница 20: ...e setup menus 2 Press and release DOWN until the display reads SERIAL COM MENU Press ENTER to enter the SERIAL COM menu 3 Press and release DOWN until the display reads ADDRESS Press ENTER and the dis...

Страница 21: ...512 ON 1 03 768 04 1024 05 1280 Latching Value 06 1536 OFF 0 07 1792 ON 2 08 2048 09 2304 Source Value 10 2560 TRACK 0 11 2816 PEAK 4 12 3072 VALLEY 8 13 3328 14 3584 15 3840 16 4096 Energize Value 17...

Страница 22: ...ransmissions with baud rates greater than 2400 baud This is because Windows is so busy reading and displaying the received characters that it will not accept keyboard or mouse input It is a bad idea t...

Страница 23: ...isplayed on the lower line When writing this parameter n is the channel to be displayed See ken for encoding information Using pp 80 reads writes display operation When writing this parameter n 0 enab...

Страница 24: ...RR Reply A text string such as 084 1501 01 2 08 Remarks This command is useful when establishing or debugging communications because it generates a consistent reply RS WS Read Write Channel to Display...

Страница 25: ...st the instrument can service the limits ZX Temporarily Suppress Continuous Transmissions Purpose Temporarily suppress or allow continuous transmissions Usage aaZMn is the pound or hash character ASCI...

Страница 26: ...t Track Data Purpose To transmit the channel s tracking data value Usage aaccF0 is the pound or hash character ASCII decimal 35 aa is the two character instrument address cc is the two character chann...

Страница 27: ...d 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 0001FA Reply 0012 5 typ...

Страница 28: ...s DAC to 50 of full scale Reply OK or ERROR Remarks You might wish to force a channel s DAC to a certain output to help calibrate the attached data acquisition system or other device R5 W5 Read write...

Страница 29: ...ansducer with the Shunt Calibration method R9 W9 Read write Excitation Voltage Setting Purpose Reads or writes the channel s EXCITATION menu item Usage aaccR9 to read aaccW9n to write is the pound or...

Страница 30: ...13 Argument A number which selects a channel s value This number is created by adding together the values of the desired options as shown Channel Value Source Value 01 1 TRACK 0 02 2 PEAK 16 03 3 VALL...

Страница 31: ...cter ASCII decimal 13 Parameters Arguments Using pp 00 accesses the AUTO ZERO and LINEARIZATION menu items When writing this parameter the argument n is a number which selects different operating feat...

Страница 32: ...s after decimal point 2 5 digit bipolar display 0 Count by one digit 0 Enable display averaging 64 Sending 0008WQ66 will change display operation accordingly Reply When writing OK or ERROR When readin...

Страница 33: ...I decimal 35 aa is the two character instrument address cc is the two character channel number n is the frequency response in Hz is the carriage return character ASCII decimal 13 Example 0001WU10 Repl...

Страница 34: ...value Usage aaccFA 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 E...

Страница 35: ...address cc is the two character channel number n is the full scale value in engineering units is the carriage return character ASCII decimal 13 Example 0001W520000 Reply When writing OK or ERROR When...

Страница 36: ...02 accesses the KNOWN POINT 2 3 and KNOWN POINT 3 5 menu items 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...

Страница 37: ...address c cc is the two character channel number n is the full Analog Output value in engineering units is the carriage return character ASCII decimal 13 0 Example 0001WO8000 Reply When writing OK or...

Страница 38: ...nt address cc is the two character channel number 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 th...

Страница 39: ...ending 0002WT1 will accomplish this Reply When writing OK or ERROR When reading an ASCll floating point value described above Remarks If a disabled front panel button is pressed the message PROTECTED...

Страница 40: ...shunt resistor to the transducer and transmit a reading Usage aaccF5 is the pound or hash character ASCII decimal 35 aa is the two character instrument address cc is the two character channel number...

Страница 41: ...the two character instrument address cc is the two character channel number n is the argument defined below is the carriage return character ASCII decimal 13 Argument AUTO returns the DAC to its norma...

Страница 42: ...r 5V or 10V input If the channel s Signal Type Jumpers are set for current the argument value must be 20 for 4 20mA input Example 0001W710 Reply When writing OK or ERROR When reading an ASCll floating...

Страница 43: ...NT 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...

Страница 44: ...cWOn 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 i...

Страница 45: ...ad write Display Formatting Purpose Reads or writes the operation of the channel s display formatting Usage aaccRQ to read aaccWQn to write is the pound or hash character ASCII decimal 35 aa is the tw...

Страница 46: ...ptions as shown VALUE Value CLEAR Value ENABLED 0 ENABLED 0 DISABLED 8 DISABLED 4 CHANNEL Value TARE Value ENABLED 0 ENABLED 0 DISABLED 2 DISABLED 1 Example It is desired to disable the TARE button fo...

Страница 47: ...t 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 cc is the two chara...

Страница 48: ...haracter instrument address pp is the two numeric character limit number n is the limit RETURN POINT value is the carriage return character ASCII decimal 13 Example Sending 00WB04415 5 will change the...

Страница 49: ...hannels Usage aaccF0 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...

Страница 50: ...o 100 of its output Example 0009FH 5 will set channel 09 s DAC to 50 of its full scale Reply OK or ERROR Remarks You might wish to force a channel s DAC to a certain output to help calibrate the attac...

Страница 51: ...in engineering units is the carriage return character ASCII decimal 13 Example 0001WO8000 Reply When writing OK or ERROR When reading an ASCII floating point value Chapter 13 Split Display Virtual Ch...

Страница 52: ...RIGHT SOURCE menu items Usage aaccRspp to read aaccwsppn 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 pp...

Страница 53: ...urn character ASCII decimal 13 Example 0001F1 Reply OK F2 Deactivate Tare Purpose To remove the offset from the channel s data values which was applied when tare was activated Usage aaccF2 is the poun...

Страница 54: ...mber n is the four character units label is the carriage return character ASCII decimal 13 Example 000lW6CATS Reply When writing OK or ERROR When reading a four character string Changing this value do...

Страница 55: ...panel button is pressed the message PROTECTED will appear on the display Warranty and Repair Policy LIMITED WARRANTY ON PRODUCTS Any of our products which normal operating conditions proves defective...

Страница 56: ...All repairs of COOPER products are warranted for a period of 90 days from date of shipment This warranty applies only to those items that were found defective and repaired it does not apply to product...

Отзывы: