beautypg.com

Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 67

background image

Chapter
Programming the BASIC Module

4

4 -3

You can create and edit your BASIC program using a personal computer
along with BASIC Development Software (PBASE) or using an ASCII
terminal or a personal computer running an ASCII terminal emulation
software package.

Important: You can also program the BASIC module using the
C programming language. Contact your local Allen-Bradley sales
office for additional information.

ASCII Terminal Emulator

Use an ASCII terminal to enter a BASIC program one line at a time to
your BASIC module through port PRT1 (configured as the program port).
The ASCII terminal connected to the BASIC module must be an industrial
terminal, workstation, or personal computer (without the BASIC
development software) that communicates in alphanumeric mode. An
ASCII terminal can also be used to display charts or graphs generated by
your BASIC program.

In this configuration, you connect the RS-232 port on the back of your
industrial terminal or personal computer to port PRT1 on your BASIC
module. Port PRT1 must be configured as the program port.

PLC processor
with BASIC module

Console device with ASCII
terminal emulation software

Null modem cable

Refer to Chapter 2 for additional information on port configuration.

Chapter