ARLACON MC300
MC300MAE
Control system
User's manual
26
Product code 1003418
McBasic can be started either without program file name
BAS300
to start McBasic with the program currently in work memory, or if the work memory is empty, in
the command mode.
or with one or more program file names
BAS300 PROG1[,PROG2,....,PROGn]
to load and start the specified programs.
If McBasic starts without specified program names and finds that the work memory contents
has been changed, it looks for a program file with name WAKEUP.BA from the current drive
(D0:). If found, McBasic loads and runs the program contained in it. If no WAKEUP.BA exists,
McBasic remains in command mode and a message “EMPTY MEMORY” is displayed on the
console.
After starting in command mode, McBasic operates as follows:
When started without program If the control unit program memory is empty, a message
McBasic (version.revision)
Program
System tables
Variables and compilations
Recycled
nnnnn Free
B>
will appear on the terminal screen. This message is the status message of the McBasic
programming environment with the McBasic command level prompt. At the prompt
B>
the user can always type McBasic commands, study system status and edit programs. With
the RUN command the user can start program execution. With ctrl+X the user can stop the
program at any time. For more details please study the McBasic manual.
3.2 INITIALIZING THE SYSTEM
To be able to use certain system functions such as the McWay i/o system or servo control,
some initialization procedures are necessary.
3.2.1 McWay configuration
To use McWay modules in MC300 their communication baud rate must be set to 1,25M.
Set the configuration of the installed I/O system using the McBasic WAYMOD$= command.