TABLE OF CONTENTS
Page ii RPC-320
SECTION 1 OVERVIEW
DESCRIPTION ................... 1-1
MANUAL ORGANIZATION .......... 1-1
MANUAL CONVENTIONS ........... 1-1
Symbols and Terminology ......... 1-2
TECHNICAL SUPPORT ............. 1-2
SECTION 2 SETUP AND OPERATION
INTRODUCTION ................. 2-1
OPERATING PRECAUTIONS ......... 2-1
EQUIPMENT .................... 2-1
FIRST TIME OPERATION ........... 2-2
Using a PC ................... 2-2
Using a Terminal ............... 2-2
UPLOADING AND DOWNLOADING
PROGRAMS ................. 2-2
Editing program s and program ming hints 2-3
WHERE TO GO FROM HERE ......... 2-4
TROUBLESHOOTING .............. 2-4
SECTION 3 SAVING PROGRAMS
INTRODUCTION ................. 3-1
SAVING A PROGRAM ............. 3-1
AUTORUNNING .................. 3-2
PREVENTING AUTORUN ........... 3-2
LOADING A PROGRAM ............ 3-2
CHANGING EPROM SIZE ........... 3-2
ALTERNATE EPROMS ............. 3-3
COMMANDS .................... 3-3
SECTION 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
ACCESSING COM0 AND COM1 ....... 4-4
DISABLING CON TROL-C ........... 4-4
SERIAL PORT PIN OUT ............ 4-4
SECTION 5 RAM MEMORY
INTRODUCTION ................. 5-1
CHANGING M EMORY ............. 5-1
BATTERY BACKUP ............... 5-1
Checking the battery ............. 5-1
RESERVED MEMORY ............. 5-2
STORING VARIABLES IN RAM ....... 5-2
BLOCK DATA TRANSFER ........... 5-3
ASSEMBLY LANGUAGE INTERFACE .. 5-3
COMMANDS .................... 5-3
SECTION 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 Commands ............ 6-2
High Curr ent Output ............. 6-3
Interfacing Digital I/ O to an opto-module
rack ..................... 6-4
Interfacing to switches and other devices 6-4
Digital I/O program ming exa mple .... 6-4
Pulse Width Modulation (PWM) ...... 6-5
COMMANDS .................... 6-6
SECTION 7 CALENDAR/CLOCK
DESCRIPTION ................... 7-1
SETTING DATE AND TIME .......... 7-1
COMMANDS .................... 7-1
SECTION 8 DISPLAY PORT
INTRODUCTION ................. 8-1
CONNECTING DISPLAYS ........... 8-1
WRITING TO THE DISPLAY ......... 8-1
PROGRAMMING EXAMPLE ......... 8-1
DISPLAY TYPES ................. 8-2
DISPLAY CONNECTOR PIN OUT ..... 8-2
COMMANDS .................... 8-2
SECTION 9 KEYPAD PORT
INTRODUCTION ................. 9-1
PROGRAMMING EXAMPLE ......... 9-1
KEYPAD P ORT P IN OU T - J5 ......... 9-2
SECTION 10 ANALOG INPUT
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
Acquiring Analog Data .............. 10-2
Noise Notes ................... 10-3
Temperature Measurement ......... 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
COMMANDS .................... 10-5