background image

SC100 ISOLATED RS-232 BAUD RATE CONVERTER INTERFACE

6

14:

P30

Z=F

01:

17

F

command character (ctrl Q)

02:

00

Exponent of 10

03:

10

Z Loc :

15:

P30

Z=F

01:

73

F

command character ( I )

02:

00

Exponent of 10

03:

11

Z Loc :

16:

P30

Z=F

01:

83

F

command character ( S )

02:

00

Exponent of 10

03:

12

Z Loc :

17:

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:

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 :

22:

P30

Z=F

01:

73

F

command character ( I )

02:

00

Exponent of 10

03:

11

Z Loc :

23:

P30

Z=F

01:

49

F

command character ( 1 )

02:

00

Exponent of 10

03:

12

Z Loc :

24:

P30

Z=F

01:

66

F

search byte 1 (B)

Содержание 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...

Отзывы: