CHAPTER 4 - Mounting and Wiring Mounting ..............4-1 Wiring..............4-1 Shunt Cal Resistor..........4-6 CHAPTER 5 - Getting Started with the PIM-3 CHAPTER 6 - Command Format Baud Rate, Bits and Parity........6-1 Special Order Instruments........6-2 Two Types of Commands........6-2 Addressing..............
Page 4
Table of Contents CHAPTER 9 - Application Programs Introduction..............9-1 Sample QBasic Program......... 9-1 Hints for Procomm Plus for DOS......9-3 Hints for Windows 3.1 Terminal......9-3 CHAPTER 10 - System Commands 10.1 Transmit Limit Status........10-2 10.2 Write Baud Rate..........10-3 10.3 Write Automatic Linefeed Setting....
Page 5
13.1.2 Requirements..........13-1 13.1.3 Calibration Example......... 13-1 13.2 Shunt Resistor Calibration Example......13-3 13.2.1 Introduction............13-3 13.2.2 Requirements..........13-3 13.2.3 Calibration Example........13-4 13.3 Using a Single Transducer with Multiple PIM-3’s... 13-3 APPENDIX Warranty and Repair Policy........A-1 Command Listing............ A-4...
(covered above) can be increased greatly. For example, averaging of many data points is possible. It is also possi- ble to magnify a particular portion of the transducer's operating range, thereby making "turndown" possible. Model PIM-3...
PIM-3. Chapter 3 , "Block Diagram," provides a block diagram of the PIM-3 to explain the versatility of the device and how it may be used. Chapter 4 , "Mounting and Wiring," shows all of the connectors on the case of the PIM-3 and what the func- tions are for each pin.
Page 9
Chapter 13, "Calibration Examples," provides exam- ples of calibrating the PIM-3 to the transducer using Shunt Calibration and Known-Load Calibration. The Appendix includes warranty information and a quick reference chart which shows all of the available commands.
Chapter 2 Specifications SENSOTEC's PIM-3 Digital Inline Amplifier is a sophisticated microprocessor-based system with wide flexibility. The specifications are: ABSOLUTE MAXIMUM SPECIFICATIONS Temperature, Storage: -20 to 200 deg F. Temperature, Operating: 0 to 150 deg F. POWER REQUIREMENTS Power Supply Required:...
Page 12
AMPLIFIER CHARACTERISTICS Accuracy: .01% Frequency Response: 5 Hz. (digitally filtered) CMRR: 120 db. Short Circuit Protected?: DIGITAL SECTION CHARACTERISTICS Output: RS-232 or RS-485 Available Baud Rates: 300, 600, 1200, 2400, 4800, 9600 No. of Characters Transmitted: Up to 22 per message Scaling: +/- 999,999 maximum Eng.
5 Hertz. Noise is removed by this filtering. However, users with frequencies of interest higher than 5 Hz. will find that the PIM-3 is not a good choice for their application. Model PIM-3...
Page 14
This should produce a known response in the PIM-3 circuit, and enable calibration of the transducer to the PIM-3. Block Diagram...
Page 15
11. POWER SUPPLY. The power supply uses the input supply (12 to 28 VDC) to make voltages and currents for all circuits in the PIM-3. 12. ANALOG OUTPUT. An optional 0-5 VDC or 4- 20mA analog output is available.
1 is a template which may be used for hole location. Chassis-mounted plastic case A version of the PIM-3 is also available in a plastic case which is designed to be plugged into a multi-channel backplane. Please note that Figure 4-1 only applies to the metal case, not the plastic case.
Page 19
E. DEFAULT pin. Suppose for a moment that the address of a PIM-3 has been forgotten, or the baud rate is not known. Without this information, communication with the unit is not possible. In the event that this happens, a default mode has been programmed into the PIM-3.
Page 20
Limit output pins must be limited to 60 volts DC, at 0.5 amperes. See Chapter 12, "Understanding Limits", for an expla- nation of how limits are used in the PIM-3. Figure 4-2 illustrates an example of wiring to the limits outputs. LOAD...
Page 21
Limit 1 Setpoint 10000 Limit 1 Hysteresis -100 Limit 2 Setpoint Limit 2 Hysteresis Limit 3 Hysteresis -100 Limit 4 Setpoint Limit 4 Hysteresis Tare Excitation Shunt Cal Units 20000 Continuous Transmit Engineerinig Units Auto Limit Report Model PIM-3...
The resistor is mounted in two pin jacks for easy removal. Using a pair of long-nose pliers, gently remove the resistor, and replace it with the proper value for your transducer. 3. Carefully replace the lid on PIM-3 and screw it in place. Mounting and Wiring...
Chapter 5 Getting Started with the PIM-3 It is assumed that the PIM-3 has been connected to its transducer, and the power is ready to be applied for the first time. All variables are shipped from the factory at their default settings unless a transducer has been pur- chased simultaneously.
Page 26
PIM-3's baud rate! 6. It is often desired that the PIM-3 be used to auto- matically detect the exceeding of a limit. Chapter 12, "Understanding Limits" describes limit setup and opera- tion.
For details on changing the baud rate, see the "W1" command in Chapter 10, "System Com- mands." The DEFAULT pin can be used to temporarily change a PIM-3’s baud rate to 300 baud. See Chapter 4, “Mount- ing and Wiring” for more information. Model PIM-3...
Addressing Every PIM-3 on the communications loop must have a unique two-character address. As shipped from the fac- tory, every PIM-3 has an address of "00" (ASCII codes decimal 30, decimal 30). A PIM-3's address can be changed over the serial communications link using the "W4"...
An example command is shown below: #00WO1.2^ where: is called the "come alive" character, which alerts all PIM-3's that a com- mand is being transmitted to them. This character is ASCII code decimal is the two-character address of the PIM-3 to be communicated with. Each character must be a number or an uppercase letter.
Page 30
An example of an amplifier command string is " #03F1 ". This command, followed by a carriage return, causes the PIM-3 addressed as " 03 " to process the " F1 " command. The " F1 " command activates the tare func- tion, and thus this command string activates the tare func- tion for the amplifier.
("R") or function ("F") command. * other ASCII strings To signal the end of a response, the PIM-3 will send a carriage-return (ASCII code decimal 13) if the Auto-Line- feed function is off, or a linefeed/carriage-return (ASCII codes decimal 10, decimal 13) when the Auto-Linefeed is on.
If the address sent by the DTE matches the address of the PIM-3 and the command string is valid, then the PIM-3 will begin processing the command string. After the PIM- 3 has finished processing the command string, the PIM-3 will send a response if neccessary.
9-pin RS-232 serial port. The RTS (Ready to Send) and CTS (Clear To Send) signals are not used by the PIM-3. Thus they are con- nected together in the communications cable in case the DTE (such as the IBM-PC) uses RTS/CTS-style hardware handshaking.
Introduction This chapter provides wiring examples and hardware information for RS-422/RS-485 communication with the Model PIM-3. "Bus master" will be used to refer to the personal computer, programmable controller, terminal, data acquisition system, etc. which is controlling PIM-3 instruments over the RS-422/RS-485 communications bus.
Page 38
"01", using the "W4" (Write Instru- ment Address) command as explained in the Chap- ter 6, “System Commands”. Verify communications with the PIM-3 to insure that it is operating with the new address. 5) Change this PIM-3's baud rate to your desired value, such as 9600 baud, using the "W1"...
Function of Pins The table below lists the pins on the DB-9 connector that are used for RS-422/RS-485 by the PIM-3. RS-422 DESCRIPTION FUNCTION Transmit A (output+) Data from the PIM-3 to bus master. Transmit B (output-) Data from the PIM-3 to bus master.
"A" and "B" for "positive" and "negative" have been reversed. Use the wiring diagram given in Figure 8- 2 when connecting PIM-3 Instruments to this card. Many other distributors of industrial PC equipment provide PC/ AT RS-422/RS-485 interface cards, and this does not constitute an endorsement by SENSOTEC of Black Box products.
A" (pin 2), and "Transmit B" (pin 5) and "Receive B" (pin 3) are connected together. Use the wiring diagram of Fig- ure 8-1 for a four-wire RS-485 communications bus and use Figure 8-3 when connecting PIM-3 Instruments to a two-wire RS-485 communications bus. Model PIM-3...
If the address sent by the DTE matches the address of the PIM-3 and the command string is valid, then the PIM-3 starts processing the command string. After the PIM-3 has finished processing the command string, the PIM-3 will send a response if neccessary.
Another BASIC program is provided which dem- onstrates how data can be read from a PIM-3 as often as possible by using the PIM-3's Continuous Transmit func- tion.
Page 44
Listing 1: Sample QBasic Terminal Program Listing 2 shows how data can be read as often as pos- sible when the PIM-3 has its Continuous Transmit feature enabled. Because the BASIC "LINE INPUT #" statement will not work when it receives a Line-Feed/Carriage Return combination, the PIM-3's Automatic Line-Feed function must be disabled before using "LINE INPUT #".
"Soft flow ctrl (XON/XOFF)" and the "Hard flow control (RTS/CTS)" options to OFF. Hints for Windows 3.1 Terminal Since PIM-3 series instruments do not use either hard- ware or "XON/XOFF" flow control, you must change the communications settings of the Windows Terminal. To do this, select "Settings >...
Chapter 10 System Commands Below is a list of system commands for PIM-3 instru- ments. These commands only deal with the communica- tion and limit setup parameters of the PIM-3. Function Description Universal command? Transmit Limit Status Write Read Parameter...
The F6 command transmits a message which indicates the status of the four open-collector limits. A limit status message looks something like this: #AA L1 ON L2 ON L3 OFF L4 OFF Where “AA” is the address of the PIM-3. EXAMPLE #00F6 The above command, when followed by a carriage return, will cause the instrument addressed as “00”...
As shipped from the factory, PIM-3 instruments are set to communicate at 9600 baud. If the communications cable is very long (>100 feet), or if the host will not support this baud rate, the baud rate used by the PIM-3 must be changed.
“00.” WHEN TO USE IT If the PIM-3 is connected to a dumb terminal or to a printer, inserting a line- feed before the carriage return will make each message sent by the instru- ment appear on a separate line and thus be easier to read.
"00". WHEN TO USE IT If the PIM-3 is connected to a dumb terminal or to a printer, the echo function will ease manual typing of commands. The echo feature is also useful when it is required to connect multiple PIM-3 units to a single RS-232 port.
"COMMAND ERROR" to be sent out on the serial port. The default address for PIM-3 instrument's as they are shipped from the fac- tory is "00" (ASCII codes decimal 30, decimal 30). The PIM-3 will not send a response after this command has been processed.
Page 53
The hysteresis for each limit may be changed with the WB,WD,WF,WH com- mand. For a complete explanation of limit parameters, please see Chapter 12, "Understanding Limits.” The PIM-3 will not send a response after this command has been processed. If incorrect information is given, the PIM-3 will respond with “COMMAND ERROR.”...
Page 54
The setpoint for each limit may be changed with the WA,WC,WE, and WG commands. For a complete explanation of limit parameters, please see Chapter 12, "Understanding Limits.” The PIM-3 will not send a response after this command has been processed. If incorrect information is given, the PIM-3 will respond with “COMMAND ERROR.”...
“off” to “on.” If the first character of the information field is a “1”, then the PIM-3 will auto- matically transmit the limit status whenever any one of the limits has been switched from “off”...
WHEN TO USE IT If the PIM-3 is connected to a dumb terminal or to a printer, you can have the PIM-3 transmit data automatically. This command is the easiest way to insure that you are obtaining data from the PIM-3 as quickly as possible.
SYNOPSIS RR- Read software revision level DESCRIPTION The RR command reads the instrument's software part number and software revision level. EXAMPLE The command "#00RR", when followed by a carriage return, produces a response similar to: 084-1003-00 2.4 Model PIM-3 10-11...
Chapter 11 Amplifier Commands Below is a list of standard amplifier commands for PIM-3 instruments. These commands affect the opera- tion and calibration of the transducer amplifier. Function Description Universal Command? Transmit data Activate Tare Clear Tare Calibrate Analog-to-Digital Converter...
If the transducer signal is beyond the capability of the PIM-3 to measure, the PIM-3 will respond with “OVER” for overrange, and “UNDER” for underrange.
The PIM-3 will not send a response after this command has been processed. This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command.
The PIM-3 will not send a response after this command has been processed. This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command.
The A/D converter chip is also calibrated when the PIM-3 instrument is pow- ered up. This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command. EXAMPLE...
“00” to calibrate its amplifier to the unloaded trans- ducer. WHEN TO USE IT This command should be used to calibrate the PIM-3 amplifier to the trans- ducer if a precision load is not avaliable for use with the Known Load Calibra- tion Method.
DESCRIPTION The F5 function applies the shunt resistor (usually 59,000 ohms for SENSO- TEC transducers) on the amplifier channel to two transducer leads (usually - SIG and -SENSE for SENSOTEC transducers) and transmits the reading. EXAMPLE #00F5 The above command, when followed by a carriage return, will cause the instrument addressed as "00"...
F7 command was used. It also resets the average count and the average total. After the first time the F7 command is used after powerup, the PIM-3 will enable the processing of the average. Every 32.77ms thereafter, the PIM-3 takes data from the transducer, stores it into an average total, and incre- ments an average counter.
The proper data from the transducer’s calibration record (such as excitation voltage, full-scale mV/V value, known load value, etc.) should be entered into the PIM-3 prior to calilbrating. Also, the unit should be tared (“zeroed”) with the F1 command before calibrating “span” with the F8 command.
If incorrect information is given, the PIM-3 will respond with “COMMAND ERROR.” This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command. EXAMPLE The command below, when followed by a carriage return, will change the full scale value to 30.75 (with 2 decimal places).
If incorrect information is given, the PIM-3 will respond with “COMMAND ERROR.” This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command. EXAMPLE The command below, when followed by a carriage return, will change the text that is transmitted to "CATS".
This information is found on a trans- ducer's calibration record as the "calibration factor." The PIM-3 will not send a response after this command has been processed. If incorrect information is given, the PIM-3 will respond with “COMMAND ERROR.”...
If incorrect information is given, the PIM-3 will respond with “COMMAND ERROR.” This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command. EXAMPLE The command below, when followed by a carriage return, will change the shunt calibration value to 750.12.
The PIM-3 will not send a response after this command has been processed. The R9 command will read the present excitation voltage. This command is a universal command. Sending this command for the spe- cial address of “FF” will cause all PIM-3’s on the communications link to pro- cess the command. EXAMPLE...
HYSTERESIS -- A deadband in which a tripped limit will not deenergize. This makes the limit noise- resistant up to the amount of the hysteresis. Model PIM-3 12-1...
12.3 Configuring Limits Two general rules exist that help in defining limit configurations: 1. Hysteresis always lies between the trip point and zero. Thus, a limit setting of 5000 with a hys- teresis value of 100 would energize the limit at 5000, and deenergize it at 4900.
Page 78
+100 pounds. Either limit may be designated as either value, since the sign of the hysteresis will tell the PIM-3 which type of limit we want. Arbitrarily, the high limit will be designated Limit 1, and the low limit as Limit 2.
Page 80
Example 2. Consider a case in which a tank is being pumped full of liquid. The tank is designed to hold 3000 gallons. When the tank level drops to the 500 gallon point, it is desired to fill it. If it should ever drop to 100 gal- lons, a dangerous condition could result, and the process must be shut down immediately.
Page 81
500 gallon limit becomes a low limit (hysteresis is positive). Limit 2 Setpoint = 2500 Limit 2 Hysteresis = -150 Limit 3 Setpoint = 500 Limit 3 Hysteresis = 150 Figure 12-3 illustrates the setup, and Figure 12-4 shows the required circuit. Model PIM-3 12-7...
Page 82
LIMIT 1 SETPOINT LIMIT 1 HYSTERESIS LIMIT 2 SETPOINT LIMIT 2 HYSTERESIS LIMIT 3 HYSTERESIS LIMIT 3 SETPOINT LIMIT 4 HYSTERESIS LIMIT 4 SETPOINTS SHUTOFF DANGER POINT Figure 12-3: Limit Example 2 Setup POWER SUPPLY SHUTDOWN SYSTEM HORN PUMP Figure 12-4: Limit Example 2 Circuit 12-8 Understanding Limits...
Model PIM-3 to a transducer: • Model PIM-3 Digital Inline Amplifier. • 12 - 28 volt DC power supply, to power the PIM-3. • Communications terminal, or a personal computer running a terminal emulation program.
Page 84
This may be done regardless of the load on the trans- ducer. #01F3<ret> Next, the tare value will be entered into the PIM-3. All load must be removed from the transducer before this command is performed so that the PIM-3 will recognize this point as "zero".
PIM-3 is connected. 13.2.2 Requirements The following equipment and information is required for proper shunt calibration of a Model PIM-3 to a trans- ducer: • Model PIM-3 Digital Inline Amplifier.
It is to be calibrated to a load cell such that the full scale output from the PIM-3 will read out at 150 pounds. The full-scale mV/V value ("calibration factor") of the load cell, as obtained from its calibration record, is 2.997 mV/V...
Page 87
This may be done regardless of the load on the trans- ducer. #01F3<ret> Next, the tare value will be entered into the PIM-3. All load must be removed from the transducer before this command is performed so that the PIM-3 will recognize this point as "zero".
Page 88
Finally, as an optional check, use the F5 command to apply the shunt calibration resistor to the transducer and take a reading. When no load is applied to the trans- ducer, this reading allows you to check the actual shunt calibration reading against the calculated shunt calibration reading entered with the W8 command.
13.3 Using a Single Transducer with Multiple PIM-3’s It is possible to connect more than one PIM-3 instru- ment to a single transducer in order to allow each instru- ment to digitize the data over a different range. transducer is driven by the excitation voltage of a single instrument, and the output of the transducer is connected in parallel to the signal inputs of all of the instruments.
SENSOTEC, will be repaired or replaced free of charge provided that you obtain a return material authorization from SENSOTEC and send the...
Page 91
5) ship and bill addresses. At this time you will be issued a Return Material Authorization number (RMA#) on which to ship the unit(s) back to SENSOTEC. Shipment to SENSOTEC shall be at buyer's expense and repaired or replacement items will be shipped F.O.B.
Page 92
After the product is evaluated by SENSOTEC, we will contact you to provide the estimated repair costs before proceeding. Shipment to SENSOTEC shall be at buyer's expense and repaired items will be shipped to you F.O.B. our plant in Columbus, Ohio.
A.2 Command Listing Below is a table of available commands in the PIM-3 which can be used as a quick reference. FUNCTION COMMAND LISTING UNIVERSAL CODE FUNCTION COMMAND? Transmit data Tare (Clear to 0) Remove Tare Calibrate A/D Converter (Used to mini- mize temperature error in the A/D con- verter.
Page 95
WRITE COMMAND LISTING UNIVERSAL CODE FUNCTION COMMAND? Reads Known Load Calibration Value Set Baud Rate (9600 = 0, 4800 = 1, 2400 = 2, 1200 = 3, 600 = 4, 300 = 5) Set Auto Line Feed (ON = 1, OFF = 0) Set Echo (ON = 1, OFF = 0) (Must be off for RS-485 with multiple units) Set this Unit’s Address...
Page 96
WRITE COMMAND LISTING UNIVERSAL CODE FUNCTION COMMAND? Set continuous Transmit (ON = 1, OFF = 0) (Must be off for RS-485 with multiple units) Set Automatic Limit Report Output (ON = 1, OFF = 0) (Must be off for RS-485 with multiple units) Set Known Load Calibration Value SPECIAL COMMAND...
Need help?
Do you have a question about the PIM-3 and is the answer not in the manual?
Questions and answers