4 - programming the basic module, What’s in this chapter, Programming instructions – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 65: Programming the basic module
4
Chapter
4 -1
Programming the BASIC Module
This chapter describes:
On page:
programming instructions
create a program
number program lines
enter a program
run and stop a program
what’s next?
BASIC programs are composed of BASIC programming instructions
grouped together. These instructions are a combination of operators,
commands, statements, and system subroutines (CALLs).
Important: The BASIC module operates in two modes: the Command
mode (Program mode) and the Run mode (Interpreter mode). You can
only enter commands when the processor is in the Command mode.
BASIC Operators
BASIC operators are programming instructions that you execute during
Run mode. You typically use these operators to perform a predefined
operation on either variables or constants. Operators require either one or
two operands. Chapter 9 describes operators in detail.
BASIC Commands
BASIC commands are programming instructions that initiate an action
from the BASIC module. You execute commands in Command mode
from the command line. You use these commands to perform some type of
program maintenance. Chapter 10 describes these commands in detail.
What’s in This Chapter?
Programming Instructions
Chapter
Chapter