Rockwell Automation 1747-WINBAS User Manual

BASIC Interface Software for Windows
1747-WINBAS
Programming Manual

Important User Information

Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://literature.rockwellautomation.com) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING
Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property damage, or economic loss.
IMPORTANT
ATTENTION
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence
SHOCK HAZARD
Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous voltage may be present.
BURN HAZARD
Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may reach dangerous temperatures.
SLC 500, Allen-Bradley, TechConnect, Rockwell Automation, RSLinx Classic, and RSLinx are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Installing Your BASIC Interface Software
Getting Familiar With Your BASIC Interface Software

Table of Contents

Preface
Who Should Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . 3
Purpose of This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . . . 4
Chapter 1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Installing the Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Install the 1747-WINBAS Software . . . . . . . . . . . . . . . . . . 6
Install the RSLinx Classic OEM Software . . . . . . . . . . . . . . 7
Chapter 2
Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Saving and Printing Programs. . . . . . . . . . . . . . . . . . . . . . 9
View Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Toolbar and Status Bar. . . . . . . . . . . . . . . . . . . . . . . . . . 10
Tools Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Cancel Xoff, Send Xon . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Debug. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
List, List NUM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Xfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Erase and Prog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Hex Upload and Hex Download . . . . . . . . . . . . . . . . . . 16
Module Backup and Restore. . . . . . . . . . . . . . . . . . . . . . 17
Help Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Standard Toolbar Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Configure the Serial Port . . . . . . . . . . . . . . . . . . . . . . . . 21
Configure DH-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
User Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Pop-up Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Editing a BASIC Program . . . . . . . . . . . . . . . . . . . . . . . . 25
Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
COM Port Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Appendix A
Keystroke Commands
Keystroke Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix B
Escape Sequences
1 Publication 1747-PM001A-EN-P - January 2007
Escape Sequence Overview. . . . . . . . . . . . . . . . . . . . . . . . . 31
2 Table of Contents
Index
Publication 1747-PM001A-EN-P - January 2007

Preface

Read this preface to familiarize yourself with the rest of the manual. This preface covers the these topics:
Who should use this manual
Purpose of this manual
Conventions used in this manual

Who Should Use This Manual

Purpose of This Manual

Use this manual if you are responsible for designing, installing, programming, or troubleshooting control systems that use Allen-Bradley small logic controllers.
You should have a basic understanding of 1746-BAS, 1746-BAS-T, and 1771-DB modules and be able to interpret the ladder logic instructions required to control your application. If you do not, contact your local Allen-Bradley representative for information on available training courses before using this product.
This manual describes the 1747-WINBAS Windows Compatible BASIC Module Interface Software and its operation.
3 Publication 1747-PM001A-EN-P - January 2007
4 Preface
Additional Resources
These documents contain additional information regarding Rockwell Automation products.
Resource Description
SLC 500 Systems Selection Guide, publication 1747-SG001 A guide to understanding and selecting SLC 500 products
SLC 500 Modular Hardware Style User Manual, publication 1747-UM011
SLC 500 BASIC and BASIC-T Modules User Manual, publication 1746-UM004
BASIC Language Reference Manual, publication 1746-RM001 A reference guide of the BASIC language commands
BASIC Module User Manual, publication 1771-UM113 A description on how to install and use your 1771 BASIC module
Industrial Automation Wiring and Grounding Guidelines Application Data, publication 1770-IN041
Allen-Bradley Industrial Automation Glossary, publication AG-QR071
A description on how to install and use your modular SLC 500 programmable controller
A description on how to install and use your SLC 500 BASIC and BASIC-T modules
A guide to wiring and grounding guidelines
A glossary of industrial automation terms and abbreviations

Conventions Used in This Manual

You can view or download publications at
http://literature.rockwellautomation.com. To order paper copies of
technical documentation, contact your local Rockwell Automation distributor or sales representative.
These conventions are used throughout this manual:
Bulleted lists such as this one provide information, not procedural steps.
Numbered lists provide sequential steps or hierarchical information.
Publication 1747-PM001A-EN-P - January 2007
Chapter
Installing Your BASIC Interface Software
This chapter provides overview information regarding the 1747-WINBAS Windows Compatible BASIC Module Interface Software.
1

Overview

BASIC software is a terminal emulation program specifically written for you to interface to a Rockwell Automation 1746-BAS, 1746-BAS-T, or 1771-DB BASIC module. BASIC software simplifies the uploading and downloading of BASIC module programs, as well as backing up and restoring complete module images. BASIC software also provides debugging tools to aid in troubleshooting BASIC programs while online. Because BASIC software is specific to these BASIC modules, it has functionality that is not provided by generic terminal-emulation programs. In turn, generic terminal-emulation programs will have functionality not provided by BASIC software. This document describes BASIC software and how to use it.
As a terminal emulation program, BASIC software requires either one RS-232 serial COM port or a DH-485 interface (1784-PCMK, 1784-PKTX, 1784-PKTXD, or 1747-UIC convertor) be available on the personal computers. Bridging to the DH-485 network from other networks is not supported.
BASIC software works on personal computers with Windows 98, 2000, NT, and XP operating systems. RSLinx Classic OEM software must be installed on the personal computer in order to communicate to the BAS module via the DH-485 interface.
Characters typed on the personal computer keyboard will be translated and transmitted out the selected port. Information received via the selected port will be translated and displayed in the BASIC software client window.
5 Publication 1747-PM001A-EN-P - January 2007
6 Installing Your BASIC Interface Software
BASIC Interface Software Client Window

Installing the Software

The BASIC software is comprised of two CDs. They are:
the 1747-WINBAS software CD.
the optional RSLinx Classic OEM version software CD.
The 1747-WINBAS software enables communication to the 1747-BAS module via an RS-232 serial port.
The RSLinx Classic OEM version software enables communication to the 1747-BAS module via the DH-485 port.
To configure your computer serial port for communication with the 1747-BAS module, refer to
To configure your computer for communication with the 1747-BAS module, refer to using DH-485 on
page 21.
page 22.
Install the 1747-WINBAS Software
To install the 1747-WINBAS software, insert the 1747-WINBAS software CD into your CD drive and follow the installation instructions.
Publication 1747-PM001A-EN-P - January 2007
Installing Your BASIC Interface Software 7
Install the RSLinx Classic OEM Software
To install the RSLinx Classic OEM software (only necessary if connecting to the BAS module using DH-485), insert the RSLinx Classic OEM software CD into your CD drive and follow the installation instructions.
Publication 1747-PM001A-EN-P - January 2007
8 Installing Your BASIC Interface Software
Notes:
Publication 1747-PM001A-EN-P - January 2007
Chapter
Getting Familiar With Your BASIC Interface Software
This chapter is intended to give you an overview of the BASIC Interface Software so you can understand the software’s general structure.
2

Main Menu

File Menu

These menus are accessed through the Main menu:
File
View
Tools
Help
Main Menu
You can save and print programs from the File menu.
Saving and Printing Programs
From the File menu, you can choose the following options:
File > New clears all the old data from the history buffer and the dialog.
9 Publication 1747-PM001A-EN-P - January 2007
10 Getting Familiar With Your BASIC Interface Software
Between File > Print Setup and File > Exit, there can be up to four file names. These file names are a list of the most recent four files saved using BASIC software. If you select one of these files, the title bar document title will change to show the name of this file. Also, the next time you save this data, the file name will be selected, but nothing else will happen. No file is actually opened.
File > Save saves the data to a file for later reference. This command will also result in the new file name being displayed in the title bar. The files are not appended. If you save the data to the same file twice, the data that was first saved will be lost. The data is saved as ASCII text exactly as it appears on the BASIC software dialog.
File > Save As saves the data to a file for later reference. This command will also result in the new file name being displayed in the title bar. The files are not appended. If you save the data to the same file twice, the data that was first saved will be lost. The data is saved as ASCII text exactly as it appears on the BASIC software dialog.
File > Print formats and sends the data to a printer.
File > Print Preview lets you preview the printed data before
actually printing.
File > Exit exits the BASIC software program.

View Menu

The View menu lets you gain access to the toolbar and status bar.
Refer to page 20 for additional information on the toolbar and page 26 for additional information on the status bar.
Toolbar and Status Bar
From the View menu, you can choose the following options:
View > Toolbar switches the toolbar on and off.
View > Status Bar switches the status bar on and off.
Publication 1747-PM001A-EN-P - January 2007
Loading...
+ 28 hidden pages