Home
2755-2.59, Downloading Match Codes from Attnd.Workstation to
Contents
1. Overview Intended Audience What You Need 9 Rockwell Automation Allen Bradley Downloading Match Codes from Attended Workstation to Enhanced Decoder Application Note This application note describes how to use an Attended Workstation Catalog No 2708 DH5 to modify the match code table in a Series B Enhanced Bar Code Decoder Catalog No 2755 DS DD It describes how to enter match code data without using decoder configuration screens on a computer or terminal with VT100 emulation Section Page What You Need 1 Intended Audience 1 Typical System Configuration 2 Communication Cables 3 Configuring the Attended Workstation 4 5 Configuring the Enhanced Decoder Sample Application P rogram 6 You should understand the operation of the following devices how they are configured and the application environment e Series B Enhanced Decoder Catalog No 2755 DS DD e Attended Workstation Catalog No 2708 DH5 The following publications are available for reference Publication Number Publication Title 2155 833 Series B Enhanced Decoder User Manual 2708 ND001 Bulletin 2708 Attended Workstation User Manual 2708 NAG Bulletin 2708 Application Generator Software User Manual 2708 NNM Bulletin 2708 Network Manager Software User Manual The system configuration requires the following items Attended Workstation Catalog No 2708 DH5 Series B Enhanced Decoder Catalog No 2755 DS DD DHS5 Application Generator Soft
2. 10 Prompts operator to enter an output number Line 11 Reads keyboard input and moves the input to variable ZEROOUTNUM Line 13 Prompts operator to enter a symbology code Line 14 Reads keyboard input and moves the input to variable SYMCODE Line 15 Appends contents of SYMCODE to the contents of the variable ZEROSMY CODE formatted with a leading zero Line 17 Prompts operator to enter the number of characters in the symbol Line 18 Reads keyboard input and moves the input to the variable CHAR Line 19 Appends contents of CHAR to the contents of the variable ZEROCHAR formatted with a leading zero Line 21 Prompts operator to enter the match string Line 22 Reads keyboard input and moves the input to the variable MATCH Line 23 Appends contents of ZEROUTNUM to the contents of the variable OWN Line 24 Appends contents of CONSTANT to the contents of OWN Line 25 Appends contents of ZEROSMYCODE to the contents of OWN Line 26 Appends contents of ZEROCHAR to the contents of OWN Line 27 Appends contents of MATCH to the contents of OWN Line 28 Sends contents of the variable OWN to the decoder Line 29 Pauses for 1 2 second Line 30 Reads host port for confirmation Line 31 Clears the screen Line 32 Displays status of transmission at variable IN Line 33 Pauses for 2 seconds Line 37 Returns to beginning of program Application Note Downloading Match Codes from Attended Workstation to Decoder Prog
3. TY HOST PROTOCOL DEVICE ADDRESS ACK CHAR NAK CHAR 7 Data 1 Stop Even RS232 1 None 299 None 299 x5ave and Restart required for these parameters to take effect START SCAN CHAR STOP SCAN CHAR LARGE BUFFER SEND HOST MESSAGE TRANSMISSION CHECK SCANNER A SCANNER B None 255 None 255 None 255 None 255 No At End of Trigger Application Note Downloading Match Codes from Attended Workstation to Decoder Sample Application Program This section contains a BASIC program which allows you to download a set of match codes to the enhanced decoder The match codes are entered at the keyboard You can modify the program to meet the requirements of a specific application Below is an example of a downloaded match code ASCII Message Sent MW 1 1 02 04 4567 Message Write Command L Match String Output Mn Characters in Match String Constant Symbology Code For more details see the User Manual for the Enhanced Decoder The BASIC program is created with the DH5 Application Generator Software Cat No 2708 NAG and downloaded to the Attended Workstation using the DH5 Network Manager Software Cat No 2708 NNM The following table documents the BASIC program Program Line Description Line 6 Transfers the ASCII characters MW to the variable OWN Line 7 Transfers the number 1 to the variable CONSTANT Line 8 Fills variable ZEROSMY CODE with 0 Line 9 Fills variable ZEROCHAR with 0 Line
4. am Listing Start of Program 1 CLEAR SCREEN 2 DISPLAY 6 29 from ALLEN BRADLEY BAR CODE SYSTEMS HIT A 3 DISPLAY 43 35 from ENHANCED DECODER MATCHCODE DOWNLOAD 4 READ KBD TO TEMP O O0 5 CLEAR SCREEN 6 TRANSFER to OWN 1 2 from MW 7 TRANSFER to CONSTANT 1 1 from 1 8 TRANSFER to ZEROSMYCODE 1 1 from O0 9 TRANSFER TO ZEROCHAR 1 1 from O 10 DISPLAY 6 31 from ENTER OUTPUT NUMBER TO ACTIVATE 11 READ KBD to ZEROOUTNUM 58 1 Numeric 12 CLEAR SCREEN 13 DISPLAY 11 20 from ENTER SYMBOLOGY CODE 14 READ KBD to SYMCODE 59 1 NUMERIC 15 APPEND SYMCODE to ZEROSMYCODE 16 CLEAR SCREEN 17 DISPLAY 3 36 from ENTER NUMBER OF CHARACTERS IN SYMBOL 18 READ KBD to CHAR 58 2 Numeric 19 APPEND CHAR to ZEROCHAR 20 CLEAR SCREEN 21 DISPLAY 8 24 from ENTER STRING TO MATCH 22 READ KBD to MATCH 42 32 23 APPEND ZEROOUTNUM to OWN 24 APPEND CONSTANT to OWN 25 APPEND ZEROSMYCODE to OWN 26 APPEND ZEROCHAR to OWN 27 APPEND MATCH to OWN 28 SEND OWN to HOST computer 29 PAUSE 5 30 READ HOST to IN on TIMEOUT 500 GOTO 30 31 CLEAR SCREEN 32 DISPLAY 1 4 from IN 33 PAUSE 2 34 CLEAR SCREEN ao MOVE O to ZEROSYMCODE 36 MOVE 0 to ZEROCHAR 37 GOTTO 1 lt End of Program gt Use ESC to EXIT ENTER to EDIT SPACE for MENU Note Line 32 displays a status number to verify correct transmission A status of 00 means the decoder recognized the command sent For more details see page 15 7 in the Enhanced Decoder
5. le 1 Connection Diagram Decoder to Attended Workstation OOOOO lm eeeeeeeeeeeo OOOO Deer 9 Pin Female Connector 5 7 25 Pin Male Connector DH5 Com 1 Port to Decoder Host Port Cable 2 Connection Diagram Dumb Terminal to Decoder 0 00000000000 RN ous eMe 9 Pin Female Connector 5 1 25 Pin Male Connector Computer Serial Port to Decoder Aux Port Application Note Downloading Match Codes from Attended Workstation to Decoder Configuring the Attended Workstation This section describes the configuration that is required on the Attended Workstation to download the BASIC program to the Workstation A sample BASIC program is provided at the end of this document Set the following parameters on the Attended Workstation Attended Workstation Type Terminal Master Terminal Number 1 Comm Port Mode Polled CRLF Disabled Echo Disabled Handshake Disabled After downloading the BASIC program you must change the setting for the following parameter Comm Port Mode XON XOFF Configuring the Enhanced Decoder Application Note Downloading Match Codes from Attended Workstation to Decoder The host communication parameters of the Series B Enhanced Decoder baud rate parity stop bits must match the settings of the Attended Workstation The host communication parameters are available by selecting option 7 on the Decoder Configuration menu BAUD RATE BITS CHAR PARI
6. n USA
7. s User Manual Rockwell Automation Allen Bradley a Rockwell Automation Business has been helping its customers improve productivity and quality for more than 90 years We design manufacture and support a broad Allen Br adley range of automation products worldwide They include logic processors power and motion control devices operator interfaces sensors and a variety of software Rockwell is one of the world s leading technology companies Worldwide representation Argentina Australia Austria Bahrain Belgium Brazil Bulgaria Canada Chile China PRC Colombia Costa Rica Croatia Cyprus Czech Republic Denmark Ecuador Egypt El Salvador Finland France Germany Greece Guatemala Honduras Hong Kong Hungary Iceland India Indonesia Ireland Israel Italy Jamaica Japan Jordan Korea Kuwait Lebanon Malaysia Mexico Netherlands New Zealand Norway Pakistan Peru Philippines Poland Portugal Puerto Rico Qatar Romania Russia CIS Saudi Arabia Singapore Slovakia Slovenia South Africa Republic Spain Sweden Switzerland Taiwan Thailand Turkey United Arab Emirates United Kingdom United States Uruguay Venezuela Yugoslavia Allen Bradley Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Publication 2755 2 59 March 1995 Copyright 1995 Allen Bradley Company Inc Printed i
8. ware Catalog No 2708 NAG DHS Network Manager Software Catalog No 2708 NNM Communication Cables Computer with VT100 emulator or a VT100 compatible terminal Application Note Downloading Match Codes from Attended Workstation to Decoder Typical System The diagram below shows the system configuration for a typical application Configuration The pin connections for the cables are shown on the next page Cable 1 Decoder to Workstation Attended Workstation Catalog No 2708 DH5 _ 6 Cable 2 Terminal to Decoder BAR CODE DECODER AB ALLEN BRADLEY 9 LASERON A LASER ON B DISCRETE YO 9 CPU 9 TRIGGER ACTIVE A TRIGGER ACTIVE B COMMUNICATION VALID READ A VAUDREADB 000000 Series B Enhanced Decoder 2755 DS DD DH Application Generator an B Network Manager Software Computer with VT100 Emulator or a VT100 compatible terminal Application Note Downloading Match Codes from Attended Workstation to Decoder Communication Cables You must create two communications cables e Cable 1 connects the Com 1 port of the Attended Worskstation to the Host port of the Decoder e Cable 2 connects the computer or terminal to the AUX port of the Decoder Cab
Download Pdf Manuals
Related Search
Related Contents
Kenwood KAC-749S Car Stereo System User Manual iLive IHS1 IHT3807DT User's Manual BeoCenter 1 - Bang & Olufsen Leipzig X Juegos Deportivos Centroamericanos Ajedrez Manual Técnico Positive Displacement Flowmeters Operational 1 - Olympus America 計量ガイド 電子天びんを使って 正しく計量するために Omega Vehicle Security OM5-C User's Manual PM1621取扱説明書V2.0 (日本語) Copyright © All rights reserved.
Failed to retrieve file