Many
Manuals
search
Kategorie
Marki
Strona główna
Rockwell Automation
Ekwipunek
1771-DB BASIC MODULE
Instrukcja Użytkownika
Rockwell-automation 1771-DB BASIC MODULE Instrukcja Użytkownika Strona 110
Pobierz
Podziel się
Dzielenie się
Dodaj do moich podręczników
Drukuj
Strona
/
394
Spis treści
ROZWIĄZYWANIE PROBLEMÓW
BOOKMARKI
Oceniono
.
/ 5. Na podstawie
oceny klientów
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
Chapter
Data
T
ypes
8
8 -10
Not
es
:
1
2
...
105
106
107
108
109
110
111
112
113
114
115
...
393
394
BASIC Module
1
Allen-Bradley
1
Important User Information
2
EEPROM Programming Support
4
Additional RAM Memory
4
Five New LED Indicators
4
Error-Trapping Support
5
DH-485 Network Support
5
Reset Switch Support
6
Series B and
8
1746-BAS Compatibility
8
Changes to the Manual
9
Since the Last Printing
9
Preface
10
Summary of Changes
10
Using This Manual
11
How To Use This Manual
12
Terms and Abbreviations
13
Conventions
14
Related Publications
14
Getting Started
15
Local Product Support
16
Technical Product Assistance
16
Allen-Bradley Support
16
Table of Contents
17
Chapter 1
17
Chapter 2
17
Chapter 3
17
Chapter 4
17
Chapter 5
18
Chapter 6
18
Chapter 7
18
Chapter 8
18
Expressions
19
Operators
19
Call Routines 0 - 68
21
Call Routines 69-127
22
Appendix A
24
Appendix B
24
Appendix C
24
Appendix D
24
Appendix E
24
Installing the BASIC Module
25
(Cat. No. 1771-DB)
26
Configure the Jumpers
27
Determine BASIC Module
34
Placement
34
Key the Backplane Connector
35
Install the Module into the
36
1771 I/O Chassis
36
Peripheral Devices
37
Power up the Module
37
Reset the Module
37
Read the Indicator Lights
38
Using the Communication Ports
39
Communication
40
DH485 Port
41
Handshaking
42
Hardware Handshaking
43
Communication Rates
44
Operating
45
ASCII Port
46
Program Port
47
DF1 Protocol
48
Network Port
49
Chapter
53
Remove the BASIC Module
54
Disassemble the BASIC
55
Install Optional Memory
56
Install the Battery
60
Screwdriver Slots
61
Reassemble the BASIC
63
Programming the BASIC Module
65
Create a Program
66
ASCII Terminal Emulator
67
Number Program Lines
70
Firmware Revision: A
71
All rights reserved
71
Programming Block-Transfers
75
Output Image Table
76
Data Tables
76
Input Image Table
77
Block-Transfer Buffers
78
Block-Transfers and the
79
Programming Block-T
80
Family Processors
82
Ladder Logic
82
Asynchronous Block Transfer
84
Synchronous Block Transfer
85
Edit a Program Line
87
Delete a Program Line
89
Renumber a Program
89
Debug a Program
90
Using BASIC Module Statements
91
Port Communication Calls
92
Block-Transfer Support
93
Number Conversion Calls
94
Clock/Calendar Calls
94
DH-485 Communication
95
Background Operations
96
Execution Control and
97
Interrupt Support Calls
97
Setup Calls
99
What’s Next?
100
Data Types
101
String Data Types
102
Numeric Data Types
103
Backplane Conversion
104
16-Bit Binary (4 Hex Digits)
105
4-Digit, Signed, Octal
106
What’s in This Chapter?
111
Relational Expressions
111
Constants
111
Variables
112
G arithmetic G functional
113
G logical G logarithmic
113
G relational G string
113
Order of Operations
113
Negation ( – )
116
Arithmetic Errors
116
Bitwise Operators
117
Relational Operators
119
: 1.2626272
121
Functional Operators
121
Logarithmic Operators
123
String Operators
124
# and @
127
Special Function Operators
127
Commands
131
Backspace
137
Examples
146
Line Calls
152
Statements
153
rel expr
160
DO-WHILE
161
FOR-TO-(STEP)-NEXT
163
IF-THEN-ELSE
167
ON-GOSUB
176
PH0. and PH1
179
Call Routines 0 – 68
191
CALL 0: Reset Module
192
CALL 1: No Operation
192
CALL 2: Timed Block
192
Transfer-Read Buffer
192
CALL 3: Timed Block
193
Transfer-Write Buffer
193
CALL 4: Set Block
194
Transfer-Write Length
194
CALL 5: Set Block
194
Transfer-Read Length
194
CALL 6: Block-Transfer
195
Write Buffer
195
CALL 7: Block-Transfer
195
Read Buffer
195
Input and Output Arguments
196
Call Routines 0–68
197
SLC 16-Bit Unsigned Integer
199
16: Enable/Disable
200
DF1 Packet Interrupt
200
CALL 17: 4-Digit BCD to
201
BASIC Floating Point
201
CALL 18: Re-Enable Control
201
C Break Function
201
BASIC Floating Point to
204
6-Digit, Signed, Fixed
204
Decimal BCD
204
BASIC Floating Point to SLC
205
16-Bit Signed Integer
205
BASIC Floating-Point to SLC
206
16-Bit Binary
206
CALL 30: PRT2 Port
210
Support Parameter Set
210
CALL 31: Display PRT2 Port
211
Parameters
211
32: Enable/Disable
212
Processor Interrupt
212
CALL 33: Transfer Data from
213
PRT1 or PRT2 to the
213
BTR Buffer
213
Sample Ladder Logic
218
35: Retrieve Numeric
224
Input Character from PRT2
224
CALL 36: Get the Number of
225
Characters in the PRT2 Port
225
CALL 37: Clear the PRT2
225
Port Buffers
225
CALL 38: Expanded ONERR
226
CALL 39 : 3.3-Digit Signed
228
BCD to BASIC Floating
228
40: Set the W
229
Clock Time (Hour, Minute
229
Second)
229
43: Retrieve
231
Date/Time String
231
CALL 44: Retrieve Date
231
Numeric (Day, Month, Year)
231
CALL 49: Read Remote
234
DH-485 SLC Data File
234
DH-485 SLC Data
240
CALL 52: Retrieve Date
248
CALL 53 – 59
248
CALL 60: String Repeat
249
CALL 61: String Append
250
(Concatenation)
250
CALL 62: Number to String
251
Conversion
251
CALL 63: String to Number
252
CALL 64: Find a String
253
65: Replace a String
254
CALL 66: Insert String in a
255
CALL 67: Delete String
256
CALL 68: Determine Length
257
Call Routines 69–127
259
CALL 70: ROM to RAM
260
Program T
260
CALL 71: ROM/RAM to ROM
261
CALL 72: RAM/ROM Return
262
CALL 73: Battery-Backed
263
RAM Disable
263
CALL 74: Battery-Backed
263
RAM Enable
263
CALL 75 – 76
263
CALL 77: Protected Variable
264
CALL 78: Set Program Port
266
Communication Rate
266
CALL 79: Set the Active
266
LED Blinking State (No
266
Operation)
266
CALL 80: Check Battery
267
Condition
267
CALL 81: User PROM Check
268
82: Check User
269
Memory Module Map
269
CALL 83: Display DH485
269
Port Parameters
269
Common Interface File to
270
BASIC Input Buffer
270
Output Buffer to DH-485
271
Common Interface File
271
CALL 86: Check DH-485
272
Interface File Remote Write
272
CALL 87: Check DH-485
273
Interface File Remote Read
273
CALL 88: BASIC Floating
274
Point to PLC-5 Floating
274
CALL 89: PLC-5 Floating
275
Point to BASIC Floating
275
CALL 90: Read Remote
276
DH-485 Data File to BASIC
276
Input Buffer
276
Output Argument One
278
Output Buffer to Remote
280
DH-485 Data File
280
CALL 92: Read Remote
284
DH-485 Common Interface
284
File to BASIC Input Buffer
284
remote device node address
286
message time-out value
286
Buffer to Remote DH-485
287
CALL 94: Display Current
290
PRT1 Port Setup
290
CALL 95: Get Number of
290
Characters in PRT1 Buffers
290
96: Clear PRT1
291
Receive/Transmit Buffers
291
CALL 97: Enable Port PRT2
291
DTR Signal
291
CALL 98: Disable Port PRT2
292
CALL 99: Reset Print Head
292
CALL 103: Print PRT1
294
Transmit Buffer and Pointer
294
CALL 104: Print PRT1
295
Receive Buffer and Pointer
295
CALL 105: Reset PRT1 to
295
Default Settings
295
106 – 107
296
CALL 108: Enable DF1
296
Driver Communications
296
CALL 109: Print the
302
Argument Stack
302
10: Print the PRT2
303
Port Transmit Buffer and
303
11: Print the PRT2
304
Port Receive Buffer and
304
14: Transmit DF1
306
15: Check DF1
307
16: Call User
308
Defined Assembly Language
308
17: Get DF1 Packet
309
18: PLC/SLC
310
Unsolicited Writes
310
19: Reset the PRT2
314
Port to Default Settings
314
CALL 120: Clear BASIC
315
Module I/O Buffers
315
CALL 121
315
CALL 122: Read Remote
316
DF1 PLC Data File
316
123: W
324
124–127
332
Product Overview
333
Hardware Features
334
Software Features
335
Diagnostic Features
336
ASCII Terminal Interface
337
Programming Interfaces
337
BASIC Development Software
338
Network Configurations
339
Product Overview
340
Appendix
340
DF1 Protocol Configuration
341
Memory Requirements
342
Keying Clips
343
Connector
343
.99999999E
344
Related Products
345
Conversion Table
347
Troubleshooting
349
Error Messages from BASIC
350
Error Messages from CALL
352
Routines
352
Series A Configuration Plugs
355
Quick Reference
357
See also BTR buffer
365
See also BTW buffer
365
BUSINESS REPLY MAIL
392
Supersedes
394
Copyright
394
Komentarze do niniejszej Instrukcji
Brak uwag
Publish
Powiązane produkty i podręczniki dla Ekwipunek Rockwell-automation 1771-DB BASIC MODULE
Ekwipunek Rockwell-automation Logix5000 Controllers Tasks, Programs, and Routine Instrukcja Użytkownika
(73 strony)
Ekwipunek Rockwell-automation 1734-OE4C Installation Instructions Instrukcja Użytkownika
(24 strony)
Ekwipunek Rockwell-automation 1792D-8BT0LP ArmorBlock LP2 8 Sinking Input Module Instrukcja Użytkownika
(10 strony)
Ekwipunek Rockwell-automation 1783-SR Stratix 5900 Services Router User Manual Instrukcja Użytkownika
(88 strony)
Ekwipunek Rockwell-automation 1794-APB/B FLEX I/O PROFIBUS Adapter Module Instal Instrukcja Użytkownika
(6 strony)
Ekwipunek Rockwell-automation 1738-232ASCM12 ArmorPoint I/O RS-232 ASCII Module, Instrukcja Użytkownika
(14 strony)
Ekwipunek Rockwell-automation 1732D-8I8O1212D DNet ArmorBlock Network Powered 8- Instrukcja Użytkownika
(20 strony)
Ekwipunek Rockwell-automation 1771-IE,D17716.5.7 ANAL.INPUT MOD. Instrukcja Użytkownika
(46 strony)
Ekwipunek Rockwell-automation 1746-XXXX SLC 500 Digital I/O Modules Installation Instrukcja Użytkownika
(48 strony)
Ekwipunek Rockwell-automation 1756-Lx_Mx ControlLogix Controller and Memory Boar Instrukcja Użytkownika
(52 strony)
Ekwipunek Rockwell-automation 1746-INT4 Thermocouple/mV Isolated Input Module Qu Instrukcja Użytkownika
(20 strony)
Ekwipunek Rockwell-automation 1792D-12BT4PE ArmorBlock MaXum 12 In/4 Out Module Instrukcja Użytkownika
(20 strony)
Ekwipunek Rockwell-automation 1790-XXXX Digital Expansion D-Shell CompactBlock L Instrukcja Użytkownika
(16 strony)
Ekwipunek Rockwell-automation 1753-IB16XOB8 GuardPLC 16-Digital Inputs and 8-Dig Instrukcja Użytkownika
(24 strony)
Ekwipunek Rockwell-automation 1757-PLX52 ProcessLogix Controller Module Installa Instrukcja Użytkownika
(16 strony)
Ekwipunek Rockwell-automation 1792D-8BV0D ArmorBlock MaXum 8 Input Module with 8 Instrukcja Użytkownika
(16 strony)
Ekwipunek Rockwell-automation 1788-CNCR ControlNet Daughtercard Installation Ins Instrukcja Użytkownika
(20 strony)
Ekwipunek Rockwell-automation 1771-OND INSTL.INSTR AC (24V) OUTPT.MOD Instrukcja Użytkownika
(12 strony)
Ekwipunek Rockwell-automation 1771-OAD AC(12-120V)Output Installation Instructio Instrukcja Użytkownika
(16 strony)
Ekwipunek Rockwell-automation 2361 Snubber Assembly Replacement Instrukcja Użytkownika
(6 strony)
Drukuj dokument
Drukuj stronę 110
Komentarze do niniejszej Instrukcji