manualshive.com logo in svg
background image

1

SC100 ISOLATED RS-232 BAUD RATE CONVERTER INTERFACE

The SC100 interface is an updated version of
the SC7638 interface.  The device has signal
and power isolation and is powered by the
datalogger.  A male 9 pin D-type connector on
one side connects to a CR10(X) or 21X, and a
female 9 pin D-type connector connects to an
RS232 device (computer or sensor (jumper
configurable DTE or DCE)).  Features
programmed to this point include:

• 

Burst mode:  (from datalogger to computer)
In this mode the SC100 can receive burst
data from the datalogger at 76.8k baud,
then buffer the data and transmit to the
computer at 38.4k baud.

• 

Instruction 15 mode:  The SC100 can be
configured to support the datalogger
Instruction 15 as a transducer RS232
communication interface.  The SC100
function is to insure data synchronization
and to support baud rates other than 300 or
1200 baud.  In this mode the SC100 has a
configurable record structure which can be
initialized by the datalogger.  This
configurable information is volatile and
requires re-initialization if the SC100 is
powered down.  By default (without
datalogger initializing the SC100) the
SC100 simply buffers the data coming from
a sensor or computer until a carriage return,
then flags the datalogger that data is
present.  The SC100 then transmits the
data to the datalogger when Instruction 15
asserts the DTR line.  In a given record
structure, the SC100 searches for a
specified string then buffers all of the data
following the string until it encounters a
termination character (the search string and
termination characters are user specified
through the optional initialization sequence).
Some data conversion (e.g., alpha
characters to number equivalents) can also
be performed.

Command sequences from the datalogger
(CR10(X) only).  This is the optional
initialization sequence.

Command for initializing search/find &
replace structure:

ctrl-Q(17), I (73), 1 (49)

Following these three command bytes the
SC100 will expect:

Structure initialization information:

1) search byte 1 (range from 1-127; must be 0

if not used)

2) search byte 2 (range from 1-127; must be 0

if not used)

3) search byte 3 (range from 1-127; must be 0

if not used)

4) search byte 4 (range from 1-127; must be 0

if not used)

5) search byte 5 (range from 1-127; must be 0

if not used)

6) search byte 6 (range from 1-127; must be 0

if not used)

7) byte --> 0 (this location must always be 0)

8) find and replace with 0 (range from 1-126;

must be 127 if not used )

9) find and replace with 1 (range from 1-126;

must be 127 if not used )

10) find and replace with 2 (range from 1-126;

must be 127 if not used )

11) find and replace with 3 (range from 1-126;

must be 127 if not used )

12) termination character (range from 1-127)

NOTE:  Within the CR10(X) Instruction 15
parameter 06 (number of locations to send)
must be 15.  Also parameter 03 (cts/delay
before send) must be 1.

Содержание sc100

Страница 1: ...SC100 ISOLATED RS 232 BAUD RATE CONVERTER INTERFACE INSTRUCTION MANUAL REVISION 8 96 COPYRIGHT c 1993 1996 CAMPBELL SCIENTIFIC INC ...

Страница 2: ...anties of merchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequential damages Products may not be returned without prior authorization To obtain a Returned Materials Authorization RMA contact CAMPBELL SCIENTIFIC INC phone 435 753 2342 After an applications engineer determines the nature of the problem an RMA number will...

Страница 3: ...ger when Instruction 15 asserts the DTR line In a given record structure the SC100 searches for a specified string then buffers all of the data following the string until it encounters a termination character the search string and termination characters are user specified through the optional initialization sequence Some data conversion e g alpha characters to number equivalents can also be perfor...

Страница 4: ... the SC100 will report any framing overrun or parity errors form the computer sensor side This information will be added to the end of the buffered data sent to the datalogger and will either be zero 0 for no errors or one through nine 1 9 for number of errors detected Bit4 even odd Even or odd parity if parity bit2 is set to one Bit3 half full There are two different versions of Instruction 15 fo...

Страница 5: ...uter sensor side Pig tail to DB 9 pin cable Red supply volts jumper configurable to either 12 V or 5 V Black Gnd Blue DTR input Orange TXD input Brown RXD output Green FLAG output SC100 s output that indicates buffered information ready Yellow Power Down wire 5 V will power down the SC100 if internal jumper is connected connect to gnd if not used There are three different power modes 1 Yellow wire...

Страница 6: ...ll None 0 1 1 0 P15 4800 Half None 1 0 0 0 P15 4800 Full None 1 0 1 0 P15 9600 Full Even 1 1 0 0 P15 9600 Full Odd 1 1 1 0 P15 1200 Full None Example of jumper setting p15 4800 full none 1 2 3 4 5v Computer Sensor DB9 pin configuration jumpers located around the computer sensor DB9 pin connector DCE mode to connect to computer DTE mode to connect to sensor ...

Страница 7: ...onent of 10 03 12 Z Loc 07 P30 Z F 01 18 F byte 1 baud rate 9600 02 00 Exponent of 10 03 13 Z Loc 08 P30 Z F 01 08 F byte 2 no error no parity half duplex 02 00 Exponent of 10 03 14 Z Loc 10 P15 Port Serial I O Special 01 1 Rep 02 01 Configuration code 03 1 CTS Delay 04 1 First control port 05 10 Output Loc 06 5 No of locs to send 07 13 Termination character 08 0 Maximum characters 09 20 CTS Input...

Страница 8: ...ort 05 10 Output Loc 06 3 No of locs to send 07 13 Termination character 08 0 Maximum characters 09 1 CTS Input wait 10 2 Loc 11 1 Mult 12 0 Offset 18 P86 Do 01 21 Set low Flag 1 19 P95 End Example of how to initialize the SC100 s search find replace structure 20 P91 If Flag Port 01 13 Do if flag 3 is high 02 30 Then Do 21 P30 Z F 01 17 F command character ctrl Q 02 00 Exponent of 10 03 10 Z Loc 2...

Страница 9: ...ates search 02 00 Exponent of 10 03 17 Z Loc 29 P30 Z F 01 00 F search byte 6 00 terminates search 02 00 Exponent of 10 03 18 Z Loc 30 P30 Z F 01 00 F search byte 7 must always be 00 02 00 Exponent of 10 03 19 Z Loc 31 P30 Z F 01 127 F find replace 0 127 not used 02 00 Exponent of 10 03 20 Z Loc 32 P30 Z F 01 69 F find replace 1 E is replaced with 1 02 00 Exponent of 10 03 21 Z Loc 33 P30 Z F 01 8...

Страница 10: ...tion character 08 0 Maximum characters 09 100 CTS Input wait 10 3 Loc 11 1 Mult 12 0 Offset 38 P86 Do 01 23 Set low Flag 3 39 P95 End Example of how to receive buffered information 40 P91 If Flag Port 01 44 Do if port 4 is high 02 30 Then Do 41 P15 Port Serial I O Special 01 1 Rep 02 01 Configuration code 03 1 CTS Delay 04 1 First control port 05 9 Output Loc 06 1 No of locs to send 07 13 Terminat...

Отзывы: