Remote Processing RPC-210 User Manual
Page 2

TABLE OF CONTENTS
Page ii
OVERVIEW
S E C T IO N 1
MANUAL ORGANIZATION . . . . . . . . . . . . . 1
ADUC-812 INFORMATION . . . . . . . . . . . . . 1
RTC INFORMATION . . . . . . . . . . . . . . . . . . 1
M A N U A L C O N V E N T IO N S . . . . . . . . . . . . . . 1
BASIC Statement types . . . . . . . . . . . . . . 2
Number convention . . . . . . . . . . . . . . . . . 2
C o n ne c to r O r ie n ta t io n an d N um b e r in g Sc h em e
. . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Term inology . . . . . . . . . . . . . . . . . . . . . 2
SETUP AND OPERATION
S E C T IO N 2
O P E R A T IN G P R E C A U T IO N S . . . . . . . . . . . . 1
E Q U I P M E N T . . . . . . . . . . . . . . . . . . . . . . . 1
D E V E L O P M E N T SY S T E M SE T U P
. . . . . . . . 1
A p p li c at io n P ro g r am s . . . . . . . . . . . . . . . 1
D E V E L O PI N G U N DE R W IN D O W S . . . . . . . . 1
FIRST TIME OPERATION . . . . . . . . . . . . . . 2
U P L O A D I N G A N D D O W N L O A D IN G
P R OG R AM S
. . . . . . . . . . . . . . . . . . . . 3
Editing pr ogram s and pro gram ming hints . . . 4
WHERE TO G O FROM H ERE . . . . . . . . . . . . 5
T R O U BL E S H O O TI N G . . . . . . . . . . . . . . . . . 5
SAVING COD E AND DATA IN BASIC
S E C T IO N 3
SAVING A PROGRAM
. . . . . . . . . . . . . . . . 1
L i nk in g P ro g r am s . . . . . . . . . . . . . . . . . . 1
A U T O R U N N IN G . . . . . . . . . . . . . . . . . . . . 2
LOADING A PROGRAM . . . . . . . . . . . . . . . 2
HIDING A PROGRAM . . . . . . . . . . . . . . . . . 2
Using HIDE with RTC serial number . . . . . 2
SAVING AND READING FLASH DATA
. . . . 3
Block Data Transfer . . . . . . . . . . . . . . . . 3
A S SE M B L Y L AN G U A G E IN T E R F A C E
. . . . . 3
UPD ATING OR REP LAC ING RP BASIC-52 . . . 3
S E TT I NG F L AS H SI Z E . . . . . . . . . . . . . . . . 4
C O M M A N D S . . . . . . . . . . . . . . . . . . . . . . . 4
RPBASIC-52 Program ming manual differences
. . . . . . . . . . . . . . . . . . . . . . . . . . . 5
A P P LI C AT I ON P R OG R AM S . . . . . . . . . . . . . 5
SERIAL PORTS
S E C T IO N 4
COM0 SERIAL PORT
. . . . . . . . . . . . . . . . . 1
RPBASIC-52 Program ming Manual difference
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CTS and RTS . . . . . . . . . . . . . . . . . . . . 2
RPBASIC-52 Program ming Manual difference
. . . . . . . . . . . . . . . . . . . . . . . . . . . 2
RS-422/485 OPERATING INFORMATION . . . . 3
RS-422/485 setup . . . . . . . . . . . . . . . . . . 3
J6 Pin out . . . . . . . . . . . . . . . . . . . . . . . 3
Two- and four- wir e RS-485 . . . . . . . . . . . 3
RS-422/485 Termination network . . . . . . . . 4
RS-485 transmitter turn-off . . . . . . . . . . . . 4
Serial ports (Continued.. .)
U S IN G R AD I O M O D E M S
. . . . . . . . . . . . . . 5
ACCESSING SERIAL BUFFERS . . . . . . . . . . 5
A C C E SS IN G C OM 0 A ND C O M 1 . . . . . . . . . . 5
DISABLIN G CON TROL -C . . . . . . . . . . . . . . 5
SPI PORT
. . . . . . . . . . . . . . . . . . . . . . . . . 6
A P P LI C AT I ON P R OG R AM S . . . . . . . . . . . . . 6
C O M M A N D S . . . . . . . . . . . . . . . . . . . . . . . 7
R S -2 3 2 P O R T P IN O U T . . . . . . . . . . . . . . . . 7
R S -4 2 2/ 4 8 5 P O R T P IN O U T . . . . . . . . . . . . . 7
RAM
S E C T IO N 5
SAVING AND READING RAM DATA . . . . . . 1
Writing and reading memory . . . . . . . . . . . 1
Saving different data types . . . . . . . . . . . . 1
RESERVED ME MORY
. . . . . . . . . . . . . . . . 2
C O M M A N D S . . . . . . . . . . . . . . . . . . . . . . . 2
RPBASIC-52 Program ming manual differences
. . . . . . . . . . . . . . . . . . . . . . . . . . . 2
A P P LI C AT I ON P R OG R AM S . . . . . . . . . . . . . 3
DIGITAL LINES
S E C T IO N 6
E L E C T R IC A L C H A R A C T ER I ST I C S
. . . . . . . 1
C O N N EC T O R N U M BE R IN G SC H E M E
. . . . . 2
J3 DIGITAL PORT
. . . . . . . . . . . . . . . . . . . 2
Digital I/O software com mands . . . . . . . . . 2
J5-Keypad
. . . . . . . . . . . . . . . . . . . . . . . . . 4
Port J7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
USING ANALOG INPUTS . . . . . . . . . . . . . . 5
A P P LI C AT I ON P R OG R AM S . . . . . . . . . . . . . 5
J3 and J7 PIN OUT TABLE . . . . . . . . . . . . . . 5
J3 Opto and Pin Out ta ble . . . . . . . . . . . . . . . . 6
R E A L T IM E C L O C K
S E C T IO N 7
A D D R E S SI N G . . . . . . . . . . . . . . . . . . . . . . 1
PROGRAMMING NOTES . . . . . . . . . . . . . . . 1
S E TT I NG D A TE A N D T I M E . . . . . . . . . . . . . 1
Daylight savings time adjustment . . . . . . . . 1
B A TT E R Y LI F E . . . . . . . . . . . . . . . . . . . . . 1
STABILITY AND TEMPE RATURE . . . . . . . . 2
IDLE AND POWER DOWN MODES . . . . . . . 2
Powering external devices . . . . . . . . . . . . . 2
IDLE C ommand . . . . . . . . . . . . . . . . . . . 2
S Q U A R E W A V E O U T P U T . . . . . . . . . . . . . . 3
READING CLOCK SERIAL NUMBER . . . . . . 3
PROGRAMMABLE INTERRUPTS . . . . . . . . . 3
A P P LI C AT I ON P R OG R AM S . . . . . . . . . . . . . 3