(Cat. No DMC, -DMC1, -DMC4, and -DXPS) User Manual

Similar documents
(Cat. No DMC, -DMC1, -DMC4, and -DXPS) User Manual

(Cat. No DMC, -DMC1, -DMC4, and -DXPS) Product Data

Installation Instructions

Allen-Bradley. User Manual. PLC-5 Backup Communication Module (1785-BCM, 1785-BEM) product icon

Throughout this manual we use notes to make you aware of safety considerations:

Microsoft Azure StorSimple Appliance 8600 Hardware Installation Guide

Allen-Bradley Motors

Throughout this manual we use notes to make you aware of safety considerations:

Copyright. Disclaimer. Safety Instructions !!! !!!!" !!! #!# # " $ #! % !# #! " ' ( ) # * ( ) $ +, $ ' $' " ! " - ' # $ #! # . / $!( $ $ 1" !" 2!

Installation Instructions

An Object-Oriented Approach to File Management within a SAS AF Application

Installation Instructions

8580 Data Modem User Guide

INSTALLATION SUPPLEMENT

Installation Instructions

PCI Expansion Slot Kit for 6181P (1500P) Series D Integrated Display Computer

Going Up Against Time

3URGXFW,QIRUPDWLRQ. Document No Edition 03/2001 &6%5$66

Digital ac/dc (24V) Input Module

1791 Analog Block I/O Input/Output Modules User Manual

Kinetix 6000 Axis Module and Shunt Module

Installation Instructions

Remote I/O Scanner. Catalog Number 1747-SN. Installation Instructions. Publication

6300 Series Inserter OPERATOR MANUAL SECOND EDITION

SQL Query Window Classes: How To Incorporate the SQL Column Expression Builder Class In Custom SAS/AF Applications

InView Firmware Update

Adapter Kit for PanelView 1200/1200e Touch Screen Terminal Cutout

Installation Instructions

SPI Protocol Interface Module Cat. No SPI Concepts Manual

PCI 2 Axis Servo Card

The Oxygen TM VX1-1600SW Graphics Accelerator User s Guide. 3Dlabs, Inc. 480 Potrero Avenue Sunnyvale, CA

Cat. No KT/B. Installation Data

Solar Combiner Enclosure

PCI 2 Axis Servo Card

Installation Instructions

Digital Still Camera

SLC 500 BASIC and BASIC-T Modules

(Cat. No L26B, -L46B, and -L86B) Supplement

DIGITAL WORKSPACE... Ignite your brand! File Routing & Collaboration. Basic Approver Guide 5.0 V1

Installation Instructions

PanelViewt 1200 Transfer Utility User Manual

256 Kbytes (1771-DRS) 1 Mbyte (1771-DRS1) 4 Mbytes (1771-DRS4) Installation Data

PLC 5/250 Programmable Controller System Overview

Data Highway Plus/DH485 Communication Adapter Module (Cat. No KA5/B, KA5P/B) User Manual

Kinetix 300 Memory Module Programmer

Simple Package Measurement Connected Components Building Block. Quick Start

Allen-Bradley Spares

Installation Instructions

UHFRYHU\ WHFKQLTXH PD\ EH XVHIXO LQ GDWDEDVHV ZLWK PXOWLSOH VHWV RI ORJLFDOO\

PowerMonitor 5000 Unit Catalog Number Upgrade

Installation Instructions

Smart Motor Manager DeviceNet Communication Card

This document provides information on: important pre-installation considerations installing the memory cartridge replacing the battery specifications

Differential Liquid/Gas Pressure Transmitter

Teaching Color-Sensing Connected Components Building Block. Quick Start

Pushing SAS/AF and FRAME Entries in MVS to the Limit: The USEPA's AIRS Graphics System

90(*DWHZD\ SURGXFWPDQXDO. Copyright 1995 by Eurotherm Drives, Inc. Printed in the United States of America 0295 HA Issue 2

DeviceNet Adapter for use with DPI AC Drives

Chapter 1 Introduction Who should read this handbook What the chapters describe Other documents...1-2

Bulletin 1395 ControlNet TM Communication Board

Logix5000 Controllers Nonvolatile Memory Card

6HULDO&RPPXQLFDWLRQV 2YHUYLHZ &RQWHQWV

6W\OLVWLF/7& 7HFKQLFDO 5HIHUHQFH *XLGH

Installation Instructions

Installation Instructions

SIMATIC TI505. SINEC H1 Communication Processor. User Manual. Order Number: PPX: Manual Assembly Number: Second Edition

GuardLogix Controller to Kinetix 6000 Drive with Safe-Off using EtherNet/IP CompactBlock Guard I/O Module

Installation Instructions

Color-Sensing Connected Components Building Block. Quick Start

ControlLogix Multi-Vendor Interface Module DH-485 API

Installation Instructions

DeviceNet Communications Module

Auxiliary Function PROM (Cat. No AF1) for the Mini-PLC-2/15 Controller User Manual

Version 2.0. January For Firmware versions 4.25 and 5.2

PowerMonitor 1000 Unit Catalog Number Upgrade

/,1.WR0RGEXV3OXV *DWHZD\ ,QVWUXFWLRQ0DQXDO. Copyright 1995 by Eurotherm Drives, Inc. Printed in the United States of America 0595 HA Issue 2

To connect the AC adapter:

7UDIILF*HQHUDWRUIRUDQ2QOLQH6LPXODWRU

GuardLogix: Safety Gate Application with SensaGuard Switch

ControlLogix Multi-Vendor Interface Module 1756-MVI. Programming Reference Manual. AB Parts

Do Not Copy. Important User Information For More Information... 3

INSTALLATION INSTRUCTIONS

InView Marquee Message Display

MODULAR SAFETY INTEGRATED CONTROLLER

SIMATIC Sensors. RFID systems FC 35. Introduction. Description 2. Parameter settings 3. Commissioning 4. Error messages and troubleshooting

Auxiliary Function PROM (Cat. No AF4) for the Mini-PLC-2/15 Controller User Manual

Catalog Numbers 9308-RSFB64ENE, 9308-RSFB256ENE, 9308-RSFB1024ENE

Version 1.2. January Publication ERSC-1300

Read this chapter to familiarize yourself with this manual. It tells you how to use the manual properly and efficiently.

Installation Data. The 1771 OB module can control the following output devices: dc motor starters indicators solenoids

Using a Guard Locking Interlock Switch and Light Curtains with DeviceNet Guard I/O and a GuardLogix Controller

Block I/O Cat. No IOBA and -IOBB Series B User Manual

InView Communication Modules

GuardLogix: Dual Zone Gate Protection with E-stop and Trojan Interlock Switch

2 Using the Win32. File System and Character I/O

1791 Discrete I/O AC and DC Block I/O Input and Output Modules User Manual

62&&(5$/,&( 3$75,&.5$0(5 -($1&+5,6723+(=8))(5(<

BACKUP CONVERTER. Version 1.1

A Guide to Managing a SAS Data Warehouse for Use Across an Intranet

Installation Instructions

Transcription:

(Cat No 1771-DMC, -DMC1, -DMC4, and -DXPS) User Manual

Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes, and standards The illustrations, charts, sample programs, and layout examples shown in this guide are intended solely for purposes of example Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based on the examples shown in this publication Allen-Bradley publication SGI-11, Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control (available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc is prohibited Throughout this manual, we use notes to make you aware of safety considerations: ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss Attention statements help you to: identify a hazard avoid the hazard recognize the consequences Important: Identifies information that is critical for successful application and understanding of the product DOS is a registerd trademark of MicroSoft IBM is a registered trademark of International Business Machines Corporation Ethernet is a registered trademark of Digital Equipment Corporation OS-9 is a trademark of Microware Systems Corporation PLC, PLC-2, PLC-3, and PLC-5 are registered trademarks of Allen-Bradley Company, Inc INTERCHANGE, PLC-5/11, PLC-5/20, PLC-5/20E, PLC-5/30, PLC-5/40, PLC-5/40E, PLC-5/40L, PLC-5/60, PLC-5/60L, PLC-5/80, PLC-5/80E, and PLC-5/250 are trademarks of Allen-Bradley Company, Inc

This edition of this publication contains new and updated information To help you find new and updated information in this manual, we have included change bars as shown to the left of this paragraph i

Table of Contents

Table of Contents

Table of Contents

Table of Contents

Table of Contents

Use this manual to help you install, configure, and operate your control coprocessor This manual shows you examples of screens and programs to help you prepare your application programs Important: The programming-terminal screens and programs are examples only Your applications may be different from the examples; therefore, the content of your screens and user programs may be different Table 1, Table 2, and Table 3 show the documents available with the control coprocessor iii

Use the flow chart at the beginning of each chapter to determine where you are in the process of learning about the control coprocessor To the left of the flow chart is a table that shows you the primary activities in the chapter and a page number for each activity Contact your nearest Allen-Bradley office or distributor for more information about your control coprocessor or other Allen-Bradley products For a list of publications with information about Allen-Bradley products, see the Allen-Bradley Publication Index, publication SD499 Use the Allen-Bradley Publication Problem Report, publication ICCG-521, to submit any corrections to or suggestions for this publication Help us improve the quality of customer documentation iv

1 This chapter introduces the applications and functions of the control coprocessor The chapter also covers the hardware components and the programming capabilities of a control coprocessor The control coprocessor expands the capability of a programmablecontroller system by running C, BASIC, and assembler programs that perform tasks such as: manipulating and analyzing input, output, and other information gathered from the programmable controller communicating with devices external to the programmable controller system via the Ethernet or asynchronous serial communication port(s) These user programs run asynchronously to, and independently of, the programmable-controller control logic, but they do have access to its memory You can use the control-logic programs in your programmable controller to start and stop your C, BASIC, or assembler programs 1-1

You can use the control coprocessor for applications such as: calculating complex math or application-specific algorithms using C and/or BASIC programs production scheduling or historical-data logging/tracking high-speed search and compare of very large files or look-up tables protocol conversion for interfacing a programmable controller with a variety of field devices The control coprocessor consists of a main module and an optional serial expander module Table 1A lists catalog numbers for the controlcoprocessor main modules and the optional serial expander module 1 1 The control-coprocessor main module is a 1-slot module If you use both the control-coprocessor main module and a serial expander module, you require 2 slots The figure at the left shows a 2-slot module with a 1771-DMC1 or -DMC4 main module and a serial expander module The control coprocessor is a member of the 1771 Universal I/O System You can use it with or without a programmable controller 1-2

Table 1B describes the hardware elements for the main module 1-3

Table 1C describes the hardware elements for the optional serial expander module The control coprocessor communicates with a programmable controller through a direct connection to the programmable controller directconnect mode or via the 1771 I/O chassis backplane standalone mode When you use the serial expander module in either mode, place it immediately adjacent to the main module under the same locking tab In direct-connect mode, either the control coprocessor or the PLC-5 programmable controller initiates communications The control coprocessor can read from and write to the PLC-5 programmable controller data table asynchronously to the ladder-program scan You can directly connect the control coprocessor to a PLC-5 programmable controller that has the coprocessor expansion port eg, a PLC-5/11, PLC-5/20, PLC-5/20E, PLC-5/30, PLC-5/40 (series B, revision B or later), PLC-5/40E, PLC-5/40L, PLC-5/60 (series B, revision B or later), PLC-5/60L, PLC-5/80, and PLC-5/80E programmable controller 1-4

discrete I/O read/write block-transfer read/write Tip Important: If a fault occurs in a control coprocessor that is connected to certain PLC-5 programmable controllers via the side connector, the programmable controller may be unable to clear the major fault word without first resetting the control coprocessor In extreme cases, you may need to separate the control coprocessor from the programmable controller The programmable controllers on which this may be necessary are: PLC-5/60 (series B revision B) PLC-5/40 (series B revision B) PLC-5/30 (series A revision B) PLC-5/20 (series A revision A) PLC-5/11 (series A revision A) In standalone mode, you do not connect the control coprocessor directly to the PLC programmable controller The control coprocessor can reside in the same chassis as the programmable controller or in a remote chassis 1-5

This section provides an overview of the programming interface and capabilities of the control coprocessor ATTENTION: Control-coprocessor programs that unintentionally write to memory outside their own data space can corrupt memory for other applications or corrupt system memory We strongly recommend that development be done in an offline or non-critical context You can develop programs and communicate with the control coprocessor using a DOS-based computer or an ASCII terminal See Table 1D 1-6

The PCBridge software package (1771-PCB) operates on a DOS- based personal computer This software package supports offline and online user activities Use this software to: download/upload files and executable modules or files and modules to/from the control coprocessor develop and edit source files compile, assemble, and link multiple source files written in C or assembler emulate an ASCII terminal, which allows your personal computer to act as a console device to the control coprocessor use various online programs, such as basic (BASIC language environment) and SrcDbg (source-level debugger for C programs) access configuration (offline options) and other miscellaneous utilities initialize and configure the Ethernet port The control-coprocessor operating system is Microware OS-9 This real-time, multitasking operating system offers: command-line interface semaphore utilities inter-task communication facilities run-time task creation and deletion facilities task-prioritization facilities task-scheduling utilities unified I/O and file system for access to RAM disk and communication ports See the OS-9 Operating System User Manual, publication 1771-65102, for more information 1-7

You develop C, BASIC, and assembler programs using the PCBridge software You can also develop and edit BASIC programs on the control coprocessor using a terminal or a personal computer for terminal emulation See the OS-9 C Language User Manual, publication 1771-65104; the OS-9 Assembler User Manual, publication 1771-65106; and the OS-9 BASIC User Manual, publication 1771-65103, for more information on these languages 1-8

2 This chapter provides instructions on how to install your control-coprocessor main module and serial expander module You need the following items for installation: control coprocessor serial expander module (optional) connector header (when using direct-connect mode) four connecting screws and spacers (when using direct-connect mode) lithium battery, battery cover, and mounting screw ESD grounding wrist strap chassis keying bands power supply chassis (properly grounded) 2-1

Before you install your control coprocessor, select an appropriate power supply See the Control, Communication and Information Product Catalog, publication ICCG-11, for backplane current requirements To determine the size of power supply that you require: 1 Record the total current draw for all I/O modules in the chassis 2 Record the current draw for the programmable controller or adapter module in the chassis 3 Record 250 Amps for each control-coprocessor main module in the chassis 4 When you have a main module with Ethernet (1771-DMC1 or 1771-DMC4), record 3 times the current draw for your transceiver If your transceiver requires 300 ma, for example, record 900 ma (or 90 Amps) as the result of: 300 ma x 3 5 When you use a serial expander module, record 150 Amps for each module in the chassis 6 Total the values recorded in steps 1 through 5 7 Select a power supply dependent on the input voltage required and total current requirements recorded in step 6 8 Select a cable for the power supply Important: You cannot use an external power supply and a slot-based power supply to power the same chassis they are not compatible The control coprocessor is shipped in a static-shielded container to guard against electrostatic electrostatic discharge (ESD) ESD can damage integrated circuits or semiconductors in the module if you touch backplane connector pins ESD can also damage the module when you set configuration plugs or switches or add a SIMM (RAM memory) Avoid electrostatic damage by observing the following precautions: Remain in contact with an approved ground point while handling the module (by wearing a properly grounded wrist strap) Do not touch the backplane connector or connector pins When not in use, keep the module in its static-shielded container 2-2

The 1770-XYC battery ships with the control coprocessor and requires special handling See Allen-Bradley Guidelines for Lithium Battery Handling and Disposal, publication AG-54 A red BATT status LED on the main module indicates that the battery needs replacement Replace the battery while the module is powered so that your programs are maintained in memory You may lose your programs if you remove the battery when power is removed ATTENTION: To maintain CSA certification for hazardous areas, do not substitute any other battery for the 1770-XYC You can install the battery either before or after you install the control coprocessor in the I/O chassis To install the battery in the main module: 1 Remove the battery from the shipping bag 2 Remove the battery cover 3 Remove any existing battery by pressing the lever on the battery-side connector and sliding the connectors apart 4 Connect the battery 2-3

5 Place the battery and the wires in the main module 6 Install the battery cover 7 Using an erasable marker, record the battery-installation date Refer to the Allen-Bradley Guidelines for Lithium Battery Handling and Disposal, publication AG-54 Do not dispose of lithium batteries in a general trash collection when their combined weight is greater than or equal to 1/2 gram A single 1770-XYC battery contains 65 grams of lithium Check your state and local regulations that deal with the disposal of lithium batteries Follow these guidelines when you dispose of a control-coprocessor battery: ATTENTION: Follow these precautions: Do not incinerate or expose the battery to high temperatures Do not solder the battery or leads; the battery could explode Do not open, puncture, or crush the battery It could explode; and toxic, corrosive, and flammable chemicals could be exposed Do not charge the battery An explosion might result, or the cell might overheat and cause burns Do not short positive or negative terminals together The battery will heat up 2-4

You receive plastic keying bands with each I/O chassis Insert the keying bands in the backplane sockets of the I/O chassis, using the numbers beside the backplane connector as a guide See Figure 21 and Figure 22 35 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 35 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 23 2 4 6 8 10 12 14 16 18 20 22 24 2-5

The COMM0 port has no switches to configure Set the COMM1 switches to configure the 25-pin asynchronous communication port Set COMM2 and COMM3 switches to configure the 25-pin asynchronous communication ports 2-6

Install the control coprocessor in either direct-connect or standalone mode For direct-connect installation, connect the control coprocessor to a PLC-5 programmable controller (with expansion port) using a connector header Then, install the control coprocessor/plc-5 programmable controller, as a unit, into an I/O chassis You need the following hardware: PLC-5 programmable controller with side connector PLC-5 connector header (1785-CNH/A) four screws four spacers ESD grounding wrist strap phillips screwdriver 2-7

Connect Control Coprocessor to Programmable Controller To connect the control coprocessor to the PLC-5 programmable controller: ATTENTION: Avoid bending pins when installing the connector header into the PLC-5 programmable-controller side connector Also, avoid bending pins when installing the control coprocessor onto the connector header 1 Place the PLC-5 programmable controller on a flat, anti-static surface with the side connector face up 2 Hold the connector header at the grip ridge with pins down 3 Install the connector header into the programmable controller 4 Place four nylon spacers over the programmable controller screw holes, adhesive side down 5 Install the control coprocessor onto the shroud side of the connector header 6 Install four screws, adjust the module alignment, and then tighten 2-8

Install the Direct-Connect Control Coprocessor To install the PLC-5 programmable controller and control coprocessor in the 1771 I/O chassis: Important: If you are using the 1771 chassis with the locking bar rather than the locking tabs, refer to the Universal I/O Chassis Installation Data, publication 1771-2210, for information on use 1 Verify that power is OFF to the 1771 I/O chassis 2 Install direct-connect modules in the I/O chassis using the left-most slots 3 Slide until the modules fit into the backplane connectors 4 Close the locking tabs Install the serial expander module in the 1771 I/O chassis as follows 1 Verify that power is OFF to the 1771 I/O chassis 2 Slide the module into the I/O chassis in the slot immediately adjacent to the main module 3 Slide until the module fits into the backplane connector 4 Close the locking tab The serial expander module must be in the same module group pair and under the same locking tab as the main module 2-9

You can place the control coprocessor in any available slot in the I/O chassis with the following limitations: We recommend that you configure the chassis for 1-slot addressing The serial expander module, when used, must reside in the same module pair (under the same locking tab) as the main module If you have two control coprocessors, place them in different module pairs Two coprocessors cannot be placed under one locking tab Place 1785-BCM/BEM backup communication module(s) in a different module pair (under a different locking tab) than the control coprocessor You can place the 1785-BCM module in a slot adjacent to the control coprocessor but in a different module pair Place 1771 I/O modules that require expander modules in a different module pair (under a different locking tab) than the control coprocessor Examples are: 1771-IX, -QC, -QA, -OF, and -IF To install the control coprocessor in the 1771 I/O chassis: 1 Verify that power is OFF to the 1771 I/O chassis 2 Using the card guides, insert the control coprocessor into the designated slot of the I/O chassis 3 Slide the module until it fits into the chassis backplane connector 4 Close the chassis locking tab for the module 5 Install the serial expander module using the previous section, Serial Expander Module Installation, beginning on page 2-9 On the serial expander module, wire your load to the normally open (NO) or normally closed (NC) position, as appropriate for your application The fault relay is activated automatically when the main module faults or a main module is not adjacent to the serial expander module A fault condition occurs when the control coprocessor s firmware cannot keep a hardware watchdog from timing out The fault relay can handle a load of 500 ma at 30 Vac/dc You can use the fault relay for resistive loads without contact protection (to its rated load) For capacitive, inductive, filament, or other loads that produce surges, contact protection is recommended Use relay manufacturer s data books to select contact protection devices or see the 1771 Discrete I/O 2-10

Relay Contact Output Modules Product Data, publication 1771-2181, for more information The control coprocessor performs the following functions at power up: bootstrap routine OS-9 initialization A-B initialization (if direct-connect) invokes either a user start-up program or the OS-9 shell (command interpreter) hardware initialization (RAM disk, OS-9 clock, serial ports) fault-relay energizing You will get the following normal indications on the main module after power up: CPU LED blinks green four times and then remains lit green BATT LED blinks red four times and then is not lit (this indicates a properly charged battery) You will get the following normal indication on the optional serial expander module after power up: the four character positions on the ASCII display blink four times and then are not lit When removing a main module in direct-connect or standalone mode, first verify that power is off to the 1771 I/O chassis; then, remove the module by reversing the installation procedure If in direct-connect mode, remove the module from the PLC-5 programmable controller When removing a serial expander module, first verify that power is off to the 1771 I/O chassis; then, release the locking tab and remove the module from the I/O chassis After you complete the installation and powerup of the control coprocessor, proceed to Chapter 3 Chapter 3 instructs you on how to connect a programming terminal to the control coprocessor and establish communication 2-11

&KDSWHU *HWWLQJ6WDUWHGZLWKWKH WKH&RQWURO&RSURFHVVRU &KDSWHU2EMHFWLYHV 7KLV FKDSWHU SURYLGHV LQVWUXFWLRQVRQ KRZ WR VHW XS \RXU FRQWURO FRSURFHVVRUIRU FRPPXQLFDWLRQE\ VHWWLQJ XS \RXU SURJUDPPLQJ WHUPLQDO VHWWLQJ XS FRQILJXUDWLRQSDUDPHWHUV IRU WKH LQWHUIDFH EHWZHHQ WKH SURJUDPPLQJ WHUPLQDO DQG WKH FRQWURO FRSURFHVVRU WHVWLQJ WKH LQWHUIDFH E\ FRPSOHWLQJ WKH LQWHUIDFH WDVNV )RULQIRUPDWLRQRQ &RQQHFWLQJWKH SURJUDPPLQJWHUPLQDO 6HOHFWLQJWKH SURJUDPPLQJLQWHUIDFH 6HHSDJH,QWURGXFWLRQ,QVWDOOLQJWKH&RQWURO &RSURFHVVRU 8VLQJWKH(WKHUQHW,QWHUIDFH,QVWDOOLQJ3&% VRIWZDUH $FFHVVLQJWKH 3&%ULGJHVRIWZDUH &RQILJXULQJFRPPXQLFDWLRQ SDUDPHWHUV *HWWLQJ6WDUWHGZLWKWKH &RQWURO&RSURFHVVRU 8VLQJWKH3URJUDPPLQJ (QYLURQPHQW 8VLQJWKH6HULDO3RUWV,QWHUSUHWLQJ)DXOW &RGHVDQG'LVSOD\V $FFHVVLQJWKH26 FRPPDQGOLQHLQWHUIDFH &RQILJXULQJWKH FRQWUROFRSURFHVVRU 'HYHORSLQJ3URJUDPV 9LHZLQJFRQWURO FRSURFHVVRUFXUUHQWVWDWXV &UHDWLQJDXVHUVWDUWXSILOH 6HQGLQJDWH[WILOHWRWKH FRQWUROFRSURFHVVRU 8VLQJRWKHU 26FRPPDQGV &RQQHFWWKH 3URJUDPPLQJ7HUPLQDO <RX FDQ SURJUDP WKH FRQWURO FRSURFHVVRUYLD DSHUVRQDO FRPSXWHU RU DQ $6&,, WHUPLQDO 3HUVRQDO&RPSXWHU'26%DVHG7HUPLQDOV,%03&$7¼ $OOHQ%UDGOH\777RU7 $6&,,7HUPLQDOV 97¼'(& 2WKHU$6&,,WHUPLQDOV

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU &RQQHFW WKH SURJUDPPLQJ WHUPLQDO WR WKH &200 SRUW³GHIDXOW WHUPLQDO SRUW³RI WKH PDLQ PRGXOH 6HH $SSHQGL[ & IRU FDEOH DQG FRQQHFWRU LQIRUPDWLRQ )LJXUH 3HUVRQDO &RPSXWHU WR &RQWURO &RSURFHVVRU &RQQHFWLRQ &RQWURO &RSURFHVVRU &200 6HULDO &RPPXQLFDWLRQ /LQN 7 6HULDO 3RUW &20 6HOHFW WKH 3URJUDPPLQJ,QWHUIDFH 7KH SURJUDPPLQJ WHUPLQDO WKDW \RX VHOHFW GHWHUPLQHV KRZ \RX SURJUDP WKH FRQWURO FRSURFHVVRU,I \RX XVH <RX SURJUDP XVLQJ 6HH SDJH $ SHUVRQDO FRPSXWHU WKH 3&%ULGJH VRIWZDUH DQG \RXU WH[W HGLWRU $Q $6&,, WHUPLQDO 26 FRPPDQGOLQH LQWHUIDFH,QVWDOO WKH 6RIWZDUH RQ <RXU 3HUVRQDO &RPSXWHU %HIRUH \RX LQVWDOO DQG XVH WKH 3&%ULGJH VRIWZDUH 3&% \RX PXVW KDYH D ZRUNLQJ NQRZOHGJH RI '26 DQG LWV XWLOLWLHV VXFK DV ',5 &23< DQG 7<3( <RX PXVW DOVR EH DEOH WR XVH D '26 WH[W HGLWRU 7R LQVWDOO WKH 3&%ULGJH VRIWZDUH DQG WKH OLEUDU\ RI IXQFWLRQV \RX ZLOO XVH IRU \RXU SURJUDPPLQJ \RXU SHUVRQDO FRPSXWHU PXVW KDYH DW OHDVW E\WHV 5$0 0E\WHV RQOLQH GLVN VWRUDJH '26 RU ODWHU,QFOXGHG ZLWK WKH 3&%ULGJH VRIWZDUH LV D & FURVVFRPSLOHU FURVVDVVHPEOHU DQG FURVVOLQNHU D & VRXUFHFRGH GHEXJJHU HUPLW³IRU VHQGLQJUHFHLYLQJ GDWD ILOHV DQG DSSOLFDWLRQ SURJUDPV,QWHUQHWVXSSRUW VRIWZDUH $% LQWHUIDFH OLEUDULHV D WH[W HGLWRU

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 6HH $SSHQGL[ ' IRU PRUH LQIRUPDWLRQ 6HH &KDSWHU DQG $SSHQGL[ % IRU PRUH LQIRUPDWLRQ RQ WKH $% LQWHUIDFH OLEUDULHV 7R LQVWDOO WKH VRIWZDUH,QVHUW WKH ILUVW GLVN $W WKH '26 SURPSW W\SH install dest_drive : DQG SUHVV [Return] )RU H[DPSOH LI \RXU VRXUFH GULYH LV E DQG \RX ZDQW WR LQVWDOO WKH VRIWZDUH RQ \RXU KDUG GULYH F WKHQ W\SH b:install c: DQG SUHVV [Return] 7KH VRIWZDUH GLVSOD\V D VFUHHQ UHJDUGLQJ WKH OLFHQVLQJ DJUHHPHQW DQG FRS\ULJKW SURWHFWLRQ 3UHVV [Return] )LJXUH 5HJLVWUDWLRQ 6FUHHQ )LOO LQ \RXU FRPSDQ\ QDPH XS WR FKDUDFWHUV DQG DGGUHVV DV ZHOO DV WKH VHULDO QXPEHU RI \RXU VRIWZDUH 3UHVV [Return @ WR VDYH <RX JHW WKH VFUHHQ WR LQVWDOO \RXU VRIWZDUH

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU )LJXUH 'RZQORDG WKH 3&%ULGJH 6RIWZDUH ',5(&725< 6758&785( &? 3UHVV [Return @ WR EHJLQ LQVWDOOLQJ WKH VRIWZDUH 7KH SHUFHQWDJH FRPSOHWH JUDSK LQFUHPHQWV DV WKH VRIWZDUH LV ORDGHG,QVWDOO WKH UHPDLQLQJ GLVNV ZKHQ WKH V\VWHP SURPSWV \RX 3&%5,'*( (',725 )LJXUH )LOHV WR 0RGLI\,1(7 26& '()6 /,% 87,/ (;$03/(6 %,1,PSRUWDQW $IWHU \RX KDYH LQVWDOOHG WKH GLVNV WKH V\VWHP LQIRUPV \RX RI DQ\ ILOHV WKDW \RX PXVW PRGLI\³HJ $872(;(&%$7 3&%&1)³WR HQDEOH WKH FRPSLOHU WR VWDUW SURSHUO\ 'R QRW XVH WKH 12(06 IODJ DV SDUW RI WKH (00(;( FRPPDQG LQ WKH &21),*6<6 ILOH,QVWHDG XVH WKH 5$0 IODJ ZKLFK DOORZV WKH 3&%ULGJH VRIWZDUH DQG RWKHU DSSOLFDWLRQV WR XVH ERWK H[WHQGHG DQG H[SDQGHG PHPRU\

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU $FFHVV WKH 3&%ULGJH 6RIWZDUH $FFHVV WKH 3&%ULGJH VRIWZDUH IURP WKH '26 FRPPDQG OLQH E\ W\SLQJ pcb DQG SUHVVLQJ [Return] 6HH )LJXUH )LJXUH 3&%ULGJH 0DLQ 0HQX 1RWH WKDW WKH +PCB2OLQH DW WKH ERWWRP RI WKH VFUHHQ LV D VWDWXV OLQH $PRQJ RWKHU LQIRUPDWLRQ WKDW LW SURYLGHV LW LQIRUPV \RX RI WKH VWDWXV RI WKH OLQN EHWZHHQ WKH SHUVRQDO FRPSXWHU DQG WKH FRQWURO FRSURFHVVRU 7LS 7R VHOHFW RSWLRQV IURP WKH PDLQ PHQX XVH WKH DUURZ NH\V WR FXUVRU WR D FKRLFH RQ WKH PHQX DQG SUHVV [Return ] RU \RX FDQ VLPSO\ W\SH WKH OHWWHU RI \RXU FKRLFH 8VH DQ\ RI WKH IROORZLQJ PHWKRGV WR KLJKOLJKW D PHQX LWHP XVH WKH [ ] RU [ ] FXUVRU NH\V WR PRYH WKH KLJKOLJKWLQJ XS RU GRZQ XVH [Space Bar] WR PRYH WKH KLJKOLJKWLQJ WR WKH QH[W LWHP RQ WKH PHQX HQWHU WKH ILUVW FKDUDFWHU RI D PHQX LWHP WR VHOHFW LW 0DQ\ RI WKH PHQX LWHPV ZKHQ VHOHFWHG SURPSW \RX IRU IXUWKHU LQIRUPDWLRQ 0RVW VFUHHQV DOORZ \RX WR H[LW DQG VWRS H[HFXWLRQ RI WKH RSWLRQ LI \RX SUHVV [Esc] EHIRUH \RX SUHVV [Return] 7KLV DERUWV WKH RSHUDWLRQ DQG UHWXUQV \RX WR WKH SUHYLRXV VFUHHQ

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU &RQILJXUH &RPPXQLFDWLRQ 3DUDPHWHUV 7R FRQILJXUH SDUDPHWHUV IRU WKH FRPPXQLFDWLRQ LQWHUIDFH EHWZHHQ WKH SHUVRQDO FRPSXWHU DQG WKH FRQWURO FRSURFHVVRU 6HOHFW C) Configuration Options RQ WKH 3&%ULGJH PDLQ PHQX <RX JHW WKH 3&%ULGJH &RQILJXUDWLRQ 2SWLRQV VFUHHQ 6HH )LJXUH )LJXUH 3&%ULGJH &RQILJXUDWLRQ 2SWLRQV 6FUHHQ 2Q WKH 3&%ULGJH &RQILJXUDWLRQ 2SWLRQV PHQX VHOHFW C) Communication Parameters 6HH )LJXUH )LJXUH 3&%ULGJH &RPPXQLFDWLRQ 3DUDPHWHUV 6FUHHQ

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 2Q WKH 3&%ULGJH &RPPXQLFDWLRQV 3DUDPHWHUV VFUHHQ VHOHFW WKH SDUDPHWHUV IRU FRPPXQLFDWLRQ ZLWK WKH FRQWURO FRSURFHVVRU 7KHVH SDUDPHWHUV DUH WKH GHIDXOW VHWXS RI WKH FRQWURO FRSURFHVVRU EDXG QR SDULW\ GDWD ELWV VWRS ELW 6HH $SSHQGL[ $ &RQWURO&RSURFHVVRU 6SHFLILFDWLRQV IRU RWKHU DYDLODEOH UDWHV RI FRPPXQLFDWLRQ,PSRUWDQW,I \RX ZDQW WR FKDQJH WKH FRPPXQLFDWLRQ UDWH IRU WKH SHUVRQDO FRPSXWHU YLD WKH 3&%ULGJH VRIWZDUH \RX PXVW ILUVW FKDQJH WKH FRPPXQLFDWLRQ UDWH IRU WKH FRQWURO FRSURFHVVRU 6HH WKH VHFWLRQ RQ FUHDWLQJ D XVHU VWDUWXS ILOH³SDJH ³IRU PRUH LQIRUPDWLRQ 6HOHFW HDFK SDUDPHWHU WKDW \RX ZDQW WR FKDQJH <RX JHW D PHQX ZLWK RSWLRQV DYDLODEOH IRU WKDW SDUDPHWHU 6HOHFW WKH RSWLRQ IRU \RXU DSSOLFDWLRQ $IWHU HQWHULQJ DOO RI \RXU QHZ SDUDPHWHUV SUHVV [Esc] WR TXLW WKH VFUHHQ DQG UHWXUQ WR WKH FRQILJXUDWLRQ PHQX 6HOHFW W) Write Configuration File WR VDYH \RXU FRPPXQLFDWLRQ FRQILJXUDWLRQ 3UHVV [Esc] WR TXLW WKH VFUHHQ DQG UHWXUQ WR WKH 3&%ULGJH PDLQ PHQX $FFHVV DQG 8VH WKH 26 &RPPDQG/LQH,QWHUIDFH 7R XVH WKH 26 FRPPDQGOLQH LQWHUIDFH 3UHVV [Return] RQ \RXU $6&,, WHUPLQDO RU VHOHFW O) OS-9 Terminal DQG SUHVV [Return] RQ WKH 3&%ULGJH PDLQ PHQX WR DFFHVV WKH 26 FRPPDQGOLQH LQWHUIDFH $W WKH $ SURPSW W\SH DQ\ RI WKH DYDLODEOH 26 VWDQGDUG XWLOLWLHV DQG EXLOWLQ VKHOO FRPPDQGV 6HH WKH 26 2SHUDWLQJ 6\VWHP 8VHU 0DQXDO SXEOLFDWLRQ IRU PRUH LQIRUPDWLRQ *HW +HOS IRU 26 8WLOLWLHV $W WKH $ SURPSW W\SH WKH QDPH RI WKH XWLOLW\ IRU ZKLFK \RX ZDQW PRUH LQIRUPDWLRQ IROORZHG E\ VSDFH -? DQG SUHVV [Return ] 6HH WKH H[DPSOH LQ )LJXUH <RX JHW LQIRUPDWLRQ RQ WKH V\QWD[ IXQFWLRQ DQG RSWLRQV IRU WKDW XWLOLW\

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU )LJXUH 26 &RPPDQG/LQH,QWHUIDFH 8WLOLW\ +HOS PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge $ deldir -? Syntax: deldir [<opts>] {<dir> [<opts>]} Function: delete a directory Options: -q delete directories without asking questions -f delete files with no write permission -z get list of directory names from standard input -z=<path> get list of directory names from <path> $ VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge $W WKH $ SURPSW W\SH mdir DQG SUHVV [Return ] IRU D OLVW RI DOO DYDLODEOH XWLOLWLHV 6HW 7LPH IRU 26 $W WKH $ SURPSW W\SH setime DQG SUHVV [Return ] WR VHW WKH WLPH DQG GDWH IRU WKH FRQWUROFRSURFHVVRU RSHUDWLQJ V\VWHP 6HH )LJXUH )LJXUH 26 &RPPDQG/LQH,QWHUIDFH 6HWLPH 8WLOLW\ PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge $ setime yy/mm/dd hh:mm:ss [am/pm] Time: 92/04/30 16:06:20 April 30, 1994 Thursday 4:06:20 pm $ date April 30, 1994 Thrusday 4:06:23 pm $ VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU &UHDWH D 7HVW 'LUHFWRU\ $W WKH $ SURPSW W\SH makdir IROORZHG E\ D VSDFH DQG WKH QDPH RI WKH WHVW GLUHFWRU\ WKDW \RX ZDQW WR FUHDWH WKHQ SUHVV [Return ] &KDQJH \RXU ZRUNLQJ GLUHFWRU\ WR WKH RQH WKDW \RX MXVW FUHDWHG 6HH )LJXUH )LJXUH 26 &RPPDQG/LQH,QWHUIDFH 0DNH 'LUHFWRU\ DQG &KDQJH 'LUHFWRU\ PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge $ pd $ makdir TEST_DIR $ dir TEST_DIR $ Directory of 16:07:18 VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge 5HWXUQ WR WKH 3&%ULGJH 0DLQ 0HQX IURP WKH 26 &RPPDQG /LQH 3UHVV [F1] WR UHWXUQ WR WKH 3&%ULGJH PDLQ PHQX IURP WKH 26 FRPPDQG OLQH LQWHUIDFH )URP WKH 3&%ULGJH PDLQ PHQX \RX FDQ VHOHFW RWKHU 3&%ULGJH RSWLRQV &RQILJXUH WKH &RQWURO &RSURFHVVRU <RX PXVW GR WKH IROORZLQJ WR FRQILJXUH WKH FRQWURO FRSURFHVVRU 7R FRQILJXUH 6HH SDJH 'HIDXOW VWDUWXS SDUDPHWHUV &&B&)* 6\VWHP PHPRU\ 0(0B&)*

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU &RQILJXUH WKH 'HIDXOW 6WDUWXS 3DUDPHWHUV &RQILJXUH WKH GHIDXOW VWDUWXS SDUDPHWHUV RI WKH FRQWURO FRSURFHVVRU XVLQJ WKH &&B&)* XWLOLW\ 6HH )LJXUH )LJXUH 'HIDXOW 3DUDPHWHUV IRU WKH &RQWURO &RSURFHVVRU PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge $ cc_cfg -add=22 -rst=disable -tag=0 Control Coprocessor Station Address: 22 octal PLC-5 to Control Coprocessor reset: disabled TAGs - Size of current TAG Table: 1024 Size requested for next boot: 0 VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge :LWK WKLV XWLOLW\ \RX VHW WKH FRQWURO FRSURFHVVRU VWDWLRQ DGGUHVV HQDEOHGLVDEOH WKH FDSDELOLW\ RI WKH 3/& SURJUDPPDEOH FRQWUROOHU WR UHVHW WKH FRQWURO FRSURFHVVRU ZKHQ WKH 3/& SURJUDPPDEOH FRQWUROOHU HQFRXQWHUV D KDUGZDUH IDXOW FRQILJXUH WKH VL]H RI WKH 7$* WDEOH 6\QWD[ IRU WKH &&B&)* XWLOLW\ LV cc_cfg {<opts>} functions: Configure Control Coprocessor Parameters options: -add=<octl num> Station Address (0-77 octal) -rst=<str> Enable/Disable PLCs reset to CC -tag=<num> Request size of TAG table 7KH VWDWLRQ DGGUHVV DQG UHVHW SDUDPHWHUV WDNH HIIHFW LPPHGLDWHO\ 7KH VHOHFWHG VL]H RI WKH 7$* WDEOH LV HIIHFWLYH DIWHU WKH QH[W V\VWHP ERRW,I WKHUH LV LQVXIILFLHQW PHPRU\ DYDLODEOH IRU WKH FRQILJXUDWLRQ LV WKH GHIDXOW VL]H XVHG IRU '0& DQG '0& FRQWURO FRSURFHVVRUV =HUR LV WKH GHIDXOW 7$*WDEOH VL]H IRU WKH '0& FRQWURO FRSURFHVVRU

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU &RQILJXUH 6\VWHP 0HPRU\ &RQILJXUH WKH FRQWURO FRSURFHVVRU V\VWHP PHPRU\ XVLQJ WKH 0(0B&)* XWLOLW\ <RX FDQ FRQILJXUH WKH VL]H RI WKH IROORZLQJ QRQYRODWLOH PHPRU\ VHFWLRQV 5$0 GLVN³SDJH XVHU PHPRU\³SDJH PRGXOH PHPRU\³SDJH 6HH )LJXUHV WKURXJK IRU DQ H[DPSOH XVLQJ WKH 0(0B&)* XWLOLW\ )LJXUH 0HPRU\ &RQILJXUDWLRQ PCBridge Microware s PC hosted OS-9/680x0 Development System $ MEM_CFG Control Coprocessor Memory Configuration Utility Original Current Settings Settings ----------------------------------------------------------- Non-Volatile RAM Disk = 64Kb 64Kb Non-Volatile User Memory = 0Kb 0Kb Non-Volatile Module Memory = 0Kb 0Kb OS-9 Free Pool = 4800Kb 4800Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb Main Menu Selection ------------------- 1 = Configure Non-Volatile RAM Disk Size 2 = Configure Non-Volatile User Memory Size 3 = Configure Non-Volatile Module Memory Size 4 = Configure System (reboot) Select Option: <RX FDQ DOORFDWH DOO RI WKH V\VWHP 5$0 WR WKH QRQYRODWLOH PHPRU\ VHFWLRQV H[FHSW IRU E\WHV WKDW DUH DOORFDWHG IRU WKH FRQWURO FRSURFHVVRU 26 RSHUDWLQJ V\VWHP DQG WKH IUHHPHPRU\ SRRO RI WKH RSHUDWLQJ V\VWHP $Q\ 5$0 WKDW \RX GR QRW FRQILJXUH DV QRQYRODWLOH LV DOORFDWHG WR WKH RSHUDWLQJ V\VWHP V IUHHPHPRU\ SRRO 7KH QRQYRODWLOH PRGXOH PHPRU\ 1900 XWLOLW\ FRQWUROV WKH QRQYRODWLOH PRGXOH PHPRU\ 8VH WKH 1900 XWLOLW\ WR PDQDJH \RXU SURJUDP PRGXOHV LQ PHPRU\ 6HH SDJH $IWHU \RX PDNH DOO \RXU FKDQJHV WR WKH PHPRU\ FRQILJXUDWLRQ \RX PXVW VHOHFW RSWLRQ IURP WKH PDLQ PHQX 6HH SDJH 7KLV UHERRWV WKH V\VWHP DQG DFWLYDWHV \RXU FKDQJHV $77(17,21,I FRQILJXULQJ WKH PHPRU\ UHVXOWV LQ DQ RXW RIPHPRU\ HUURU \RX FDQ UHFRYHU WKH GHIDXOW PHPRU\ VHWXS E\ UHPRYLQJ WKH EDWWHU\ IURP WKH FRSURFHVVRU IRU VHYHUDO PLQXWHV

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 5$0 'LVN 7KH 5$0 GLVN LV DQ HPXODWHG GULYH WKDW UHVLGHV LQ 5DQGRP $FFHVV 0HPRU\ 5$0 <RX FDQ VWRUH DQG DFFHVV DQ\ ILOHV RQ D 5$0 GLVN 7KH GHIDXOW VL]H RI WKH QRQYRODWLOH 5$0 GLVN LV E\WHV $77(17,21 &KDQJLQJ WKH VL]H RI WKH QRQYRODWLOH 5$0 GLVN ZLOO UHIRUPDW LW %DFN XS WKH GLVN GDWD EHIRUH FKDQJLQJ WKH 5$0GLVN VL]H 7R FRQILJXUH WKH QRQYRODWLOH 5$0 GLVN $W WKH Select Option SURPSW HQWHU 1 IRU WKH QRQYRODWLOH 5$0GLVN FRQILJXUDWLRQ RSWLRQ 6HH )LJXUH )LJXUH &RQILJXUH WKH 5$0 'LVN PCBridge Microware s PC hosted OS-9/680x0 Development System Select Option: 1 Original Current Settings Settings ----------------------------------------------------------- Non-Volatile RAM Disk = 64Kb 64Kb Non-Volatile User Memory = 0Kb 0Kb Non-Volatile Module Memory = 0Kb 0Kb OS-9 Free Pool = 4800Kb 4800Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb Non-Volatile RAM Disk Size -------------------------- Enter desired number of 64K (65536) byte blocks for disk (1-76): 8 Original Current Settings Settings ---------------------------------------------------------- - Non-Volatile RAM Disk = 64Kb 512Kb Non-Volatile User Memory = 0Kb 0Kb Non-Volatile Module Memory = 0Kb 0Kb OS-9 Free Pool = 4800Kb 4352Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb $W WKH SURPSW HQWHU WKH QXPEHU RI EORFNV³EHWZHHQ DQG WKH PD[LPXP DPRXQW DV VKRZQ E\ WKH XWLOLW\³WKDW \RX ZDQW WR DOORFDWH WR WKH 5$0GLVN VL]H

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 1RQ9RODWLOH 8VHU 0HPRU\ 7KLV LV D QRQYRODWLOH DUHD RI PHPRU\ WKDW LV QRW NQRZQ WR WKH RSHUDWLQJ V\VWHP WKHUHIRUH DQ\ GDWD VWRUHG KHUH UHPDLQV LQWDFW WKURXJK UHVHWV DQG SRZHU F\FOHV 7KLV QRQYRODWLOH PHPRU\ LV FRQWUROOHG E\ XVHU SURJUDPV 7KLV DUHD RI PHPRU\ LV EDVLFDOO\ D VWRUDJH DUHD IRU GDWD $OWKRXJK \RX FDQ XVH LW IRU DQ\ SXUSRVH RQH FRPPRQ DSSOLFDWLRQ LV WR XVH WKLV DUHD DV D FRPPRQ PHPRU\ DUHD IRU PXOWLSOH SURJUDPV³WKLV PDNHV HIIHFWLYH XVH RI WKH IDFW WKDW WKLV PHPRU\ LV QRQYRODWLOH $W WKH Select Option SURPSW HQWHU 2 IRU WKH QRQYRODWLOH XVHUPHPRU\ FRQILJXUDWLRQ RSWLRQ 6HH )LJXUH )LJXUH &RQILJXUH 1RQ9RODWLOH 8VHU 0HPRU\ PCBridge Microware s PC hosted OS-9/680x0 Development System Select Option: 2 Original Current Settings Settings ----------------------------------------------------------- Non-Volatile RAM Disk = 64Kb 512Kb Non-Volatile User Memory = 0Kb 0Kb Non-Volatile Module Memory = 0Kb 0Kb OS-9 Free Pool = 4800Kb 4352Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb Non-Volatile User Memory Size ----------------------------- Enter desired number of 1K (1024) byte blocks (0-4352): 5 Original Current Settings Settings ----------------------------------------------------------- Non-Volatile RAM Disk = 64Kb 512Kb Non-Volatile User Memory = 0Kb 5Kb Non-Volatile Module Memory = 0Kb 0Kb OS-9 Free Pool = 4800Kb 4347Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb $W WKH SURPSW HQWHU WKH QXPEHU RI EORFNV WKDW \RX ZDQW WR DOORFDWH WR QRQYRODWLOH XVHU PHPRU\³EHWZHHQ DQG WKH PD[LPXP DPRXQW DV VKRZQ E\ WKH XWLOLW\ $77(17,21 'R QRW FKDQJH WKH SRLQWHU YDOXHV 7KH\ DUH LQWHQGHG WR EH UHDGRQO\ 6XEVHTXHQW PHPRU\ FRQILJXUDWLRQV FDQ FKDQJH WKH SRLQWHU YDOXH WR WKH VWDUW RI WKH QRQYRODWLOH XVHU PHPRU\ 8VHU SURJUDPV PXVW FRQWDLQ FRPSDULVRQV WR FKHFN WKDW WKH SRLQWHU YDOXH KDV QRW FKDQJHG IURP WKH RULJLQDOO\ VWRUHG YDOXH 6HH WKH IROORZLQJ H[DPSOH SURJUDP³0<B0(0& $GGUHVV [ FRQWDLQV D SRLQWHU WR WKH VWDUW RI WKH QRQYRODWLOH XVHU PHPRU\ $GGUHVV [ FRQWDLQV WKH VL]H RI WKH EORFN LQ E\WHV DQ XQVLJQHG LQWHJHU RU E\WHV 7KH FRQWURO FRSURFHVVRU VHWV WKH GDWD DW DGGUHVVHV [ DQG [ GHSHQGHQW RQ PHPRU\ FRQILJXUDWLRQ

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 1RQ9RODWLOH 0HPRU\ ([DPSOH 8VHU 3URJUDP 0<B0(0& #include <timeh> /* include time header file */ #define PM_PTR 0x10000200 /* this is where my nv memory ptr is stored */ extern time_t time(); /* function declarations */ struct tm *localtime(); char * asctime(); typedef struct /* define my structure in nv ram */ { unsigned *ptr_check; /* storage for checking nv pointer */ char time_stamp[26]; /* xxx mmmdd hh:mm:ss yyy\n\0 */ unsigned count; /* boot count */ }MY_MEM; main (argc, argv) int argc; char *argv[]; { MY_MEM*mm_ptr; /* ptr to my memory */ char *tim_ptr; /* string ptr for time string */ time_t cal_time; /* calendar time storage */ struct tm *loc_time; /* local time storage */ mm_ptr = *(MY_MEM **)PM_PTR; /* get pointer to my nv data */ if (mm_ptr == 0) /* make sure its allocated */ { printf ( Protected Memory not allocated\n ); exit (0); } if (argc > 1)mm_ptr->ptr_check=(unsigned *)mm_ptr; /* store ptr on init */ else { if (mm_ptr!= (MY_MEM*)mm_ptr->ptr_check) /* check if ptr changed */ { printf ( Protected Memory Pointer changed\n ); exit (0); } } cal_time = time(0); /* get time */ loc_time = localtime (&cal_time); /* convert to local time */ tim_ptr = asctime (loc_time); /* convert to string */ if (argc > 1) /* if command line parameter then initialize data */ { mm_ptr->count = 0; /* start count at 0 */ strncpy (mm_ptr->time_stamp,tim_ptr,26); /* store initial time */ printf ( \ncurrent time is ->%s\n,mm_ptr->time_stamp); } else { printf ( \ntime of last boot ->%s\n,mm_ptr->time_stamp); /* print old */ strncpy (mm_ptr->time_stamp,tim_ptr,26); /* copy new time to nv */ printf ( Time of this boot ->%s\n,mm_ptr->time_stamp); /* print new */ mm_ptr->count +=1; /* increment boot count */ printf ( Boot count = %d\n,mm_ptr->count); /* print boot count */ } }

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU $77(17,21 7KLV SURJUDP LOOXVWUDWHV WKH XVH RI QRQYRODWLOH XVHU PHPRU\ LQ LWV VLPSOHVW IRUP 7KH FRQWUROFRSURFHVVRU 0(0B&)* IXQFWLRQ RQO\ VXSSOLHV D SRLQWHU DQG VL]H WR WKH QRQYRODWLOH XVHU PHPRU\,W LV WKH UHVSRQVLELOLW\ RI WKH XVHU WR PDQDJH WKH PHPRU\ DSSURSULDWHO\ 7KH SURJUDP VWRUHV WKH YDOXH RI WKH SRLQWHU RQ LQLWLDOL]DWLRQ,W WKHQ SHUIRUPV VXEVHTXHQW FKHFNV WR YHULI\ WKDW WKH SRLQWHU YDOXH KDV QRW FKDQJHG 1RQ9RODWLOH 0RGXOH 0HPRU\ 8VH WKLV QRQYRODWLOH DUHD RI PHPRU\ WR VWRUH SURJUDP PRGXOHV $OWKRXJK \RX FDQ VWRUH \RXU SURJUDPV RQ WKH QRQYRODWLOH 5$0 GLVN WKH PRGXOHV PXVW DOVR EH ORDGHG WR 26 PHPRU\ WR UXQ :KHQ \RX VWRUH WKHP LQ WKH 1900 DUHD WKH PRGXOHV DUH LQ D UHDG\WRUXQ VWDWH DQG GR QRW XVH PHPRU\ RQ WKH 5$0 GLVN XQQHFHVVDULO\ 7KLV QRQYRODWLOH PHPRU\ LV QRQGHVWUXFWLYHO\ VHDUFKHG DW ERRW E\ WKH RSHUDWLQJ V\VWHP IRU SURJUDP PRGXOHV 5HVHW RU SRZHUGRZQ FRQGLWLRQV ZLOO QRW GHVWUR\ PRGXOHV LQ WKLV PHPRU\ DUHD 7R FRQILJXUH WKH PHPRU\ DUHD LQ E\WH EORFN LQFUHPHQWV $W WKH Select Option SURPSW HQWHU 3 IRU WKH QRQYRODWLOH PHPRU\PRGXOH FRQILJXUDWLRQ RSWLRQ 6HH )LJXUH )LJXUH &RQILJXUH 1RQ9RODWLOH 0HPRU\ 0RGXOHV PCBridge Microware s PC hosted OS-9/680x0 Development System Select Option: 3 Original Current Settings Settings ----------------------------------------------------------- Non-Volatile RAM Disk = 64Kb 512Kb Non-Volatile User Memory = 0Kb 5Kb Non-Volatile Module Memory = 0Kb 0Kb OS-9 Free Pool = 4800Kb 4347Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb Non-Volatile Module Memory Size ----------------------------- Enter desired number of 1K (1024) byte blocks (0-4347): 70 Original Current Settings Settings ----------------------------------------------------------- Non-Volatile RAM Disk = 64Kb 512Kb Non-Volatile User Memory = 0Kb 5Kb Non-Volatile Module Memory = 0Kb 70Kb OS-9 Free Pool = 4800Kb 4277Kb ---------- ---------- Configurable System Memory = 4864Kb 4864Kb $W WKH SURPSW HQWHU WKH QXPEHU RI EORFNV WKDW \RX ZDQW WR DOORFDWH WR QRQYRODWLOH PHPRU\ PRGXOHV³EHWZHHQ DQG WKH PD[LPXP DPRXQW DV VKRZQ E\ WKH XWLOLW\

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 1900 8WLOLW\ :LWK WKH 1900 XWLOLW\ \RX FDQ PRYH PRGXOHV IURP 26 WR QRQYRODWLOH PRGXOH PHPRU\ OLVW DOO PRGXOHV LQ WKH QRQYRODWLOH PRGXOH PHPRU\ HQDEOH GHOHWLRQ RI PRGXOHV LQ WKH QRQYRODWLOH PRGXOH PHPRU\ GHOHWH PRGXOHV IURP WKH QRQYRODWLOH PRGXOH PHPRU\ 6\QWD[ IRU WKH 1900 XWLOLW\ LV NVMM-M [module] Moves module into non-volatile module memory NVMM-L Lists all modules in non-volatile module memory NVMM-D Enables deletion of modules in non-volatile module memory,psruwdqw :KHQ \RX PRYH PRGXOHV WR WKH QRQYRODWLOH PRGXOH PHPRU\ WKH\ DUH QRW LQFOXGHG LQ WKH 26 0RGXOH 'LUHFWRU\ XQWLO WKH QH[W V\VWHP ERRW :KHQ delete enable LV VHW E\ WKH 1900 XWLOLW\ WKH QH[W V\VWHP ERRW DXWRPDWLFDOO\ LQYRNHV 1900 LQ D PHQX PRGH )URP WKH PHQX \RX FDQ OLVW DQG GHOHWH PRGXOHV LQ WKH QRQYRODWLOH PRGXOH PHPRU\ 7R SURWHFW PRGXOHV WKDW DUH XVHG E\ RWKHU SURFHVVHV \RX FDQ GHOHWH WKH PRGXOHV IURP QRQYRODWLOH PRGXOH PHPRU\ RQO\ GXULQJ WKH QH[W V\VWHP ERRW 6HH )LJXUH WKURXJK )LJXUH IRU DQ H[DPSOH VHVVLRQ RI 1900 )LJXUH 1900 6HVVLRQ RI PCBridge Microware s PC hosted OS-9/680x0 Development System $ NVMM-M MY_MEM Non-Volatile Module Memory Move Utility Module [MY_MEM] moved to Non-Volatile Module Memory $ $ NVMM-L Non-Volatile Module Memory List Utility ADDRESS SIZE HEX SIZE DECIMAL MODULENAME -------------------------------------------------------------------- 101ee800 556H 1366 hello 101eed56 74cH 1868 my_mem Total size of Non-Volatile Module Memory is 71680 ( 11800h) bytes Largest contiguous Non-Volatile memory is 68446 ( 10b5eh) bytes $ $ NVMM-D Non-Volatile Module Memory Delete is enabled

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU )LJXUH 1900 6HVVLRQ RI PCBridge Microware s PC hosted OS-9/680x0 Development System $ Non-Volatile Module Memory Menu Selection ----------------------------------------- 1 = Delete module in Non-Volatile Module Memory 2 = Delete all modules in Non-Volatile Module Memory 3 = List all modules in Non-Volatile Module Memory 4 = Exit (continue boot) Select Option: 3 Non-Volatile Module Memory List Utility ADDRESS SIZE HEX SIZE DECIMAL MODULENAME -------------------------------------------------------------------------- 101ee800 556H 1366 hello 101eed56 74cH 1868 my_mem Total size of Non-Volatile Module Memory is 71680 ( 11800h) bytes Largest contiguous Non-Volatile memory is 68446 ( 10b5eh) bytes )LJXUH 1900 6HVVLRQ RI PCBridge Microware s PC hosted OS-9/680x0 Development System $ NVMMMenu Selection ------------------- 1 = Delete NVMMModule 2 = Delete all NVMMModules 3 = List all NVMMModules 4 = Exit (continue boot) Select Option: 1 Non-Volatile Module Memory Delete Utility Enter module name: hello Module [hello] deleted NVMMMenu Selection ------------------- 1 = Delete NVMMModule 2 = Delete all NVMMModules 3 = List all NVMMModules 4 = Exit (continue boot) Select Option: 4 Allen-Bradley Control Coprocessor Copyright 1994, Allen-Bradley Company, Inc All Rights Reserved Series/Revision A/E (130) $ 0<B0(0 GLVSOD\V WKH WLPH RI WKH ODVW ERRW WLPH RI WKLV ERRW DQG WKH ERRW FRXQW 7KH ERRW FRXQW DQG WLPH RI ODVW ERRW DUH VWRUHG LQ QRQYRODWLOH XVHU PHPRU\ 7KH VWDUWXS ILOH 67$5783 LQFOXGHV WKH OLQH MY_MEMWR LQYRNH WKH SURJUDP DW V\VWHP ERRW

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 6HH )LJXUH IRU DQ H[DPSOH 0<B0(0 ERRW VFUHHQ 6HH SDJH IRU WKH VRXUFH ILOH 0<B0(0& )LJXUH 0<B0(0 %RRW 6FUHHQ PCBridge Microware s PC hosted OS-9/680x0 Development System $MY_MEM $ Time of last boot ->Wed Jul 22 12:23:03 1994 Time of this boot ->Wed Jul 22 18:12:08 1994 Boot count = 3 Allen-Bradley Control Coprocessor Copyright 1994, Allen-Bradley Company, Inc All Rights Reserved Series/Revision A/E (130) 5HERRW WR &RQILJXUH 6\VWHP $IWHU \RX PDNH DOO \RXU PHPRU\ FRQILJXUDWLRQ FKDQJHV VHOHFW RSWLRQ 4 IURP WKH PDLQ PHQX WR UHERRW DQG LQYRNH WKH FKDQJHV WKDW \RX PDGH 6HH )LJXUH,PSRUWDQW <RX PXVW VHOHFW RSWLRQ RQ WKH PDLQ PHQX WR DFWLYDWH DQ\ FKDQJHV WKDW \RX PDNH 2SWLRQ UHERRWV WKH V\VWHP 8VH >&WUO&@ WR DERUW WKLV XWLOLW\ DW DQ\ WLPH DQG FDQFHO DQ\ UHTXHVWHG FKDQJHV )LJXUH &RQILJXUH 6\VWHP 5HERRW PCBridge Microware s PC hosted OS-9/680x0 Development System Main Menu Selection ------------------- 1 = Configure Non-Volatile RAM Disk Size 2 = Configure Non-Volatile User Memory Size 3 = Configure Non-Volatile Module Memory Size 4 = Configure System (reboot) Select Option: 4 Allen-Bradley Control Coprocessor Copyright 1994, Allen-Bradley Company, Inc All Rights Reserved Series/Revision A/E (130) Warning: Memory configuration has changed ========================================= User Startup File /dd/startup bypassed Non-Volatile RAM Disk configuration has changed Non-Volatile User Memory configuration has changed Non-Volatile Module Memory configuration has changed Pointer to Non-Volatile User Memory has changed Current pointer to Non-Volatile User Memory: 101ed400 Current size of Non-Volatile User Memory: 5k Current size of Non-Volatile Module Memory: 70k Current size of Non-Volatile RAM Disk: 512k Use the NVMM-L utility to verify contents of Non-Volatile Module Memory

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 9LHZ &RQWURO&RSURFHVVRU &XUUHQW 6WDWXV 8VH WKH &&B67$786 XWLOLW\ WR YLHZ WKH FXUUHQW VWDWXV RI WKH FRQWURO FRSURFHVVRU 6HH )LJXUH IRU DQ H[DPSOH VFUHHQ )LJXUH &&B67$786 6FUHHQ PCBridge Microware s PC hosted OS-9/680x0 Development System $ CC_STATUS Allen-Bradley Control Coprocessor Status Series/Revision: A/E (130) PLC-5: on-line Expander: not present Battery: OK PLC-5 to Coprocessor Reset: disabled Station Address: not set Ethernet Address: 00 00 BC 1B 00 0A Total Memory: 5120k TAG Table: 1024 Non-Volatile Memory RAM Disk: 640k Module Memory: 50k User Memory: 3k &UHDWH D 8VHU 6WDUWXS )LOH :KHQ \RX SRZHU XS RU UHVHW WKH FRQWURO FRSURFHVVRU LW H[HFXWHV WKH VWDUWXS ILOH ''67$5783 7KLV ILOH LV D WH[W ILOH WKDW FRQWDLQV RQH RU PRUH FRPPDQG OLQHV 7KH VKHOO H[HFXWHV HDFK FRPPDQG OLQH LQ WKH H[DFW RUGHU JLYHQ LQ WKH ILOH,W LV VLPLODU WR D '26 $872(;(&%$7 ILOH <RX FDQ E\SDVV WKH H[HFXWLRQ RI WKH VWDUWXS ILOH E\ KROGLQJ WKH FRQWURO FRSURFHVVRU UHVHW EXWWRQ³RU WKH NH\VZLWFK RQ WKH VHULDO H[SDQGHU PRGXOH³XQWLO WKH &38 /(' RQ WKH PDLQ PRGXOH EHJLQV WR EOLQN DSSUR[LPDWHO\ VHFRQGV,Q RUGHU IRU WKH VWDUWXS ILOH WR H[HFXWH RQ SRZHUXS RU UHVHW \RX PXVW KDYH SUHYLRXVO\ H[HFXWHG WKH setime FRPPDQG WR VHW WKH UHDOWLPH FORFN ([DPSOH 6WDUWXS )LOH 7KH IROORZLQJ LV DQ H[DPSOH RI D VWDUWXS ILOH tmode -w=0 -w=1 baud=19200 *change baud of /term port xmode /t1 baud=19200 *change baud of /t1 port shell <>>>/t1& *activates a shell on /t1 procs *see what processes are currently running <RX FDQQRW VHW HQYLURQPHQW YDULDEOHV LQ D VWDUWXS ILOH EHFDXVH 26 LQYRNHV D VHSDUDWH VKHOO WR UXQ WKH VFULSW ILOH +RZHYHU \RX FDQ VHW HQYLURQPHQW YDULDEOHV ZKHQ \RX VHW XS D SDVVZRUG ILOH 6HH SDJH IRU PRUH LQIRUPDWLRQ 6HH 26 2SHUDWLQJ 6\VWHP 8VHU 0DQXDO SXEOLFDWLRQ IRU PRUH LQIRUPDWLRQ RQ VKHOO SURFHGXUH ILOHV

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 6HW 8S D 3DVVZRUG )LOH $IWHU WKH FRQWURO FRSURFHVVRU H[HFXWHV WKH VWDUWXS ILOH LW H[HFXWHV WKH ORJLQ ILOH 7KLV ILOH PXVW KDYH WKH DSSURSULDWH HQWULHV IRU WKH ORJLQ WR H[HFXWH,I WKH FRQWURO FRSURFHVVRU GRHV QRW ILQG WKH ''6<63$66:25' ILOH LW H[HFXWHV WKH 26 VKHOO,PSRUWDQW :KHQ XVLQJ (WKHUQHW \RX PXVW KDYH D SDVVZRUG ILOH LQ WKH ''6<6 GLUHFWRU\ :KHQ \RX DUH QRW XVLQJ (WKHUQHW WKH SDVVZRUG ILOH LV RSWLRQDO 7KH SDVVZRUG ILOH FRQWDLQV RQH RU PRUH YDULDEOHOHQJWK WH[W HQWULHV³DQ HQWU\ IRU HDFK XVHU QDPH 7KH ILHOGV DUH VHSDUDWHG E\ FRPPDV DQG GHILQHG DV IROORZV XVHU QDPH SDVVZRUG JURXSXVHU,' QXPEHU LQLWLDO SURFHVV SULRULW\ LQLWLDO H[HFXWLRQ GLUHFWRU\ SDWKOLVW LQLWLDO GDWD GLUHFWRU\ SDWKOLVW LQLWLDO SURJUDP 7KH IROORZLQJ LV DQ H[DPSOH RI D SDVVZRUG ILOH super,user,00,255,,,shell -p= Super: fudja,ajduf,37,128,/dd,/dd,shell 6HW \RXU HQYLURQPHQW YDULDEOHV LQ D /2*,1 ILOH 7KH /2*,1 ILOH LV H[HFXWHG ZKHQ WKH ''6<63$66:25' ILOH LV SUHVHQW RQ WKH 5$0 GULYH DQG WKH XVHU LV IRUFHG WR ORJ LQ 6HH 26 2SHUDWLQJ 6\VWHP 8VHU 0DQXDO SXEOLFDWLRQ IRU PRUH LQIRUPDWLRQ RQ SDVVZRUG ILOHV DQG H[HFXWLRQ RI WKH ORJLQ SURFHGXUH 6HQG D 7H[W )LOH WR WKH &RQWURO &RSURFHVVRU 7KLV VHFWLRQ H[SODLQV KRZ \RX FUHDWH D WH[W ILOH DQG WKHQ VHQG LW WR WKH FRQWUROFRSURFHVVRU 5$0 GLVN &UHDWH D 7HVW 7H[W )LOH 7R FUHDWH D WH[W ILOH 6HOHFW E) Edit RQ WKH 3&%ULGJH PDLQ PHQX WR DFFHVV \RXU HGLWRU 7KH GHIDXOW WH[W HGLWRU LV '7( D SXEOLF GRPDLQ WH[W HGLWRU SURYLGHG IRU \RXU FRQYHQLHQFH &UHDWH D WH[W ILOH 7KH WHVW ILOH IRU WKLV H[DPSOH LV QDPHG 7(677;7 5HWXUQ WR WKH 3&%ULGJH PDLQ PHQX DIWHU \RX FRPSOHWH ZULWLQJ \RXU WH[W ILOH

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 6HQG WKH 7H[W )LOH WR 26 7R VHQG WKH 7(677;7 ILOH WR WKH 26 5$0 GLVN 6HOHFW S) Send file to OS-9 RQ WKH 3&%ULGJH PDLQ PHQX 6HH )LJXUH )LJXUH 6HOHFW 6HQG )LOH RQ 0DLQ 0HQX (QWHU WKH QDPH RI \RXU WH[W ILOH LQ WKH SURPSW ZLQGRZ 6HH )LJXUH )LJXUH (QWHU 1DPH RI 7HVW 7H[W )LOH WR 6HQG WR 26 PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge Enter filename or Transfer TAG: testtxt VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU 6HOHFW WKH ILOH WUDQVIHU W\SH T) Text 6HH )LJXUH )LJXUH 6HOHFW )LOH 7UDQVIHU 7\SH PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge Select File Transfer Type B) H) T) Q) Binary Help Text Quit file transfer VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge 7KH 3&%ULGJH VRIWZDUH DXWRPDWLFDOO\ LQYRNHV HUPLW DQG GRZQORDGV WKH WH[W ILOH 6HOHFW O) OS-9 Terminal RQ WKH 3&%ULGJH PDLQ PHQX <RX JHW WKH FRQWURO FRSURFHVVRU 26 FRPPDQGOLQH LQWHUIDFH 6HH )LJXUH )LJXUH 6HOHFW 26 7HUPLQDO RQ 0DLQ 0HQX

&KDSWHU *HWWLQJ 6WDUWHG ZLWK WKH &RQWURO &RSURFHVVRU $W WKH $ SURPSW W\SH dir DQG SUHVV [Return] 2EVHUYH WKDW WKH WH[W ILOH ZDV VXFFHVVIXOO\ WUDQVIHUUHG WR WKH 5$0 GLVN 6HH )LJXUH )LJXUH &KHFN 'LUHFWRU\ IRU 7HVW )LOH PCBridge Microware s PC hosted OS-9/680x0 Development System Welcome to PCBridge $ dir testtxt $ list testtext Directory of 16:07:18 VT100 16:05 -CA -PR -LO -LF -LE +XO -CT CD COM19600N81 PCBridge $W WKH $ SURPSW W\SH list testtxt DQG SUHVV [Return] 7KH FRQWHQWV RI WKH ILOH DUH W\SHG WR WKH VFUHHQ 1RWH WKDW list LV WKH 26 HTXLYDOHQW RI WKH 06'26 W\SH FRPPDQG )LQG 2WKHU 26 &RPPDQGV 6HH WKH 26 2SHUDWLQJ 6\VWHP 8VHU 0DQXDO SXEOLFDWLRQ IRU LQIRUPDWLRQ RQ RWKHU 26 FRPPDQGV DQG XWLOLWLHV :KDW WR 'R 1H[W 3URFHHG WR &KDSWHU,Q &KDSWHU \RX FUHDWH VDPSOH %$6,& DQG & SURJUDPV DQG GRZQORDG WKHP WR WKH FRQWURO FRSURFHVVRU <RX UXQ WKH SURJUDPV DQG VHH WKH UHVXOWV W\SHG WR WKH VFUHHQ

4 This chapter provides an example of creating and compiling a C program using the PCBridge software and the DOS editor; it then shows you how to transfer the program to the control coprocessor The chapter also provides an example of a BASIC program Create a test C program using the text editor The default text editor is DTE, a public domain text editor provided for your convenience Use it to edit small files and PCBridge configuration information For more information on DTE, view the files DTEMAN, DTEDOC, and DTEHLP in the \PCBRIDGE\EDITOR subdirectory Important: You need the 1771-PCB software installed in Chapter 3 to create C and assembler programs for the control coprocessor 1 If you do not want to use DTE, select E) Editor Name on the PCBridge Configuration Options menu and change the text editor Important: The text editor you select must run in 250 Kbytes or less of memory, depending on your system configuration 2 Select E) Edit on the PCBridge main menu to get the text editor 3 Using your text editor, create the following C test program See Figure 41 4-1

This example creates a test file named HELLOC 4 Use the exit function on your text editor to return to the PCBridge main menu To compile the C test program: 1 Select B) Build on the PCBridge main menu 2 Enter the name of the test file and press [Return] See Figure 42 4-2