Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 25 of 25

Attended Workstations (Catalog Nos. 2708-DH5B2L & -DH5B4L) (Series B) User Manual, pages 179 to 186

Pages 179 to 186 of 186: N - A-B VBASIC Limits; Index; Back Cover

The original document is the PDF (513 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 2708

Page 179

Appendix

A–B

N

A-B VBASIC Limits Firmware Version . . . . . . . . . . . . . . . . . 1.1 Maximum PRINT USING clause . . . . . 80 characters Maximum line to PRINT . . . . . . . . . . . 200 characters User status display, each line . . . . . . . . 40 characters Maximum barcode . . . . . . . . . . . . . . . . 80 characters Maximum record to network . . . . . . . . 110 characters (system adds another 10 bytes) Maximum string from INPUTS$ . . . . . 200 characters Maximum string from LINE INPUT . . 200 characters Maximum string length theoretically . . 32K, but limited by memory Maximum RAM files, open or closed . 10 Maximum number of files and devices simultaneously open . . . . . . . ALL files and all devices Maximum file number . . . . . . . . . . . . . a value equal to the maximum numbver of files and devicxes = 24 Maximum size for program, variables, and temporaries . . . . . . . . . 13700 bytes Maximum individual RAM file size . . Same as total RAM file size Available memory for RAM files or programs to be CHAINed . . . . . . . . . Total Memory Size – 20K Example:

Maximum available memory in a 32K unit is 12K

Maximum recommended individual record size for a file . . . . . . . . . . . . . . 4K bytes Maximum characters in a file name . . . 12 characters Other maximums, such as identifier length, are per Visual BASIC specification.

N–1

Page 180

Appendix N A-B VBASIC Limits

When compiling programs with the LXBC command, the statistics in the LST listing file show the percent of total compiler capacity used. Maximums can be calculated from the percentages shown. How to compute memory size required for any application: Interpreter overhead . . . . . . . . . . . . . . . 6.3K Program running . . . . . . . . . . . . . . . . . . 13.7K # of CHAINed programs * 13.7K = . . . ??.? K # of host records/hour * Hours offline * bytes/rec = . . . . . . . ??.? K # of RAM file records for lookup tables, etc. * bytes/rec = . . . . . ??.? K Total RAM Required = Sum of the above values

N–2

Page 181

Index

A A-B BASIC and QuickBASIC Tips, K-1 PRINT K-2 A-B BASIC Application Library, 13-1 BASIC Language Development Kit, 13-1 Using the ENVPC Simulator, 13-4 BASIC Language Development Kit Limitations, 13-7 COM and AUX, 13-8 Display and Keyboard, 13-8 Global Variables, 13-6 Network I/O, 13-8 PC Simulation Constants and Variables, 13-7 Predefined Constants, 13-5 Printing Reports and Forms, 13-9 Status Display, 13-9 Using the Library, 13-2 QuickBASIC, 13-2 Writing Programs, 13-3 A-B BASIC Limits, N-1 Application Library Subroutines, M-1ćM-2

B Barcode Connection, 3-1 Barcode Connector, 3-1 Barcode Scanners, 3-1 BASIC Language Development Kit Programming Conventions and Tips, J-1 Programming Conventions, J-1 Programming Tips, J-2

C CALL, L-16 Complex Network, 2-13 Configuration Menus, 5-1 Bar Code Menu Parameters, 5-8 Bar Echo, 5-9 Bar Header, 5-9 Bar Trailer, 5-9 C39 Check Digits, 5-8 C39 Mode, 5-9

Codabar, 5-9 Code 128, 5-9 Code 3 of 9, 5-8 Code I 2-of-5, 5-9 I 2-of-5 Check Dgts, 5-9 I 2-of-5 Length, 5-9 UPC, 5-9 UPC Supplement, 5-9 Comm Port Menu Parameters, 5-5 Aux Baud Rate for COM2, 5-7 Aux CRLF For COM2, 5-7 Aux Echo For COM2, 5-7 Aux Parity For COM2, 5-7 Comm Baud Rate, 5-6 Comm CRLF, 5-6 Comm Data Bits, 5-6 Comm Echo, 5-6 Comm Menu char, 5-7 Comm Mode, 5-5 Comm Parity, 5-6 Comm Port Mode, 5-5 Comm Stop Bits, 5-6 DSR, 5-5 Polled, 5-6 Request, 5-6 Sync Count, 5-6 XON/XOFF, 5-5 Diagnostics Menu Parameters, 5-10 Aux Comm Loopback Test, 5-18 Aux Comm Receive Test, 5-17 Aux Comm Transmit Test, 5-16 Comm Loop Test, 5-15 Comm Receive Test, 5-15 Comm Transmit Test, 5-14 Continuous RAM Test, 5-13 Destructive RAM Test, 5-12 Display Test, 5-12 Keypad Test, 5-11 Lamp Test, 5-22 Laser Test, 5-12 Reset Powerup, 5-22 Reset Unit to Factory Defaults, 5-22 RS232 Block Receive, 5-20 RS232 Block Transmit, 5-21 cable verification, 5-21 RS485 Block Receive, 5-19 RS485 Block Transmit, 5-19 cable verification, 5-20 Men 2, 5-5 Menu 1, 5-4 Menu 3, 5-8 Index–1

Page 182

Index

Menu 4, 5-8 Menu 5, 5-10 Menu 6, 5-10 Network Menu Parameters, 5-4 Workstation, 5-4 Workstation Type, 5-4 Alternate, 5-4 Alternate Submaster, 5-4 Concentrator, 5-4 Gateway, 5-4 Host Port, 5-4 Lower Poll Addr (1-100) -, 5-4 Master, 5-4 Max Net Retries (1-99) -, 5-5 Normal, 5-4 Offline Cycle (normally 40) -, 5-5 Submaster, 5-4 Upper Poll Addr (1-99) -, 5-5 Read Only Menu, 5-10 System Menu Parameters, 5-8 Clock Mode, 5-8 Current date, 5-8 Current time, 5-8 File Block Size, 5-8 Menu Password, 5-8 Using Menus from the Comm Port, 5-3 Using Menus via Workstation Keypad, 5-1 Exiting Network Menu, 5-2 Sub-Menus, 5-2

D Developing and Running an A-B BASIC Program, 10-1 A-B BASIC Run-Time Errors, 10-5 Format of a BASIC Error Message, 10-5 Loading and Auto-Starting an A-B BASIC Program, 10-3 Power Failure, 10-6 Start-up Condition of an A-B BASIC Program, 10-3 LCD, 10-3 Termination of an A-B BASIC Program, 10-4 The A-B BASIC Development Procedure, 10-1 Coding with QuickBASIC Editor, 10-1

Index–2

Coding with the Workstation Application Generator Software, 10-1 Compiling the A-B BASIC Program, 10-2 Downloading, 10-2 Simulation Using Application Library, 10-1 Differences Between A-B BASIC and QuickBASIC, L-1 Distance Limitations, E-1 RS-232 Cable Length, E-1 RS-485 Cable Length, E-1 DO...LOOP, L-10

E Error Messages and Prompts, H-1 Errors, Warnings, and Status Messages, H-1

H Host Communications, 8-1 Network Directives, 8-4 Abort Currently Running A-B BASIC Program, 8-7 Abort Test, 8-7 Display Text on Front Panel, 8-7 Initialize Network, 8-8 Menu Password, 8-8 Reboot Unit, 8-8 Reset to Factory Defaults, 8-8 Restart an Aborted BASIC Program, 8-7 Send Text Out Aux Comm Port, 8-7 Send Text Out Comm Port, 8-7 Set Time, 8-9 Show Firmware Version, 8-6 Show Last Error Message, 8-5 Show Last Reset Message, 8-5 Show Unit Display, 8-5 Show Unit Serial Number, 8-6 Show Workstation Date & Time, 8-6 Zero Reset Error, 8-9

Page 183

Index

Network Status Records, 8-1 Status Records, 8-1 Responses to Network Directives, 8-3 Using Retry Counts for Network Diagnosis, 8-3

I IF, L-10 Installing a Network, 2-1 Communication to the Host Computer, 2-11 Comm Rx Test, 2-12 Comm Tx Test, 2-12 Menu Mode, 2-11 Complex Network, 2-13 Alternate Communication Links, 2-14 Alternate Sub-Masters, 2-14 Backbone, 2-13 Concentrator, 2-13 Extending Network Across Common Carrier, 2-16 Large Network Configuration, 2-14 Master, 2-13 Networks Over Telecommunications Lines, 2-15 Sub-Master, 2-13 Tributary, 2-13 Use of the Gateway Option, 2-16 RS-485 Multidrop Architecture, 2-1 Simple Network, 2-2 Cable Wire, 2-4 Cabling a Network, 2-4 Master Connection, 2-5 Net Bus, 2-2 Network Connector, 2-3 Non-Master Connection, 2-6 Power Supply, 2-2 Wiring a Network, 2-3 Step By Step Installation, 2-7 Communication Cables, 2-9 Terminator Switch, 2-9 Testing the Network for Data Transmission, 2-10 Diagnostic menus, 2-10 INSTR, L-10

Bar Code Wand (-W2), 1-1 Bar Code Wand (-W5), 1-1 Basic Language Development Kit Software, 1-1 DH5 Network Connector, 1-1 DH5 Power Supply, Europe, 1-1 DH5 Power Supply, U.S., 1-1 Hand-Held Scanner, 1-1 Network Manager Software, 1-1 Slot Scanner, 1-1 Catalog Numbers, 1-1 Related Publications, 1-2 Application Generator User's Manual, 1-2 Basic Language Kit User's Manual, 1-2 Network Manager User's Manual, 1-2 IOCTL$, L-10

L LEFT$, L-10 LINE INPUT, L-13 LOCATE, L-13

M Menu Trigger Keys, B-1 MID$, L-10

N Network Design, 7-1 Extending Networks Over Phone Lines, 7-4 Fault-Tolerant Networks, 7-3 Network Installation of More than 32 Workstations, 7-1 Large Network, 7-1 Masters, Concentrators and Submasters, 7-2 Networks of 32 Workstations or Less, 7-1 Designing a network, 7-1 Simple Network, 7-1

Introduction, 1-1 Accessory Items, 1-1 Application Generator Software, 1-1 Bar Code Wand (-W1), 1-1 Index–3

Page 184

Index

O OPEN, L-10 Operating Procedures, 6-1 Adding a Workstation to the Network, 6-5 Default Configuration, 6-1 Instituting a New Workstation as Master, 6-4 Network Problems, 6-5 Cabling error, 6-5 Configuration error, 6-5 Workstation malfunction, 6-5 Removing a Master, 6-3 Alternate Master in Place, 6-3 Host/Alternate Master, 6-3 Removing a Workstation from the Network, 6-4 Verifying Proper Network Operation, 6-2 Network Status display, 6-2 Workstation Status, 6-6

P Pin-Out Diagrams for DB9 Connector, G-1 Master Workstation Cabling, G-1 Normal/Concentrator End Workstation Cabling, G-2 Normal/Concentrator Workstation Cabling, G-2 PRINT, L-10

S SHARED, L-16 Site Parameter List, F-1 SOUND, L-10 Special Devices in A-B BASIC, 12-1 #9 User Status Display, 12-15 Barcode Scanners, 12-4 Reading Barcodes, 12-4 BASIC Language Development Kit, 12-1 Beeper, 12-14 Communication Ports, Primary and Auxiliary, 12-11 Input from a Communication Port, 12-12 Index–4

Modem Control Lines, 12-13 Output to a Communication Port, 12-12 Details of Specific Statements and Functions, 12-8 CLOSE 12-9 EOF for HOST and NET, 12-10 IOCTL, 12-11 IOCTL$, 12-11 LINE INPUT # for HOST and NET GET # for HOST and NET, 12-10 LINE INPUT # for QUE GET # for QUE, 12-10 LOC for HOST and NET, 12-10 LOF for HOST, 12-10 LOF for NET, 12-10 OPEN 12-8 PRINT #, 12-9 PUT to HOST, 12-9 PUT to NET, 12-9 PUT to QUE, 12-9 WRITE #, 12-9 Egg Timer, 12-16 SEEK function, 12-16 SEEK statement, 12-16 Front Panel LED's, 12-14 Host Computer, 12-6 Data I/O through a Network, 12-6 Keypad, 12-3 LCD Display, 12-2 RAM Files, 12-13 File Memory Management, 12-14 Special Device Names, 12-1 Specifications, A-1 Communication Ports, A-1 Status Displays, 4-1 Application Status, 4-11 Network Queue Status, 4-6 Network Status, 4-4 Program Load Status, 4-9 Program Run Status, 4-10 Reserved Status, 4-5 Status Display 0, 4-2 Status Display 1, 4-4 Network Status Display, 4-4 Status Display 2, 4-5 Status Display 3, 4-5 Clock Mode, 4-5 Status Display 4, 4-5 Error Codes, 4-6

Page 185

Index

Status Display 5, 4-6 [OFF] Offline, 4-6 [ON] Online, 4-6 Count Of Records Lost From Host, 4-7 Host Output Blocked Flag, 4-7 Lost Data Flag, 4-7 Record Count From Network, 4-7 Records From Host, 4-6 Size Of Host Queue, 4-7 Status Display 6, 4-8 BFUSE, 4-8 Bytes For File Usage, 4-8 BLEFT, 4-8 Bytes Remaining For File Use, 4-8 LPMEM, 4-8 Least Used Program Memory, 4-8 PGMEM, 4-8 Bytes Remaining For Program Use, 4-8 RAM, 4-8 Status Display 7, 4-9 Interpreter Vers -, 4-10 Length Counters! -, 4-9 Load Length! -, 4-9 Load Sequence xx -, 4-9 Load Status, 4-9 Loaded <filename> Loading Line: xx, 4-9 Never loaded, 4-9 Program Checksum -, 4-9 Status Display 8, 4-10 Status Display 9, 4-11 Summary Status Display, 4-2 Workstation I.D. Number, 4-3 System Reset Status, 4-5 Time Status, 4-5 Workstation Memory Status, 4-8

T Technical Description, C-1 Barcode Specifications, C-3 AIAG Support, C-3 Codabar, C-3 Code 128, C-3 Code 3 of 9, C-3 Interleaved 2 of 5, C-3

UPC/EAN/JAN, C-3 Enclosure, C-1 Hardware Features, C-2 Bar Codes, C-2 Barcode Scanners, C-2 Display, C-2 Keyboard, C-2 Memory, C-2 Power, C-2 Real Time Clock, C-2 Tone Generator, C-2 Host Communications, C-4 Network, C-4 Software Features, C-1 The A-B BASIC Cross-Compiler (LXB), 11-1 Invoking the Compiler, 11-2 Downloaded Executable File, 11-4 Listing File, 11-4 Secondary Download File, 11-4 Source File Specification, 11-3 Time Display Formats, I-1

W What is BASIC?, 9-1 A-B BASIC, 9-2 BASIC, 9-1 QuickBASIC, 9-1 Workstation Communication Pin-Out Diagrams, D-1 RS-232 Concentrator/Submaster, D-3 RS-232 Workstation 25-Pin Modem, D-2 RS-232 Workstation/Host 25-Pin Modem, D-3 RS-232 Workstation/Host 25-Pin Null-Modem, D-1 RS-232 Workstation/Host 9-Pin DSR Control, D-2 RS-232 Workstation/Host 9-Pin Null-Modem, D-1 RS-422 Concentrator/Submaster, D-4 RS-422 Workstation/Any Host Connector, D-4

Index–5

Page 186

PLC is a registered trademark of Allen-Bradley Company, Inc. Pyramid Integrator, Data Table Library and CVIM are trademarks of Allen-Bradley Company, Inc. MicroVAX, VAX, VAXstation, VAXcluster, VMS, DECnet, DECwindows, VAXserver, VAX FMS, VAX DATATRIEVE, VAX GKS, VAX DEC/CMS, VAX VTX, and VAX Printserver are trademarks of DIGITAL Equipment Corporation. ProComm is a registered trademark of

ALLEN-BRADLEY A ROCKWELL INTERNATIONAL COMPANY

A subsidiary of Rockwell International, one of the world’s largest technology companies, Allen-Bradley meets today’s automation challenges with over 85 years of practical plant floor experience. More than 13,000 employees throughout the world design, manufacture and apply a wide range of control and automation products and supporting services to help our customers continuously improve quality, productivity and time to market. These products and services not only control individual machines, but also integrate the manufacturing process while providing access to vital plant floor data that can be used to support decision–making throughout the enterprise.

With offices in major cities worldwide. WORLD HEADQUARTERS Allen-Bradley 1201 South Second Street Milwaukee, WI 53204 USA Tel:(414) 382–2000 Telex:43 11 016 FAX:(414)382–4444

EUROPE/MIDDLE EAST/ AFRICA HEADQUARTERS Allen–Bradley Europe B.V. Amsterdamseweg 15 1422 AC Uithoorn The Netherlands Tel:(31) 2975/43500 Telex:(844) 18042 FAX:(31) 2975/60222

Publication 2708-800 – July 1994 Supercedes Cat. No. 2708–ND001, Dated November 1991

ASIA/PACIFIC HEADQUARTERS Allen–Bradley (Hong Kong) Limited Room 1006, Block B, Sea View Estate 2-8 Watson Road Hong Kong Tel:(852)887-4788 Telex:(780) 64347 FAX:(852)510-9436

CANADA HEADQUARTERS Allen–Bradley Canada Limited 135 Dundas Street Cambridge, Ontario N1R 5X1 Canada Tel:(519)623–1810 FAX:(519)623–8930

LATIN AMERICA HEADQUARTERS Allen-Bradley 1201 South Second Street Milwaukee, WI 53204 USA Tel:(414)382–2000 Telex:43 11 016 FAX:(414)382–2400

40062–286–01(A) 1994 Allen-Bradley Company , Inc.

Printed in USA