Product Manual Excerpt
GEK-907585A July, I989 General Description The ASCII/BASIC module is a microprocessor-based module containing a BASIC language interpreter, with 12K or 28K bytes of memory available for user BASIC programs, and two serial I/O ports for external communications. The module is designed to operate with a Series Six Central Processor Unit (CPU) or it may be used as a stand-alone microcomputer. This module contains 16K bytes of battery-backed (CMOS)RAM, of which approximately 12K bytes is available as user program space. There is 32K bytes of EPROM memory which contains an operating system with built-in diagnostic testing capability. The EPROM memory also contains a powerful GE/BASIC interpreter package which includes special-purpose routines designed to help the user manage various on-board functions as well as the interface to the Series Six CPU. The GE/BASIC language has been enhanced to simplify programming in the Series Six environment, Included are provisions to control data flow between the module and the CPU and the capability to control many aspects of the module s operation. The language is powerful and is especially suited to providing formatted output, which would typically simplify the task of producing reports and CRT displays. Under control of its BASIC program, the ASCII/BASIC module can transfer information to and from the Series Six CPU. It can read the contents of any register, scratch pad, or I/O table in the Series Six CPU. Conversely, it can write data into the registers and the I/O tables in the Series Six CPU. A Series Six CPU with V104 software can initiate communications with an ASCII/BASIC module by executing a DPREQ instruction. Power flow out of the instruction indicates to the CPU s program whether the communications were successful or not, Multiple module applications, or applications using both a DPU and an ASCII/BASIC module require that the CPU contain V104 software or later. V103 software may be used in single module applications, though there are several restrictions pertaining to this usage. This ASCII/BASIC module may be programmed by the user using any serial ASCII terminal connected to Port 1. The terminal protocol may be RS-232, RS-422, or a 20 ma Current Loop. ASCII/BASIC Module BASIC programs may be copied on tape, using a STR- L i N K IIA or III recorder connected to Port 2. Programs saved in this way may be re-loaded into the ASCII/BASIC module and verified before they are used again. The two independent 25-pin serial I/O ports are user-configurable. Both ports support RS-232 and RS-422 protocols, with Port 1 supporting active/passive 20ma Current Loop in addition. Both ports are capable of supporting independent asynchronous serial communications with data rates up to 19.2K bits per second. The module can be used to communicate with external computers, terminals, CRTs, printers, Bar code readers, or other ASCII/BASIC modules using point-to-point, multi-drop, or modem-based RS-232 and RS-422 data links. The isolated on-module power supply provides power to the receivers and transmitters as well as providing 1500 Volts of isolation protection from port to port or from the ports to the Series Six system. Six Light-Emitting Diodes (LEDs) provide port activity and module status indications. If the on-board power-up diagnostics detect a failure, the BOARD OK LED will not turn ON and the remaining five LEDs will provide an error code. A BATTERY OK LED indicates the on-board Lithium battery is within the voltage range required to maintain (CMOS) RAM memory. If this LED is off, or is flashing, the battery should be replaced. The remaining four LEDs provide port activity indications for the respective transmitters and receivers. They will blink when a port is communicating and stay off when there is no activity on the port. The ASCII/BASIC module consists of two boards in a mother-daughter board configuration If this module is to be used as a stand-alone microcomputer it may bc inserted into a single I/O slot in any Series Six High-capacity I/O rack or Model 60 CPU rack. However, if communications are to take place between the ASCII/BASIC module and the Series Six CPU, the ASCII/BASIC module cannot be placed in an I/O rack which is part of a Remote I/O sub-system. Features, benefits, and applications of this module may be found in Table 1. mTrademark Electronics Processors, Inc. 2 ASCII/BASIC Module GEK-9075 8A PROPRIETARY NOTICE By accepting and using an ASCII/BASIC Input/Output Module incorporating software and information proprietary to GE Fanuc Automation North America, Inc. (GE Fanuc Automation) and/or its hcensors (Licensers) you agree that such software and information (Software) constitutes valuable trade secret and proprietary information of GE Fanuc Automation and/or its Licensers and that you shall hold the Software in confidence and secrecy and shall not, in whole or in part, copy or disclose the Software to any third party or make any unauthorized use thereof. Authorized use shall be limited to the ASCII/BASIC Input/Output Module upon which the Software is initially supplied. You further agree that this Agreement shall inure to the benefit of GE Fanuc Automation and any third party holding right, title, or interest in the Software, or any software and information from which it is derived, and their respective transferees, successors, and assignees, and that any subsequent transferee of the module herein shall be obligated to the terms of the agreement. This document is based on information available at the time of its publication. While efforts have been made to render accuracy to its contents, the information contained herein does not purport to cover all details or variations in hardware or software, nor to provide for every possible contingency with installation, operation, and maintenance. Features may be described herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of notice to holders of this document with respect to changes subsequently made. GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency or usefulness of the information contained herein. ASCII/BASIC Module 3 GEK-90758A Table I. FEATURES AND BENEFITS GE/BASIC FEATURES BENEFITS An interpretive extended BASIC language which makes programming easy and flexible. Full function floating point math. Used in solving complex mathematical algorithms. k Dual communication ports. Permits simultaneous and independent communications between the module and two external devices. 12K or 28K bytes of user memory, battery-backed. Fully user addressable for storage of user program. Requires no CPU memory. Special commands for CPU interface. Easy, controlled access to all CPU input, output, and Register data. 16 software interrupts from CPU or internal timers or events. 8-character variable names. Status indicators. Permits user recognizable variable names. Used for module diagnostics and to indicate serial data flow in/out. Interfaces to STR- L I N K IIA and III devices. Enables programs to be easily stored, retrieved and verified. Internal time/date. Facilities report generation and time/date dependent activities. ASCII/BASIC Module - GEK-90758A Module Specifications Space Requirements: One Series Six I/O slot in either a Model 60 CPU rack or a High-Capacity I/O rack Power Requirements: + 5 Vdc, + 12 Vdc (Supplied by rack power supply) 5 Vdc -20 unit loads Storage Temperature: Operating Temperature: Humidity: Altitude: Isolation: Noise & Transient Immunity: 0 to 7o c 0 to 6OOC 5% - 95*/o (non-condensing) Up to 10,000 feet (3,000 meters) above sea level (operating) (Port to Port and either Port to Series Six common). Transient: 1500 Vat, 50/60 Hzs for 1 minute maximum, non repetitive. Continuous: 240 Vdc or RMS ac, 50/60 Hzs. Meets following specifications Showering arcs per NEMA ICS 2,230.40 Surges per ANSI C37.90.9 5 W R.F. transmitter 27-450 Mhz RS-232C/RS-422 Cable Specifications ?? Length, Maximum: 50 feet (15 meters) for RS-232C 4000 feet 11.2 Km) for RS-422 ?? Overall Shield Recommended ?? 24 AWG Minimum ? Mating connector to Port 1 or Port 2 is a D-Subminiature Type. Cannon DB25P (Solder Pot) with DBI 1096B-3 Hood or Equivalent. (Standard RS-232C male connector.) ?? RS-422 Cable Selection The foliowing cables provide acceptable operation at data rates up to I9.2K BPS and up to 4OO0 feet: Belden 9184 Belden 9302 N E C 222P 1 SLCBT At shorter distances, alsmost any twisted pair or shielded twisted pair will work. It should be noted that RS-422 requires that the transmitter and receiver ground be within a few volts of each other or damage to the transmitter and receiver may result. It is also noted that the twisted pairs should be matched so that both transmit signals make up one twisted pair and both receive signals make up the other twisted pair. If this is ignored, then cross-talk can result from the mismatching which will affect the performance of the communication system. FIGURE 1. SPECIFICATIONS GEK-90758A PC 56-84 0174 PORT 1 PORT 2 z 0 0 e USER ITEMS (Part 1 of 2) JI Connector: 25-pin D-type female connector (Programming Port I). 0 J2 Connector: 25-pin D-type female connector (Communications Port 2). 0 J2 Communication selection DIP package : RS-232 or RS-422 configuration read from top of imprinted label. 0 Battery connectors Faceplate LED DESCRIPTION (2A) BOARD OK ON: OFF: Board has passed self-diagnostics and is operating properly. Indicates a failure. (2B) BATTERY OK ON: Lithium battery voltage within limits. FLASHING: Battery performance marginal, replace battery. OFF: Lithium battery will not maintain user memory program in RAM. (2C) REC 1 ON: OFF: Serial data present at receiver 1 input. Receiver 1 input inactive. (2D) TRANS 1 ON: OFF: Serial data present at transmitter 1 output. Transmitter 1 output inactive. (2E) REC 2 ON: OFF: Serial data present at receiver 2 input. Receiver 2 input inactive. (2F) TRANS 2 ON: OFF: Serial data present at transmitter 2 output. Transmitter 2 output inactive. FIGURE 2. USER ITEMS (Part 2 of 2) ASCII/BASIC Module 7 GEK-90758A INSTALLATION The ASCII/BASIC module must be installed in a Series Six High-Capacity I/O rack or in a Model 60 CPU rack. Being an intelligent device, the ASCII/BASIC module can function independently of the CPU. As such, if communications with the CPU are not required, the module may be located in a High Capacity I/O rack in a remote l/O subsystem. Before installing the module, set the Dual- In-Line Package (DIP) switches adjacent to the card slot on the rack backplane to establish which group of eight consecutive input and output points in the CPU I/O tables will be used by the module being installed. For futher information on I/O DIP switch settings, refer to Figure 3 and Table 2. Set the DIP switch banks A,B and C (user items 3,4 and 5 on Figure 2) on the module to the required configurations (see Figures 5a, 5b and 5c), Verify the position of the configuration hybrid DIP package located between JI and 52, it is user item 4 on Figure 2. It is marked 232 on one end and 422 on the other and is mounted on a socket. A small screwdriver is needed to turn the screw which releases the configuration hybrid DIP package from the socket. Position the package so as to provide either RS-232 or RS-422 communications on the lower port (Port 2). The selected communications mode may be read off the surface of the package. The mode selected will appear right-side up. Use the extraction/insertion tool furnished Series Six rack to remove or install the module. with the Guide the faceplate over the circuit board so that the proper contact is made. Then secure the faceplate to the rack using the thumbscrews at the top and the bottom. Power may now be applied to the module and terminals or other external ASCII devices may be connected to Port 1 and/or Port 2. The pinout definitions for Port I and Port 2 are defined in Table 3. There are many devices to which this module can be connected and numerous ways to wire up these connections. A few of the more common wiring connections are shown in Figures 4(a)-(d).