Omron SYSMAC CV500-BSC11 Operation Manual page 192

Basic units
Table of Contents

Advertisement

BASIC Instructions
Instruction
LOAD
LOAD "file-name"
MERGE
MERGE "file-name"
MON
MON
MSET [address]
MSET
NAME "old-file-name" AS "new-file-name"
NAME
NEW
NEW
PGEN [program-no.]
PGEN
PINF
PINF
PNAME
PNAME "program-name"
PRINT [expression] [{,|;| } [expression]]*
PRINT
LPRINT [expression] [{,|;| } [expression]]*
LPRINT
PRINT USING format ; expression [{,|;| }
PRINT USING
[expression]]*
LPRINT USING
LPRINT USING
LPRINT USING format ; expression [{,|;| }
[expression]]*
RENUM [new-line-no.] [, [old-line-no.]
RENUM
[, increment]]
ROMLOAD
ROMLOAD
ROMSAVE
ROMSAVE
ROMVERIFY
ROMVERIFY
RUN ["file-name"] [, ERASE]
RUN
SAVE
SAVE "file-name"
STEP
STEP
TROFF [{task-no.|ALL}]
TROFF
TRON [{task-no.|ALL}]
TRON
VERIFY
VERIFY "file-name"
VLOAD "file-name"
VLOAD
VSAVE "file-name"
VSAVE
WRITE expression [{,|;| }expression]*
WRITE
♦The command can also be used as a statement in a program.
Statement List
Instruction
ALARM {ON | OFF | STOP}
ALARM
ON / OFF / STOP
{BITON | BITOFF} integer-variable,
BITON / BITOFF
bit-position
CALL name [(argument [, argument]*)]
CALL
CLOSE [#file-no. [, #file-no.]*]
CLOSE
CLS
CLS
COM [(port-no.)] {ON | STOP}
COM ON / STOP
(OFF is same as
STOP)
188
Syntax
Syntax
Purpose
Reads BASIC program into current program
area.
Reads BASIC program to current program
area. Program is merged with any existing
program.
Sets monitor mode.
Sets upper limit of BASIC program area to
allocate machine language program area.
Changes file name.
Deletes program and variables.
Selects current program area.
Displays information on program area.
Registers or deletes name of current program
area.
Displays value of expression.
Prints value of expression.
Displays value of expression in specified
format.
Prints value of expression in specified format.
Re-numbers program lines.
Reads information in EEPROM to user program
area.
Writes information in user program area to
EEPROM.
Verifies between EEPROM and user program
area.
Starts program execution.
Saves BASIC program to file.
Executes program one step at a time.
Stops output of line number trace.
Starts output of line number trace.
Verifies program.
Reads contents of non-volatile variable from
file.
Saves contents of non-volatile variable to file.
Displays value of expression.
Purpose
Enables, disables, or stops time interrupt.
Turns ON (1) or OFF (0) the specified bit of an
integer variable.
Calls a machine language program
(subroutine) stored in memory.
Closes file.
Clears screen.
Enables or stops interrupt from communication
line.
Appendix E

Advertisement

Table of Contents
loading

Table of Contents