Remote Technologies RPC-320 User Manual
Page 2
TABLE OF CONTENTS
Page ii RPC-320
S E C T IO N 1 OVERVIEW
DESCRIPTION . . . . . . . . . . . . . . . . . . .
1-1
MANUAL ORGANIZATION . . . . . . . . . .
1-1
M A N U A L C O N V E N T IO N S . . . . . . . . . . .
1-1
Symbols and Term inology . . . . . . . . .
1-2
TECHNICA L SUPPORT . . . . . . . . . . . . .
1-2
S E C T IO N 2 SETUP AND OPERATION
INTRODUCTION . . . . . . . . . . . . . . . . .
2-1
O P E R A T IN G P R E C A U T IO N S . . . . . . . . .
2-1
E Q U I P M E N T . . . . . . . . . . . . . . . . . . . .
2-1
FIRST TIME OPERATION . . . . . . . . . . .
2-2
Using a PC . . . . . . . . . . . . . . . . . . .
2-2
Using a Terminal . . . . . . . . . . . . . . .
2-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
. . . . . . . . . . . . . . . . .
2-2
Editing pr ogram s and pro gram ming hints
2-3
WHERE TO G O FROM H ERE . . . . . . . . .
2-4
T R O U BL E S H O O TI N G . . . . . . . . . . . . . .
2-4
S E C T IO N 3 S A VI N G P R OG R AM S
INTRODUCTION . . . . . . . . . . . . . . . . .
3-1
SAVING A PROGRAM
. . . . . . . . . . . . .
3-1
A U T O R U N N IN G . . . . . . . . . . . . . . . . . .
3-2
P R E V E N T IN G A U T O R U N . . . . . . . . . . .
3-2
LOADING A PROGRAM . . . . . . . . . . . .
3-2
C H A N GI N G E P R OM S IZ E . . . . . . . . . . .
3-2
A L T ER N A TE E P RO M S . . . . . . . . . . . . .
3-3
C O M M A N D S . . . . . . . . . . . . . . . . . . . .
3-3
S E C T IO N 4 SERIAL PORTS
DESCRIPTION . . . . . . . . . . . . . . . . . . .
4-1
COM0 SERIAL PORT
. . . . . . . . . . . . . .
4-1
COM1 SERIAL PORT
. . . . . . . . . . . . . .
4-1
RS-422/485 OPERATING INFORMATION .
4-2
RS-422/485 Termination network . . . . .
4-2
Two wire RS-485 . . . . . . . . . . . . . . .
4-3
Multidrop Network . . . . . . . . . . . . . .
4-3
ACCESSING SERIAL BUFFERS
. . . . . . .
4-3
A C C E SS IN G C OM 0 A ND C O M 1 . . . . . . .
4-4
DISABLIN G CON TROL -C
. . . . . . . . . . .
4-4
S E R IA L P O R T P IN O U T
. . . . . . . . . . . .
4-4
S E C T IO N 5 RAM ME MORY
INTRODUCTION . . . . . . . . . . . . . . . . .
5-1
CHANGING M EMORY
. . . . . . . . . . . . .
5-1
B A T T ER Y BA C K U P . . . . . . . . . . . . . . .
5-1
Checking the battery . . . . . . . . . . . . .
5-1
RESERVED ME MORY
. . . . . . . . . . . . .
5-2
STORING VARIABLES IN RAM . . . . . . .
5-2
BLOCK DATA TRANSFER . . . . . . . . . . .
5-3
A S SE M B L Y L AN G U A G E IN T E R F A C E
. .
5-3
C O M M A N D S . . . . . . . . . . . . . . . . . . . .
5-3
S E C T IO N 6
DIGITAL AND OPTO PORTS
INTRODUCTION . . . . . . . . . . . . . . . . .
6-1
DIGITAL I/O PORTS . . . . . . . . . . . . . . .
6-1
Digital Port J3 . . . . . . . . . . . . . . . . .
6-1
Digital Port P6 . . . . . . . . . . . . . . . . .
6-2
High Current Port L8
. . . . . . . . . . . .
6-2
Optically Isolated Input . . . . . . . . . . .
6-2
Digital I/O Com mands . . . . . . . . . . . .
6-2
High Curr ent Output . . . . . . . . . . . . .
6-3
Interfac ing Digital I/ O to an opto- module
rack . . . . . . . . . . . . . . . . . . . . .
6-4
Interfacing to switches and other devices
6-4
Digital I/ O pro gram ming exa mple
. . . .
6-4
P u ls e W i dt h M o d ul at io n (P W M ) . . . . . .
6-5
C O M M A N D S . . . . . . . . . . . . . . . . . . . .
6-6
S E C T IO N 7
C A L E N D A R / C L O C K
DESCRIPTION . . . . . . . . . . . . . . . . . . .
7-1
S E TT I NG D A TE A N D T I M E . . . . . . . . . .
7-1
C O M M A N D S . . . . . . . . . . . . . . . . . . . .
7-1
S E C T IO N 8
DISPLAY PORT
INTRODUCTION . . . . . . . . . . . . . . . . .
8-1
CONNECTING DISPLAYS . . . . . . . . . . .
8-1
WRITING TO THE DISPLAY . . . . . . . . .
8-1
PROGRAMMING EXAMPLE . . . . . . . . .
8-1
DISPLAY TYPES . . . . . . . . . . . . . . . . .
8-2
D I S PL A Y C O N N E C T O R P I N O U T
. . . . .
8-2
C O M M A N D S . . . . . . . . . . . . . . . . . . . .
8-2
S E C T IO N 9
KEYPAD PORT
INTRODUCTION . . . . . . . . . . . . . . . . .
9-1
PROGRAMMING EXAMPLE . . . . . . . . .
9-1
KEYP AD P ORT P IN OU T - J5 . . . . . . . . .
9-2
SECT ION 10
A N A L O G IN P U T
DESCRIPTION . . . . . . . . . . . . . . . . . . . 10-1
CONNECTING ANALOG INPUTS . . . . . . 10-1
Overvoltage conditions . . . . . . . . . . . . 10-1
Grounding . . . . . . . . . . . . . . . . . . . . 10-1
INITIALIZATION . . . . . . . . . . . . . . . . . 10-1
Differential Mode . . . . . . . . . . . . . . . 10-2
Examples using CON FIG AIN . . . . . . . 10-2
Acquir ing Analog Data
. . . . . . . . . . . . . . 10-2
Noise Notes . . . . . . . . . . . . . . . . . . . 10-3
Temper ature Measur ement . . . . . . . . . 10-3
Data logging on a timer tick
. . . . . . . . 10-4
MEASURING HIGHER VOLTAGES
. . . . 10-4
CONVERTING ANALOG MEASUREMENTS
10-4
Measuring 4-20 mA current loops . . . . . 10-4
AMPLIFIERS . . . . . . . . . . . . . . . . . . . . 10-5
CALIBRATION
. . . . . . . . . . . . . . . . . . 10-5
C O M M A N D S . . . . . . . . . . . . . . . . . . . . 10-5