Rs-232 Output - Fluke 05-450 User Manual

Digital doorway monitor
Table of Contents

Advertisement

05-450
Users Manual

RS-232 Output

With the CAL MODE dipswitch in the left position, the Product dumps RS-232
data onto pin 4 of the 9-pin connector every 2 seconds.
An example program which shows how an IBM compatible PC can be used to
collect the data follows:
The RS-232 data includes the current radiation readings and the current
condition of the status lights. The data is presented in the following format:
12
'Demonstration Program
'Model 05-450 communication program written for QuickBasic
'This program causes the computer screen to display the data being dumped
from the Model 05-450.
'Needs the following cable:
'
'
'
'Cable connector has male pins on Model 05-450 side
'Cable connector has female pins on PC side
'open up communications with serial port #1
'at 2400 bps (baud), no parity, 8 data bits, 1 stop bit
'no handshaking, buffer size of 8k
OPEN "COM1: 2400,n,8,1,bin,CS0,DS0,CD0,RB0" FOR INPUT AS #1
'open up filename• for output
CLS
'clear the screen
LOCATE 1
PRINT
'Press Esc key to stop reading data.
COM(1) ON
'enable coml trapping
ON COM(1) GOSUB Getcomport
WHILE (1)
'loop until Esc key is hit
comment•= INKEY•
IF comment• = CHR• (27) THEN GOTO endloop
WEND
endloop:
COM (1) OFF
CLOSE#1
'CLOSE COM port.
END
Getcomport:
WHILE LOC(1) <>0
ComportInput•=INPUT•(1,#1)
PRINT ComPortInput•;
WEND
RETURN
BYTE1
0
BYTE2
x
BYTE3
x
BYTE4
x
BYTE5
.
BYTE6
x
BYTE7
Audio Status
BYTE8
High Alarm Status
BYTE9
Low Alarm Status
BYTE10
Over Range Status
BYTE11
Monitor Status
BYTE12
Error Code
BYTE13
Carriage Return (ODH)
BYTE14
Line Feed (0AH)
Model 05-450
pin 4 TXD
pin 2 GND
'if something comes in coml, then get it
'bring in data from serial port
'pint data to screen
x
x
OR
x
x
.
0
=1=on
=1=on
=1=on
=1=on
=1=on
PC (9-pin)
PC (25-pin)
pin 2
pin 3
pin 5
pin 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

05-450-220

Table of Contents