Sign In
Upload
Manuals
Brands
Rockwell Automation Manuals
Control Unit
Allen-Bradley SLC 500 BASIC
Rockwell Automation Allen-Bradley SLC 500 BASIC Manuals
Manuals and User Guides for Rockwell Automation Allen-Bradley SLC 500 BASIC. We have
2
Rockwell Automation Allen-Bradley SLC 500 BASIC manuals available for free PDF download: Reference Manual, User Manual
Rockwell Automation Allen-Bradley SLC 500 BASIC Reference Manual (280 pages)
Brand:
Rockwell Automation
| Category:
I/O Systems
| Size: 3.27 MB
Table of Contents
Table of Contents
3
Preface
9
Who Should Use this Manual
9
Purpose of this Manual
10
How to Use this Manual
11
Conventions Used in this Manual
12
Terms and Abbreviations
12
Rockwell Automation Support
13
Character Set
15
Language Elements
15
The BASIC Program Line
15
Data Types
17
Variables
20
Expressions and Operators
23
Arithmetic Operators
25
Hierarchy of Operators
25
Logical Operators
28
Relational Operators
29
Trigonometric Operators
30
Functional Operators
31
Logarithmic Operators
33
String Operators
34
Special Function Operators
37
BASIC Commands
41
Brkpnt
42
Cont
43
Control-C
44
CALL 18 - Re-Enable the Control-C Break Function
45
CALL 19 - Disable the Control-C Break Function
46
Control-S
47
Control-Q
48
Edit
48
Erase
49
Idle
50
List
51
List
52
Mode
52
New
54
Null
54
Prog
55
Prog1
56
Prog2
57
Ram
59
Rem
59
Ren
60
Rom
60
Rrom
61
Run
62
Snglstp
63
Ver
65
Xfer
66
CALL 77 - Protected Variable Storage
68
CALL 81 - User Memory Module Check and Description
69
CALL 101 - Upload User Memory Module Code to Host
70
CALL 82 - Check User Memory Module Map
70
Chapter 6 CLEAR
77
Cleari
79
Clears
79
Data
80
DIM
80
Let
81
Restore
83
Clock1
85
Clock0
86
Do-While
87
Do-Until
88
End
89
For-To-(Step)-Next
90
Goto
91
If-Then-Else
92
Next
93
On-Goto
95
CALL 20 - Enable Processor Interrupt
99
CALL 21 - Disable Processor Interrupt
100
CALL 26 - Module Interrupt
100
CALL 71 - ROM/RAM to ROM Program Transfer
105
CALL 72 - RAM/ROM Return
105
Gosub
107
Onerr
108
On-Gosub
110
Ontime
110
Push
111
Pop
113
Reti
114
Return
114
Stop
116
CALL 15 - 16-Bit Unsigned Integer to BASIC Floating-Point
118
CALL 24 - BASIC Floating-Point to 16-Bit Signed Integer
118
CALL 41 - Set Clock/Calendar Date
124
CALL 42 - Set Day of Week
125
CALL 43 - Retrieve Date/Time String
126
CALL 44 - Retrieve Date Numeric
126
CALL 45 - Retrieve Time String
127
CALL 46 - Retrieve Time Numeric
128
CALL 47 - Retrieve Day of Week String
128
CALL 48 - Retrieve Day of Week Numeric
129
CALL 52 - Retrieve Date String
129
Status Functions
132
CALL 36 - Get Number of Characters in PRT2 Buffers
132
CALL 58 - Check M0 File
135
CALL 59 - Check M1 File
136
CALL 80 - Check Battery Condition
138
CALL 86 - Check DH485 Interface File Remote Write Status
138
CALL 87 - Check DH485 Interface File Remote Read Status
139
CALL 95 - Get Number of Characters in PRT1 Buffers
140
CALL 97 - Enable Port PRT2 DTR Signal
141
CALL 98 - Disable Port PRT2 DTR Signal
141
CALL 113 - Disable DF1 Driver Communications
148
CALL 120 - Clear Module Input and Output Buffers
148
CALL 121 - Get SLC Processor Program ID Number
149
Output Functions
151
CALL 23 - Transfer Data from the CPU Files to Port 1 or 2
152
Module Internal String
163
CALL 31 - Display Current PRT2 Port Setup
164
CALL 37 - Clear PRT2 Input/Output Buffers
165
CALL 54 - Transfer BASIC Output Buffer to CPU Input Image
165
CALL 57 - Transfer BASIC Output Buffer to CPU M1 File
166
CALL 85 - Transfer BASIC Output Buffer to DH485
167
Common Interface File
172
CALL 93 - Write Output Buffer to Remote DH485
172
Common Interface File
180
Print
185
Ph0., Ph1
187
Input Functions
192
CALL 22 - Transfer Data from Port 1 or 2 to the CPU Files
192
CALL 27 - Read Remote DH485 SLC Data File
198
CALL 29 - Read/Write to a PLC/SLC from the Module Internal String
203
CALL 92 - Read Remote DH485 Common Interface File to BASIC Input Buffer
213
CALL 118 - PLC/SLC Unsolicited Writes
216
CALL 122 - Read Remote DF1 PLC Data File
220
Get
228
Inpl
229
Inps
230
Input
230
Read
235
Setup Functions
238
CALL 78 - Set Program Port Baud Rate
238
CALL 99 - Reset Print Head Pointer
239
CALL 105 - Reset PRT1 to Default Settings
240
CALL 119 - Reset PRT2 to Default Settings
240
Mode
241
String Functions
243
CALL 60 - String Repeat
243
CALL 61 - String Append
244
CALL 62 - Number to String Conversion
245
CALL 63 - String to Number Conversion
246
CALL 64 - Find a String in a String
248
CALL 65 - Replace a String in a String
249
CALL 66 - Insert a String in a String
250
CALL 67 - Delete a String in a String
251
CALL 68 - Find the Length of a String
252
String
253
Advertisement
Rockwell Automation Allen-Bradley SLC 500 BASIC User Manual (90 pages)
Brand:
Rockwell Automation
| Category:
Control Unit
| Size: 1.1 MB
Table of Contents
Table of Contents
5
Preface
9
Purpose of this Manual
9
Related Documentation
10
Who Should Use this Manual
9
How to Use this Manual
10
Conventions Used in this Manual
11
Terms and Abbreviations
11
Chapter 1
13
Module and Development Software Overview
13
Overview
13
BASIC and BASIC-T Modules
14
Hardware Features
14
Software Overview BASIC and BASIC-T Modules
14
Software Features
15
Module Communication Ports
15
Module LED Indicators
16
BASIC Development Software (1747-PBASE)
17
Typical Configurations
18
Module Integration
18
Module Programming Interface
19
Module Network Configurations
22
Chapter 2
27
Component Selection
27
Memory Requirements for BASIC Programming
27
Optional Memory Module
28
Components Required for DH485 Communication
29
Alternate Connection
30
1747-AIC Isolated Link Coupler
31
1747-PIC Interface/Converter
31
Components Required for DF1 Communication
32
DH485 Cable Requirements
32
Chapter 3 Set Module Jumpers
35
Set Jumper JW1
36
Set Jumper JW2
37
Set Jumper JW3
38
Set Jumper JW4
39
Install and Wire Your Module
35
Install Your Module
40
Wire to Ports PRT1 and PRT2
43
Hardware Handshaking
44
DTE and DCE Overview
45
DTE - Data Terminal Equipment
45
DCE - Data Communication Equipment
46
Wire to Port DH485
48
Wire Your Communication Ports
43
Chapter 4
49
Programming Overview
49
Understand Module Memory Organization
49
Allocate SLC Memory for the Module
50
Module ID Codes
51
BASIC Programming Instructions
51
BASIC Commands
52
BASIC Statements
53
BASIC Operators
54
Create and Edit a BASIC Program
56
Enter a BASIC Program Using an ASCII Terminal
56
Run a BASIC Program
58
Stop a BASIC Program
59
Edit a BASIC Program Line through an ASCII Terminal
59
Delete a BASIC Program Line
61
Renumber a BASIC Program
61
Transfer Data
62
Transfer Data between the SLC Processor and Port PRT2
62
Transfer Data between the SLC Processor and Port PRT1
64
Port DH485
66
Transfer Data between the SLC Processor and the Module
67
Status Information for the SLC Processor
67
SLC Fault Codes
69
Appendix A
71
Module Hardware Specifications
71
Specifications
71
1747-PBASE BASIC Development Software Specifications
73
Related Products
73
Appendix B Module Configuration
75
What to Do Next
76
Port PRT1 Configuration (Jumper JW1
76
Port PRT2 Configuration (Jumper JW2
77
What to Do Next
77
Optional Memory Module Selection (Jumper JW3
78
What to Do Next
78
Program Port and Protocol Selection (Jumper JW4
79
What to Do Next
79
Appendix C Battery Replacement
81
Battery Handling
83
Storage
83
Transportation
83
Battery Disposal
85
Index
87
Advertisement
Related Products
Rockwell Automation SoftLogix5800 1789 Series
Rockwell Automation SoftLogix5800 1789-L10
Rockwell Automation SoftLogix5800 1789-L30
Rockwell Automation SoftLogix5800 1789-L60
Rockwell Automation Allen-Bradley EtherNet/IP
Rockwell Automation Allen-Bradley ControlLogix B Series
Rockwell Automation Allen-Bradley POINT I/O B Series
Rockwell Automation Allen-Bradley SLC 500 BASIC-T
Rockwell Automation Allen-Bradley POINT Guard I/O
Rockwell Automation Allen-Bradley FactoryTalk Historian ME
Rockwell Automation Categories
Controller
Control Unit
Power Supply
DC Drives
Industrial Equipment
More Rockwell Automation Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL