
SC100 ISOLATED RS-232 BAUD RATE CONVERTER INTERFACE
5
Example of how to configure the SC100 to set up baud rate, parity and error detection
03: P91 If Flag/Port
01: 26 Do if flag 6 is low
02: 30 Then Do
04: P30 Z=F
01: 17 F command character (ctrl Q)
02: 00 Exponent of 10
03: 10 Z Loc :
05: P30 Z=F
01: 73 F command character ( I )
02: 00 Exponent of 10
03: 11 Z Loc :
06: P30 Z=F
01: 66 F command character ( B )
02: 00 Exponent 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 wait
10: 3 Loc :
11: 1 Mult
12: 0 Offset
11: P86 Do
01: 16 Set high Flag 6
12: P95 End
Example of how to configure the SC100 to transparent mode
13: P91 If Flag/Port
01: 11 Do if flag 1 is high
02: 30 Then Do
Komentáře k této Příručce