APPENDIX I
Command Protocol For RS-232 Port - IBM PC Type
10 CLS
15 LET E% = E%+1
30 PRINT”SELECT THE NUMBER OF THE SWITCHER TO BE CHANGED [1 TO 16]”;
40 INPUT A%
50 IF A% = 1 THEN LET A$ =
” ` ” (the key located to the left of the 1 key)
60 IF A% = 2 THEN LET A$ =
” a ”
70 IF A% = 3 THEN LET A$ =
” b ”
71 IF A% = 4 THEN LET A$ =
” c ”
72 IF A% = 5 THEN LET A$ =
” d ”
73 IF A% = 6 THEN LET A$ =
” e ”
74 IF A% = 7 THEN LET A$ =
” f ”
75 IF A% = 8 THEN LET A$ =
” g ”
76 IF A% = 9 THEN LET A$ =
” h ”
77 IF A% = 10 THEN LET A$ =
” i ”
78 IF A% = 11 THEN LET A$ =
” j ”
79 IF A% = 12 THEN LET A$ =
” k ”
80 IF A% = 13 THEN LET A$ =
” l ”
81 IF A% = 14 THEN LET A$ =
” m ”
82 IF A% = 15 THEN LET A$ =
” n ”
83 IF A% = 16 THEN LET A$ =
” o ”
100 PRINT ” SELECT INPUT TO BE CHANGED [1 - 32] ” ;
103 INPUT Y%
500 IF Y% = 1 THEN LET B$ =
” 0 ”
510 IF Y% = 2 THEN LET B$ =
” 1 ”
520 IF Y% = 3 THEN LET B$ =
” 2 ”
530 IF Y% = 4 THEN LET B$ =
” 3 ”
600 IF Y% = 5 THEN LET B$ =
” 4 ”
610 IF Y% = 6 THEN LET B$ =
” 5 ”
620 IF Y% = 7 THEN LET B$ =
” 6 ”
630 IF Y% = 8 THEN LET B$ =
” 7 ”
700 IF Y% = 9 THEN LET B$ =
” 8 ”
710 IF Y% = 10 THEN LET B$ =
” 9 ”
720 IF Y% = 11 THEN LET B$ =
” : ”
730 IF Y% = 12 THEN LET B$ =
” ; ”
800 IF Y% = 13 THEN LET B$ =
” < ”
810 IF Y% = 14 THEN LET B$ =
” = ”
820 IF Y% = 15 THEN LET B$ =
” > ”
830 IF Y% = 16 THEN LET B$ =
” ? ”
831 IF Y% = 17 THEN LET B$ =
“ @ ”
The following is an example of a GW basic program used to control from 1 to 16 switchers.
The factory preset is machine #1, whose command is on line 910. The first group of
characters are used to determine which machine number is being activated in a multi
switcher system. Normally machine #1 is used a default. The second group determines the
Input that will be switched to the output once the commands are sent. Line #905 represents
the settings for the RS-232 Com. port. If you have any questions please call Compu-Video
Systems at (845) 737-7009 between the hours of 9am and 5pm (EST).
Tel: (845) 737-7009 • Fax: (845) 737-0426 • Web: www.compuvideosystems.com
Содержание DSPA-1612
Страница 24: ......