EasyManuals Logo
Home>Allen-Bradley>Control Unit>SLC 500 BASIC

Allen-Bradley SLC 500 BASIC User Manual

Allen-Bradley SLC 500 BASIC
84 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #6 background imageLoading...
Page #6 background image
Publication 1746-UM004A-US-P
Table of Contents ii
Wiring to Ports PRT1 and PRT2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Hardware Handshaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
DTE and DCE Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
DTE - Data Terminal Equipment . . . . . . . . . . . . . . . . . . . . . . . 3-9
DCE - Data Communication Equipment. . . . . . . . . . . . . . . . . 3-10
Wiring to Port DH485. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Chapter 4
Programming Overview
Understanding Module Memory Organization. . . . . . . . . . . . . . . . . 4-1
Allocating SLC memory for the Module . . . . . . . . . . . . . . . . . . . . . . 4-2
Module ID Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
BASIC Programming Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
BASIC Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
BASIC Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
BASIC Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Creating and Editing a BASIC Program . . . . . . . . . . . . . . . . . . . . . . 4-7
Entering a BASIC Program Using an ASCII Terminal . . . . . . . . 4-7
Running a BASIC Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Stopping a BASIC Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Editing a BASIC Program Line Through an ASCII Terminal. . 4-10
Deleting a BASIC Program Line. . . . . . . . . . . . . . . . . . . . . . . . 4-11
Renumbering a BASIC Program. . . . . . . . . . . . . . . . . . . . . . . . 4-12
Transferring Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Transferring Data Between the SLC Processor and Port PRT2 . 4-13
Transferring Data Between the SLC Processor and Port PRT1 . 4-15
Transferring Data Between the SLC Processor and Port DH485 4-16
Transferring Data Between the SLC Processor and the Module 4-17
Status Information for the SLC Processor . . . . . . . . . . . . . . . . . 4-17
SLC Fault Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Appendix A
Specifications
Module Hardware Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
1747-PBASE BASIC Development Software Specifications . . . . . . . A-2
Related Products. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Appendix B
Module Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Port PRT1 Configuration (Jumper JW1) . . . . . . . . . . . . . . . . . . . . . B-1
Port PRT2 Configuration (Jumper JW2) . . . . . . . . . . . . . . . . . . . . . B-2
Optional Memory Module Selection (Jumper JW3) . . . . . . . . . . . . . B-3
Program Port and Protocol Selection (Jumper JW4). . . . . . . . . . . . . B-4

Table of Contents

Other manuals for Allen-Bradley SLC 500 BASIC

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SLC 500 BASIC and is the answer not in the manual?

Allen-Bradley SLC 500 BASIC Specifications

General IconGeneral
BrandAllen-Bradley
ModelSLC 500 BASIC
CategoryControl Unit
LanguageEnglish

Related product manuals