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 131
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 128 MONTH set/read month of year MONTH is used to read or set the month value for the internal clock/calendar. When reading it returns an integer from 1 to 12, month 1 being January. Similarly, when setting, the specified value must be between 1 and 12. An incorrect value will leave the current setting unchanged. Examples: MONTH=9 Quarter=MONTH/4 Syntax: MONTH = [integer 1..12]...
Page 132
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 129 NETWORK network commands The Argus LAN (Local Area Network) is only available for the Argus Programmable Modem, not for the T.C.Lite. A network modem must have a special operating system in ROM with the network filing system build in. A network is made with (at least) 1 network server and 1 or more network stations. They are all connected to one another with RJ45 plugs. The network...
Page 133
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 130 150 RECEIVE#8,F$,F NETWORK ON/OFF This is an important command. The NETWORK ON command claimes the network for own use by a station. This means that no other stations can reach the server until the network is freed with the NETWORK OFF command. Other stations, accessing the network at the same time, will wait forever until the network becomes free again. So, care must be taken that...
Page 134
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 131 NETWORK AT This command will send a string from a station to the server. The server will pass this string to its AT-commands interpreter. NETWORK RUN/ACTIVE NETWORK RUN can only be used on a server and puts it into serve-mode. The BOOT program file for the server must therefor always contain this command. The server will stay in this command until a hard reset. Some ON-event handlers...
Page 135
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 132 NEW new program NEW prepares the modem BASIC interpreter to accept a new program. All variables are cleared, and the program start and end are set to the value of the system variable PBOT. Any program already stored at the value of PBOT will be lost (but may be recovered using OLD up to the point at which new program lines are entered). Syntax: NEW See also: CLEAR, OLD, PBOT
Page 136
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 133 OLD restore program OLD is used to restore a program in system memory that has been lost following use of the NEW command. OLD will only work if no new program lines have been entered. Syntax: OLD See also: NEW, PBOT
Page 137
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 134 OLINE set/read digital output line OLINE is used to set or read the status of the specified User I/O line. The modem has eight programmable output lines numbered 1 to 8, which are normally configured for use as a parallel printer port. To configure one of these lines as a digital output, OLINE is followed by the number of the line to be configured, an equal sign, and 0 for low or 1...
Page 138
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 135 ILINE
Page 139
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 136 ON AT AT scan event handler ON AT is used to react to the character string AT typed at one of the serial ports. The ON AT event will only happen if AT is detected on a port which has been previously set to AT scan using the command AT. When the ON AT event occurs, the port number of the port which received the AT can be found in the system variable PORT. The command ON AT OFF will...
Page 140
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 137 ON BRK BRK event handler BRK (a break) is a signaling procedure where the data line is pulled low by the terminal for a certain time, normally caused by somebody pressing the [Break] key on the keyboard. This is a very different way of signalling a break which has nothing to do with data. The use of ON BRK as a procedure to interrupt a program when needed has the enormous advantage...