Remote-processing BASIC for the CX-10 Modbus Bedienungsanleitung Seite 4

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 84
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 3
BASIC PROGRAMMING GUIDE
1-1
PREFACE
This programming guide is for Remote Processing
CX-10 or similar controllers using a variation of
BASIC-52 language. It was derived from Intel
MCS-51 BASIC, V1.1. Several command
extensions and features have been added to
effectively speed up command execution.
M
Buffered serial ports. Received characters are
buffered to 256 characters. PRINT strings are
put into a 256 character buffer, making it much
faster.
M
Modbus protocol support
M
Some control and timing functions such as
TICK(0) and ONTICK
Some cards do not have all hardware features so do
not support all of the commands. Cards supported or
exceptions are listed with each command. In some
cases you must refer to your hardware manual for
exact ranges.
A few original BASIC-52 commands have been
removed. These commands were oriented around
specific registers in the 8052 chip or a specific
design.
MANUAL CONVENTIONS
Information appearing on your screen is shown in a
different type.
Example:
RPBASIC-52 V1.0
Copyright Remote Processing (1995)
Bytes free: 27434
Symbols and Terminology
<xxx> Paired angle brackets are used to indicate a
specific key on your keyboard. For
example, <esc> means the escape key.
expr
Term meaning a number, simple
variable, or mathematical expression
involving variables and numbers. The
following are valid
expr
:
45.3
B
CYCLE
B*45
C*D+54
INT(D)
expr
can be another function.
Complexity of
expr
is limited by
available stack memory. Usually this is
7 levels of parentheses.
For clarity,
expr
may be another name
such as
position
,
channel
, and so on.
italic
Italicized variables require an
expression or value. For example:
AIN(
channel
)
KEYPAD(
function
)
Ellipsis (...) follow an instruction which optionally
accept more data.
DATA
data[,data][,data]
...
READ
variable[,variable]
...
Optional portions of an instruction are enclosed in
brackets []:
DISPLAY
option[,option][,option]
Seitenansicht 3
1 2 3 4 5 6 7 8 9 ... 83 84

Kommentare zu diesen Handbüchern

Keine Kommentare