Computer Communication
Technical Handbook
019722-101 Rev. 05
88
SC-350/360
12.21 Stopping Machine
This message stops the machine.
12.22 Program Example
Below is an example of a short and simple program, written in Pascal,
that can be used for communication between SC 350/360 and a
computer. It is however necessary to add routines for time-out and
check sum control.
Note!
All settings on page six of the SC 350/360 set-up (
) should hold the value zero (the default
value) for this program to run.
{————————————————————————————----------------------------------------
Program................ :
exampel1.pas
Project................... :
SC360
Date created......... :
960415 by MJ
This version ......... :
1.1
Description .......... :
Example of software for a computer con-
trolling a
connected SC360.
Note:
1 For simplicity the handshake lines are not used in this example.
2 No check sum implemented.
Ver history:V1.1: Added code for version 2.00 of protocol
————————————————————————————----------------------------------------}
program example 1;
uses crt;
const
{ COM1: RS232 port address }
RXTX = $3F8; { $2F8 if COM2: is used }
ACK = 6;
NAK = 21;
ESC = 27;
var
dummy,
checkSum
: integer;
key
: char;
protocol
: integer;
Computer (PC)
SC-350/360
–––––––>
ESC
–––––––>
“M”
–––––––>
“0”
–––––––>
(“M” + “0”) ^ FF
16
<–––––––
ACK (if check sum is correct) or
NAK (if check sum is incorrect)
Содержание 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: ......