TEXT   14

HOST.TXT

Guest on 18th August 2021 03:18:44 PM

  1. 1 Introduction.
  2.  
  3.      The host program is an unsupported routine used for serial link testing
  4.      within SSD. It is not necessarily robust enough to be given to customers.
  5.      Any bugs found should be reported to Alan Craven at SSD UK who may find
  6.      time to repair them.
  7.  
  8.      It allows serial communication between an IBM PC or compatible and the 570
  9.      range of products in ASCII format only. The protocol supported is the EI
  10.      bisynch ASCII protocol as described in the EI bisynch communications
  11.      handbook. It uses COM1 and the default settings are 9600 baud, even
  12.      parity, 7 data bits and 1 stop bit.
  13.  
  14.      The host program has a set of commands that are recognised as described
  15.      below.
  16.  
  17.      NOTE.  The HOST program is case sensitive.
  18.  
  19. 2 Commands.
  20.  
  21.    2.1 BAUD
  22.  
  23.         Allows selection of the baud rate of the serial link. The following
  24.         baud rates are supported :-
  25.         110,300,600,1200,2400,4800,9600.
  26.  
  27.         Example.
  28.         Host>BAUD
  29.         Input required baud rate >2400
  30.         Host>
  31.  
  32.         This will set the baud rate to 2400.
  33.  
  34.    2.2 FAST
  35.  
  36.         Allows a sequence of commands to be sent to a single drive and after
  37.         the first message all subsequent messages will not be prefixed by the
  38.         GID and UID of the unit. It is identical in use to the SEQ command
  39.         except that the # command cannot be used.
  40.  
  41.    2.3 HELP
  42.  
  43.         This command dispays two help screens.
  44.  
  45.    2.4 LIST
  46.  
  47.         This allows a file to be opened into which all serial messages are
  48.         recorded in a printable format.
  49.  
  50.         Example.
  51.         Host>LIST
  52.         Input filename>FILENAME.TXT
  53.         Host>
  54.  
  55.         This will then record all future serial messages into the file
  56.         FILENAME.TXT.
  57.  
  58.    2.5 LOAD
  59.  
  60.         This allows a sequence of commands to be loaded into memory for
  61.         execution by the FAST or SEQ commands.
  62.  
  63.         Example.
  64.         Host>LOAD
  65.         Input filename >COMMS.DAT
  66.         Host>
  67.  
  68.         This will load a sequence of commands from the file COMMS.DAT into
  69.         memory.
  70.  
  71.    2.6 NOLIST
  72.  
  73.         This closes the file opened by the LIST command.
  74.  
  75.    2.7 REP
  76.  
  77.         This allows a single command to be repeated a number of times.
  78.  
  79.         Example.
  80.         Host>REP
  81.         rephost>SS50.0
  82.         rephost - input repeat number >100
  83.         Host>
  84.  
  85.         This causes the command SS50.0 to be sent 100 times to the current
  86.         unit. The repeat number can be any number up to and including 999999.
  87.  
  88.    2.8 SAVE
  89.  
  90.         This is the oposite of load and saves a sequence of commands from
  91.         memory into a specified file.
  92.  
  93.         Example.
  94.         Host>SAVE
  95.         Input filename >COMMS.DAT
  96.         Host>
  97.  
  98.         This saves the current command sequence into the file COMMS.DAT.
  99.  
  100.    2.9 SEQ
  101.  
  102.         This is the command that allows a sequence of commands to be operated a
  103.         number of times.
  104.  
  105.         Example.
  106.         Host>SEQ
  107.         Is sequence loaded ? [y/n]>N
  108.         input sequence >SS50.0
  109.         input sequence >WAIT 4
  110.         input sequence >SS0.0
  111.         input sequence >WAIT 4
  112.         input sequence >END
  113.         seqhost - input repeat number >10
  114.         Host>
  115.  
  116.         This will cause the sequence of four commands to be repeated 10 times.
  117.         The sequence of commands is now loaded into memory and may be
  118.         re-executed by using the SEQ command and answering Y to the first
  119.         question or they may be saved using the SAVE command. This command can
  120.         be used to execute a sequence loaded into memory using the LOAD
  121.         command.
  122.  
  123.  
  124.    2.10 SYS
  125.  
  126.         This allows a dos command to be executed without leaving the host
  127.         program.
  128.  
  129.         Example.
  130.         Host>SYS
  131.         Input command >dir
  132.         Host>
  133.  
  134.         This will display a listing of the current directory.
  135.  
  136.    2.11 WAIT
  137.  
  138.         This is a command that simply pauses for a number of seconds. It is
  139.         useful in sequences to allow time for a command to finish.
  140.  
  141.         Example.
  142.         Host>WAIT 10
  143.         Host>
  144.  
  145.         This will wait for 10 seconds and then continue. The maximum time
  146.         allowed is 999999 seconds.
  147.  
  148.  
  149.    2.12 #
  150.  
  151.         This repeats the last serial message sent to the current unit.
  152.  
  153.    2.13 *
  154.  
  155.         This changes the address of the current unit.
  156.  
  157.         Example.
  158.         Host>*27
  159.         Host>
  160.  
  161.         This changes the current unit address to 27.
  162.  
  163.  
  164.    2.14 Setting parameter values.
  165.  
  166.         To set the SS parameter to 25.9 use the following command.
  167.  
  168.         Host>SS25.9
  169.         Host>
  170.  
  171.  
  172.    2.15 Enquire parameter value.
  173.  
  174.         To find out what parameter SS is set to.
  175.  
  176.         Host>?SS
  177.         SS25.9
  178.         Host>
  179.  
  180.  
  181.    2.16 ACK
  182.  
  183.         This command sends a single ASCII ACK character 06 to the current unit.
  184.         NOTE. This command cannot be used within a sequence.
  185.  
  186.  
  187.    2.17 NAK
  188.  
  189.         This command sends a single ASCII NAK character 15 Hex to the current
  190.         unit.
  191.         NOTE. This command cannot be used within a sequence.

Raw Paste


Login or Register to edit or fork this paste. It's free.