The text of a manual · part 1 of 18
Starnode PC Data Collection Network Operator's Manual, pages 1 to 10
Pages 1 to 10 of 172
The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Computer Identics 320, Computer Identics 325, Computer Identics 326, RVSI CiMatrix 7500, RVSI CiMatrix 7555A, Sick 7555A, RVSI CiMatrix 7600, RVSI CiMatrix 7655, and 11 more models
Page 1
Starnode PC Data Collection Network Operator’s Manual
Rev B, February 2002
EM-67043-1B
Page 2
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Copyright © 2002 SICK Auto Ident, Inc. This manual and the software described in it are copyrighted, with all rights reserved. Under the copyright laws, no part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise, without prior written permission of SICK Auto Ident, Inc. Information furnished by SICK Auto Ident, Inc. is believed to be accurate and reliable and is subject to change without notice. However, no responsibility is assumed by SICK Auto Ident, Inc. for its use or any errors that may appear in this document, nor for any infringements of patents or other rights of third parties, which may result from its use.
Factory Authorized Training SICK Auto Ident, Inc. provides comprehensive product training. Contact the SICK Auto Ident, Inc. Training Coordinator at 1-888-2644641 for in-house and on-site class schedules and rates.
Getting Assistance If you have questions or comments, please contact SICK Auto Ident, Inc. at 1-888-264-4641. For additional assistance, contact:
SICK Auto Ident, Inc. 5 Shawmut Road Canton, MA 02021 USA (781) 302-2500 Fax (781) 828-3150
•
Order Processing (Option #1)
•
Technical Support (Option #2)
•
Field Service Contracts (Option #3)
•
Customer Service Fax (781) 828-7592
Product names mentioned herein are for identification purposes only and may be trademarks and/or registered trademarks of their respective companies: OMNI, CiComm, CiFrame, CiMenu, CiMAX, CiPRO, CiBOS, Scanstar, Starnode, and TALL. Other references to trademarks are the rights of their respective owners. Printed in the United States of America.
Page 3
Contents
PREFACE
Welcome!
ix
How To Use This Manual ix
Guide Conventions ix
Getting Assistance x
SICK Auto Ident, Inc. Customer Service Policy Return-to-Factory Instructions xi Product Warranty xii
CHAPTER 1
Introduction x
1-1
Introduction 1-1 Controllers 1-1 Starnode PC Interface Board 1-2 Starnode Asynchronous Controller (AC)/CICALP 1-4 Starnode Asynchronous Controller (AC)/MUX 1-4
CHAPTER 2
Installation
2-1
Installation Overview 2-1 Software Installation 2-2 Installing PC-Resident Starnode Board T-Tap Boxes 2-7 Network Cabling 2-8
Rev B, February 2002
2-3
Starnode PC Data Collection Network Operator’s Manual iii
Page 4
Contents
Cabling Types 2-9 Barcode Scanners 2-11 Testing the Network 2-12
CHAPTER 3
Starnode Accessories
3-1
Software Products 3-1 Starnode Switch 3-3 Starnode Repeater 3-3
CHAPTER 4
Software & Programming Overview
4-1
Starnode Communication Protocol 4-1 Programming Overview 4-3 Starnode Device Programming 4-3 PC Programming 4-3
CHAPTER 5
Using Starndem
5-1
Overview 5-1 Controller I/O Base 5-2 Default I/O Delay 5-3 Full Initialization 5-3 Starndem.cnf 5-3 Starnode Utility Menus 5-5 File Menu 5-5 Transmit Menu 5-7 Display Menu 5-16 Status Menu 5-17 Network Menu 5-23
Network Diagnostics
5-26
Setting Loop Count 5-26
CHAPTER 6
Starnode DOS Device Driver
6-1
Overview 6-1 Driver Installation 6-2 iv
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 5
Contents
Modifying CONFIG.SYS File 6-2 Using STARN Program 6-5 Modifying AUTOEXEC.BAT File 6-5 STARN Routine 6-6 Using Read/Write Interface 6-10 Write Interface 6-11 Read Interface 6-12 EOR, EOW, & EOF Characters 6-14 Using IOCTL Calls 6-15 C Programming Interface 6-15 Programming Interface for Other Languages 6-16 IOCTL Routines 6-16
CHAPTER 7
Writing an Application Program
7-1
Introduction 7-1 Starnode Application Interface Routines 7-1 Application Interface Routine Descriptions 7-2 PINIT - Partially Initialize Controller 7-2 SATTN - Send An Attention Signal 7-2 SBRDC - Broadcast A Message 7-3 SBRDT - Broadcast A Message To Type 7-3 SDLAY - Set Delay Loop Count 7-3 SERRCL - Clears Error Table 7-3 SERRGT - Retrieve Error Table 7-3 SGETMEM - Get Memory Configuration 7-3 SINIT - Initialize Controller 7-3 SRECV - Receive A Message 7-4 SRESET - Reset Controller Parameters To Factory Default 7-5 SSEND - Send A Message 7-5 SSETMEM - Set Memory Configuration 7-5 SSIOP - Set I/O Port Address 7-5 SSTAT - Status Of Data Collection Terminal 7-6 SSTOP - Stop Network 7-6 STBLB - Begin Download Table 7-6 STBLC - Clear Download Tables 7-6 STBLN - Next Line Of Download Table 7-6 STIME - Sets Time On Controller 7-7 SVER - Retrieve Starnode Version Number & Table Size 7-7 Developing Application Programs 7-7
Rev B, February 2002
Starnode PC Data Collection Network Operator’s Manual v
Page 6
Contents
CHAPTER 8
Using Interface Routines Introduction
8-1
8-1
Interface Routine Parameters 8-2 C Parameters 8-2 Basic Parameters 8-4 Interface Routines 8-5 PINIT 8-6 SATTN 8-8 SBRDC 8-9 SBRDT 8-11 SDLAY 8-13 SGETMEM 8-14 SERRCL 8-16 SERRGT 8-17 SINIT 8-19 SIOP 8-21 SRECV 8-22 SRESET 8-24 SSEND 8-25 SSETMEM 8-27 SSTAT 8-29 SSTOP 8-31 STBLB 8-32 STBLC 8-34 STBLN 8-35 STIME 8-37 SVER 8-38 vi
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 7
Contents
CHAPTER 9
Controlling System’s Data Collection Terminals Terminal Control Commands
9-1
9-1
Sending System Message 9-2 Sending Prompt Message 9-3 Disabling Time & Date Display 9-3 Enabling Time & Date Display 9-4 Requesting Diagnostic String 9-4 Requesting Status String 9-4 Loading User Program 9-6 Booting User Program 9-6 Resetting Starnode Device 9-7 Clearing Diagnostic Count 9-7 Enabling DC Control Output 9-7 Disabling DC Control Output 9-8 Forwarding String to Application Program 9-9
Screen Control Characters
CHAPTER 10
APPENDIX A
9-9
Maintenance & Troubleshooting Network Troubleshooting
10-1
ASCII Equivalence
A-1
10-1
ASCII Equivalence Table A-1
Index
Rev B, February 2002
Index-1
Starnode PC Data Collection Network Operator’s Manual vii
Page 8
Contents viii
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 9
Preface
Welcome!
PREFACE
Congratulations on your purchase of the Starnode PC Controller. We’re glad to have you as a customer and we’re sure you’ll be pleased with your purchase.
How To Use This Manual The purpose of the Starnode PC Data Collection Network Operator’s Manual is to get you up and running with your system quickly and confidently. This manual presents two major topics: 1.
Instructions on how to install your Starnode Controller.
2.
How to properly use the Starnode Controller.
3.
Instructions on how to develop programs that use the Starnode Controller.
Guide Conventions The following typographical conventions are used throughout this guide. •
Items emphasizing important information are italicized or bolded.
•
Keyboard entries are indicated as an italic.
•
Menu selections, menu items and entries in screen images are indicated as: Run (triggered), Modify..., etc.
Rev B, February 2002
Starnode PC Data Collection Network Operator’s Manual ix
Page 10
Preface
Note: Provides useful information about the current topic.
Caution: Provides information for the prevention of damage to the software.
WARNING! PROVIDES INFORMATION FOR THE PREVENTION OF PERSONAL INJURY OR DAMAGE TO THE HARDWARE.
Getting Assistance We hope this manual will be helpful. If you have any questions or comments, please contact SICK Auto Ident, Inc. at 1-888-264-4641. For additional assistance, please refer to the inside front cover.
SICK Auto Ident, Inc. Customer Service Policy We care about your productivity and will go to great lengths to ensure that you have maximum up-time. Whether you call for a site survey, place an order, or request technical support, you are assured of prompt, courteous, and personalized attention. Our state-of-the-art accounting and computer management systems permit us to instantly access customer order information. A trained staff member is available to assist you with: •
Order entry assistance
•
Product information and application answers
•
Product delivery status
•
Technical support
•
One-on-one problem resolution
Contact your sales representative. Or, to reach SICK Auto Ident, Inc. Customer Service directly, call 1-888-264-4641. The fax number is (781) 828-3150.
x
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002