Do you have a question about the 9240 and is the answer not in the manual?
Questions and answers
Summary of Contents for ADSI 9240
Page 1
Manual Recorder Model 9240 Copyright 2005 – Allen Datagraph Systems Inc. - All Rights Reserved Revision 11-1-5 Allen Datagraph Systems Inc www.allendatagraph.com...
Step Motor Once Command ....................23 5.5.4 Self Test Command ......................23 Paper Loading ........................24 Care of the Recorder ......................24 Specifications........................25 General..........................25 Waveform Mode ......................25 Text Mode........................26 Graphics Mode.........................26 Digital Control Interface ....................26 Environmental........................26 Reliability.........................26 Appendix A Using The 9240 with A PC ...................27 Interface Cabling......................27...
Page 3
Figure 5-5 Text Mode Character Orientation ................21 Figure 5-6 Bit-Mapped Graphics Data Orientation ..............22 Figure A-1 Interface Cable - 9240 to IBM PC Compatible Parallel Printer Port ......28 Figure A-2 Command / Data Byte Transfer Flowchart ..............30 Figure A-3 Example A-1 Output - Analog Waveform Mode Programming ........33 Figure A-4 Example A-2 Output - Digital Waveform Mode Programming.........35...
The Model 9240 is a two-channel 40 mm thermal strip-chart recorder module. Featuring microprocessor-based electronics and thermal dot array print head, the 9240 can either be operated in stand-alone mode or it can be interfaced to a host computer for additional flexibility. The versatility of the 9240 makes it the ideal chart recorder choice for a variety of applications and systems.
2 Electrical Connections 2.1 Connector Locations All electrical connections to the 9240 are made through connectors P6, P5, and P2 on the controller circuit board. These connectors carry analog signals, power supply connections, and digital interface signals respectively. Figure 2.1 shows the location and orientation of these circuit board connectors on the Rev D CPU board. Connector numbers and location differ slightly different in Rev B CPU boards.
See Rev D note below 11-30V Note: The Vhead power supply should never be applied to the 9240 unless the Vlogic supply has been switched ON and the microprocessor has had time to complete its reset cycle- This may be accomplished in either of two ways.
Figure 2-2 Typical Power Supply Control Circuit Using ~PSEN Control Signal 2.3 Analog Signal Connections In analog waveform mode, the 9240 scans the voltages of the two analog signals inputs and plots the corresponding waveforms on the chart. The signals for channel 0 are fed into P6-1 (signal) and P6-2 (Gnd), while the signals for channel l are fed into P6-5 (signal) and P6-6 (Gnd).
~ R E S E T (P2-21): B r in g in g this input line LOW initiates a hardware reset of the 9240 and returns it to power- up conditions. RE S E T should be held LOW a minimum of 50 milliseconds to insure that a reset cycle occurs.
Ω connect to TP2 and JP1 and set the gain exactly using the gain pot. After setting the gain, power up the 9240 with no analog input signal. Set DVM to DC volts (A V with a flat bar over the top).
In stand-alone operating mode, the M Port, consisting of the four input signal lines M0-M3 (P2 pins 15-18), is used to set the chart speed. Table 3.1 shows the M Port speed selections for the standard 9240 software configuration. The configuration sheet lists the chart speeds for your unit, in order from speed 0 through 7.
See Section 2.3 for details. 3.3 Other Signals In addition to the M Port, several other signals on the P2 digital I/O connector may be used to control the 9240 in stand-alone operation.. The operation of the general-purpose signals ~PSEN, ~STEP, ~ALARM, and ~RESET signals is described in Section 2.3.
4.1 C/D Port Signals For interfacing the 9240 to a host computer, a group of signals known as the C/D Port is provided on the P2 digital I/O connector. Through this interface the host computer can set the 9240 to any of the four operating modes and can transfer data for waveform mode annotation, digital waveform plotting, and text or graphics mode printing.
(text/graphics modes) 4.2 Command / Data Byte Transfer Cycle The procedure for writing a Command or Data Byte to the 9240 is as follows. Figure 4.1 shows the timing of the C/D Port signals for a byte transfer cycle. Begin with the ~STOBE HIGH. Wait for the BUSY handshake line to go LOW before beginning each write cycle.
Enter Analog Waveform Mode The 9240 continually scans the analog signals from the P6 connector using the on-board A to D converters, and produces a plot of the corresponding waveforms. This scanning process occurs automatically and requires no intervention by the host computer.
The maximum rate at which waveform data can be latched into the recorder is approximately 10k bytes per second (5K bytes per channel if both channels are active). However, the 9240 requires only one data sample per channel between motor steps to plot at its highest possible resolution. The chart is stepped in 1/18mm increments as points are plotted on the chart paper.
the chart, 1/18 mm per step. In either waveform mode, all waveform data accumulated since the last step is plotted each time a new step is made. When all steps have been given, the "Stop Chart" command given above should be sent to de-activate the ~PSEN line.
The configuration sheet in Appendix E lists the initial on-off setting for the initial print speed and logo and the initial repeat interval. If there is no logo text programmed into your version of the 9240 ROM, there will be no entry for logo on-off setting.
Figure 5-2 Annotation Segment Positions, 1 x 40 mm Channel Format The annotation commands have the following format: 00H +string 0 +string Annotation @ 0 mm position, text = "string" through 2CH +string 44 +string Annotation @ 44 mm position, text = "string" T h e C ommand byte of each annotation command is sent in the normal manner on the C/D Port with the ~CMD/DATA line HIGH.
(white-on black) printing. This command may be used any time during recorder operation, and affects Text Mode printing as well as all Waveform Mode text. On reset or power-up, the 9240 characters are set to normal (black-on-white) printing. Note: Black backgrounds take more power for Vhead than white backgrounds.
Figure 5-4 Event Mark Examples 5.2.9 Dither Commands The 9240 incorporates a feature known as dithering which helps prolong the life of the thermal array print head. After every 255 centimeters of waveform mode plotting, the entire print pattern, including grids, signal traces, annotation, and so on, is shifted upward by one chart position.
Note: The ~PSEN line remains LOW (ACTIVE) continuously while the 9240 is operating in the Text Modes. If this line is used to control the Vmotor/Vhead power supply as described in Section 2.2, the 9240 should be reset during prolonged idle periods. This can be accomplished either by the R E S E T control signal (see Section 2.4), or by issuing the "Reset 9240"...
Once the Graphics Mode command has been issued, each dot row of the image is formed by sending 48 Data bytes (~CMD/DATA line HIGH) on the C/D Port. Data bytes sent to the 9240 in Graphics Mode pass directly to the thermal array print head At 8 dots/mm resolution, the 48 data bytes correspond directly to the 48mm print head, 384 dots and 384 bits total per line.
HORIZONTAL TEXT mode samples, showing the entire 9240 character set in 1 mm, 2 mm, and 3 mm wide fonts. VERTICAL TEXT mode samples, showing the character set in 1 mm, 2 mm, and 3 mm wide fonts.
9240 is reset to the factory default conditions. The BUSY line goes LOW again and the C/D Port becomes active only after the self-test and reset cycle has been successfully completed. 6 Paper Loading With power removed from the recorder: •...
8 Specifications See the configuration sheet in Appendix E for the power-up settings for your software version. 8.1 General Writing method: Direct thermal array print head Print head Width: 48mm Resolution: 8 dots/mm (200 dots/inch) Chart motor: 1.8° stepper motor (18 steps/mm) Paper: 80 foot roll.
8.3 Text Mode Character size: Width: 1 mm, 2 mm, or 3 mm. Height: 3 mm. Formats: Vertical (16, 24, or 48 columns across chart) Horizontal (16 lines across chart) Character set: 95 ASCII, 31 graphics/symbol characters Print speed: >8 lines/second, 3 x 3mm characters 8.4 Graphics Mode Method: Raster bit map, 1 bit per dot, 48 bytes...
This appendix contains application information for operating the 9240 chart recorder from an IBM-compatible personal computer. The discussion covers hardware interfacing, PC parallel port register functions, data transfers from the PC to the 9240 C/D port, and programming examples which demonstrate all four of the 9240 chart recorder operating modes.
Figure A-1, reading and writing these three I/O registers establish control of the 9240. Table A-1 defines the bit functions of the three parallel printer port registers when used with the 9240.
A.3 Transferring Commands and Data to the 9240 The sequence of operations required to transfer each Command or Data byte from the PC to the 9240 is shown in flowchart form in Figure A-2. This basic sequence, minus the ~ALARM signal checking, is used in the subroutines "SendCmd", "SendData", "SendWav0", and "SendWav1"...
The following examples demonstrate programming the 9240 via the C/D Port. All recorder commands and data through are sent to the 9240 using the PC's parallel printer port. The programs are written in Microsoft QBasic, included with MS-DOS versions 5.0 and later. In addition to these examples in Basic a software development kit is available on the Allen Datagraph technical support website at www.allendatagraph.com.
Page 31
'by peeking £H0040:0008 and :0009 addr = 256 * PEEK(9) + PEEK(8) porta = addr + 2 'Port A = Base addr + 2 portb = addr portc = addr + 1 END SUB SUB SendCmd (cmd AS INTEGER) 'SEND CCb24AND BYTE TO 9240...
Page 32
'Start STROBE (low) OUT porta, 8 'End STROBE (high) END IF END SUB SUB SendData (dat AS INTEGER) 'SEND NON-WAVEFORM DATA BYTE TO 9240 WaitNotBusy 'Wait for BUSY low or keyboard escape IF guit = 0 THEN OUT portb, dat...
Figure A-3 Example A-1 Output - Analog Waveform Mode Programming Example A-2 Digital Waveform Mode Programming This program illustrated Digital Waveform Mode operation. Subroutines to transmit the waveform data are included here; other subroutines not listed here are shown in Example A-1. This sample exercises the following software functions: •...
Page 34
= 0: SendCmd &HF9 'Reset 9240 to stop 'SUBROUTINES 'See Example A-1 for text of other subroutines 'SEND CHAN 0 DIGITAL WAVE DATA TO 9240 SUB SendWave0 (wav0 AS INTEGER) WaitNotBusy 'Wait for BUSY low or keyboard escape IF quit = 0 THEN...
Figure A-4 Example A-2 Output - Digital Waveform Mode Programming Example A-3 Vertical Text Mode Programming This example demonstrates 9240 Vertical Text Mode operation. The entire character set is printed out in each of the three font sizes. DECLARE SUB FindLPT1 ()
'Print character set SendData 13: SendData 13: SendData 13 quit = 0: SendCmd &HF9 'Reset 9240 to stop 'SUBROUTINES 'See Example A-1 for text of subroutines Figure A-5 Example A-3 Output - Vertical Text Mode Programming Example A-4 Horizontal Text Mode Programming This program illustrates the Horizontal Text Mode by printing out the character set in all three fonts.
Page 37
HorizArray "3 mm Horiz font" 'Print character set using array SendData 13: SendData 13: SendData 13 quit = 0: SendCmd &HF9 'Reset 9240 to stop 'SUBROUTINES 'See example A-1 for text of other subroutines SUB HorizArray (fontname AS STRING) ' 16 line of text 03mm high fit across page...
Example A-5 Graphics Mode Programming This example demonstrates programming techniques for producing an image in the 9240 Graphics Mode. Rows of upward-pointing 4 mm arrows are printed to show the required bit and byte order of the graphics data. The chart motor is double-stepped after each dot row is printed.
SendCmd &HF5 FOR x = 1 TO 5 NEXT x NEXT row WEND quit = 0: SendCmd &HF9 'Reset 9240 to stop ' SUBROUTINES 'See example A-1 for text of subroutines Figure A-7 Example A-5 Output - Graphics Mode Programming...
Enter Horizontal Text Mode, 3 mm font Step Motor Once 5.2.3, 5.4, 5.5.3 Enter Vertical Text Mode, 3 mm font Enter Vertical Text Mode, 2 mm font Enter Vertical Text Mode, 1 mm font Reset 9240 5.5.1 Self Test 5.5.4 Print Head ON 5.5.2 Print Head OFF 5.5.2...
Appendix D Shipping Claims Important Prior to leaving the Seller's plant, this equipment was thoroughly inspected and tested to ensure that it was in optimum operating condition. Even though extreme care has been taken in packaging this equipment for shipping, rough handling during transit may result in damage. Allen Datagraph's responsibility in regard to this shipment ended upon its delivery to the carrier.
Need help?
Do you have a question about the 9240 and is the answer not in the manual?
Questions and answers