Computer Communication
Technical Handbook
019722-101 Rev. 05
89
SC-350/360
procedure InitComm;
{ Set baudrate to 9600, 8 bits, no parity, 1 stop bit }
var i : integer;
begin
i := 1843200 div 9600 div 16;
port[RXTX + 3] := $80;
port[RXTX + 1] := hi(i);
port[RXTX]:= lo(i);
port[RXTX + 3] := 3;
port[RXTX + 4] := $A;
while odd(port[RXTX + 5]) do
begin
dummy := port[RXTX];
delay(10);
end;
end; { InitComm }
procedure Tx(data : integer);
{ Transmit a character on serial channel }
begin
while port[RXTX + 5] and $20 = 0 do;
port[RXTX] := data and $FF;
end; { Tx }
function RxWait : integer;
{ Waits for a character from serial channel }
begin
while not odd(port[RXTX + 5]) do;
RxWait := port[RXTX];
end; { RxWait }
procedure Tx2(data : integer);
{ Transmit a char on serial c Calculate check sum }
begin
Tx(data);
checkSum := (ch data) and $FF;
end; { Tx2 }
procedure TxCommand(c1, c2 : char;
sendCheckSum : boolean);
{ Transmit command (no data) on serial channel }
begin
Tx(ESC);
checkSum := 0;
Tx2(ord(c1));
Tx2(ord(c2));
if sendCheckSum then
begin
Tx2(checkSum);
dummy := RxWait;
end;
end; { TxCommand }
function ReadNumber(n : integer) : real;
{ Read n bytes from serial channel }
var
number: real;
i
: integer;
begin
Содержание ARPEGE SECURITY SC-350
Страница 1: ......
Страница 2: ......
Страница 3: ......
Страница 105: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 95 SC 350 360 13 3 CPU Board Circuit Diagram CPU...
Страница 107: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 97 SC 350 360 13 5 CPU Board Layout 0 0 0 0 1 0 0 2 3...
Страница 108: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 98 SC 350 360 13 6 PSU Board Circuit Diagram...
Страница 109: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 99 SC 350 360 13 7 PSU Board Layout...
Страница 111: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 101 SC 350 360 13 9 Serial Interface Board Layout...
Страница 112: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 102 SC 350 360 13 10 RD AUX Interface Circuit Diagram...
Страница 113: ...Interconnection Diagram Technical Handbook 019722 101 Rev 05 103 SC 350 360 13 11 RD AUX Interface Board Layout...
Страница 114: ......