Vidicode Argus Basic Programmers Reference Manual
Here you can view all the pages of manual Vidicode Argus Basic Programmers Reference Manual. The Vidicode manuals for Communications System are available online for free. You can easily download all the documents as PDF.
Page 221
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 218 SCAN set answering speed/scan In the programming environment, the SCAN command is used to configure the answering procedure of the modem. The command does the same as setting S-register 53: 0 = Speed is determined by S-register 51 1 = Scan: V22bis >> V23 >> V21 >> V23(orig) 2 = Scan: V22bis >> V23 >> V21 3 = Scan: V23 >> V21 >> V22bis >> V34/V32bis 4 = Scan: V23 >> V22bis >>...
Page 222
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 219 SEC read/set seconds value SEC is used to read or set the seconds value on the internal clock/calendar. When reading it returns an integer from 0 to 59. Similarly, when setting, a value from 0 to 59 must be specified. An incorrect value will leave the current setting unchanged. Examples: SEC=40 PRINT SEC Syntax: SEC = [integer 0..99] [num-var] = SEC See also: CLOCK$, HOUR,...
Page 223
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 220 SEND send file or data SEND is one of the most powerful commands available for use by the modem, and provides a simple means of transferring data from the modem under program control, with the minimum of effort. There are 3 basic forms of the command: SEND [port],[address] : send data using Xmodem SEND [port],[filename],[type],[option] : send file SEND ALL: send a backup of the...
Page 224
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 221 SEND #[port], [address], [address] send data This form of the SEND command is used to transfer data from the modems memory to other systems. The Xmodem error correction protocol is used to prevent errors occurring during the transfer, so the facility cannot be used if the destination system does not support Xmodem. A port number may be specified (1 to 3 only), but if this is omitted...
Page 225
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 222 SEND [filename], [type], [option] send file [With filing system software only.] When followed by an exclamation mark and a filename, the SEND command is used to transmit complete files from the disk filing system. Wildcards may be used in the filename, so that a single SEND command may be used to transfer more than one file: SEND *.TXT SEND MESSAGE*.* The system variable MATCH can...
Page 226
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 223 If no port number is specified, the default output port as defined by OPORT will be assumed. More than one output port may be specified for transfers other than those using Xmodem or Ymodem.. Data may be copied into the BUFFER by specifying port 8. In this case you must ensure that the buffer is large enough to accommodate the file. Once in the buffer, the file contents may be...
Page 227
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 224 Both the M and U options may be used. SEND [filename] (,[type]) ,P, (,[option]) This SEND command allows you to send a part of a file. Each part contains between 1 and 2048 bytes, depending on the filing system (RAM/FLASH-disk or Hard-disk/LAN). The number of bytes in the requested part is returned in the system variable MATCH. When the last part is sent, the system variable ERN is...
Page 228
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 225 0 = Word Warp disabled 1-255 = Word Wrap enabled for 1 till 255 characters per line Word Warp means that a whole word is started on a new line if it doesn’t fit on the current line. A new line is always generated after a character with the value equal to S-register 3 which defaults to control-character 13 (=Cariage Return). After each new line, a linefeed character is sent with the...
Page 229
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 226 SEND ( #[port] , ) (#...) [filename] ( , [type] ) ( , [option] ) SEND ROM ... See also: MATCH, RECEIVE
Page 230
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 227 SEND ALL make a backup of RAM disk The SEND ALL command is normally used to make a backup of the RAM-disk. It sends the complete contents of the RAM chip as one file. This file can be used later to restore a RAM-disk with RECEIVE ALL or the file can be used directly to fill an EEPROM chip that can be put into socket 2 of an Argus Programmable Modem. In a RAM-disk filing system this...