Note : Les descriptions sont présentées dans la langue officielle dans laquelle elles ont été soumises.
36~
Background of the Invention
This invention relates to a data ac~uisition system
suitable for a production facility of the kind including a large
number of individual work skations through which a multiplicity
of workpieces progress in the fabrication of a single article.
The invention is described in the environment of a sewing plant
for garment manufacture; however, the system is also applicable
to other production facilities having similar general
characteristics.
The manufacture of a garment usually entails many
individual production operations, from cutting of the cloth
to final pressing of the completed garment. For example,
the manufacture of a suit jacket or sports jacket may require
a total of one hundred twenty or more separate steps, including
cutting, fusing, sewing, pressing, and other operations.
For different styles, the number of operations may vary
substantiall~. Thus, one jacket style may have patch pockets
and anoth~r may use pocket flaps; one style can include
three buttons on each sleeve, another may have two buttons
per sleeve, and another may have none. There is, quite
literally, no consistent, standardized set of operations.
~evertheless, a garment factory producing garments subject
to style and fashion variations must provide for concurrent
manufacture of a wide variety of styles, the work content
of the shop shifting constantly on a day-to-day basisO
Intelligent scheduling of production in a garment
sewing shop re~uires the compilation of a great deal of
informationO For effective and efficient production scheduling~
manayement should know which operators are present and availa~le,
2 -
28~
the skills of those operators, current production bottlenecks
and the likelihood o~ impending bottlenecks. of course, it is
essential to know the production peculiarities o~ specific
garment styles and the permissible trade-offs between
alternative items. In some manner, data regarding all of these
disparate factors should be collected and organized to allow
for effective scheduling decisions, particularly in an era
in which style and fashion concepts are subject to rapid and
repeated change
Traditional techniques for obtaining basic data
regarding operators and their skills are essentially byproducts
of incentive payroll reporting schemes. For each garment, a
document known as a bundle ticket is prepared; the bundle
ticket identifies the cut, style, and component re~uirements
of the garment. The bundle ticket includes a series of
coupons, one for each individual operation to be performed
in manufacture of the garment. There are also a series of
additional similar bundle tickets for subassemblies incorporated
in the complete garment. For example, for a jacke~, in
addition to the basic bundle ticket for the overall garment
there may be separate tickets, with individual coupons, for
the front, back~ collar, sleeves, pocket flaps, pockPt patches,
yoke, and canvas portions of the garment. ~s each operation
is performed, the related coupon for that operation is cut
from the ticket and is used to record the work done and the
operator identity for payroll purposes. Traditionally, the
bundle tickets and coupons are the only records available to
track the progress of the garment components through the shop.
-- 3 --
6~
A coupon-based system, in which the individual
operators control the return flow of coupons, is inherently
unreliable as a source of accurate production statistics.
These and other known payroll reporting techniques fall far
short of accurately reporting data adequate for determination
of individual productivity by style, lost time, increasing
or decreasing operator efficiency for new models, etc.
Furthermore, the traditional recording techniques do not
provide additional data essential to effective production
scheduling, such as the operational status of the production
equipment, the distribution of work-in-process inventory
among the many operations in the plant, and the work requirements,
b~ operation,of individual sty~es in process.
A production manager would be swamped in any attempt
to contend manually with such an immense volume of specific
detail. Some improvement is made possible by effective use
of a computex in collating and summarizing the data available
from a conventional coupon system or other similar systems.
In general, however, the production manager of a garment
sewing shop has little direct knowledge of the status of any
group of garment components after it enters the shop and prior
to the time the completed garments emerge. Production scheduling,
therefore, is based in large part on intuition and experienceO
An intelligent substitute for experience in a high-
production variable-style garment shop would be a sophisticated
mathematical model simulating the complete garment manufacturing
process. Such a model can afford an effective guide to
management in utilizing plant resources efficiently to smooth
the flow of production and alleviate impending bottlenecks.
Building a computer model of a style shop comprising scores
-- 4 --
.. .~ . ~ ,-, ~:
i6
o~ operations, hundreds of operators, and thousands of units
in inventor~, however, can be a truly aw~some task. Only by
capturing data as each ope~ tion occurs on each garment in
the sewing shop can the computer model hope to achieve the
precision required for effective analysis and reliable
predictions.
In a sewing shop, manufacturing operations are
typically of short duration and are performed by sedentary
operators working on relatively low-cost equipment. Conse-
quently, it is impractical and economically infeasible tomonitor these activities with conventional data collection
devices, which in many instances have a cost comparable to
that of the manufacturing equipment at each work station.
Thus, for an effective data acquisition system applicable to
a garment sewing shop or similar production facility, low
cost for each work station terminal is of critical importance.
Furthermore~ it is not desirable to have a single terminal
serve multiple work stations because this requires the
operators to leave their stations periodically to enter
information in the multi-station terminal~ creating unprofitable
work ~low interruptions and adding materially to operational
costs. Thus, there is a basic need ~or a data acquisition
terminal having a cost substantially lower than the cost o~
production equipment at each work station.
The re~uirements for source data collection in a
sewing shop are quite stringent in other respects as well.
To begin with, each operation should be logged as it occurs,
avoiding the time dela~s introduced by operator reporting
activities in coupon systems. ~ data ac~uisikion system that
signals both the start and the end o~ each production operation
5,
6~6
is also highly desirable, because it affords a readout of
non-productive time between operations as well as productive
work time.
Each production operation should also be identified
completely according to style, workpieces being processed,
the work performed, and operator identity. ThiS level of
detail is desirable not only as input to an effective computer
model of the shop but also for subsequent production analyses.
Moreover, events relating to the work status of an operator,
customarily captured on time cards and work tickets, should
be collected as they occur to account for the activities of
each operator for payroll purposes. Finally, because sewing
operators cannot be expected to possess high-level clerical
skills, it is most desirable to eliminate any necessity for
entry of data through the use of a keyboard or any like input
device.
Another factor o substantial practical importance
is adaptability to relocation. shifting fashion trends
frequently lead to work station realignments; the data
acquisition system should provide for terminal relocation
anyplace in the shop with minimum bother. A simple plug-it-in
arrangement is most desirableO
A data acquisition system having the general
characteristics noted above can provide other desirable
attributes as well, particularly if each work station terminal
includes a keyboard for entry of specialized information,
normally not utilized for the basic dataO Thus, machine
breakdown and repair may be logged by supervisory personnel
for use in scheduling maintenance, estimating costs o further
mechanization, and tracking productivity of mechanicsO other
. . - . : . : . .:
~8~6
specialized data may include authorization for an operator
to work overtime or to leave the work station before the end
of a shift, identification of work Oll a new style for which
an operator is to be paid on an hourly basis rather than an
incentive basis, and occurrence of an interruption in workflow
to a station without fault of the operator requiriny compensation
on a time basisO
Thus, a data ac~uisition system to be used in
production scheduling and general control of a garment sewing
shop or like production facility should compile accurate real-
time data relating to all of the disparate factors affecting
productionO This information should be captured at its
source~, the individual work stations, through low cost
equipment that is "intelligent" enough to compile all basic
data through scanning of simple identification members so that
no clerical skill or training is required of individual
operators.
Previously proposed factory data collection systems
have not met the criteria set forth aboveD Thus, such systems
have usually employed keyboards, sometimes in combination with
conventional punched card readers, bar code scanners, or like
devices, for basic data entry. Previously known systems have
customarily used dedicated multi-pair wiring, telephone lines,
or even coaxial cable for communication between data entry
points and central data compilation facilitias, making
relocation of data entry terminals both difficult and expensive.
The system terminals are generally too e~pensive to place at
every work station. The results are not satisfactory in
garment shops and other manufacturing facilities characterized
by sedentary operators, low work place investment, short
~L~Z~66~
cycle times~ and frequent physical layout revisions. Further-
more, previously known systems have n~t been readily adaptable
to changes in data input devices and techniques (eOg~ punched
cards to bar code ID members) or to acquisition of disparate
kinds of data (eOg~ process parameters) conjointly with
basic production data.
Summary of the Invention
It is a primary object of the present invention,
therefore, to provide a new and improved data acquisition
system for a manufacturing facility comprising a series of
work stations in which a multiplicity of workpiece units are
processed in the course of manufacture; the system affords
comprehensive data relating to manufacturing operations, the
workpiece units on which those operations are performed,
the identity of the work station operator, and, when desired,
other factors, on a real-time basis, using low cost terminal
equipment at each work station and requixing only the simplest
of scanning operations by the station operator.
A particular object of the invention is to provide
a new and improved data acquisition system for use in a multi~
station production facility that provides for the compilation
of comprehensive manufacturing data through simple scanning
of inexpensive identification members, requiring no use of a
keyboard or other application of clerical skills in normal
operation of the system.
A specific object of the invention is to provide
a new and improved scanner of simple and inexpensive construc-
tion for a production facility data acquisition system using
encoded data cards as identification members~
~28~
Another object of the .invention is to provide a
compact, inexpensive~ but h~ghly ~'intelligent" data terminal
for a production facility data acquisition system that can be
relocated rapidly at virtually any position in a shop to
accommodate reorganization, re-location~ or addition of
production facilities.
~ further object of the invention is to provide a
new and improved combined power and data transmission system
for use in data acquisition in a multiple station production
facilityO ~ related object of the invention is to provide such
a data transmission system that permits installation of addi-
tional data terminals at virtually any location in the plant,
on a simple l'plug-it-in" basis, with the terminals having the
capability of monitoring different kinds of information at
different locations.
Yet another object of the invention is to provide an
"intelligent" data terminal for a production facility data
acquisition system, which can input data from punched cardO
optical bar code, or magnetic bar code identification members
with only minimal modification of the data terminal.
~ ccordingly, the invention relates to a point~of-
manufacture data ac~uisition system for a production facility of
the kind comprising a series of work stations through which a
multiplicity of workpiece units are transferred for performance
of a sequence of production operations~ for collecting and
recording data for each station, on a real-time basis, repre-
sentative of operator identity and time present, and workpiece
unit identity and time of processing~ The system compxises a
multiplicity of workpiece unit identification membersO each
bearing scannable data identifying an associated workpiece ~mit,
~Z81~
D and a plurality of operator identification members, each
bearing scannable data identif~ing an operator. There is a
series of data terminals, one for each work station, each
including scanning means at the work station for scanning the
data on the identification members, and recording/transmitting
means comprising work station identification means and data
storage means for storing the data from each identification
member scan. Polling processor means are provided for repeti-
tively polling the recording/transmitting means of all of the
data t~rminals for data stored therein, including means for
recording that dataO Data transmission means connects the
polling processor means to all of the data terminalsO The
system provides complete compilation of the a~oresaid data
requirements in response to scanning of the identification
membersO with no additional inputs.
~ ccording to one feature of the invention, the
transmission means comprises first and second transmission lines
and a ground line, each connected to all of the data terminaIs;
the first transmission line transmits interrogation and display
data signals from the polling processor to the terminals and
the second transmission line transmits data signals from the
terminals to the polling processor. A central DC power suppl~
is provided, together with terminal bus interface means that
connects the polling processor to the transmission lines and
that connects the central power supply to at least one of the
transmission lines for transmitting power to the data terminals
on a shared-time basis with the data signals on that one line.
~ ccording to another feature of the in~ention, each
data terminal comprises scanning means comprising a single
sensor ~or scanning the identification data on an identification
-- 10 --
8666
card and generating a sequence of raw data signals when the
scanning means and the sensor are manually moved, one past the
other, in predetermined alignment. Data storage means,
connected to the photosensor, record the data signals; a
microprocessor is connected to the data storage means. The
data terminal further comprises program means, connected to
the microprocessor, for programming the microprocessor to
interpret the data signals from the photosensor over a
su~stantiai range of variations in the speed at which the
card is moved through the scanning means.
According to yet another feature of the invention~
a data acquisition system for a multi-station work facility
comprises a series of data terminals, each data terminal
comprising data input means and data storage means, and
polling processor means for polling the data terminals for
data stored therein~ The system further comprises first and
second transmission lines, each connected to all of the data
terminals, the first transmission line transmitting interrogation
data signals from the polling processor to the terminals and
the second transmission line transmitting data signals from
the terminals to the polling processor, Terminal bus interface
means are provided, connecting the polling processor to the
transmission lines, including synchronizing means for trans-
mitting synchronizing signals of predetermined frequency to
the data terminals on a shared-time basis with the data
signals on one of the transmission lines.
~ 11 --
3666
Brief Description of the Drawinqs
Fig. 1 is a block diayram of a multi-station
factory data acquisition system constructed in accordance
with one emkodiment of the present invention;
Fig. 2 is a perspective view of a work station in
a garment sewing shop, equipped with a data terminal
constructed in accordance with a preferred embodiment of the
invention;
Fig. 3 is a front -~iew of the data recording and
transmitting unit for the data terminal of Fig. 2;
Fig. 4 illustrates a typical workpiece unit
identification member used in the data terminal o~ Figs.
2 and 3;
Fig. 5 is a perspective view of an identification
member scanner incorporated in the terminal of Fig. 2;
Fig. 6 is a detail sectional view taken approximately
along line 6-6 in Fig. 5;
Fig. 7 is a schematic circuit diagram for the
scanner of Figs. 5 and 6;
~0 Figs. 8, 9 and 10 are schematic diagrams of circuit
boards incorporated in the data recording and transmission
unit of Figs. 2 and 3;
Fig~ 11 shows typical waveforms for power and data
transmission in the system;
Fig. 12 is a block diagram of a tarminal bus
interface unit used in the system;
Fig. 13 is a detailed schematic diagram of a power
; and data transmission circuit incorporated in the terminal
bus interface unit of Fig. 11;
Fig~ 14 is a chart of the data transmission protocol
for the system o~ Figs. 1-13,
~ 36f~i
Fig. 15 illustrates a modification of Fig. 10
employed to adapt the data terminal to different types o
identification members and other data input devices; and
Fig. 16 is a block d.iayram o~ a data acquisition
system according to another em~odiment of the invention.
- 12a -
~2~
~ Description of the Preferred Embodiments
- Fig. 1 affords a simplified block diagram of a
point-of-manufacture data acquisition system 20 constructed
in accordance with the pres~nt inventionO System 20 is
utilized in a garment sewing shop or other production facility
of the kind comprising a series of work stations through
which a multiplicity of workpiece units, each including one
or more individual workpieces, are transferred from station
to station for performance of a sequence of manufacturing
or other process operations. Fig. 1 shows two series of work
stations 21-1, 21-2 .~. 21-~ and 22-1, 22-2... 22-N, each
including a production apparatus 23. In a garment sewing
shop, production apparatus 23 may be an ordinary sewing machine,
a buttonhole cutting and sewing device~ a specialized sewing
apparatus~ a press, or even a dry cleaning installation.
There is a data terminal 24 located at each work
station. Each data terminal 24 includes a data recording and
transmitting unit 25 electrically connected to a scanner unit
26. The r~corder/transmitter units 25 for the work stations
of series 21-1 through 21-N are each connected b~ a local
three-wire power/data cable 27 and a connector plug 28 to a
power/data transmission bus 29 including three conductors 101-
103~ Similarly, each of the recorder/transmitter units 25
for the work stations 22-1 through 22-~ is connected by a
local power/data cable 27 and a connector plug 28 to a second
three-wire bus 290 Each o~ the two main buses 29 is connected
to a separate terminal bus interface circuit 31, and the two
interface circuits 31 are both connected to a common power
supply 32. The two terminal bus interface circuits 31 are also
both connected to a polling processor 33 that is in turn
- 13 ~
~2866~
connected to a central or host computer 34. Auxiliary
equipment 350 including a time-of-day signal source, one or
more magnetic tape recorders, a keyboard, display instrumentation
and the like, is also connected to proces~or 33. Alternatively,
some of the auxiliary equipment may be connected to interface
units 310
The basic work input for the several work stations
for the system illustrated in Fig. 1 includes a series of
workpiece units 360 Each workpiece unit, in a garment sewing
shop, constitutes a bundle of individual parts or subassemblies
or garments being manufactured in the plant. ~s a specific
example, one of the workpiece units 36 may include the facing
elements for pocket flaps for a jacket, requiring finish sewing
and attachment to lining and stiffener components. The nature
of the workpiece units 36 depends upon the manufacturing
operations conducted in the plant in which system ~0 is
installed.
Each workpiece unit 36 is accompanied by an identi-
fication member 370 The identification member 37 for each
~0 workpiece unlt may carry printed data 38 identifying various
requiremants and accessories for the garments or other end
products in which the workpieces are to be incorporated.
For example, the printed data 38 may include identification of
thread types, stitching styles, button arrangements, special
display seams, trim, and the like; see Fig. 4.
For use in data acquisition system 20, each workpiece
identification member 37 carries scannable workpiece unit
identification data 39, data that identifies the specific
workpiece unit 36~ Thus, in a garment sewin~ shop the scannable
data 39 includes identification of the basic cutting of the
- ~4
~ 31 2~666
cloth for tha garmentO referred to as a cut number, and
identification of a specific bundle from the cut if the cut
is divided, as usual, into different bundles~ The scannable
data 39 also includes any additional information necessary
for complete identification of workpiece unit 36; this additional
data, for example, may identify workpiece unit 36 as
constituting the main body of the jacket or the components
for the sleeves or some other subassembly of the jacket. The
prime requisite for scannable data 39 is that it affords
effective identification for the associated workpiece unit 36.
Tha data acquisition system 20 utilizes two
additional groups of identification members 41 and 43. Member
41 constitutes an individual ID card for a particular worX
station operator. It carries scannable data 42 t which, at
the minimum, constitutes an identification number individual
to a speciic operator~ Member 43, on the other hand, carries
scannable data 44 that identifies a particular shop operation.
Thus, if the workpieces in unit 36 are the parts for a garment
sleeve, the ccannable data 44 on member 43 may refer to the
sewing of one seam on a sleeve, a finishing operation on the
end of a sleeve, or the like.
The scannable data 39, 42, 44 carried by the
individual identification members employed in system 20 can
take a variety of different forms. Thus, the scannable data
may constitute an optical bar code, the data punchings in
a punched tape, a magnetic bar code, specially configured
characters for optical scanning, the punched holes in a
conventional tabulating card, and a variety of other different
forms. Perhaps the most important consideration, in selecting
the form for the scannable data 39, 42, 44, is the cost of
- 15
llZB666
the scanner 26 that reads the data and the compatibility of
the scannable data with the additional printed data on each
identification member.
For system 20, the preferred iaentification memhers
constitute ordinary tabulating cards and the scannable data
is a single row of punched holes in each card. This has the
advantage that a card of reasonable size, using only one row
for scannable data, affords a substantial area for the
presentation of human-readable information. In addition~ the
identification cards can be quickly and inexpensively prepared,
in large quantities, using commercially available equipment
that prints and punches the cards in a single operation.
Furthermore, the punched card identification members can be
scanned by a very inexpensive scanner 26, constituting an
important feature of system 20 as described more fully in
connection with Figs. 4-7O
The basic operation of data acquisition system 20
can now be considered. At the beginning of a worX shift, an
operator arrives at work station 21-1 and starts the work day
by scanning identification member 41, the personal ID card
carried by the operator, in scanner 26. Scanner 26 senses
; the scannable data 42 on card 41 and supplies that data to
recorder/transmitter unit 25 of data terminal 24 at work
station 21-1, which interprets the scanned data and records
the identity of the operator. At the time the operator's
identification member 41 is scanned, data terminal 24 actuates
a display and produces an audible signal to inform the operator
that the requisite information has been recorded. The
identification of the operator is maintained in storage in
recorder/transmitter unit 25 throughout the subsequent work period.
66
The polling processor 33, through the connections
provided by terminal bus interface circuits 31 and bus
connections 27-29, regularly polls each of the recorder/
transmitter units ~5 to determine whether any data is in
storageO During the next polling cycle following scanning
of the operator's identification member 41 at work station
21-1, polling processor 33 determines that data is available
from that terminal; it then retrieves and records the identi-
fication data for the operator together with the station
identification for work station 21-1~ Processor 33 also
appends time-of-day information to indicate the time that
the operator scanned the identification cardO The programming
of polling processor 33 determines that the received data
from station 21-1 constitutes the identification of an
operator and, since there has been no previous operator
identification for that station, records the data as indicative
of the beginning of a work period. The operator is not required
to make any clerical entry with respect to starting time or
identification of the work station or even that the action
taking place is the beginning of a work shift. All of this
information is derived by system 20 solely on the basis of
ccanning of the data 42 on operator identification card 4Lo
When polling processor 33 has retrieved and recorded
the operator identification data from terminal 24 in work
station 21-1, system 20 signals to the operator that this has
been accomplished. Subsequently, the data relating to the
operator starting work at station 21-1 i5 transmitted from
polling processor 33 to the central computer 34 for such
subsequent data processing as may be desired for payroll and
other functionsO
17 -
-
8~
O Next, the operator beginning work at station 21-1
passes the shop operation identification member 43 through
scanner 26. The shop identification members 43 for the
various work stations are usually prepared by a foreman or
by other supervisory personnel, and are distributed to the
work stations before the shift begins~ Alternatively, the
operators may be required to pick up the operation identifica-
tion members for their work stations at some central location
as they report for work. In any event, regardless of ~he
distribution arrangement used for the shop identification cards
43, the card for station 21-1 is scanned and the shop operation
is recorded in the recorder/transmitter unit 25 of the data
terminal 24 at that station~ In the next succeeding poll
taken by polling processor 33, this information is retrieved
and recorded in the polling processor for subsequent trans-
mission to the centxal computer 34. Again, the recorder/
transmitter unit 25 informs the operator that the shop
operation ID has been proparly scanned and entered into system
20. This is important because system 20 is preferably
programmed to require entry of both operator and shop identi-
fication operation data be~ore work begins~
The operator at station 21~1 next scans the workpiece
identification member 37 for the first workpiece unit 36
through scanner 26~ In consequence, the identity o that
particular workpiece unit is recorded in unit Z5 of data
terminal 24 at work station 21-1. A good scan is acknowledged
to the operator by a display and an audible ~ignal; an erroneous
scan is rejected by t~e work station terminal. The data
relating to the workpiece unit is retrieved and recorded,
- 18 -
8666
; . together with time-of-day information, in the next cycle of
polling processor 33; ultimately, the data are passed on to
computer 34 to identify and record the initiation of work on
this particular workpiece unit~ Identification of the workpiece
unit 36 is also retained in storage in unit 25 of the data
: terminal 24 for work station 21-1.
From this point forward, the operator processes the
workpieces of unit 36 in production apparatus 23 at work
station 21-1 until all workpieces in the unit are processed.
The operator then again passes the workpiece unit identification
member 37 through scanner 26. The scanned data is recorded
in unit 25 of data terminal 24 and is subsequently picked up
by polling processor 33 in the form of a message indicating
that work on this particular workpiece unit 36 has been
completed at station 21-lo This could be accomplished by
transmission of the complete data from the scan to the polling
processor; in system 20, in the pre~erred construction
described more fully hereinafter, only an abbreviated l'work
completed" message is actually transmitted. Abbreviation of the
data transmission for completion o a workpiece unit at a given
work station affords a material reduction in the total data
transmission requirements, since most of the messages
transmitted through system ~0 constitute data identifying the
beginning and end of work on individual workpiece units~
The operator then passes the completed workpiece
unit 36 on to the next station 21-2 and starts work on another
workpiece unit, scanning the identification card for the new
workpiece unit as described above. The basic operational
sequence is the same for the other work stations served by
system 20~
-- 19 ~
When leaving station 21-1 for any extended period,
as at the beginning of a lunch period,the operator again scans
the personal identification card 41. The information from this
scan is passed through the system to polling processor 33 and
computer 34 as before. System 20 is programmed to recognize
that this second scan of data identifying an individual operator
signifies that the operator is leaving the work station. of
course, time-of-day information is again recorded to be
available for payroll, productivity review, and other related
purposes. When the operator returns to station 21 1, resumption
of work is signalled to system 20 by again scanning the
personal identification card 410 If there has been no change
in the shop operation to be performed at this work station,
there is no necessity for again scanning the shop operation
card ~3; the shop operation data is already recorded in the
system. on the other hand, if a new operation is now
scheduled for station 21-1, scanning of a shop operation card
43 identifying the new operation causes system 20 to supercede
the previously recorded shop function data. At the end of the
shift, the operator again scans the personal identification
member 41 and the data from this scan is interpreted by system
20 and recorded as indicating that the operator has left the
stationO At the close of the shift, the data terminals 24
at all of the work stations in the system are reset for the
next subsequent shift.
From the foregoing generalized operational description
of system 20, it can be seen that all of the basic information
relating to normal operations in the plant containing work
stations 21-1 through 21-~ and 22-1 through 22-~ is entered
into the s~stem simply by scanning the identification members
- 20 -
8~i6
37, 41 and 43, using th~ individual scanners 26 at each of
the work stations. Work station operators are not required to
exercise any substantial degree of clerical ski31~ Each
operator must scan the personal and shop operation ID cards
41 and 43 before starting workO However, if this sequence
requirement is not observed, system 20 alerts the operator
to the necessity of completing the preliminary identification
scans and rejects the out-o~-sequence data.
For each workpiece unit 36, the operator is required
only to scan the identification member 38 twice, once when
work starts on that workpiece unit and again when work on the
unit is completed. The time required for these two scanning
operations is substantially less than the coupon clipping,
ticket marking and coupon collecting operations associated
with conventional piecework payroll systems, particularly when
using the preferred identification members and scanning
apparatus described in detail below. ~evertheless, despite
the minimal nature of the requirements imposed on the work
station operator, system 20 collects and transmits to central
computer 34 complete data with respect to operator identity,
operator arrival time, operator departure time, shop operations
performed, workpiece unit identity, time of start of workpiece
processing, and time of completion of workpiece processing.
This is accomplished for aach work station throughout the shop~
Moreover, all of this information is acquired and recorded
continuously throughout each work shift on a real-time basis~
A specific embodiment of the data acquisition system
20 of Fig. l can now be considered, hased upon the detailed
information presented in Figs. 2 through 14. Fig. 2 illustrates
a typical work station 21-1 in a garment sewing shop. The work
- 21 -
366~
D station consists o a work table 51 supporting the production
apparatus 23, which in this instance constitutes a sewing
machine 52 actuated by a treadle 53. A thread shelf 54
mounted at the rear of table 51 provides a plurality of
spindles 55 for thread spools containing the various threads
that may be used in different garments.
Electrical power for sewing machine 52 is provided
through a power cable 56 connected to an ovexhead bus duct 57
by a suitable connector 58. The power cable 56 extends
downwardly through a vertical conduit 59 to sewing machine 52.
In FigO 2 the scanner 26 is located at the lower
right ~ront corner of table 51 and is connected by a three-wire
cable 61 to the recorder/transmitter uni~ 25, which is suspended
from shelf 54D The local power/data cable 27 extends from
unit 25 upwardly along conduit unit 59; connector 28 is plugged
into the main power/data bus 29 at an overhead location.
The main bus 29 for the data acquisition system may
be a conventional bus duct, using the same components as the
power duct 57O Preferably, however, duct 29 and connectors 28
are sufficiently different from duct 57 and connectors 58 so
that local data acquisition system cables 27 canno.t--.be plugged
into the power duct 57 and vice versa. The principal require-
ments for duct 29 are that it afford three conductors, two
power/data lines and one grouhdd preferably with a current
capacity equal to or greater than ~o~ 12 wire9 with multiple
receptacles along its length to afford convenient access at
any location throughout the shop. Inexpensive pre-wired
electrical feed rails of this ~eneral type may be used and
axe commercially.available ~rom a variety of suppliers.
- 22 -
~Z~q6~i
As shown in Figs. 2 and 3, the front 62 of recorder/
transmitter unit 25 includes character display 63, including
nine individual display units ~3A-63I, and two indicator lamp
64 and 65. The indicator lamps 64 and 65 are preferably of
different colors; lamp 64 may be red and lamp 65 may be yellow.
A small audible signalling device 66 and a keyboard 67 are
also mounted on the front of the recorder/transmitter uni t 25 D
Display 63 can present a variety of messages to the operator
at work station 21-1. In paxticular, display 63 is utilized
10 to signal effective data input to system 20 from a good scan
of any of the identification cards 37, 41, or 43; the audible
signalling device 66 is used as an aid to the same end.
Lamp 64 affords an indication that data previously entered
in unit 25 has been passed on to the polling processor 33 of
the system 20, leaving unit 25 ready for entry of additional
data. Lam~3 65 responds to polling signals from processor 33
to a~ford an indication that unit 25 is properly connec:ted
in functional relationship to the polling processor 33 ~Fig. 11.
Keyboard 67 is employed only for entry of specialized data or
20 to request inormation from the central facilities 33-35; it
is not used in routine operation of unit 25.
Fig. 4 illustrates a preferred form for worlcpiece
unit identification mem;ber 37, The printed information 38 on
member 37, which constitutes an ordinary paper tabulating card~
includes the cut number and bundle nulr;ber fox the workpiece;
the same information is punched into the card as scannable data
39. In addition, the printed data 38 on card 37 includes much
additional information use~ul to the work station operator~
including thread designations, special stitching instructions,
30 collar, pad and lapel instructions, and the like~,
-- 23 --
The scannable data 39 cut into card 37 is in conven-
tional binary coded decimal notation, and includes special
star~ and end symbols 67 and 68 as well as the coding for the
cut number, bundle numher, and check digit. The use of
distinguishable start and end symbols effectively eliminates
errors that might otherwise result if the operator scans data
card 37 in the reverse direction. By using separate start and
. finish codes, the programming of unit 25 can be made to read
. the cut number and bundle number accurately regardless of the
direction of the scan of data 39.
Figs. 5-7 illustrate the preferred construction
for scanner 26. The scanner comprises a molded resin block 69
(nylon is sati.sfactory) having a longitudinally extending slot
70, the width W of slot 70 being very slightly larger than
the thickness T of the individual identification members such
as the workpiece unit ID card 37. ~n infra-red emissive light
emitting diode 71 is mounted centrally within block 69 at one
side of slot 70, in opposed aligned relation to a phototransistor
72. LED 71 and phototransistor 72 may conveniently constitute
a part of a small subassembly 73, commercially available from
the General Electric Company as Type H 13B2. The circuit
connections for LED 71 and phototransistor 72 are shown in
Fig. 7.
The use of scanner 26 by a work station operator is
extremaly simple. An identification member, such as workpiece
identification member 370 is inserted into slot 70 wîth the
leading edge of the identification member located at one end
of block 69. The operator then simply pulls the identification
card through the scanning slot 70 as indicated by arrow 74 in
Fig. 5. ~he scanning speed is not critical; substantial
- 24 -
, , ,
~2~3666
variation can be tolerated. LED 71 and phototransistor 72
are located, in relation to the bottom of slot 70, so that
the data punch apertures 39 in card 37 are sensed in sequence
as the identification card passes through the scanner, see
Fig~ 6~ As will be apparent from Fig. 7, the data output from
scanner 26 is taken from the emitter of photo~ransistor 72,
the other lines in cable 61 constituting power connections
for LED 71 and transistor 72.
The basic form for identification members 41 and
43 (Fig, 1~ is the same as for the workpiece unit identification
card 37 shown in FigO 4, so that a more detailed illustration
of the shop operation and op~rator identification members is
unnecessary. B ecause identification members 41 and 43 are
of more permanent nature than the workpiece identification
member 37, it may be desirable to fabricate cards 41 and 43
from thin, tough plastic stock rather than from paper. In
all other respects, however, all of the idantification cards
are essentially similar in construction
As shown in Fig. 3~ the recorder/transmitter 25
that constitutes the main unit of each data terminal 24
includes just three circuit boards, a front board 81, a
middle board 82, and a rear board 83; these threa boards are
shown in Figs. 8, 9 and 10 respectively. The three circuit
boards 81-83 include all of the operational components of
unit 25.
The front board 81, Fig. 8, is essentially a
display board controlling the character display 63, the
indicator lamps 64 and 65, and the audible signal 66~ It
also affords the necessary electrical connections for the
key pad 67~
- 25 -
, , ~ .
. ..
~L~%~
As shown in Fig. 8, display 63 consists of nine
digital display elements 63~ through 63I~ Eaeh o these
display elements affords seven character segments plus a
deeimal point, they are of the LED type with a eommon eathode
for all segments, the displays being configured ~or multiplex
operation. Display elements 63~-63I are all eonnected to an
LED driver unit Z12 that affords current amplification for
the segments common to all nine display digits. Driver
eireuit Z12 is in turn conneeted to a keyboard/display
controller circuit Zll constituting an interfaee eonneeting
display 63 and keypad 67 to a microprocessor mounted on the
middle board 82 (Fig. 9)~ Controllar Zll is also eonneeted
to a decoder and driver circuit Z13 that deeodes the BCD data
from controller Zll to the one-of-nine eode used for seanning
display 63 and for row seanning of keypad 67. The integrated
eireuits Zll, Z12 and Z13, keypad 67, and display 63 eonstitute
a eonventional data entry and display configuration;
aeeordingly, no further detailed deseription of the interaetion
between the eireuits is deemed necessaryO
The left-hand side of board 81, Fig~ 8, ineludes
a twenty-six pin eonneetor 85A employed to connect the circuits
of front board 81 with those of middle board 82 (Fig. 9).
Pins 1 through 4 afford a ground conneetion. Pins 23 through
26 afford a +5 volt power supply eonneetion. A capaeitor Cll
provides for power storage and for filtering with respeet to
the ~5 volt supply, whieh is used for all of the integrated
eireuits on the boàrd~ Pins 5 through 19 provide for
interehange of data signals between the keyboard/display
eontroller Zll on board 81 and the eireuits on board 82.
- 26 -
6;
The front or display board 81 (Fig. 8) also
includes an additional integrated circuit, a dual timer z14.
Timer Z14 is connected to the middle board 82 (Fig~ 9)
through two pins 20 and 21 of connector 85A. The dual timer
z14 is used to actuate indicator lamp 65, which is a light
emitting diode, and the audible signal device 66, which
constitutes a piezoelectric sound transducer~ Thus, in
response to an inpu~ signal on pin 20 of connector 85A, one-half
of dual timer Z14 energizes audible signal device 66 for a
predetermined time interval determined by a resistor R12
and a capacitor C13, preferably of the order of one second or
less. The other half of timer Z14, responding to an input
signal from pin 21 of connector 85~, energizes indicator lamp
65 for a different predetermined interval, in this instance
approximately ten seconds, determined by a resistor Rll and
a capacitor C12. The signals that energize lamp 65 are
generated in each polling cycle of the polling processor 33
(Fig~ 1) and the timing is such that lamp 65 remains continuously
energized so long as the work station terminal is effectively
connected in operational relationship to the polling processor.
Indicator lamp 64, again a light emitting diode, is
also mounted on front board 81. LED 64 is connected in series
with a transistor Qll having an input connection from pin 22
of connector 85~. Lamp 64 is energized whenever data recorded
in the recorder/transmitter 25 has not yet been transmitted
to polling processor 33 (Fig. 1).
` The middle board 82, Fig, 9, is a data processing
board, including programming and appxopriate storage~ The
principal unit on the board is a microprocessor Z21; input
and output connections rom microprocessor Z21 to the keyboard~
_ 27 -
~L2~36~;6
O display controller Zll (Fig. 8) are provided through pins
5-19 of the inter-board connector 85B. Microprocessor Z21
includes an internal clock signal source having an operating
frequency determined by a crystal ~1. Microprocessor Z21
is also interconnected with a read-only me ry (ROM) unit Z22,
a random access memory (RAM) unit Z23, and a programmable
serial communication interface circuit Z24 of the kind sometimes
termed a USARTo ROM Z22 stores the operating program for
microprocessor Z21. RAM z23 affords temporary storage for
data scanned from the individual identification members of
the system, data entered through the keyboard, data received
from polling processor 33, and other computational data.
RAM Z23, in the configuration illustratedO includes a
programmable interval timer that generates an interrupt signal
after expiration of a given time delay, and a parallel input/
output port for use in conjunction with microprocessor Z21.
The input/output operation is parallel and programmable, and
consists of two elght-bit ports and one five-bit port. The
storage capacity of RAM Z23 i5 256 eight-bit bytes. The
programmable interface circuit z24 affords the necessary hard-
ware for serial full-duplex communication with polling
processor 33.
RAM Z23 ~as a number of additional connections both
to display board 81 and power/data board 83. Thus, pins 20-22
of connector 85B connect RAM Z23 to dual timer Z14 (Fig. 8).
A data input to RAM Z23 rom scanner 26 is provided through
a connection to pin 10 of a connector 87A that links boards
82 and 83. To identify the work station at which the data
terminal is used, a series of address switches 91 through 97
are connected to individual terminals of RAM Z23. Switch 91
- ~8 -
~Z8~6
is closed at each location and the others are closed on a
selective basis, a~fording a total of sixty-two different
work station addressesO
Pins 1 through 6 of connector 87A afford a +5 volt
power connection and terminals 21 through 26 provide a ground
connection between boards 82 and 83. A capacitor C22 provides
power storage and filtering for the power supply. A synchroni-
zing signal input from rear board 83 is supplied from terminal
20 of connector 87A to interface unit Z24. Data received from
polling processor 33 (Fig, 1) is applied to interface circuit
Z24 through a circuit connection from pin 19 of connector 87A,
Data transmission to the polling processor uses a circuit from
interface unit Z24 to pin 17 of connector 87A, Additional
pins 8, 9, 11-16 and 18 of connector 87A are connected to
RAM z23 for use with scanners of different types (see Fig~ 15
but are not utilized in the present configuration.
A normally-closed ~witch 98, in Fig. 9, has one
terminal connected to ground and the other terminal connected
through a resistor R15 to a capacitor C21 and to the input
of an inverting schmitt trigger Z30 that is connected to a
reset input of microprocessor Z21; capacitor C21 is returned
to the +5 volt supply, Components R15, C21 and Z30 provide
for automatic reset on power-up; switch 98 affords a separate
manually actuatable reset for the data terminal~
Fig. 10 illustrates the cireuit for power/data board
83; it includes a connector 87B that mates with connector 87A
on board 82 (Fig. 9)O In ~ig. 9 only those terminals of
connector 87B employed in this embodiment are illustrated.
~ connector 99A provides for all external connections, from
recorder/transmitter 25) both to polling processor 33 (Fiy~ 1)
.. ,, , ~
-- ;i! 9 ' '
~:~2~36~
and to scanner 26 (FigsO 1, 2 and 7).
The connections to scanner 26 from board 83, Fig~
lOo include terminals 6, 8 and 9 of connector 99Av Terminal
6 is connected to ground through the series combination of a
resistor R40 and a potentiometer R50. Potentiometer R50 is
employed to adjust the output level of the LED 71 in scanner
26 (Fig. 7) to assure effective scanning of the identification
members used in the system. Pin 8 of connector 99A is connected
to the +5 volt supply of board 83, described hereinafter. Pin
9 of connector 99A, affording a connection to the emitter of
phototransistor 72 in scanner 26 (Fiy. 7), is connected
through a diode D40 and a schmitt trigger circuit Z35 to pin
10 of connector 87B to complete the scan data input circuit to
interface unit Z24 on the middle board 82 (Fig. 9). Circuit
Z35 (Fig. 10~ converts the generally sinusoidal output 104
from scanner 26 to a pulse waveform 105 suitable for use in
the data processing circuits of middle board 82.
The work station data terminal does not include a
conventional local power supply. Power for all of the data
terminals is derived from a central powex supply 32 (FigO 1).
As shown in Fig. 1, the main bus 29 and local connector
cables 27 each include three conductors 101, 102 and 103~
Lines 101 and 102 are empioyed or transmission of power to
all of the data terminals. Line 101 is also used to transmit
data from the individual work ~tation data terminals 24 to
polling processor 33. Line 102 has the additional function
of transmission of data from the polling processor to all of
the data terminals. Line 103 affords a ground connection
extending throughout the system~
;
~ 30 -
,, , i .
~L2~i66
In power/data board 83 (Fiy. 10~, line 101 is
connected to pins 2, 10 and 13 of connector 99A. A jumper
between points JPl and JP2 interconnecting pins 2 and 10 can
be removed for adaptation of board 83 to a system variation
in which data transmission is segregated from power transmission.
Line 103 is connected to pins 3, 7 and 12 of connector 99A.
All ground connections in board 83 are returned to this point.
Transmission line 102 is connected to pins 1, 4, 5 and 14 of
connector 99A. To convert board 83 for use in a system in
which power and data are segregated, two jumpers between
points JP3 and JP4 and points JP5 and JP6 can be removed.
Points JPl through JP6 are also useful for test and alignment
purposes, as are the additional test terminals JP7-JP9.
To facilitate understanding of the circuits of
power/data board 83 (Fig. 10) it is desirable ko first
consider the nature of the power and data signals transmitted
through the system on lines 101 and 102, which are illustrated
by the waveforms shown in Fiy. 11. Power is supplied to all
work station data terminals by a series of positive pulses on
line 101 and negative pulses on line 102. Thus, the waveform
for line 101 includes a series of recurring power pulses 105
of positive polarity~ The fre~uency of power pulses 105 is
subject to substantial variation, preferably within a range
o~ 300 to 2000 Hz. Each power pulse 105 has an amplitude of
~48 volts. The duty cycle for the power pulses is also
subje~t to substantial variation, preerably within a range of
twenty percent to eight-five percent. The power signal
on line 102 is similar and consists of a recurring series
of power pulses 1060 Power pulses 106 are o negative
polarity, having an amplitude~of -48 volts~ The two sets
_ 31 -
3666
of power pulses 105 and 106 are synchronized with each other
(Fig. ll)o
As noted above, line 101 transmits data from the
individual work station data terminals to the polling
processor of the system. Transmission i5 in the form of
a binary signal interposed in the gaps between power pulses
105. For a binary zero, the voltage on line 101 is left to
decay normally and goes no lower than zero, as indicated by
the intervals 107-0 in FigO 11. The rate of voltage decay
and level reached during the binary zero intervals 107-0 is
a function of tha overall transmission system capacitance,
and may vary substantially for different installations.
For a binary one a negative twelve volt pulse is applied to
line 101, in an interval between power pulses, as indicated
by the pulses 107-1 in FigO llo
A corresponding arrangement is used for transmission
of data from the polling processor to the individual data
terminals along line 1020 For intervals between power pulses
106 in which the voltage on the line is allowed to decay in
normal fashion, and the voltage on the line remains negati~e
with respect to zero, waveforms 10~-0 signifying binary ~eros
are presented. For binary ones, positive twelve volt pulses
are applied to line 102 in the intervals between power pulses,
as indicated by pulses 108-1 in Fig. 11. It is khus seen
that there is simultaneous time-shared transmission of power
and data between the work station terminals 24 and the terminal
bus interface units 31 of the system (see Fig. 1) and that
there can be simultaneous transmission of data to and from
the polling processor 33 and the work station terminals 2
at all times.
- 32 -
~2~i66
eturning to Fig. 10, it is seen that line 101 is
connected through a diode D32 to a first voltage regulator RGl
which is in turn connecked to a second voltage regulator ~G2.
Regulator RGl utilizes the foxty-eiyht volt power pulses 105
from line 101 (E~ig. 11) to develop a regulated twe~ve ~olt
supply of positive polarityO Regulator ~G2 is employed to
derive a regulated +5v supply for ~he circuits of all three
boards 81-83. The two regulators in series afford a steady
and reliable voltage supply, despite the intermittent nature
of the power input from line lOlo There is no specific need
for a regulated ~12v supply for boards 81-83, but with
different electronic implementation it may be a necessity
(see Figr 15)o hine 102 is connected through a diode D33
to a voltage regulator RG3 that provides a negative twelve
volt output for generation of data pulses 107-1 (Fig. 11)
on line 101. An additional regulator R~4 may be used to
provide a -5v supply for a different scanner (see Fig~ 15).
Line 102 is also connected through a blocking diode
D35 and a resistor R35 to a sync detector 109. Detector 109
includes a photo.isolator 110; the cathode of the LED component
of photoisolator 110 is connected through a resi~tor R37 to
resistor R35, the common terminal 113 of resistors R35 and
R37 being returned to ground through a capacitor C40. A
zener diode D37 is connected from terminal 113 to ground and
the anode of the hED in photoisolator 110 is also grounded.
The phototransistor in photoisolator 110 has its
emitter connected to system ground and its collector connected
to a "sync" pin 20 of connector 87B through the series
combination of two schmitt trigger circuits Z31 and z32.
- 33 -
1 lZ ~ 66 6
The collector of the transistor portion of device 107 is
also returned to the +5 volt supply through a resistor R39.
The output of trigger circuit Z32 is also connected to one
input of a ~AND gate Z36. A second input to gate Z36 is
derived from pin 17 of connector 87B through an inverter Z37.
~AND gate Z36 is connected in series with the LEDs in two
photoisolators 111 and 112, the circuit being returned to
the ~5 volt supply thnDugh a resistor R46.
The emitter of photoisolator 111 is connected to
the collector of a transistor amplifier Q31 and is also
connected through a current limiting lamp LPl and a filter
comprising a resistor R33 and a capacitor C35 to the output
of the -12 volt regulator RG3. Tha collector of the t~ansi.stor
element of photoisolator 111 is connected to the base of
transistor Q31. A feedback resistor R41 is connected between
the emitter and base of transistor Q31. The emitter of ¦
transistor Q31 is also connected to the emitter of a second
amplifier transistor Q32 that is connected, in a complementary
circuit, to photoisolator 112. The collector of transistor
amplifier Q3~ is connected to line 101 through a blocking
diode V31. A line termination resistor R43 is connected from
the line 101 connection to ground.
A data detector 114, similar in construction to
detector 109 but oppositely polarized, is also connected to
transmission line 102 through a blocking diode D34. The
collector of the transistor element in the photoisolator 115
of detector 114 is connected to a data output pin 19 of
connector 87B through two series connected Schmitt trigger
circuits Z33 and Z34.
- 34 -
..
In considering operation of the circuits of power/
data board 83, Fig. 10, sync detector 109 makes a good starting
point~ Upon the occurrence of each negative-going power pulse
106 on line 102 (see Fig~ 11) capacitor C40 is charged negatively
and, after a predetermined interval, the LED portion of photo-
isolator 110 is energized. This produces an output signal
~rom the transistor element of photoisolator 110, a signal
that persists for a limited time interval after the end of
the input pulse from line 102 due to the stored charge on
capacitor C40. The output of photoisolator 110 is converted
to a sync pulse of given amplitude and waveform by trigger
circuits Z31 and Z32 and supplied to the data processing
board 82 via pin 20 of connector 87B.
The same sync pulses are applied to N~D gate Z36;
whenever a sync pulse coincides with a data signal from the
processing board (pin 17 of connector 87B) gate Z36 goes
conductive to energize the LEDs in photoisolators 111 and
112. The two photoisolators actuate the complementary
amplifiers Q31 and Q3Z to complete a connection from the -12
volt supply, regulator RG3, to line 101, transmitting a
negative 12 volt pulse (107-1, Fig. 11) representative of a
binary one to the polling processor. When the sync pulse from
detector 109 occurs in the absence of a data pulse input to
gate Z36, photosiolators 111 and 112 an~ amplifiers Q31 and
Q32 remain inactivated and the signal on line 101 is a binary
zero (see pulses 107-0 in Fig~ 11).
Detector 114 operates in the same manner as detector
106 except that it entails no time delay and responds only to
positive pulses on line-102, these being the pulses 108-1 of
FigO 11. Each time one of these data pulses is received on
- 35 -
i6
line 102, it is detected by detector 114 and supplied to
the data processing board ~2 through the threshold-establishing
Schmitt trigger circuits Z33 and Z34 and pin 19 o~ connector
87B.
Fig. 12 affords a block diagram of one of the
~ terminal bus interface units 31 of system 20 (Fig. 1), adapted
for use with the specific circuits and constructions illustrated
in Figs. 2-11. Interface unit 31, in the configuration
shown in Fig. 12, comprises three circuit boards 121, 122 and
123 which in many respects correspond to boards 81-83 of the
individual data terminal units 250 Thus, board 121 is a
keyboard and display unit that may be essentially similar
to board 81 (Fig. 8). However, the simple nine-character
display 63 employed at the work station data terminal may be
replaced by more sophisticated display apparatus, such as a
cathode ray tube display, to permit readout of more detailed
information than at the work stationsO
The data processing board 122 of inter~ace unit 31
(Fig. 12) is basically similar to the data processing board
82 for the individual terminals (Fi~. 9), but with some
additions. Thus, board 122 comprises a microprocessor ~41
connected to a program storage ROM Z42 and a random access
memory Z43. An interface circuit Z44, which can constitute a
programmable serial communication interface unit like Z24
or a more conventional USART unit, conn~cts microprocessor
Z41 to the power/data board 123 for terminal unit 31.
second USART z45 is also connected to microprocessor Z41
as an interface to couple ~he terminal hus interface unit 31
to polling processor 33. Microprocessor Z41 is also connected
to a programmable rate generator æ46 constitutin~ the basic~`
- 36 -
sync signal source for the data terminals connected to this
terminal bus interfac~ unit 31. Circuit Z46 reduces the
operating (sync) fre~uency whenever microprocessor Z41 ascertains
that incoming data from the individual work station terminals
exhibits an unduly high level of errors, and increases that
frsquency, up to a predetermined maximum, whenever the occurrence
of errors is reduced to an acceptable level D That is, the
programmable rate generator Z46, in conjunction with micro~
processor Z41, affords a dynamic transmission control, adjusting
the sync (transmission) frequency in relatively small increments,
over a substantial range, to provide data transmission at the
most rapid rate consistent with an acceptable error level.
Thus, in a system in which the normal operating ~requency on
lines 101-103 is 2000 Hz, a determination by microprocessor Z41
that an undesirably hiyh percentage of the incoming data from
the work station terminals is inaccurate, the sync frequency
is reduced until the error incidence is no longer excessivev
When conditions improve, the sync (transmission) frequency is
again increased.
The power/data board 123 that connects terminal bus
interface 31 to all of the work station terminals served by
the interface ~Fig~ 12) is illustrated in detail in FigO 13.
As shown therein, the sync signal circuit 129 from programmable
rate generator Z46 is connected to the LED portions of four
photoisolators 131 through 134 through four trigyer circuits
Z51 through Z54. The anodes of ~he LEDs in photoisolators
131-134 are returned to a ~5 volt supply through four resistors
R75 through ~78.
The collector of the phototransistor in device 131
is connected to the collector of a transistor amplifier Q61
and to a ~48 voLt supply. The emitter of the phototransistox
is connected to the base of transistor amplifier Q61~ The
emitter of transistor amplifier Q61 is connected bac* to the
base through a resistor R71. It will be recognized that this
is essentially the same kind of switching circuit as that
incorporating the photoisolator 112 in the data terminal
power/data board 83 (FigO 10)~
In board 123, Fig. 13, the switching amplifier Q61
is connected throu gh two diodes D61 and D62 ~o the base
electrodes of two power switching transist~rs Q51 and Q520
The collector of transistor Q51 is connected to a ~48 volt
line 135 from power supply 32. The emitter of transistor Q51
is connected through a resistor R51 to a power line 137. A
resistor R61 connects line 137 back to the base of transistor
Q51. The configuration for switching transistor Q52 is the
same, incorporating a c~oupling resistor R52 and a feedback
resistor R62.
The circuit for photoisolator 132 is tha same as
for photoisolator 131 except that it is of complementary
20 configuration as regards transistor amplifier Q62 and power
switching tran sistors Q53 and Q54 The collectors of the
power switching transistors Q53 and Q54 are connected to a
conductor 138 that is in turn connected to transmission line
101 through a diode D51.
The power switching circuitry for the other data
transmission line 102, controlled by photoisolators 133 and
134, amplifiers Q63 and Q64, and power switching transistors
Q55 ~hrough Q58, is the same as for the positive power supply~,
In this instance, the po~7er input is from a line 136 connected
to power supply 32 and the power conne~tion to line 102 is
-- 38 --
.
36~g~
made through a blocking diode D53.
The circuit ~or transmitting data from the individual
work station terminals through the power/data board 123 of
the terminal bus interfac~, Fig. 13, starts with transmission
line 101 and extends through a blocking diode D52 and through
a line termination and clamp circuit comprising resistors R91,
- R92, and R93 and a Zener diode D91 to the LED element of a
photoisolator 137. The phototransistor in photoisolator 137
has its collector connected to a +5 volt supply through a
resistor R94. The emitter is groundedO The collector is
connected through two Schmitt trigger circuits Z59 and Z60,
in series, to a data line 201 that connects to the processor
board 122 (FigO 12)o It will be recognized that photo-
isolator 137, Fig. 13, constitutes a detector essentially
similar to detector 114 in the data terminal board 83, Fig. 10.
Data transmission from the polling processor to
the work station terminals, through the terminal bus interface
power/data board 123 of Fig. 13, starts at line 202 from
US~RT Z44 (see Fig. 12). Line 202 constitutes one input to
an AND gate ~56, the second input to gate Z56 being the sync
pulses from line 129, which are coupled to the AMD gate
through a schmitt trigger circuit Z55O The output of A~D gate
Z56 is connected through two inverter driver circuits Z57 and
Z58 to the LED portions o~ two photoisolators 145 and 146.
The L~Ds of the two photoisolators are returned to a ~5 volt
supply th~ ugh two resistors R85 and R86~
In photoisolator 146, the phototransistor collector
is ~onnected to the ~48 volt supply and the emit~er is
connected to the base of a transistor Q66. The collector o~
transistor Q66 is connected to the ~48 volt supply and the
- 39 -
emitter is cvnnected to the base of a transistor Q600 Theemitter of transistor Q66 is connected back to the base
through a resistor ~84. The collector of transistor Q60 is
- connected to the +48 volt supply. The emitter is connected
back to the base through a resistor R82. The circuit connected
to photoisolator 145 is complementary in construction and
includes a first transistor Q65~ a second transistor Q59, and
two resistors R81 and R83. The emitters of ~he two transistors
Q59 and Q60 are connected together and the collector of
transistor Q59 is connected through a blocking diode D54 to
the main transmission line 102
For power transmission to the data terminals, each
sync pulse received from rate generator Z46 on line 129 actuates
the four photoisolators 131-134 to drive the associated
transistor amplifiers Q61 through Q64 to conduction. The
outputs of these four amplifiers t in turn, actuate all of the
power switching transistors Q51 through Q58 to conductive
condition. Accordingly, txansmission line 101 is connected
to the ~48 volt power line 135 through the power switching
transistors Q51-Q54 and transmission line 102 is connected to
the -48 volt power line 136 through the power switching
transistors Q55-Q580
For data pulses, the circuits o board 123 ~unction
in essentially the same manner as those of board 83. ~egative-
going data pulses received from the work station data terminals
on line 101 are passed through diode D52 to the detector
comprising photoisolator 137 and trigger circuits Z59 and Z60
and are then transmitted on line 201 to processor board 12Z
(Fig. 12). Data from the polling processor, received rom
data ~oard 122 on line 202, actuates A~D gate Z56 in synchronism
- ~0 _ " .
866~
with sync pulses from line 129 and the inverter Z55,
connecting line 102 to the positive power supply through the
attenuating amplifier comprising transistors Q59, Q60, Q6$
and Q66, controlled by inverters Z57 and Z58 and photoisolatoxs
145 and 146.
As an aid to understanding of the operation of
the specific data acquisition system shown in Figs. 2 through
13, the data transmission protocol for the system is set forth
in Fig. 14. Fig. 14 shows host-to-unit and unit-to-host
operations, including signals broadcast to all data terminal
installations, system responses, error responsesr and
transactions of various lengthsO An explanation of the
different symbols employed in Fig. 14 for data transmission
messages is presented in the following Table ~:
. . , ~ ~ .
- 41 ~
366~
.. TAP,LE I ~
DATA TRANSMISSION - MESSAGES
Messaqe inary Meanin~
DAT~ 00~ Data values: OOOO-HEX,
OO-BINARY, ~-ASCII-20
CM~D Commands:
MACK 0100 0001 Unit/Host message received.
MRJT 0101 0010 Unit/Host message rejected~
MPND 0101 0000 Message pending for terminal.
MBEG 0100 0010 Message begins for terminal.
CSTN 0100 1110 Host broadcast to all units -
response next poll = ~0.
CSTY 0101 1001 ~ost broadcast to all units --
response next poll = YES,
QUIT 0101 0001 Quit sending until polled.
MAVL 0101 0110 Terminal available or host
message.
STRT ) 10 [terminal Start transmitting~ terminal No~
MESS ) number3 Terminal message for host.
PoLL ) 11 tterminal Poll terminal ~o.
RJCT ) number3 Reject - no message for host.
- 42 ~
8~
The displays presented to the work station operator,
in normal operation of the system of Figs. 2~14, are set forth
in Table II:
TABLE II
DISPLAYS - ~ORM~L OPER~TIO~
.. . . . .. . . . . . .
ID Member Scanned DisplaY
~ ~ .... . .
l. Operator's Card 41 - First Scan ON -- 76432
2. Operator's Card 41 - Second ScanOFF -- 76432
3. Operation Card 43 3 -- 125
4~ Workpiece Unit card 37 - First 008712-l9
Scan
5. Workpiece Unit Card 37 - second EMD JOB
Scan
6. ~ny erroneous scan, any card ERROR
The numbers in displays ~os. 1 and 2 are the individual operator's
number~ The first number in display ~o~ 3 is the shop (factory)
designation; the second number is the process step
(operation) identificationO In display ~o. 4, the first
number is the garment cut number, the second is the bundle
number; see Fig. 4.
Routine operation of the system disclosed in Figs.
2 through 14 corresponds directly to the preliminary description
of operation for system 20 of Fig. 1 as described above, and
hence need not be repeated in detail. The operational program
for each o~ the work station data terminals 24, recorded in
the ROM Z22 (Fig. 9) at each terminal~ is set forth hereinafter~
However, some supplementation and clarification of the ;
operating procedure, and some additional features of the system
of Figs. 2-14~ merit consideration.
- 43 -
3666
Each time the work station operator scans one of
the identification cards 36, 41, or 43, in scanner 26 (Figs.
2, 5 and 6) the display 63 on the face of the recorder
transmitter unit 25 (Figs. 2 and 3) flashes a message to the
operator. The messages, which depend upon the cards scanned
and the sequence, are shown in Table I. If the operator pulls
the card through scanner 26 too 510wly, the "ERROR~' display
IS given and the operator knows that the card must be scanned
again. This is e~ually true with respect to a movement of
the card through the scanner that is too rapid. However, as
noted above, scanner 26 can accommodate card movements at a
variety of speeds~ The portion of the program for micro-
processor Z22 (Fig. 9) that interpr~ts the card scan is
identified by the heading
The program for the microprocessor also causes the
data terminal to display "ERROR" if the operator lifts the
card from the scanner before the scan is completed or if
any other error in scanning occurs~ such as a missed or extra digit.
As noted above, when an operator identification card
41 is scanned at the start of a work period, the operator
identification-is retained in storage in RAM Z23 until the
same operator scans the same identification card on leaving
the work station~ In the interim, if the operator leaves the
work station for a brief period, as to obtain additional
workpiece units or for other reasons, another operator might attempt
fraudulently to obtain credit for the first operator's work by
passing his own ID card 41 through the scanner at the work
station of the first operator. This contingency is met in
the data terminal program, which rejects any operator ~`
identification data once an operator has checked in at the
; - ~4 ~
work station and has not checked out~ ~11 that happens on
scanning of a second operator's identification member 41,
after a first operator has already checked in at the work
station, is an error determination with appropriate display.
The proyram for each data terminal also effectively
precludes operator entry of at least certain classes of data
through keyboard 67. Thus, data entry through keyboard 67 is
limited except when a specially coded supervisor's identifi-
cation card has been passed through scanner 26. By this
technique, each da~a terminal is adapted to supervisory entry
of specialized information, such as messages indicating that
an operator has been given pexmission to leave early, an
operator has been given permission to work overtime, or a
rate or other payment change is to be made due to specialized
content of workpiece units or the like, without permitting
the entry of such information by the work station operator.
The program restricts entry of such specialized data to a
foreman or other supervisor.
Each station operator is always informed with
respect to effective operation of the data terminal 24 at the
work station. Each good entry of data is signalled both by
display 63 and by a brief audible signal from device 66.
Indicator lamp 64 tells the operator when recorded information
has been passed on to the polling processor and the terminal
is clear to receive additional informa~ion. Indicator lamp 65
tells the operator that the data terminal is on line and
functioning properly, being polled appropriately by polling
processor 33; if indicator lamp 65 goes out at any time, the
operator can report a malfunctioning data terminal promptly
to the appropriate supervisory personnel
- 45 - ~;
~L2~3~6~i
Whenever a malfunction of the production apparatus
23 at a given work station (Fig. 1) occurs, a foreman or
mechanic can report this situation through keyboard 67, first
scanning the special foreman's or mechanic's identification
card to enable use of the keyboard for this purpose. The card
- of a mechanic may be encoded to preclude use of the keyboard
for other functions limited to codes intended for use only
by a foreman or other supervisory personnel.
The data acquisition system of the invention is
especially appropriate and advantageous as applied to a garment
sewing shop or other production facility in which the operations
at each work station are typically of short duration performed
by sedentary operators working on relatively low cost equipment,
with a large number of work stations present in the facility.
The individual data terminals 24 do not require separate power
supplies, all power requirements being met by transmission
from the central powar supply 32. This permits a substantial
reduction in the cost of individual terminals. on the other
hand, the forty-eight volt ~C power supply 32, with adequate
capacity to serve a large number of data terminals, is not
particularly e~pensive because equipment of this kind has
long been available for telephone service. Moreover, a standby
battery fox power supply 32, allowing orderly shutdown of the
data acquisition system without data loss in the event of a
power failure~ can be incorporated in the system at only
moderate cost.
The simple three~wire transmission system used by
the data acquisition apparatu~ of the present invention i~
readily available from a number of sources and is much lower
in cost than any arrangement using dedicated wiring, coaxial
- 46 -'
6~;
cable, or the like. This simple transmission arrangement,
which handles both power and data, allows any work station to
be moved to any location in the shop and immediately connected
to the data acquisition system simply by plugging connector 28
into the nearest data system bus 29, provided the capacity of
the polling processor is not exceeded. Consequently, relocation
of work stations to meet changing work requirements is
accommodated by the system in a matter of minutes~
The high amplitude ttwelve volts) pulses used for
data transmission in the system are of material value in
eliminating errors due to field coupling to adjacent electrical
equipment and like sources. Any noise entering the system
must be of high amplitude, of the proper polarity, and must
coincide with the time slots reserved for data transmission
in order to produce any errors. The specific system of Figs.
2-14 afords an overall signal-to-noise ratio high enough so
that the loss of significant data is most unlikely. In an
extremely noisy facility, even this high level of performance
can be improved by increasing the amplitude of the data pulses;
an increase to twenty-four volts can be accompLished with
little change in the e~uipment.
Initiation and propagation of error in the system
~are minimized by appropriate checks, performed locally at
the data ~erminals~ These error determinations typically
include checks of length, sequence, and presence or absence
of check digits in the input data; see the accompanying data
terminal program~ For analog inputs to the system, as
discussed hereinafter, the integrity of the system is maintained ~-
by conversion of data to digital at the data terminals prior
to any processing. Because there is no keyboard entry of data `~
~ i
~ 4
~3L2~66
in normal system operation, and the keyboard is locked out
for normal system functions, erron~ous data entry through
keyboard errors is effectively eliminated.
The data acquisition system of the invention collects
complete information on the location and status of all workpiece
units, on a real-time basis, continuously through each work
shift. Thus, the data supplied to the host computer makes it
possible, at any given time, to determine the location of each
workpiece unit in the shop. on the other hand, collection of
this information requires no exercise of clerical skill on the
part of the work station operators. The highly "intelligenk"
data terminals obtain all essential information, covering work
station identity, operator identity and workpiece identity,
by simple scanning of inexpensive identification members
through procedures requiring no specialized skill on the
part of the operatorsO Complete payroll information as well
as workpiece information is continuously maintained by the
system on a real-time basis.
one of the highly useful attributes of the system of
Figs. 2-14 is that the basic functions are soft-coded. Hard-
wired logic, used in many previous systems, is generally
eliminated in favor of software as a basis for processing and
-control. The principal units o~ the system are not dedicated
to a specific function or to a given machine. This adds materially
to the versatility of the systemr Further system ~unctions
can be added by using additional identification members or by
adding external inputs, either analog or digital. For example,
the system can be of appreciable value in connection with
time study operations. Furthermore, the system can be readily
- 30 adapted to monitoring of a number o~ other kinds of information
- 48 - ~
; ; , -~ ~-
6~
O and to us8 of a variety of different input devices as explained
more fully hereinafter.
It is not essential that each data terminal include
a keyboard 67 (Figs. 2, 3, 8) because, as noted above, the
keyboard is not required for and does not enter into normal
system operation. To preserve the capi~bility for entry of
special data, while reducing the cost of the individual data
terminals, the keypad may be replaced by a connector at each
terminal. Keyboard data entry can then be accomplished by use
of a portable keyboard e~uipped with a mating connector;
modern keypads are small and compact enough to be carried in
a supervisor's pocket and present no substantial problem in
this regard.
Because the invention is primarily concerned with
data ac~uisition, not data processing, no explicit data
regarding the internal construction of polling processor 33
or host computer 34 is incorporated herein~ Computer 34 may
constitute any general purpose computer, suitably programmed,
and may encompass the functions of polling processor 33.
on the other hand, polling processor 33 may itself be a small
general purpose computer. For increased protection against
any malfunction at the polling processor~ that unit may
constitute two or more small general purpose computers, such
as Intel model SBC 80/20-4, in a redundant arrangement to
; protect against system outage.
In order to afford a more complete disclosure of
the specific system of Figs. 2-14, detailed circuit data relating
to the system is set forth in Tahle III. ~ should be understood
that this information is presented merely by way of illustration
and in no sense as a limitation on the invention.
- 49 ~
.. . .. ~ . ... , . , . _ ..
66
T~BLE III
CO~PO~TS FOR FIGS. 8-10 and 13
Inteqrated Circuits, etc~
Zll B2?9 Intel
Z12 DS8867 ~ational
Z13 DM74145N ~ational
Z14 LM556CN National
63A-63I displays DL304 Litronix
67 keypad KL0076 Digitran
10 66 audible signal XlOP05 Project Unlimited
Z21 8085 Intel
Z22 ~355 Intel
~23 8156 Intel
Z24 8251A Intel
Z25-30 DM7404N National
~1 5.068 MHz
Z31-35 . DM7414~ ~ational
Z36,Z37 DM7400N National
Z51-54, Z57,Z58 DM7406N ~ational
20 Z55 DM7404N ~ational
~56 DM7408N National
Z59,60 DM741~N ~ational
Solid State Devices
Q11 transistor 2~5369 Sprague
110,111,112,115 photoisolators 4N33 Motorola
Q31 transistor MJE30B ~otorola
Q32 transistor MJE29B Motorola
D-31-35~ D38 diodes R17~ International Rect.
30 D36,D37 diodes : 1~4733 International Re~t.
-
5 0 -- :
., ,..... . ,. , . . . ,.. , . .... _.. . .. _ ... ~ _ _._
Q51, Q52, Q57, 060 transistors 2N5686 Motorola
Q53-56, Q59 transistors 2~5684 Motorola
Q61, Q64, 066 transistor amplifiers 2N6056 Motorola
Q62, Q63, Q65 transistor amplifiers 2~6054 Motorola
131-134, 137, 145, 146 Photoisolators MOC8050 Motorola
D51-54 diodes I~ 1188A Motorola
D61-68 diodes I~ 4004 Motorola
D91 diode I~ 5337 Motorola
10 Resistors
Rll, R12 100 kilohms
R13, R14 2o2 kilohms
R15-R17, R36, R37, R41, R42 330 ohms
R18, R31-R33, R38~ R39, R43, R93 ~ kilohm
R21-R24 3 kilohms
R25, R34, R35, R44, R45 560 oh~s
R40 ~ .. 68 QhmS
R46, R91 100 ohms
R50 200 ohms
R51-R58 0.1 ohm
R61-R68 150 ohms
R71-R74, R83, R84 400 ohms
R75-R78, R85, R86 220 oh~s
R81, R82 270 ohms
R~2 120 ohms
.
- 51.- .
: ~ :
~2~366~
Capacitors ._
Cll, c22, C34 2000 microfarads
C12 100 microfarads
C13 5 microfarads
C14, C15 0.01 microfarads
C21 15 microfarads
C31-C33, c35 1000 microfarads
C36 0O47 microfarads
. FigO 15 illustrates a modification of the system of
Figs. 2-13 for use in a system in which the basic input to
data terminals 24 (Fig. 1) is derived from a bar code instead
of the aperture code used in identification members 38, 41
and 43. A standard two-of-five black and white bar code is
assumed~ As beore, the identification members preferably
pxovide human readable data as well as scannable data~ For
this modification of the system, the circuits connected
2~ between pins 6, 8 and 9 of connector 99A and pin 10 of
connector 87B in the power/data board 83, Fig. 10, are all
omitted, and board 83 is modified to incorporate the input
circuit 83~ of Fig~ 15O --
Circuit 83A, Fig. 15, includes an analog-to-digital
converter Z51 having its output terminals connected to tho
- pins 8-16 and 18 of the connector 87B that constitute data
input connections to R~M z23 in processor board 82, Fig~ 9.
Appropriate constant-voltage inputs to converter Z51 are
provided from the:~12 volt and -12 volt supplies afforded by
- 30 regulators RGl and RG3 (Fig. 10) by mean3 of aircuit~
-52
66
including the resistors R101 through R10a~. These supply
voltage circuits for converter z51 include an additional ~5V
reyulator RG5. Converter Z51 of circuit 83~, Fig. 15, also
includes a clock inpu~, based upon the clock signal available
from pin 7 of connector 87B. The clock input circuit includes
a J-K flip-flop Z52 employed as a frequency divider to afford
a clock input to converter z51 at one-half the frequency of
the clock signal from microprocessor Z21, Fig. 9.
~n analog input to converter Z51, Fig. 15, is derived
10 through a potentiometer R105 connected, in this instance, to
the output of a bar code scanner 111. Scanner 111 may comprise
a ligh pen scanner employing the construction described in
United States Patents Nos. 3,784,794 and 3,892,974 and comprises
a light emitting diode 112, a phototransistor 113, and an
amplifier 114. Connections to scanner 111 are provided through
a connector llO~-llOB, including appropriate connections to
the requisite power supply voltagas. Scanner 111, as illus-
trated in Fig. 15, may comprise the Model 1230 light pen
scanner, available from Interface Mechanisms Inc. of Mountlake
20 Terrace, Washington. If desiredO the components of that
scanner may be mounted within a slotted block or frame as
described above for scanner 26 (Figs. 5 and 6).
In operation, using bar code scanner 111, the
input circuit 83~ of Fig. 15 provides an analog signal input
to converter Z51. The analog signal input is converted to
a series of digital output signals that are supplied to
random access memory z23 (Fig.9) through connector 87B, 87B.
Microprocessor Z21, Fig. 9, is appropriately programmed to
utilize the digital signals derived from converter Z51 for
30 interpretation of the bar code scanned by scanner lll. Thus,
s -- 53
1~8~
the circuit 83A of Fig. 15 converts the analog signal from
scanner 111 to a digital signal that can be effectively
processed in the system and allows for a change of identifica-
tion members from the punched cards described above to black
and white bar code identification members. The same circuit
83A can be used, without substantial change, with a magnetic
code scanner~ Furthermore, the same circuit can be used with
a variety of other different analog input devices (e.g~,
pressure transducers, temperatura transducers) to allow for
additional data inputs to the data acquisition systemO
Indeed~ the punched card scanner of Figs. 5-7 can be employed
with the conversion circuit 83A of Fig~ 15. In each instance,
of course, the data terminal microprocessor must be suitably
programmed for interpretation and veriication of the daka
supplied to converter Z510
To provide a more complete disclosure of the
conversion circuit 83~, Fig. 15, detailed circuit data is set
forth below in Table IV. This information is presented solely
for purposes of illustration and in no sense as a limitation
on the invention.
TABLE IV
Components for Fi~. 15
Z51 MM5357M ~Iational
Z52 S~7473
RGS LH0071 National
R101, R103 500 ohms
R102,R107, R108 330 ohms
R104 3 kilohms
30 RlOS 5 kilo~ns
R106 100 o~ns
; - 54
FigO 16 is a simplified blocX diayram of a poink-
of-manufacture data acquisition system 220 constructed in
accordance with another embodiment of the present inventionO
System 220 includes marly elements corresponding directly to
those of the previously described system 20; like system 20,
system 220 is utilized in a production facility having a series
of work stations with a multiplicity of workpiece units moving
through those stations for performance of a sequence of
manufacturing or other process operationsO Fig. 16 shows a
part of one series of work stations 221-1 through 221-8; it
should be understood that there are additional work stations
in the same series and that system 220 would also include one
or more additional series of work stations. ~s before~ each
work station includes a production apparatus 23 which, in a
garment sewing shop, could be a sewing machine, a buttonhole
cutting and sewing apparatus~ a press, or other equipmentO
System 220 employs workpiece" operator, and shop operation
identification members 37, 41, and 43 clorresporlding
essentially to those described above (Figs. 1 and 4).
In system 220, Fig. 16, a scanner 226 is located at
each of the work stationsO The scanners 226 for the work
stations 221-1 through 221-4 are each eleckrically connected
to a recorder/transmitter unit 225A that is in turn connected
by a local three-wire power/data cable 27 and a connector plug
28 to a power/data transmission line 29. Sîmilarly, the
scanners 226 for the work stations 221~5 through 221-8 are
each connected to a recorder/transmitter unit 225B that is
electrically connected to the three-wire bus 29 by a local
cable 27 and connector 28. The main bus 29 is connected to
a terminal bus interface circuit 31; system 220 also includes
:~ .
-- 55
Z~6~
another main bus 29 connectPd to a second terminal bus inter-
face circuit 31. The terminal bus interface circuits 31 are
connected to a common power supply 32 and to a polling
processor 33. Polling processor 33 is coupled to a central
computer 34 and to appropriate auxiliary e~uipment 35. It
will be recognized that the portion of system 220 comprising
circuits 29 and 31 through 35 is the same as in the previously
described embodiment.
! The recorder/transmitter units 225~ and 225B of
system 220 are essentially similar to the recorder/transmitter
units 25 of s~stsm 200 Units 225~ and 225B each should incorporate
adequate storage for all of the work station scanners connected
thereto, and some form of programming (hardware or software)
to distinguish the woxk stations.
The work station scanners 226 may be essentially
similar in construction to the scanner 26 described above in
conjunction with Figs. 5-7. Preferably, however, scanners 226
are each provided with some minimal indicator capability,
shown as two .indicator lamps 264 and 265. If desired, each
scanner 226 may also be equipped with an audible alarm 266~
a data display 263, and a keypad 267, or any desired combina-
tion of such devices. In system 220, if the scanners provide
only the lamps 264,265 for signalling to the work station
operator, lamp 264 may be employed to indicate that data
previously entered in recorder/transmitter (225~ or 225B) from
the associated work station has been transmitted to the polling
pro~essor 33 so that additional data can be entered~ Lamp
265 may be utilized to indicate to the work station operator
that scanning of one of the identi~ication members 37,41 or
43 has been effective and has resulted in the entry of valid
- 5~ -
. . . ... . . . . . .
666i
information in the recorder/transmitter. If all of the
devices 263-266 are present at each scanner, their operation
may be as described above for devices 63-66. of course,
variations on these indicator functions are readily applicable.
As previously noted, the internal circuitry of
recorder/transmitter unit 225~ (and the similar unit 225B) may
be essentially similar to unit 25 as described above, with the
relatively minor addition of internal logic to recognize the
individual scanners 226 of the different work stations in tha
group 221-1 through 221~4 and perhaps some increase in storage
; capacity. In effect, therefore, each scanner 226, taken in
conjunction with its associated recorder/transmitter unit 225A
or 225B, affords a complete data terminal for one of the work
stations. Stated differently, each recorder/transmitter unit
is common to a group of data terminals for the individual
work stations, whereas a separate scanner i5 provided at each
work stationO
The operation of system 220, Fig. 16 is essentially
the same as described above in detail for system 20. on the
other hand, system 220 may be somewhat more economical than
system 20 because each recorder~transmitter unit in system 220
serves several work stations. ~evertheless, system 220 allows
effective entry, on a real time basis, of operator identity,
shop operation identification, and workpiece unit identifica-
tion, with start and finish of work on each workpiece unit,
simply by scanning of the systam identification membarsu
~ lthough each of the recorder/transmitter units
225~ and 225B in Fig. 16 is shown as a part of the data
terminals for a group of our wor~ stations, that num~er may
vary substantially~ The number o~ st~tions grouped through
one recorder/transmitter unit depends to a large extent on
such practical considerations as the space requirements for
each work station, khe complexity of the inormation trans-
mitted through the system, and the like; usually, the
number of work stations grouped with one recorder/transmitter
unit will be eight or less because larger groups require more
complex inter-group wiring with consequent minimization of
the cost advantage derived from grouping. It may be
convenient to provide an additional scanner (not shown),
with a keypad, directly associated with each recorder/
transmitter unit, such as units 225A and 225B, for use by a
supervisor or mechanic, independent of the work station
scanners 226.
In either system 20 or system 220, it may be
desirable to provîde for connection of a supervisory control
terminal at various locations around the system; such a
terminal may also be used for diagnostic purposes without
interrupting system operation. Because the system provides
both power and data transmission over the basic three-wira
busses 29, this is a relatively simple matter. The supervisory
terminal requires only the same basic circuits as employed
in recording~transmitting units 25 and 225, with limited
modification to accommodatè a more comprehensive display
such as a cathode ray tube display.
~ typical operating program for the data terminals
24 of system 20, Figs. 1~14, when using the punched card
identification members 38, 41 and 43 (Fig. l)o scanner 26
(Figs. 5-7) and the unmodified circuit 83 of Fig. 10, is as
~ollows:
- 58 -
<IMG>
- 59 -
~12t~ ; ~
.... .... . ~
. .
:)
. . . . . . . . . .... .. .. . . . . . . . . .
1515--11 B080~8085 IIACRO ASSEHULER, V2_0 POHO PAGE 2
.. ... .. . . . .... . ..... .. . . . 3
LOC Ofll SEQ SOURCE STATE11ENT ~ _ _ ~ _ _ __
;~ 0~ 4~ 0~*~*~0
-- 1b ~ EOUATES
' la -
0090 -- 19 ODISP EOU 90H: DISPLAY RAH IhlTlAL12AtlOr1 _ _ _ ___
OOC2 - ZO KKCLR EQU OCZH ; CLEAR KB FIFO
006B ~ Zl KOCTL EOU 6BH : 8279 CONTROL PORT __
OOb8 - Z2 K04TA EOU 48H i 8279 DATA PORT
OOOD - Z3 YDSK6 EOU ODH ; RESET 6.5 ONLY SUSART~
OOIEI - 24 HASK7 EOU laH ; RESET 7.5 ONLY IKD1
0019 Z5 HASKS EOU 19H : HASK 5.5,RESET 6.5 7.5OOOC -- Z6 DEFCS EQU OCH ; P8-- It;PUT~ PC ~ ALT2 5~ DUTPUT
OOIa ~ 27 CSR EQU 18H; 8155 CCMHAND/STATUS REI;ISTER ADDRESS
OOIA - Z8 PCRTB EQU IAH ; Ir~PUT: PCYDAS AOORESS
OOla -- 29 PORTC EOU 18H : OUTPUT: HORN t LtGHTS -
OOCD ~ 30 UMOOE EOU OCOH : USARr HaDE
OOA8 ~ 31 UCTL EOU OA8H ; USART CONTROL PoRt -0037 - 32 UCDHD EOU 37H ; US~RT COMHAND ~ITH ERROR RESET T .
0088 ~ 33 UDAT4 EOU 88H : US~RT DATA PDRT 9
34:
OOCO ~ 35 POLLC EOU OCOH ; PDLL CHARACTER
0080 36 STRTI: EOU 80H ; STRT CH4RACTER
00~ 37 HACKC EI~U ~A' : MACK CHARACTER
0052 ' 38 MRJTC EOU 'R- MRJr CHARACTER
0050 ~ 39 I~PNDC EOU 'P~- ; H~NO CHARACTER _
0042 - 40 HaEGC EOU a~ ; MaEG Cl'ARAtTER - - --
004E ~ 41 CSTNC EOU 'N' ; CSTN CHARACTER
0059 -- 42 tST~C EI~U 'Y~ 1 CSTY CHARACTER ~1!
0051 -- ~.3 OUITC ElIU 'O': OUIT CHARACTER _ _ ___ _ _
0056 4~. HAVLC EQU '~MAVL CHARACTER
0020 . 45 NORHC EOU 20H; NCIII/AL TRANSHISSION CHARACtER ~1
0022 ~ 46 REGDC EOU 22tl ; REGISTER DUYP CHARACTER '
0023 ~ ~,7 MEHOC EOU 23H ; MEI'QRY DUMP CHARACTER _ ___ __
0026 ~a CASTC EOU tSH : BRCAOCAST REspoNsE CHARACTER
002~ 49 FXTSt EQU 2AH : flXED LINE TEST CHARACTER
0~2B -- 50 CYTSC EOU 2BH : CYCLE LINE TEST CHARACTER102F - 5I TEXTC EOU 2FH ; TEXT CCM''AND CHARACTER 9
0021 ~ 52 BCASA E~U ~4'-20H : BROADtAST-ACKliO-lLEOGE CHARACTER
0032 ~l 53 ~CASR EOU 'R'--20H a BRCADCAST-REJECT CHARACTER
DOIO 54 LONGF EOU IOH ~ LaNG FCRYAT OR' CHARACTER
~ 57; 3
- 58 SEJECT
.. -
,,, _ .... ... .... . . . . .
.. , . . . _ . . . . . _ .. . ..
... . . ;~
;
.
-- 60 --
.. . . ... ., .. , . ,~,.. .
-
_ . _ . .. _ . . _ ....... . _ _ .... _ _ _ _ _ _ . _ _ _ _ . . . _ .. ~ .. .... _ . . ... ..
lSlS-ll soao/Boss HACRO ASSEHBLER~ vz.o pOHO pA6 3
.. . . . _ . . , .. .. .. . _ . .. _, _ , _ ~
Loc OsJ 5EQ SOURCE STATEHENJ
~ 59 ;~O~O~ o~ o~o~ r~ 09~4~ o~0~4~-~
hO; ` DATA flELDS - TO RESIDE IN RA~
61 ; ~ -;9~ 0~ 4 t~ c00 ~ 0 ~ 4~ 40 ~ o
`' '- 62 ~
63 PUBLlC nARAy~cHEcK9DTypE~DATA9sA~pL~HosTH~TRTyp~suHDL
6~ pusLlc EHPlD,DPsEo~FwB~,KHooE,sTBYT,REDsT,HrADR,scAsT,DsuGA
65 t . .. .. : . _... .... . '
hlS .~ . -
67 DSE6
. 68;
' h9 DARAYS : OATA-VALUE ARRAY~
ooo~ .- 70 CHECK: DS I : CHEC~ OIGIT ISCAN INPUT ONLY
0001 71 OTYPE: DS I ; DATA-TYPE
oooE ~ ~2 DATA: os l~ ; DATA BYTES
oo~o ~ 73 SAHPL: DS 40H ; REAO-SAMPLE ARRAY
~ 74 HOSTH: ; HcsT - TRANSHITTED MESSAGE AREA:
0001 75 TRTYP: os I ; TRANSMISSION TYPE: NDRMAL ~ O
~ 7t9 . ~ SrsTEH ~ FORHAT CHARACTER
OOOF ~ 71 DS lS
0008 ~ 7a BUNOL: DS n ; PREYIDUSLY SCANNED BUNOLE NUHBER
OOOS - 79 EHP10: DS 5 ; E~PLOrEE ID
0001 ~ ao OPSEO: DS l ; OpERAToR SCAN SEJUENCE2
- 81 '9 Ol=EHPLOYEE slGNEn-oN~ 02=SHDP-OPN DEFINE~ ~
OOOI ~ a2 F~BH; os I ; F~O~BkO SCAN INDICATOR -:
OOOl ~ J3 KHOCES os 1 ; KEysûARD OpERATlNG HODEs
8~ ; 051DLE~ I-READING FROH K3
OOOI ~ 85 STsYT: DS I : CCY~UNICATIONS STASUS:
86 . ; 00 - NO CO~UNIC~TION PENDING 3
87 7 01 - UNIT HESSAG PNDING FOR HOST
~ ~8 ; 02 - UNIT HAS INFORHED HOST OF PENDING HESSAGE
89 ~ 10 - UNIT AvAlLAsLE TO ACCEPT HOST MESSAGE
~ 9o ; zo - UNIT RECEIVING HosT HESSAGE
0001 ~ 91 REOST: os 1 ; REO LEU STATUS _
OOOI ~ q2 ryADR: DS I : PC~OAS UNIT AODRESS
oool ~ 43 ECASt: os I : HOST BROAOCAST INDICATOR
OOOC - 9$ DS 12
00~0 ~ 95 OEUGA: DS hOH : CO~UNICATIONS OEBUG AREA
~ 9~ ~
" 9 7 S . _ _ _
- 98 SEJECT
! . ' .. _ . , . _. , .
.
.. . . , . .. . _
__ _
. . _
_
.
-- 6 1 ~ -- __ _
. . _.. ._ ._.
.
ISIS-II 80ao28085 H~CRO AS5EHBLER, VZ.O POHO pAOE 4
.. .. . ,. , . .. _, .. `, . ,, .. _ ~
LOC O9J - SE~ SOURCE STATEMENT ____ __ __ _ _ _ _ _ _ _
i 99 T
100 CSEG
1 0 ~ ; - . . _ . .
0000 C30000 E 102 START: JHP RESET ; RESET SYSTEH CN STARTUP
0003 31CCOO S 104 ~EGIN: LXI SP,STACK ; RESET STACK PDINTE~ -
aOOb AF 105 XRA ~ _ __ _
0007 327000 D IOb STA STBYT ; RESET COMHUNICATION STATUS BYTE
000~ 326FOO D 107 STA KHoDE ; RESET KEYBOARC STATUS HooE
OOOD COGOOO E 10~ CALL REOOF ~ TURN CFF REO LED IYELLOU LED ~ HORN OFf) ID9 ; __ __
10 ~
1~1 S
112 ~
113 ; . --
115 ; _ . _ _-
116 ; ~ O ~ O ~ o ~ t ~ 0 ~ # ~ 4 ~
117 I REOUEST PRCCESSOR: SCANNER2KEYE;OaR02HOST _
118 ;~O~ o~ o~o~ t~ 0~ e
119 :`
0010 3A7000 0 120 COROY: LOA STBYT
0013 B7 IZI ORA ~ : ALREACY COHMUNICATING ~ITH HUSTt _ _
OOl~`CZOOOO E 122 JN~ CCHHR ; .~ YES: CONTI~UE HOST OIALO WE
0017 3EC2 123 Hvl A,KKCLR ; CLEDR Ka FIFO ~ INTERRUPT __
0019 D363 12~ OUT XDCTL` .
OOlB 3E19 IZS . HVI A,HASKS
0010 30 126 51K - : ALLOH EITHER KEY~OARD GR HOST INTERRUPt
OOIE DBIA 128 SCAN?: IN PORTa ; REAO SCANNER
002U E601 129 ANI I ~~ CARU IN READ POSITION? _ _ _
0022 C20000 E 130 JNt SCAh ; .~ YES: --~EXECUTE SCANNER RourlNEs
131 ; _ __
132 ; ... .NO: ICARRY RESETI
0025 f3 133 El ; <ENABLE INTERRUPTS~ _ _ ___ _ _
002b 7F 134 HDV A,A :
no27 7F 135 HaV A,A ; nlO USART INTERRUPT7 ICARRY SET7
0028 f3 13b Dl ; <OISABLE INTERRUPTS>
0029 021EOU C 137 JNC SCAN? , ... .NC: TRY AGAIN
138 ~
002C 3EOD 139 HVI A,MASK6 : ... YES: ALLCU UNLY HOST CCHHUNICATION
002E 30 1~0 SIH
002F C3CCOO E 1~1 JHP COHHI --> EXECUTE HCST COHHUNICATION ROUTINES
142 ;
IS3 ;
14$ sEJEcT
.
- ^3
.. . . . . . ... . . . .. .. ... . ... .. . ... . .. . .. . . .... .. ... .. . . . .. ,, . . . . _ _ _ .
.
.
,. _ 62
'
.. .. ... ...... .. . ..
~12~6~;6
., . :
... .. . . . .. ... .... .. ,, .. ..... , . .. .. ... . _ .. ....... .... ....... . l
... . .. .. . . ..
ISIS-II 8D80~8385 HACRO ASSEH~LER, V2.0 POHD pAGE 5
LOC naJ SE~ SDURCE STATE~ENT
145 ,~o-~ c~4~ so~ 0~ 9~t~o~ 4~ 3
146 . INTERRUPT MANnLERS
147 ~t~ 4--~4~ 000t~-~0~t~ too~o~ r4
14B
0034 C 149 USINT: ORG START~34H : 0~-4 RST6.5 -- USART INTERRUPt HANDLER
0034 F3 150 Dl ; <DISABLE FURTHER INTERRUPTS>
0035 OBEIB ISI IN LDATA ; READ BYtE FRCP H05T
0037 47 15Z HOV 8,A ; H = BYTE FRCH HOST
0033 C3C000 E 153 JHP DE3UG ; AFTER DEBUG RDUTINE9 CONTINUE TO PRDCESS USART INTERRUPT
154 ;
15~ ; _ -- - ---- - - -156 ;
157 ~
003t C 159 KBINT: ORG START~3CH ; ~ RST7.5 -- KEYDOARO INTERRUPT HANDLER ~0~4
003C F3 160 01 : <DlSAaLE FURTEER INTERRUPTS>
OD30 C300DO E 161 JHP ~EYI~ > EXECUTE KEYBDARD ENTRY RDUTINES
Ib2 ;
163
164 ;
165 ; - 3
1~6 ;
16~ ; _ __ _ _ _ _
0040 DBAB 16B UCDNT: IN UCTL ; READ USART CDNTROL
0042 E610 169 ANt IOH ; OYERRUN ERROR7 3
OD44 CA4DDO C 170 J~ ~DERR : .. NO
0047 3E37 171 ~VI ~,UCCMD ; .~YES: RESET ERRDR FLAGS
0049 D3A8 17Z auT LCTL
004B FB 173 El ; CENABLE INTERRUPTS FOR NEXT USART INTERRUPT>
U04C Cq 174 RET ; .. ~ RETUR~ HITH CARRY-O
175 :
004D 78 176 NOERR: MOV A,a ; A - 8YTE FRCM HOST
004E 37 177 STC ; SET CARRY Tn INOIC4TE GOOD REAO
004F C9 17B RET
179 ; _ _
IHO ;
IHI sEJECT
. . ... . . .. . ... . _ .. . .. ... . ... _ _
. ~
.
,
-- 63 --
.. . . . . .. . . ... . . .
...... . ~
llZ8666
ISIS-II 8080~8085 HACRO ~SSEH8LER~ V2.0 / PDMO PAGf 6
EOC 08J SED~ SOURCE STATEHENT __ _ __
182 ~ *o~ o~ o~vs~o~o~
183 I SYSTEM TAaLEs
0050 OE 185 ~ 14,00,15,13 ; KEYaUARD TRANSLTE TAaLE
0051 00
0052 Of _ _
0053 187 D~ Ol,OZ~03~10
0055 02
0056 a3 _ __ _ _ _ _ _
OJS7 0~ ~
005a 0~ laa Da 04~05,06-11 J
0059 OS
005A 06
oosa oa
OOSC 07 18g D8 07,08,09,12
005D oa
nasE 09
005F ac
0060 DD . 191 ODREP: DE ODDH.041H.07CH.075H ; O~l,Z~3 DISPLAY TRANSLATE TADLE 3
0061 ~1 _
QOb2 7C
0064 El l9Z OB OEIH,085H,08DH.045H ; 4,5,6,7
0065 as
0066 80 -'
0061S FO 193 DB OfDH,OE5H,OEDH,Ca9H ; a~Y~A~B
0169 E5 . _ _ _
006~ EO
006~ B9 OB O9CH,019H,08CH,OACH ; C,O,E,F 3
J~ 79 _ _ _ _ __ __ __
Oo~E ac
006F AC
195 ;
19h 1 -
197 SEJECT .J
. ,, ... _ . -- -- ' :~.
.
.
,. ., ,. _ . ~'
'' .. ` ' ..
''
. . . , ... _ .. _ .. , . .. . .. . , .. ,,, _ _ _,,, _, . , _ _ _ _, _ _ _ , _ _, _, . . _ . , , _ . _ . _ _
.
.
.
_ ~4 _ .
'` .. .... !, ... .. ,_._ .. .. _ .. _,._ _. _ .. , . ... ., . _ .. _" ,___ .__ . , ,, _, ~
llZY666
.
.
.. .. , . . . , ., .. .. . _ .
,
.. . . . .. . . .. ... ... . .... .. . .. . . . .
.. ., .. . .. . .
IStS-II 80BO/8085 HACRO ASSEMBLER, V2.0 PO~O PAGE 7
~
LOC OBJ SEO SOURCE STATEMENT _ _ __
19a 00~o~ 47~ 04~r~o~4~ *4~
199 , VACID CATA-LENGTH ~ DlSPLAY-FDRnAT TAeEE eY DATA-TYPE
2DO ~ TYPES 0-3: PROTECTED FROP KEYBOARO ENTRY
201 S TYPES E.f: CONS~RUCTED BY SPECIAL M.WILE ROUTINES
202 ;t~ t~o~*~ O~ O~O~ O ~ *~4~
203 .
0070 05 204 ~ALTH: DB 5,0 ; TYPE O -- EMPLOYEE151
0071 205 DB 3~0 ; TYPE 1 -- FOUEMAN13~ ISOANNEO PREFIX FOR TYPE E~
0073 00
0074 03 206 DE~ 3~0 ; T~PE 2 -- ~ECHANIC13)
0075 00
007~ ~Q 207 D13 O,D ; TYPE 3 - ~UNUSEDO _ ~ _
0078 08 20B OB a,2 : TYPE 4 - CUT15~-BUNDEE12
0079 02
007A 0~ 209 08 4~3 : TYPE 5 -- SHOPIII-OPERATION13
007B 03
007C 00 210 OE~ 0~0 ; TYPE 6 -- ~UNUSED~
007D 00
007E 00 211 DB 0,0 : TYPE 7 - ~UhUSED~
OO?F CO
ooao oo 212 OB 0,0 : TYPE B - ~U~USEO
oOOl JO
ooa2 oo 213 OB 0,0 : TYPE 9 -- ~U~llSED~o
008~ 01 216 . DE~ 1,0 ~ TYPE ~ - HOST REQUEST CODEIII ~_
ooas oo ' -
0086 00 215 OB O,O : TYP B ~ UNUSEDo~
OOB8 00 216 DB 0~0 ; TYPE t - ~U~USED
OOOA 04 217 ~OB 4,0 , TYPE C -- OISPEAY PEMORY BYTE GIVEN ADURES514)
OOBC 05 218 DB S,Z : TYPE E -- FDREHAN131-AUTHORt~ED STATUSIZ~
ooao 02 219 DB 1,0 : TYPE F -- END-BUNDLE ABBREVIATED DATA ~ESSAGE
008F ao
Z20
221 ~ ~ END
222 sEJEcT
'
~ . .
,, . _ .. . .. __ ... . , . . _ _ _
..
-- 65 --
. . . . . . . . .~, _ . -- . .. , . , .. .. . ,, , . ~ . .
.-
66~ ~
~' ' ' . ',
,
.
.
. . .. . . . . . . .. . . .. . . . . . .. .. . . . .. . . .. .
~.
... . .... .. . .. . .. . . . .. ... . . .
. ASH80 POHlA NOOBJECT MOD85 PRlNTt:Fl:PlA)
-, . -- . .
ISIS-II 8080~8085 HACRO ASSEHBLER, V2.0 POMIA PAGE ~ . ... ... . . _.. - . .---- --
;~
LaC 03~ SEC SOURCE STATEHENT ..
I NAHE POMlA
2 S . . .. . ..... _._ _.... .. _ ._
3 PU8LIC RESET,SCAN,KEYI~,KEYZ
4 EXTRN 8EGIN,SCANR,PARSE,MODI~,HulLE,COHMR,aEG~B,READK .~ .
5 EXTRN CLEAR,LENTH,AUOBL,DSPLY,REDON,OELAY,ERRaR
7 SINCLUDE l:Fl:PUMCOM) . .
8 SNaLlST .. . . . ... --------- -- --
54 sLlST
CSEG
5567 S~ *~ o~*~o~ o~ f~ 0~*~4~
58 , SYSTEH STARTUP PROCEDURE ` 3
5~ oo~ o~t~ r~ o _
0000 F3 . bO RESET: 01 : COISABCE IN7E~RUPTS>
0001 31COOO ~ S 61 LXI SP,STAC~ : STACK TOP
0004 3EOC62 HVI A,OEFCS ; DEFINE B155 PCRT CONFIGURATION
0006.C31863 OUT CSR
000~ 3ECD64 HYI A,UHCOE ; FaR~AT B251 ~ HoDE J
OOOA 03A8~66 OUT A,LCC~D ; FCRHAT 8251 - CoHMAND ~;
OOOE 03~860 ouT CTL ; GET PO~DAS UNlr AODRESS
F 69 RRC ; SHIFT TO LOU CRDER BrTES
0013 E~3F70 AHI 3FH ; dSSCRE 6-81T ~ALIOITY
0015 32CCOOE 71 STA ~YAOR : 57CRE IT _ _. ... ____ __
0018 COCOOO E 7Z CALL CLEAR ; CLEAR DISPLAY
O~lc8 3F20~0 E. 7~ STAA eCAST : I~ITIALIZE HOST aROADCAST INOICATOR~O
OOIF 320000E 75 STA OPSEC ; IhlTlALlZE OPERATOR SCAN SE~UENCE
0022 C3CCOOE 76 J~P. BEGIN
77 S . .-
~ 78 S
: 79 SEJE~T . . . ............. ..
. ' - '
,. . 3
_ . _ _
- ~6 - ` .
1 lZ~666
. .
.. ...
ISIS-II 8080~ao8s H~CRO ASSEH3LER~ Y2.0 POHl~ pAGE 2
.
Lnc 08J SEtl SOURCE STATE~ENT _ _
ao ;~v~I~ o~ t~ t~ 4~ett~ 04*~ t~*t~t~ f*~ ~
81 t HAlNLlNE SCANNER PROCESSING ROUTINES
82 ;~ t~4~ vv~vo~*~ v~o*~ *~
0025 CDtOOO E 84 SCAN: CALL SCANR : INPUT SC~NNER DATA, COHPENSATE FOR VELOCITY
0028 CDCOOO E 85 CALL PARSE ; PARSE SCANHED DATA, CDNVERT TO HEX REPRESENTATION
OD28 COCOOO E 86 CALL H0016 ; PfRFORH POCULC-16 CHECK DlGlt TEST~
87 : ... RETURN IF VAL10 SCAH, ELSE DlSPLAYa ERRUR~
002E CDCOOa E 8EI CALL CLEAR ; CLEAR OISPLAY
0031 CDCCOO E 90 TRYLN: CALL LENTN ; PERFORP DATA LENGTH TESTs
91 ~ ... RETURN IF VALID, ELSE DISPLAY: ERROR~
0034 COCCOO E 9Z CALL AUDaL ; SlGhAL aPERATCR: GOOO DATd
0037 COtCOO E 93 CALL DSPLY : DISPLAY DATA fUR OPERATOR
003A CDCOOO E 9~ CALL PUILE TEST FCR SPECIAL ~. UILE FUNCTIONS
0030 CDCCOO E 9S CALL PEDOh' ; TURN ON RED LED: ~vaLlD DATA PENDING TRANSHISSION~
0040 3EOI 96 HVI A 1
00~2 320000 E 97 STA S;aYT : ST8YT ~ ~HAVE OATA TO SENDU
0045 AF 98 XRA A
0046 3ZDOOO E 99 STA TRTYP ; INITIALIZE TRANSHISSION-TYPE INOICATUR
00~9 3EoD 100 MVS A,PASK6
004B 30 101 51N - ; ALLCU UNLV HOST COHPUNICATIONS
OO~C C3COOO E 102 JHP CCHHR ; --> EXECUTE HOSt CCHHUNICATIUNS RouTlNE
~ 103 S
: 10~: -
105 ~EJECT
.. . ~ . . . . . .. .... .. . .. _ . . _ ., _ . . , .. _ . . _ . _ .. , .. .. _ . .. _ _ .
_. . . ... .............. _ . . .. .. .. . _ _
, . ~ . . . . .. .. _. . .. _ . .. . _ .
.. . . . ... . .... . . ... ... . . . ....
'
,
..... . . . . ... . .. .. . . , ._, ... .
.
. -- 67 -- .
.: .
i6~ l
.
,
.
.
.. ... .. ........ .... ~........... . . ..... .. .. . _,
.
.. .. . . .. ... . .. ... ... . . ... . . . . . .. . . . . . . .
.
ISSS-II 8C90~8085 MACRO AssEMaLER~ V2.0 POMI~ PAGE 3
-- . 3
LCC OBJ SE~ SOURCE 5TATEHENT _ _ ___
106 ~ 4~*-~ 4~4~4~ P~4~49~o~
107 S MAINLINE KEYeO~Ro-ENTRY PROCESSl~O ROUtlNEs
108 ;-0~4*~C~-4~ 0~-t~ 0t~
' ' 109 ;'
OO~F 3ACOOO E 110 KEYIN: ~OA K~GDE
0052 B7 111 ORA A ; FIRST KB ENTRY?
0053 CA5700 C 112 J2 KEyl ; .. YES --
0056 01 113 POP D ; .. NO: ICANCEL DEL~Y-CALL PUSHI
0051 01 114 KEYI: PaP O : ICA~CEL INTERRUPT PUSH~
oosa cocooO E - IIS CALL REDON ; TURH ON REO LEO
005B tDCOOO E 11~ C~LL eEGKEI ; IHITIALI~E KB TRANSACTICN IF FIRST KEYED CHARACTER
005E CDCOOO ~ S17 CALL RAOK ; REAO KB tHARACTER. PROCESS SPEtlAL CHARACTERS
0061 3AtDOO E 11~ LOA K~CDE
006$ 8T 119 ORA A ; K~CDE=O: KB ENTRY FINISHE07
0065 CA3100 t 120 Ji ~RYLN - .. YES: 7EST FOR VALID LENGTH
0068 COCCOO E IZI CAL~ OSPLY , .. .Nn: OISPL~Y CURRENTLY KEYED CHARACTERS
006Ei 3EIE1 12Z KEYZ: Iyl A,~ASK7 ; RESET KB I~EPRUPT
006D 30 123 SIM : JANO ALLO~ ONLY KB INTERRUPTS UNTIL EOF KB ENTRY006E F~ 12~ El : <EN~8LE KB INTERRUPr>
006F OEOC 126 TIHAX: MYI C,12 : IO-SECONO MAXIMUM OELAY PERNITTED
00~1 110000 l27 LXI 0~0 : XeET~EEN SUCCESSIVE KB ENTRIES
0074 COCCqO E 128 CALL DELAY ; Ke I~IERRUPT SHOULO OCCUR BEFORE END OF OEL~Y
- 129 ; .. RETURN IF TOO MUCH TIHE ANO.. OISPLAY: ~ERROR~
130
131 ~ 444 ENO
132 SEJECT
.. . ~
. - . --. . . 3
. _ . .. . .. . . _ . . . . . . . . . .. .. . _ ... . . ... . . . _ _ _ . _ . .
... .. .. .. ..
.
` . 3
- .
;)
. ~ . . . .
_ __. _
.
,~ . .
.
- -- 68 --
.
.
66
3.
.
`A5HBO PaHl~ NOOBJECT MoDa5 PRINTI:Fl:P~8~
... . . . .
ISIS-II 80aO/80BS MACRO ASSEHBLER, V2.0 POHIB pAcE
''' ' ;~
LDC 03J SEO SOURCE STATEMENT
1 NAHE PO~IB
2 S PUBLIC ERROR,LENTH,CLEAR,DELAY,AUDBL,YE-Lo~,51GNL,REDoN,REDDf
PUBLIC DSPLY,DSPTX,DSPTI
PUBLIC CLRDP-EQROP~SONDF~SOFOP~SCODP~ENJDP~DNDP~OFFDP :~
6 ~
7 EXTRH BEGIN,YALTH~DDREP
. ~ , ...... . ... ..
- 9 SINCLUDE l:Fl:PCHCONI t
f 10 SNoLlsT
. 56 SL~S~ -
- 57 CSEG
58 ;
59 -~ f~fifi-~---OOf~4b~ * ~0~f~-00~*~ t)~0ti*~ff~ 3
60 . DISPLAY "ERROR1 ANO aEClN AGAIN ,-
61 ,fi~o~ 4~ 4fit~o?t4~ fi~ff~f*~ ff~-4~ot
~2 :
0000 21B700 C 63 ERROR: LXI H,ERRUP
0003 C09900 C f~4 CALL DSPTX ; DISPLAY: "ERRDRf~ ;
0006 C3COOO E bS JMP BEGIN 3
66 ;
67 ; 3
69 ~7~ o~t.~fi~fi~ tfi-~0ti~f~*~?00~ 4fic*~fi
70 S YERIFY VALID DATA LENGTH FOR SPECIFIED DATA-TYPE
71 ;~l--$4?~lfi~ f~ff'0*~4fiollo~ fi~o~ *-?~t~o~lfit~l , 3
0009 IICCOO E 73 LENTH: LXI D,VAL7H ; PDINIER: YALIO DATA-LENGTH5 BY DATA-TYPE
OOOC 3ACOOO E 7~ LOA CT~PE ; A DATA-TYPE 8YTE -~
OOOF 07 75 RLC i 2 8YTES~ARRAY ENTRY
0010 J3 76 AOD E
0011 SF 7787 MO~f E~A ~ A ~ YALID LENGTH OF DATA ~2
0013 3C 79 INR A _ _ j
0014 ~C BO IfNR A
OOIS 8n 81 CHP L ; EOUAL TO EOF BYTE ADDRESS,7
0017 C3COOO C 8~ ~ JHP ERROp , NO: OISPLA~: f~ERRORR
85 ;
86 i
87 ;~ ofj~ f~ tj~ o~ f~ fifi~f~C8~tift~4~fi~
8B9 ~o~44s~4~ f~ b~o~f~ffo~ ti~f~ f~oo~fiti?of~ f~ o , ~ , , ,~ .j ,, ,, ,,
90;
OOIA- E5 91 CLEAR: PUSH tl ; SA~IE HL
0018 21~C00 C 92 LXI H,CLRDP ' - ~
O!)le CD9C00 C 93 CALL DSPTI ; BLANK DISPLAY . .,
0021 El 9~ POP H ; RES70RE HL
0i)22 C9 95 RET
.. 96;
.. 9
,
~-f
'
/~ '
-. - 69
.. __ _ ._ . . . ... .. ,.. . . . . ... _ .. ..... ~___ _~ ,_ . ._;, . ._ _ ,. ... ,,,, ,,, .... , . _, ,~ . ,, ...... .. ... _..
. _ . _
1128666
. , . . '
.. . .. . ., . . . . , ~
.
ISIS-II 8D80~8085 BACRO ISSE~8LER VZ.O PnHlB PAGE 3
LOC 08J. SE~ SOURCE STATEMENT ... .
q9 ;~ t~ o~ *~ t~
100 I SOFTRARE DELAY ROUTINE . ~-
~Dl ;~ tt~9~ t~ 4
0023 IB 103 OELAY: DCX D ; DE INITIIL VALuE . .: . .
0024 71 104 MOV A O
0025 D3 IOS ORA E _
002~ C22300 C 106 JNZ DELAY
0029 00 107 DCR C ~ C ~ LOOP COUNTER _ _ __ . . .. :_
002A C22300 C 108 ON~ DELAY - . .-
0020 C9 109 RET . _~
- . 110; . ~ :'
111 ~ . . .
112 .---~ 0~ "~,*j4*~
- 113 . SIGNAL OPERATOR AUD18LY _~ .-
114 ~-4~ **~0-4~ c~ t~t~ to~t~ *~
115;
002E CS 116 AUD8L: PUSH B : SAVE 9C
002F 0602 117 HVI 8.02H ; HGRN el~ . ..
0031 C33700 C I~a J~P SIG~ ?
119 ; -
120 ;~t~ o~ t~ t~ *
121 TURN ON YELLO~ LED 3
1 2 2 .~o~ o~ t~
123
0034 C5 124 YELO~: PUSH a ; SAVE BC . . .
0035 06C4 125 HVI B 04H ; YELLO~ LEO 81T _ _ _ _
0037 3ACOOO E 127 SIGNL: LDA REDST ; PPESERVE RED LEO STATUS ~
003~ A9 12B XRA B
003B 031B 12Q OUT PaRTC : SET SiGNAL 8~T _ -
003E 031i~ 131 XoRuAT aPORTS ; RESET Sll;l'~AL 8IT
0040 Cl 132 POP B ; RESTORE ~3C
dO41 C9 l333~ t RET - - - - '- ' -
13!~ t
13~ t-~ *~ -t~o~ t~ **ot~*~4~ 3
137 ~ TURN ON REO LEO , _ _ ,,,
' 138 ;~ *~ e~ t~ t4~*~
139;
0042 3EOE 140 REOON: !~VI A,OEH ; RED LEO ON~ YELLO~I EO l; HORr~ OFF
00-~ C3~'ilOO C 141 JHP RFI
142;
~ t~ t~ 4~ t~ *~ **~o~o~
14S ' TURN OFF REO LEO
t~ t-~o~c~t~ t~
~7 ;
0047lEOS liB REDDF: HVI A.06H ; RED LEO OFF, YELLOR LEa 8 HORN OFF ' 3
001.9 320000 E 149 RFI: 5TA REOST ; SET RED LEO StATUS eYTE
OO~C D31~3ISO OUT PORTC
004E C9 ~ 152 t RET
153 SEJECT
. ' '
-- 70 --
.. ~ . ~ , . , , ... .. ~ . . . . . . .
.... ; -~1
ISIS-II 8080~no85 HACRO ASSEHaLER, V2.0 POHI~ pACE ~ ~
,, . . . ........ ..... - - - - - -- , . I
~ LOC D8J SEO SOURCE STATE~ENT . . ..... .:.. ~ . - ~ j
15~ 0~ 4~07gl~.0~0Ç~l.ttObtl~itttql~.~4~t~ ç~0~ltt~lte~ t~ !
155 t - D55PLAY -D~RAY- FIELO UNTIL EOF, FORHA7TED ACCORDING TO OA7A-TYPE . ? j
~56 ;~ o-~ço-9~ t~4~to~ 0~c~4~4~ to~ o
157 ;
004F 45 158 DSPLY: HDV B.L : IHL J ADDREss DF aYTE FOLLO~ING DATAI . -
0050 05 159 DCR 9
oOSl 05 160 OCR ~ I a - L-2 ~ ~ aYTES TO 8E OISPLAYEO . -
0052 C26300 C 161 JN2 DSI .~ > O IDATA-TYPE aYTE~
0055 3AQOOO E 162 LOA K~CDE . . _. _ _ - .
0059 CD 163` RZ , ... NO DNLf DISPLAY OATA-TYPE ~YTE FOR ~8 ENTRY .. .3
005A 3E91 165 MVI A,DDISP~I
005C 0368 166 OUT KOCTL . - ~-
005E 28 167 . DCX N S DISPLAY Ka-EN7ERED DATA-TYPE
OOSF 0~ 168 INR 8 ; ~AT LEFT SIDE OF OISPLAY ~ _ .
D060 C3DZOO C 169 JMP DS3 ;
0063 6~ 171 DSI: MOV H.3; H Y ~ OlSPLAf POSITIDNS P QVIRFD
Oq64 110100 E lT2 LXS D,VALTH~l ; PDINTER DISPLAY-FORMAT aY DATA-TYPE -
0067 3ACOOO E 173 LDA CTYPE ; A - DATA-7YPE .
006A 07 . 174 RLC ; 2 BY7ES/TABLE ENTRf
0068 83 175 bOD E .
006C 5F ~777 MOV E,A ; ~ ~ POSITlON OF - FROM RHS OF DlSPL~f
006E ~F 17a HOV C,A
0~6f 18 179 OCX O .- .
0070 11 180 LOAX D .: A ~ TOTAL LENGTH OF DISPLAYEO DAT~
0072 ~F la2 sua C ; C - ~ DISPLAYEO CHARAcTERS 8EFORE
0073 B8 la3. . CMP B S ENOUGH TO DlSPLAf BEFORE - ?
007~ F27800 C 184 . JP DS2 ~ .. NO ._ .. . ._..............
0077 2~ 185 SNR ~ ~ . YES: LEAVE SPACE FOR - ~
0078 3EOA 186 DS2s MVI ~10 __ . ............ .. .... ._ _.... . . . _ ._ . -
007A 5~ 18? SUB H
007a F690 189 ORI DDISP - . . :~
OD7D D368 189 our KDCTL ; SET DISPLAY-RA~ TO START PDSSTION
007F 210000 E 190 LXI H,DATA ;-POlNrERS OATA-qALUE ARRAY- BYPASS CHEC~ L DA~A-rYPE DIGITS
191 s
0082 tE 192 DS3: HOV A,M . . .. .. ._
0083 23 193 INX H ; NEXT DATA-VbLUE ~YtE
OOA4 IIOCOO E 19~ LXI D,ODPEP S 7RANSLA7E BINARY TO OISPLAY CHARAcTER
0087 83 19S AOO E
OOD9 5F 196 MOV E,~
0089 1~ 197 LOAX O ~ A ~ DISPLAY REPRE5ENTATION Of OATA-VALUE CHARAC7E~
008A 0348 198 . OUT .KDATb ; OISPLAY IT
008C OS 199 OCR 9 - I FINISHED?
Oq80 C8 220oOI ~ RZ ; ... YES ;~
008E 00 202 DCR C ; DISPLAY PCS1710N FOR - ?
008F c2e200 C Z03 oN2 DS3 S ... NO
0092 3E20 204 MVI A,20H
dq94 0348 2D5 OUT KDAT~ ; ... YES: OISPLAY -- _
D096 C3D200 C 206 O~P OS3 .
. ~. zolr -
20-3 ~
'
: . ., ' . ' .. '_ .. .. . . .
, . , '
.
, . . ' . '
" . ' ;' '' " ~'
'`' ; . ' __
' ' _
.
.. .. _
. ' , .
-- 71 -
llZ~1666
.
.
.
... . . . . . . ... .
ISIS-II eo90~808s HACRD ASSEH8LER, V2.0 P081a PAGE ~ ~
. , _ . . .... . . . .. ... ..... __ . _ . _ _. . . . . . _ .. .. . -- ... - --,
LCC 03J SEO SOURCE STATE~ENT -
210 ;o~ o~t~t~tt~ 4044~0~ t~t~-
21S t DISPLAY TEXT RaUTlNE HltH OPTIUNAL ENrRY POINT Ta CLEAR DISPLAY 3
2~2 ;~OO~O~t~ *tt~l*~ *~o~o~t9~ o~*~ t~ a
0099 COlAOO C 214 DSPTXs CAEL CLEAR ; CLEAR DISPLA~
215
009C 3E90 216 OSPTI: ff~t A.DDISP
009e 06 - Z17 ADD ~ _
009F D368 218 OUT KDCTL ; SET OISPLAY RAH TO STARTINC POSITION _~
OOAI 23 219 IN~ H
00~2 ~6 220 HOV 8.H : 8 ~ CHARACTER CaUNTER _ __ :
OOA3 23 2Zl DSPT2S IN~ H ; ~EXT CHARACTER-TD 3E DISPLAYED
ODA~ 7E 22Z MOV A.M ; _ _ _
00~5 D3~8 223 ouT KDATA ; DISPLA~ IT
OOA7 05 224 DCR 8 ; FINISHED7 ____ _ _ _ _ _ _ .
00~8 C2A300 C 225 JN~ DSPTZ ; ... NOT YET
OOAB C9 226 REt S ... YES ,
227 :
228 T
229 ;~ t~ t~*~*~ o~ t~*~
230 S TEXT DISPLAY FaRHAT5 _
231 ;~t*~ *~o~ 7~ $~*~ t~ t~
232 T
oOAC 01 233 CLROP: D8 1~9 : STARt~ ENGTH~9
00~0 09
OOAE 00 23~ D8 0,0,0.0 ; DISPLAY~ -8LAK~S- -
OO~F 00 _ _ _ _ __ __ __ _ ___ ___ _ _ _ __ _ -
00~0 00 '
0001 00 . , . , . ., . .__, .. _........ . _...... . . ~ .~
OOB2 00 235 - 08 0,0,0,0
ooa3 oo , . ... ~.... . .: .. ...... . ....... .. _.......................... _._. ~
008~ ~0 - - -~
0085 ~0 _ __ _ ____ ____ _ -_ ---- --- -
0~8$ 00 236 08 0
oùot 05 238 ERRDP: 0~ 5~5 S STA~T~5~ LENCTN~5
oo~ 05 . ~ - - .
OORq 8C 239 DO 03CH~28H S DISPLAY: ~ERR~RU -~
00~ 2~ __ _ _ _ _ _
008~ 20 2~0 03 28H,39H.Z3H
OOOC 39
001~0 ZO
2~1 S
` z~,z SEJECI ~
.'
,. , ,, , , ,, , ;~
_
~ ,, ,
_ '
. .
-- 72 --
~2P~6
J ' . ' . .
),
. .
ISIS~ 080~aoa5 MACRO ASSEMBLER, vz.o PCHIg pAGE 7
- . ,:
EOC 08J SEO SDURCE STATE~ENT ~ ~ ? ;
009E 03 Z~3 SONDP: DB 3~7 ; START~3~ LENGTH~7 o
OOBf 07
ooco Bs Z4~ DB oB5H~asH ; DISPLAY: ~SIGN ON~
OoCI sa
OOC2 9o z4s Da sDH~ocDH~o ~ ;
OoC3 CD
ooc4 oo
OOC5 OD 2~6 OB ODDH,OCDH J.
OOC6 CD _ _ . ,. _ ". ,__ _ ...... _ . _................. ..
247 ~ 3
OOC7 02 Z48 SOFOP: oa ~ 2~8 ; START5Z~ LENGTH~a
oocs 08
ooC9 a5 249 ~ D8 Oa5H,88H ; DISPLAY: "SIGN OF~ ;
ooc~ 8~
ooca 9D Z50 DB - sDH~ocDH~o
oocc co ~
OOCO 00 . _ ~J
oncE DD 251 DB ODDH,OACH,OACH
ooCF ~c
OODO AC 2s2 ~
OODI 02 ZS3 SCDDP: Da 2~8 ; STAQT~Z, LENGrH~s
0002 08
0903 9S , Z54 0~ Oa5H,9CH ; DISPLAY: ~SCAN OPN~
000~ 9C
ED z55 DB OEDH,OCDH,O
ooc~ co
~Dt CD
OODB DD Z56 DB ODDH,OECH,OCDH
ooDs EC
zs7
OOOB 03 zss ENJDP: Da 3~7 s START-3~ LENGTH-7
ooDC 07
OOOD ac ~ Z59 DBO~CH.Z9H ; DISPLAY: ~ND oo~ - 3
OODE 29
OODF 79 2bO OB 7sH~o
OOEO oo
ooel 59 261 DB5sH~3sH~oasH
OOE2 39
OOE3 o9 z62 1
OOE4 01 . 263 ONDP: 08t~4 ; START-I~ LENGTH~4
OOE6 CD Z64 ~ oaOODH,OCOH ; OISPLAY: "ON--~ xxxxx }OOE7 CO
o7Es 20 265 DBZOH,ZOH
OOE9 zo
26~ l
OOEA Ol Z6t OFFDPS DB . 1,~ ; START~I, LENGTH~
ooEa 04 z6C D~ ODDH~OACH : DISPLAY: ~oFf-n xxxxx
OOEO ~C
OOEE AC ~- 269 Da OACH,ZOH
OOEF zo
.
;
- -
--
~ ~ ~_ -- - ------- ..... . 7 3 . _ _ _
.
.. . _ _ _ . . . .. . . .. .. . .. ... .. . . . .. . . . .. . . . . . . ... . .
(~ (.
~2~666
.
:
.. . . .. . . .. J _ . ... . . _ .... ... . .
..... .. . .
ISiS--11 80AO~BOAS HACRO /~SSEMALEI~, V2.0 POt IA PAGE 8
: O
LOC OAJSEa SOURCE S~A7Ei1ENT .. .... . ;
,270
271 S C~ END
:., 272 ~iEJECT .. .. ___ .__.. _ _ _ .. __ . ._ _ .. _ .. __. _.... .__.. _.__ . . . ,
.... : - -- - ; 3
;` . . : - '--- . O
. _ . _ . . . _ . _ . . _ . . . ~ . . ~ . . ~ _ ~ _ . .
.. . . .. ~. .. .. . . ... , . : . . . ,:........ : .
.. . . . ...
, , _ , , _~
, . . .
.. . ~._. -~ . ; ;
. , , .. .. .. _ .
. . 3
, _ .. , . .. _ .
, . . ; . _ . .. . --
- : ' ~
. _ . . . .... _ ..
.
'
.. . . .
~ ' ` ' ' , ' - '!
.
` , , . .. _ =
.: . .
~ .
.. .. .
~"-, ' . ' . . ..
. . .
. .
.- 74
.
- , , . ..... ''` ~
<IMG>
- 75 -
<IMG>
- 76 -
1128~i66
,
.
,, , ... ... .. . .. ,. ;,
ISIS--II 90W~8095 IIACRO ASSE11aLER~ V2.J P01~2 PAcE 3 - 3
LOC OS.I SEII SOURCE 5TATEDENT
122 S~t~~4J~$~ o~ 4~4~0~474~ L~ t4~4~
.~ 123 t PARSE SCANNED DATA, CDNVERT TO HEX REPRESENTATION
~ 12~ 00-4~ ~t~ *~ 44~oo-~o~oo~ *~ ,o
0059 210100E 126 PARSE: L~l H,SAnPL~I ; POYNTER: READ--SA!~PLE ARRAT
OoSo 7E ~ .~ 127 . ~nv A~N S PUNCH119 SA~PLE COUNT
005C 4E 12G ~OV C~14 - 3 SAVE IN C _ _ _ _ _ _ ____ _
0050 23 i29 INX H 3 SPACE51~
005E flE 130 C~P H ~ SPACE(ll < PUNCH11~7 J
005P F17000: C 131 Jll 95CAN ~ .. NO: 391D scrN
~33 ~ 4~ 0~ 440~r~ t'4~44-
13~ t FORIIARD SCAN
13 S ~ 0 4 -' 0 ~ 0 ~:
0062 4b - 136 FSClNs HOVD~tl 3 D ~ GAP SPACEI1I SAIIPLE COUNT ;>
0063 110000 E 137 LAIO~DARA~r 3 POINTER: DATA-YALUE ARRAY 9EGINNING
006b AF 13D XRA A 3 INDICATE FND SCAN O
0067 320000 E 139 STA FI~R~I
006A 3E09 140 !' 11YI A~OOH 9 INITIAL 6IT-PATTERN FLAG -- Fi~U
006C 12 141 STAX D 3 SToRE YN DATA--VALUE ARRA1
0060 c39ioo -C 1~2 JNP NEXTP
~3 ~ S~14~4~04~0-~3~74~-40~0~0~t~4~
143 ~ DACK~IARD SCAN 3
~*~-3~ t~ 4~ *~ . _ _ _. _ .. _ .
0070 TE 147 9SCAN: ~av A~ PUNCHIl~ ~ 2 GAPS
OOTI 9~ 5 5U6 C ' t 2 GAPS . ,~
0072 Ifl'q . ~tAR S 1 GAP
0073 ~7150 ?90V 0.~ S O ~ C-OMPUTED CAP SAMPLE COUNT
007~. tlOFOO E lSl LXI D,DARAY~15 t POINTER: DbT9.--YALUEARRAr END
0077 3EFF 152 MYt A~OfFH
0079 12. . 153 STIIX 11 t MARX END-nF-DNJ~
001A 13 15i DCX D . ~ FIRS~ OATA 3YTE __, _ . __.. .~_
007G ~eol 155 ~J ~ INOlCATE ChO SC~N I
0070 320000 E 156 STA FU3W
OOOq'3E10. 157 . MVI A~IOH - ~ INITIAL 1~T-PATTERN FLAG -- IBID . Jl
0052 12 15S STAX O ~ sTonE IN DATA-~ALUE ARRAY
00~3 Z3 160 NEXTF': ~NX H ~-PUNCHtl! SAI~PLE COUNT .
OOo~ 7E 161 : '~OV A,~l ,
0035 60 162 .~ iDO ~1 .
OOS6 ~.F 103 ~ MOV C.A t t-PUNCHII) ~ 5PACEII) ~ 3
OOol AF IU :~ XP~A A ~ C.~RRY Y o . -.
OOOS CDAEOO C I~S CALL PUTO ; ~ORYI~T O--~IT
OoSB 23 166 , INX H ~ SPACell~
005C 3EFf . 1~7 : HVS A,OFFH
oooE ~E 16R ~'YP H T E~1D QF SC~?lt
OOOF CAD600 e 169 JZ aAclt7 t .. YES
1~0 S
OO9Z 7E . 171 HOY A,iq ~ A ~ SPACelI) S!HPLE COUNT
0093 90 172 SUB 1~ 3 P~EDUCE BY col1purED GAP
Oog~ OIiOOO e 173 JC SINGL t ~IENl' IIINUS: CLeARLY A SINGLE SPACE
0097 on . S74 CHP B i POSITIYE: UITHIN SINGLE-SPACE TO-ERANCE~
OO9S OZ9FOO C 175 JNt SEYSIL ~ .. nos ~NALYSE SAHPLE l~iDTH 3
17S t , .
: ' .
, 1, .
~ . . . .
.
^
. . . '
7 7
. .
....
llZ8666
.. . .
.
.. ... . .. , . . ...... . . .. . J ........... . , ~ ,
tSlS-II 9080~80~5 HACRO ASSE~8LER, V2.0 ~0~2 PAGE
.. . . . ... . . .......... ..
L~C OBJ 5Eq - SoURCE STATE~ENt
~177 ~4t~o~ 0~ *40~4
17~ SI~GLE-SPACE ROUTINE
L79 ~ i1g~ t~
009S - lJO SlNGLs HOV ~ UPD~TE B ~ SINGLE SPACEIII
009C C39300 ~C IBI J~P NEXTP , OONE: ANALYSE NEXT REAO SAHPLE _ __
B2 ~ t~*~7*~t~ 44
18~ S SEVERAL-SPACE RouTlNE
_ IB5 C S REaucE RESIDUE BY pUNCH~ SP~CE~
OOAO D2A700 C lD7 JNC PUTl I CLE~RLY A NaN-PuNCH - l-EIT-
OOA3 80 18B ADD O 1 ~lTHlN SIHGLE-SPACE TOLER~NCE? -
OOA~ D2S30o- C 189 JNC NEXTP 3 .... NO~ DnNE: ANA~YiE NEXT READ SAHPLE
190 ~ YES: FINAL NaN-puNcH - I-BIT
OO~T 37 lgl PUTI- STC t CARRY-l
oOA8 CO~EOO C lg2 CALL PFUBN
OOAB C39fOO C 193 JHP SEVRL t TEST FDR ANr noRE L'S
19~
195 PUTOs a CARRY-O
19~ ~
OOAE F5 197 PF~BU: PUSH PS~ : SAVE A
OOAF F5 198 PUS~ PS~ ~ SAVE CARRY-81T
OOAO 3AOOOo E 199 LDa F~a~ i TEST F~02~0 SCAN IHDICATOR~ -
0083 ~t 200 OR~ A
OOB~ C2C~OO C 201 JN~ 8~ARD : 8ACK~ARO ~oOE ~ I _ _ _
202
203 lEJECT - __ -
.... .... ... _.. ~ . .... _ . _ ;: __ ::. _~_ . .~ __, .. , .. _ _ ._ ., . _. , . __ . , _
.. . ,, . . . ., _ . .. .~ . . _ _ . . .... : . _ . . . .: . . _ . " . . ... . . . _ .. _ .
. ' - . . ~:
, ,,, . . : _ .. . . ... .. . .. . --- ,~
... . ... . .. _ .. . . : ........ . . _ _ .. . _ . _ .. . _ . _ . . _,
..... . .... . . .. ... . . .
..,
.,, ~
.,, . ;~ . .
.
~ .
.
. .
:
71~
. , `~
.
', ' ' ' '
616
, '
, l
. '. ..
. .
i
. . . ,
.. : . _ _ __. ..... .. ..... ......... . , .. .. . ...... ....... , . _. . ., . .. . I
., , ~i
.. . .. . . ..
.... : ... ..... ~'
ISIS--I~ aoao~Fn85 RACRO ASSEH8LER~ V2.0 POHZ PAGe
. . .. .. . . . , ... .. .~
- LOC OW SEO ~ SOURCE STATEt~ENr
204 t~~ o~o~4~4*4~0~4~
205 ~ t COHSTPIUCT PARSED BIT PATTERN FDR FORUARD SCAN
06 ..~ 0~ .
OOb7 fl 207 F~IARD: PaP PSil : RESTORE CARRY--BIT
OOB8 lA . 20a LDAX O t LOAD PARTIAC OST PATIERN
0089 17 209 . RAL S SHIFS INs O OR I CARRY AIT
. 210 ; SHIFT nuTs 81T PATTERN FLAG ~ 12
OOBA D2D300: C 211 . ; JNC YTI t ... Nos BYTE NaT COHPLETELY FORHATTED
OO~D 12 21Z . STAX O S- .. YES: BYTE COHPLETED ,~
oo~E 13 2~3 INX D t NEXT DATA-VALUE BYTE
OO~F 3E10 . 214 nVI A~IDH S BST PATTERN FL~G ~ 4 BITS/BYTE IF~D~ _
OOCI C3D30D C 215 JI~P Ptl.
216 ~
S~ t~ 4~ 4
2i3 t CDNSTRUtt PARSED IIIT Pl.TTERN FOR 3AC)~IARD SCAH 3
219 1~ 4
- OOC~- Fl . 2zn ~S~ARDs YOP PSU S RESTORE CARRY--BIl'
OOCS IA 221 . LDAX O S~LOAD PARTIAL BIT PATTERN
OOCb lF 222.i RAR 1 SHIFT IN: D OR t CARRY RJ~ _
223,. ~. SHIFT OUT: bIT PATTERN FLAG ~ ~
OOC7 D2D3DO. C 2Z~ : JNC Ptl ~ Nos 3YTE rlDT COHPLETELY FORHATTED 3
00~ 1~7 225:i OR~ 1~ t.-- YES: BYTE CO~PLETEO -- CLEAR CARRY
OOCB lF 22~ RAR
OOCC lF 22~ RAR .~ .
- OOCO lf Z2F tAR
ooce lF 229 RAR 9 SHlFt RlGltT ~. BITS
oocF 12 230 STAX O t. S70RE CO~tPLETED BIT PA7TERN ;~
OODO 13 Z31 DC~I D ' 9 PREV DATA-VALUE BYTE
Oool 3E011 232 HYI A~08N S ~IT PATTERN F~AG - 4 Blrs~ByTE ~BilD~ _
,. 233 5
OOD3 12 23~. PTls. STAX 9 S 5TORE IN DATA-vALuE ARRal'
000~ Fl 235 . PaP PSI~ ~ RESTORE
0005 Cg 236 RE~
.` 23~ ~
OODb 12 Z3E BAClt?: ST~X O I: HARt~ EN11-OF-DATA ~ FF
~ OOOT 3Aoono e Z39 ~ LD~ Fl~D~
OOD~ Br 240 ORA A S bACltllARO SCAN?
OOOB CO 2~1 R2 t!.. NOs SHIFTING UNNECESSARY
2~ 2 ~
R OODC Esl 2~.3 SHIFT~ XCHG ~HL ~ POINTERS START OF DATA
0000 110000 E 2~ L~l D,DARAY S oE ~ POINTER: DAT~-VALUE ARRAY
OOEO:Z3 2~5 SHl~ INX 11 ~ NEXT HI VALUE ADORESS
'' OOEt.. ~E 2~6 HOY A,Y
OOE2 I2 Z4~ STA% D ~ SHtFT BYTE ALONC OATA--VALUE ARRAYOOE3 fEfF . Z4E CPt OFFH ; flNlSHED7 .
OOE5 CO Z49 RZ s .. YES
OOE~ 13 . 250 INX D ; I~EXT LO--vALUE AODRESS
OOf~ C3EOOO e. 2SI .IHP SHl
~' 252 ~ , -
253 5 ~.
'`'i '- 25~. ~EJECT J
... . .
:__. ._. _. . . ... .. . . . . . .
.
.~ .' - . ' \
:'.~ .
;,,~ . ,
.
. . . . .
;~ r-
-:
i~ , \ .
. .
; ~.
~1~8666
,
_
... . . .. . . .. . . i . . . . .. .... .... .. .... .. ... . . . . j ....... . . .
ASH80 POH3 NOOEBECT HOD85 PRIN71:FI-P3~'
ISIS-II 80aozsoss MACRO ASSEHBLER~ VZ.O POH3 PAGE I 3
. . . _ , __ _ ~
LOC OeJ SEO ` SOURCE STATEYENT _
i NAME POH3
3 PUBLIC eEGKB,REACK
EXTRN CLEAR,DEL~Y,ERROR,KBREP~VALTH
' 6 SINCLUDE~:FI:PCHCCH) _ _ _ '_ _ _ _ _ _ _ ____ _ _ ____ ____ _ ;
7 ~NOLlS~ '
53 sLlST __ __ _ _ _
55 CSEC ' ` ' - ' - -'-'''''' '''' '`
57 t~ t-~9~ t*~**~0~it4~9-~t~ 0~ tOO~ttt~
58 l INITIALI~E KB TRANSACTIC~ If FIRST KEYEC CHAQACTER
- 59 t~Ot~O~O~t~ t~t~04~ St~0~ 0~*tOt~t~ttt~
60 ;
0000 3ACOOO E 61 DEGKB: LDA KMCOE K~OOE - 07 3
0003 a7 62 RN~ '0: ALUEAOY K~ TRANSACTION
0009 210000 E 65 LXI H.OTYPE ' YES KHoDEslvALBuGE~NRRAy--s~lpplNG CHECK olGIT
OOOC ~CCOOO E 67 CALL CLEbR l CLEAR OISPLAY
OOOF C9 68 REt
69 ~ _ _ _ _ _ __ _ _ _ __
7~ : 3
71 SEJECT
.. ~ _, . . . , . . _ . . . - . . _ .. .. . ... . ...... _ .. . _ . _ .
. . . .. . . . ..... _ _ . _ .. ; . .. _ . . _ . .. _ . . .
.. . ...
,,. ..... ','_.,. ........ .. .. . ... ~
,,
...... _ . , - -
'
~
.
` ' " ' .
... ~, ~
~ . , ~ _ .
~,. \
-- 80 --
` .. : , ` , :
<IMG>
- 81 -
~ ) (~
i66.
.
,
. _ , ,
ISIS--II 8080X80~5 1;ACRO ASSEMBLER, VZ.O - POM3 PAGE 3
LOC 08J SEa SOURCE STATEi'ENT . . .... _._ . _ .. _
. 9 9 - ~ ~ 0 ~ 4 ~ ~ 0 J d O ~ d ~ 0 ~ 9 0 C - ~ ' 0-- , ,, . . ., ., ., __ .. ~
-IOO ~ TEST K8 ENTRY FOR ERRCR COND1710NS
101 ;--~ ~ ~ 9--t ~ 0 ~ ? ~ 0 0 ~ ~ 0 ~ ~ ~ 9 0 ~ 0 ~ --d i~
0035 FEcE E 104 . ~ EOfK8 ERRCR--CH RD15pLAy ERROCRIER ~F' KEYEo
0030 n 107 HOV 1',b . 57CRE KEYEO ENTR't ~0-0~ IN DATA-VALUE 8YlE . ~
003E 7D 10& Cfl ; K8 EHTRY ~ DATA--TYPE CHARACTER~ _ O
Oq~I C25500 C 110 CPI ~ . OA;~-- YPE ~ 4? t0--3s R07ECTEO FROM KB ENTRY) .
OO'.ll IICGOO E II`S LXI . D,VALTH . TEST FtiR DEFI-.EO DA7A-TYPE EN7RY: _
004E 83 117 ADD IE ; Col~PU7E DFFSEl IN70 VALIO OATA--7YPE TABLE
oo51 87 ~22~ HOV E LENGTH C~F15NEpLAFO ~ERRORU - ~
0055 7DCA 12~ J~ ERROR j-TE5T FOR ~A;ol~ATA-vA~uE aYTE? __.. . -
126 t ~ O~O-~JO~ t~t~
I28 S ; EHD.OF KE~ VALIDITq TESTS
129 ~o~ c~ o~ 4~
0053 23 I30 S INX 11 ~ NEXT DATA-VALUE a'tTE . ____ _ _ __ _
005C 36fF 132 MVI H,DFFH ; MAAK CURRENT EOF
ooSE C9 I3~ S RET .. _.. ..... _ ... .. __. .
00 320000 E 1.36 sTâ KYODE ~ ECF: RESET K!ICOE~ NOTHING PENDIN6 = 3
139; JS-~ ENO J~
140 ~EJECT
' . . ;1
, ' ' ' - .
. ' '' ' ' '
;-. ' , . .
;: .. ' "I
.. _, , _ _ .. .. ... .
` ' ,
', . :' ' ''
- , ' . ' _ ''
,
.
' \
. -- 82 -
llZ8666
. ....... . j _ _....... . ... ... _ I
.
... . . . . . . . .. . . ... .. . . . .
. lsYao POM4~ NOOBJECT HOD85 PRlNTl:Fl~P4A) ; ~
. . , . ,_ _ .. _ . _ . _~ . . __ _ ._ _ ___ _, _ _ . . . __ _ _ _ . _ __ _ . _ . . ,_ .,,, _ ___ _ _ . _
~SIS--II 8380~8085 HAtRO ASSEM8LER, VZ O POM6A PAGE
LOC 08J SEO SOURCE sTATERENt ~ a
NAIIE PCM4~ -
2 S - --
3 PUHLIC SQM~R~ccMM~ -
ExrRN HrE~lT,tDRDY,Xl'lTH,aEGlN,yELO~l,UJI:T,URJT.HESS,MA~L
_ _' IS SlNtLUDEl:Fl:PEMtCH~ __ _ __ __ _ _ __ ____ _ _ _ ___ -
7 SNOLIST
- S3 sL l ST . ., . . . . . _ _.. _ ._ .. _ . :_ .. .. __ .. _: . .. - __ _- - ~
CSEC _ ---- 3
57 - ~ t ~ 7 ~ 1 1 $ ~ --4 ~ t ~
58 ~ HOST CaMIIUNltATlaN HAKDLER ANO RCuTlNEs
59 ;~ o~ o~ o~ 4r~ ;)
60 S - -
6I S
0000 AF ~2 REAOU: XRA 11 ; RESET CARRY
OOOI Fn 63 El <ALLO~ USART INTERRUPTS? _ _ _ __ __ _ _ __ !
0002 7F 64 RUI: MOV A,A : ~ j
0003 7F 65 HOV A,A ; D10 USART INTERRUPT OCCUR~ ~CARRY SET?) _
000~ 020ZOO C 66 JNC RUL : . NC: ~AIT FGR INTERRUPT
0007 C9 6T ~tEt ... RETuRR Tt~ CA-LlNG RouTlNE _ __
611 ; - - - ' ' '-- - --' --- -'--------' -- ' ' '
t~9 ~ _ __ ____ _ _ __ __ _ -- ---------- -
70:
72 S - -- -- --- - -- -- - ------ --- 7
0008 COCCOO C T3 COrSMR: CALL READU ; REAC CHARAcTER fRGM HOST ___
00011 3EC0 75 CONMI: HYI ~,OCON
0000 AO 76 ANA H : MESSAGE CHARACTEQ~ -
OOOE cAoono E 77 It HTEXt 2 NG: PRI!CESS HOST TEXT ;~
0011 F21100 C ~8 Jp T~IOBY : .. YES: Z-aYTE MESSAGE FORMAT lHEN Hl--ORDER--8tT ~- O
79 ~
001- ~f BO ONE8Y: MD~Y C,A : C- I-BYTE DES5AGE PREflX
~OIS All 8a2 MOY e.~ . ; B~UNIT ADDRESS PORTION OF I~BYTE HESSAGE0017 C31EOO C 83 JMP CYI
`~ 8~ t
OOlA ~8 flS T~lOaY2 HOY C,B : C= Z-BYTE MEssAGE CHARACTER
0018 toCooo C 8h CALL REAOU ; B~ UNIT AODRESS 3
OOlf 58 a~ CH12 MOY E,B ; CI ECKSUM ACCUI'ULATOR ---FOR HOST-TO-UNIT ME55AGES
OOIF IACOOO E 89 LDA MYADR
0)22 119 90 - CNP l! ; SPECIFIC MESS~GE FCR ME?
')' 23 CA2coo C 91 Jt YELED ; . YES
0`128 3E3F 9Z HVI A,3FH
0028 88 - 93 CNP y ; E~ROADCAST NESSAI;E FOR EVERYO!IE?
0029 C2tCOO E 94 JNt CORDY : . NO: NQT IIY NESSAGE _,
002C CDCOOO . E 91S YELEO: CALL YELO~ ; TURI~ CN YELLOII LEn
9~: 3
.
.
.
;.
.
~ . ,~
.-
_ ~3 ~
<IMG>
- 84 -
llZ~3~i66.
.
, . .. .. i
.. .... .... , . ~I
.
ISIS--II so~D2sDDs MACRO ASSEMBLER, vz~o PO144A PAGE 4 3 '
.. ~ ' ' .1
LOC OeJSEO souRcE STATEHENT
OObO 3AOOOO E 126 pcLLs LDA 5TeY~
OOS3 RT~ 127 ORA A ~ STATUS-aYTE ~ O ~ 3
006~ CACtOO E 12B J~ ~JC~ , .. YES: SENO REJECT RESPUNSES NO HESSI~GE fOR HOST~
0067 E630 129 ANI 30H : HosT TRANsMlssloN sE~uENcE IN PROGRESS?
0069 C2CQOO E 130 JNZ ERJT : ~. YES: ERRR RESPONSE
OO6C COCOOO E 131 CA~ ~ESS ~ . ~ NC: INFCRM HOST: MESSAGE AVAILABLE
006F C30800 C 132 . JrP CCMMR ; AI~AIT HCST REspoNsE
133
0072 3~tcoo E 134 STRT: LOA STBYT , _~
007s E6CZ 135 ANI 2 : STATUS-BYTE ~ 2 ~
oo7t CACCOO Ç 136 J~ ~RJT ; .- lic: ERRR RESPONSE
007A ccccno E 137 CALL xMlTr ; .. YES: SEND MESSAGE TO HUST
~' 007D c30soo C 13a JYP CCHMR ; Al.AIT HCST REspoNsE : , S
139
0080 ~F 140 rACK: XRA A
OO9l 32CCOO E 1~1 STA eCAST ; RESET BROACCAST INOICATOR
008~ C30000 E 142 JHP sEGl~i ; OIALOGUE FINISHED--IRESET sTATus-ByTE
OOB7 C3O3OO C 144 HRJT: JHP CC!HMR S PRESERYE STATUS--BYTE -- 2 ANO AUAIT RETRANSM1551UN
145 S
~osA 3~COOO E 146 MPNO: LDA STaYT :. . ....... ....
0080 Bt l~l ORA A: SYATUS-BYTE ~ O ~
009EI cocooo E 149 JN~ LRJT YES INFORM HOST THAT UNIT AYAILABLE TO RECEIVE ~ESSAGE
009~ c30eoo C lso ~l~p CCt~R ! ' .
oo97 iAOOOO E ISZ rsEG: LOA ~ STBYT , _ ~
009~ E610 153 ANI 10H : STATUS-E~YTÇ ~ IOH ?
oosc CACnlO E lS~ J~ URJT ~ o: ERROR RESPDNSE ~ ~"
r; oosF ZICOOO E 155 HaGo: Lxl H,HOSTfl : POI~TER: HosT-~EssAGE AREA
00~2 cccooo t 156 CALL PEAOL S B ~ LENGTHXfOPMPT ayTE
OOAS Ae IS7 XRA E
- OOA~ SF 158 uov E,d ; BUILD up CHECI~SU~
OOA1 3E20 159 MVI A,20H
ooAs 32COOO E l60 STA sTByT ; sTATus-BysE - ZOH- HaST TRANSHISSION IN PROGRESS -;
OO~C IC . 161 ANA B ; NCRr6L DATA CLHING7
OOAO cze~oo C ISZ JN~ MBGI ~ NO: sysTEM TRANSMISSION
ODBO 77 163 MOV P,A : .. YES: TR6NsMlssJoN-TypE ~ NaRMAL --. ~ '3
OORI C3eAOO C 16~ J~P HRG2
~ l65 s
008~ 70 Ihh MBGI: MOY M,B ; TRANsHlsslcN-TypE -- sysTEM ~ FCRMAT CHARACTERl 3
ooas CDCOOO C 167 CALL REAOU : 8 ~ CATA-LENGTH OF HOST TRANSMISSION
ooBa Aa 168 . XRA E
3aas 5F Iss MOV E,A : BUILD up CHECKSU~
OOGA o~ llO MBG2: INR O
OOBII ~8 171 .`tOV C-8 : C - COUHTER: CATA--LENGTH ~ I
OORC C30800 C 172 JMP CCMMR ; AI~IT NEXT HOST rRANSMlSSlON
173 s
OORF 32CCOO E 17~ 3CST: STA BCAST ; SET BROAOCAST-MES56GE lNDlcAroR ~e CSTNZCSTY
oocz c3sFoo C ~175 J~P ~BGO
oocs C3CCOO E 177 OUIT: JMP BEGII. S ~ UIT ROUTINE ~o
17B ~ ~ 3
179 t ~tO END ~4
IBO sEJEcT
- :
\~
-- 85
q.lZ8666
,. ,, , ,, , ,, ~ ... . ...... ..... ,
. , : . ........... . .. . ... .. . .
~ISHBO PON~S NUO W ECT HODo5 PRINT[:F1:P~O~
~ISIS - 11 Bo50~5085 MACRO ASSEMsLER~ V2.0 POHS3 PAGe
... _ .. . _ . _ .. . _ _ _ _ .. _ _ _ . . . _ _ .. , .. _ . _
LOC OBJ SEQ SOURCE STA7EHENT 3
1 : NAHE POH~O
~ ; 3 PUaLlC NTEXT,XHITN,~ESS~AVL~RJCT~URJT
- . ~ - ; EXTRN CDRDY,CO~R,sEGlN,AUOBL,CLEAR.DSPLY,DSPTX.SONDP __
EXTRN START.SYSTR,XHlT,uRlTC,~RlTK,CAST -
~ 7 ~INCLUDE~sFl:PO~CON)
- C SNOLIST
-~ ~ SL~S~
C5E6 - - 3
5~ j~s~t~vJ~o~ttt~ o~-4~ t~tto~ o~e~ st~
59 t TEST FOR. AND PROCESS~ HOST TE~T
~O.~O~ tt~e~O~ ttOt~b~ t~
0000 3AOOOO E 62 HTEXTs LOA ST~YT ; ~HL ORIGINALCY SEt TO HDSTM IN HBEG3
0003 E620 63 ANI 20H ~ HOST tRANS~lSSlON SN PROCRESSt
OOOS CAOOOO: E 6$ ~ CORD~ 3 .~ NOs HOST TEXT NOT FOR ME
ooor 23 65 HOV Y- t .~ESs STORE o~TA IN NEXT HOST-HESSAGE ByTE
000~ 7'S 67 HOV A.O
0000 A3 ~0 XRA E
OOOC 5F ~9 MOV E~ t BUILO UP CHEC~SU~
OOOD OU 70 OCR C 3 ENO-OF-4ESSAGE~
OOOE C20000 E 71 . JN~ CONNR t -NUT YET
0011 3~FF 72 YVI N,OFF~ 3 ~.YES: ~R~ EO~ J
0013 07 73 - OR~ a I . ~ALID CHECRSU~?
001~ CZOFOO C 7~ JN~ URJT t ... NO~ REJECT HOST MESSACE
OOlt COCZOU C 7S CALL UAC~ ~ o.YESs ACKNOuLEDGE VALID RECEIP~ OF HEssAtE
77 t , _ - _
75 SEJECT - -
.. _ .. _ . _ .. . _ _ _ .. . .. _ _ .. , . . _ , _ .. ~ . - .. . _ . _ ~ _ .
.. . . . . . , ., , _ . _, . .. ...... _ . ... _ , . . .. .. _ . .. , . , . _ _ .
.. , , ,
~ . . , ., . , ,, ~ . _ . . .
.
- - ' : ' : ~
_ -- _ _ _ _ -- _, _ -- , , _ ,---- -- ---- -- - -- -- -- ---- .-- -- --~-- ---- -- -- _ _ .. .. . _--_
_ _ _ . . . . . .. . . . _ _ _ .
. . ' - .
.
~ , .. ,. ., : .
,' ' -- ,.
;-- _
,
., ~
, _
` ` ~ ' ``~ '
- ~ 6 -- .
.. . .. . . . . . . : ~.
3 ~.Zfl666
ISlS--lt boaoJao~5 HACRO ASSE~LER, VZ.O POH .8 PAGE Z ~ !
, . - .. . . . . . .. . . . .. .
LOC nnJ SEq DURCE STATEHENT
- , 79 tfrtO~ f~t~ frflrfr~444~ 0ffr~f~ of~ ~t:~ o~1f~
bO:i PARSE BOST l;ES5AGE TO DETERHlNE PROPER OtSPtlSfTlON/RESPONSE
frfi~ f~f~ flfif~--Ofi~r~fr~f~ f~ f~ frcl~f~fi~!~r~lf~l. , , .'. '........ '
~2 ~
ootA llOOoo E 93 , LXt D,IIOSTH ; PnlNTER: HOST-HESSAGE AUEA
OOID lA ~14 LD~X D
OOlE BT . 95 OR~ A t TRARSHISSION-TYPE - NORMAL7
oOlF CA~300 C ~6 - J~ NORHH s .. YES
0022 FEZO R7 CPI NoRHt- 2 .. NO~ FORUAT--CHARACTER - NORHAL DATA ---- NO HORN? 3
0024 CA~600 C 80 - J~ STL~T - : .. rEs
OOZ7 FE2F 89 CPI TEXTC t .. NDS FORHAT-CHARACTEh TEXT-OISPLIY COHHANO~
0029 CA5bOO. C 90: J2 7XTOP t .. YES - -
002C 3AOOOO E 91 LOII DCAST _ ~ __
QOZF B7 92 ORA A : BnoADcAsT HESSAGE~
0030 CA3800 C 93 JZ OTHER ; .O rlo
0033 3Eol 9$ HYI A.l
0035 320000 E 9S STA ST~YT : .. YESs STATUS-~YTE-Ol
003s C30000 E 96 J~IP conrlR ; RESPONO ~0 HOST NEXT PoLL
003P 3Eo2 9~ OTHEt: MVI A~2 ; PPOCES5 nTHER SYSTEH REOUESTS
003D 3~0000 E 99 STA STOYT S STATUS-BYTE - 02 IA~AITING --POLL-- OR --STRT-- FROH HOSTD 3
00,0 030000 E 100 JHP COtlHR ; A~ IT HOST POLL
102 S ;~
00 3 CDOOOO E 103 NDR~H: CALL AUOBL t NORHAL DATC TRANSHISSION SIGNAL OPERATOR
004b 210000 E ID4 SILNT: LXI H,DARAY t POtNTERs DATR--VALUE ARR4Y
00~9 13 lOS SILls ~ 3
004A 23 lOb INX R
004C 7~ 107 LDAX C S HO~IE OATA FROH H05T--HESSAGE AREA TO OATA-VALUE AP.RAY ~9
OO D ~EFF tOS ~Pl OFFH I Eoiq?
OO,F C2 900 C 110 JN~ SlLl t - NaT YET
11~ t- .. YESs IHLSADORESS OF EOII oYTE FOR DSPLY ROUTINEI ~ ;~
0052 COOOOO E 112 CALL C~EAæ : CLEAQ DISPLAY
0055 COOOOO E 113 CALL OSPLY - ~ OlSPLdY HOST HESSAGe
0056 C30000 E 114 JHP ~EGitl ;~
116 t
0050 13 117 TxrDP: INX O - 3
OOSC 1~ 118 LOAX D S ~ ~ TEXT-OIsPL~Y COHtlAND NU~aER
005D FEOl 119 CPI
005F CA6500 C 120 J~ SINON ; COM~AND t: SIGN ON~
0062 C30000 E 121 JtlP PE6tN
122
lZ3 t
0065 210000 E 124 SlNONs LXI HfSOrlOP
0066 CDnOOO E 125 CALL OSPIX ; DlSPLAYs "SICN ON
0060 C30000 E 12~ JtlP PEGIN
127 t
lZO t
129 EOECT
' . , . . " ' _'
. ' ' , . .
:~ , '' - ' . ,
r
- . ' ' ~ S
.
.
,` ' ' ' ~\,
; ~ ~7 ~
llZ1~16~
.
~ , . . . )
.. . .. .. ... . . . .
. . .
. . .
:iS15-rl 3080X.80BS MACRO ASSE~BLER, V2.0 POY43 PAGE 3 ' ~
. .
.
LaC -OOJ SEQ' SOURCE,STATEMENT ` .
, ,~,. l3O,;t~o~t~4~ 4~ t4tt3~t~1~t~ 00~ *~t . . _' _
. , .131 ~ UNlT-~a-HnST MESSAGE HANDLING ROUtlNES
. . 132 ~t~o~o-~c~ ot~oo~ c~ 4~04~ 44 .,...... ~33 ~ ., , ,...... , . - - .
oo~e IEOO i35 XH17Ms NV~ e~o~ t E - CHECKSUM ACCUMULATOR , , . , _ _ _
0070 COOOOO-. E 135 CALL hRlTC , i-oUTPUTs 8 ~ UNIT ADDRESS
, 0073 3AOOOO. E 13~ .LDA SCAST . . - . , ,.,.. _, .. ,.. _... . . ,_
007~ 37 I37 l ORA A .. -. ~ BRoADcAsT-REspoNsE TRANS~ISSION~
0077 C20000: E 138 , JNt CAST : I .. YES.-- ' _ ,.
007A 3A70000 . 1~0 ` LOA TRTY~ ~ TRANSMISSION-TYPE ~ NORHAL~
007E C2DOOO E 14~ JN~ SYSTR ' t - NO- SYSTEM TRANSHISSIOH , .. ~ I
~ . ~S3 ~ t~t4~ 0~ 0~$~tc~ o~ 4~ j
' 1~ s NOR~AL SCANNEDtKEYED DATA TRANSYISSION
45 1 1 OATA fRO~ OARAY~ . . ..
. ... t~ o~t~ o~ r~$~b40~tt~ b~4~44
1~7 5
008t 210000 E lSO LXI H.OTYPE , ,, .,.,~
008~ 3EFF 1~9 nvl A,OFFH
008~ 23 . ISO XMl~ ~NX H . 5 SCAN OATA-VALUE ARRAY FoR EO~
0037 8E 151 C~P R ~ .
OOSO t28600 C 52 JNt XMl , _,
OOPC ~ 5 154 noCX O.L s ~ - ~ATA LENGTH _.
0080 COOOOO E 155 CALL IlRlTC s DUTPUT2 OATA LEH~TH - ._
156 t . o TER
0090 ~.0 157 ~'OV C,B 1 t ~ DATA-LENGTIl C UN
0091 210000- E 158 ~ LXI H,oT~rPE _
009~ U 159 XH22 ~IOV 8~
0095 C00000 E 160 CALL llRI~C I OUTPUTs DATA . __ _
0099 oo ~b62 INX N ~ ~INISHED DATA TRANSMISSION'J
OosA C29~00 . C Ib3 JN~ x~2 i . . NOT YET
0090 COOOOO E 16~ . CALL ilRlTlt I .. YESs OUTPUTs CHECRSl~tl . __ ,.. ,. . j-
00~0 CY Ib3 ~ET
16~ I
OoAI 3E80 Ibo t~ESSs HVI A,POH t.CONSTRUCT --HESS-- RESPOHSE: , .... .
OOA3 80 lb9 0
OOA5 COOOOO E 171 CALL IlRllrt I OUTPUT~ ESS-- t UNIT~
OOAo 3E02 . 172 . YVI A.Z
001A 320000 E 173 STA Sl~ïT 1 STATU5-5Y7E - 02
OOAo C9 . 17~ RET
~75 ~ -
OOAE Ob56 177 HAYL: HVI B,111VLC
0000 COOOOO E 170 CALL XHIT s.TRANSHITs ~-HAVL-- ~ UNITI~I
OOB3 3E10 179 HYI A, IOH
0085 320000 E 100 STA STB'~T I . STATus-alrTE-loH ,~
ODOO C9 181 RET
102
o0B9_ ?9 . 18~ RJtTs HOY ~,C ., ~/ t.oH~ .STRUCT _RJ,C,T.,, REspo~NsEs , _ _, _.. ,,, _.. :.~- . __ ._ ,,, .. __ _ .
.
_ -
. .
,
.
;' ;
8~3
. . .~
llZ~666
.
.. . . : . , , 3
ISSS~ 080J9085 HACRU ASSEHBEER V~oO YON~D PAGE 4
LOC OBJ SE~ SDURCE STATeHENT - _ _
OOBA BO t~S ORA O _ _ _ - ___
'-t OOB ~ 1~5 CiLL ~RlTC ~ OUtPUT~ ~-RJCT- ~ UNITS~
OOBF C30000 E 1~8 ; JHP BEGt~
189
'' ' . 190 ~ . .. . .
OOC5 FE59 192 CPI CSTYC ; BROADCAST RE~UIRIHC RESPONSE~AC~NOULEDGE HEXt PO~L?
OOC CAD900: C 193 . C`PI CSTNC ~ 8ROADCASt NOt REQUIRING A RESPONSE~-
OOCC CAO~oO:- C -S9~ J2 uAr~l t ... YES 3
OODt CDOOOO E l9t CALL XHlT ~ FOR HoN-BRohDcAsT: TRANSHIT~ ACK- ~ UHSt~J
19~ 5
OOD AFE 20909 U StA BCAS~ ; RESET BROADCAST INDICATOR
OODB C9 201 RET . - ~3
- 202 S
OOD9 3E21 203 UAC~Z: HVt A BCASA
OODS 320000 E 204 STA BCAST : BRnADCASt-AC~ND~LEDGE ~ A IASCIl-ZDNI
OOOE C9 20S RET
zo~ s . . - 3
ODOF 3AOOOO E ZOB URJTs DA BCASTC ; BROADCASt RE~UZRING RESPONSE-REJECT NEXT POLL?
OoE~ CFEOE 211 CPI CStNC ; BROADCAST NOT RE~UIRIHG A RESPONSE? s
OoE9 CAOOOl C 212 J~ URJTI ~ ES
OOEE C~OOOO E 21~ CALL X~IT ; FDR NO~-BROADCA5t5 TRA`NS~lTt l-~RJT- O UNlt~l 3
GOF2 320000 E 216 StA BCASY ; RESET BRDADCAST tNDlCATOR
; OOF51 EA03~ 213 AHI 3 8 DOES UNIT HAVE HESSAGE FaR HUSTT
OOF~ C20000 E 219 JN~ COHHR S ... YES: A~AIT HOS7 rOLL
COFD C30000 , E 2ZO JNP BEGIN t .~ NO: RESET STATUS-BYtE-O
221 t _ _ _ _
0100 ~F 222 URJtls XRA A
OlOt 320000 E 223 STA BC~ST t RESET BRDAOCASt lNDtCATOR
010~ C30000 E 224 JNP BEGlH t RESET STATU5-B~TE-O
22~ S
0-09 320000 E 227 5TA CCAST ; BROADCAST-REJECT ~ A IASCII-ZOHI
OlOC 3E01 22S NYI a.l
OIOE 320000 E 229 STA STBYT ; StATUS-BYTE ~
0111 C30000 E 230 JHP COHHR i AHAlt HD5~ PoLL
231 t 4~4 eND
233 SeJECT
. - ' . ' ' '
- , . .
_,, _ _
.
.. . .
`,` ' ' " . . .
' ! .. , ~ , _
.
' , ' _ ''
. .
\
-- 89 --
~ 3 ~, /
.
.
,
666.
-- -- -- . .. .
~SH80 POH4C NOOa~ECT MOD8$ PRlNTlsFI:P4C~
ISIS-II 8080~eo8s HACRO ASSEMBLfR, V2.0 POHU PAGE
- - ~
LOC OBJ SEO SOURCE STATEMENT _ _ _ _
t NAME POH~C ` ;~
3 PUBLIC SYSTR,CAST.CO~BN.XHIT,~RITC,~RIT~ _
4 EXTRN URJT - . 3
S 3 _ - ' ' ' -_- __ _ _ ' _____ _ _ __
- 6 INCLUOEI:Fl:POHCO~
~ 7 SNoLJsT ; _ _ _ - - --- - -
53 SLIST
CSE6 - -- o
57 ~ 4 ~ e ~ 4 ~ ~ 4 ~ 4 ~ * 4 ~ 4 0 ~
58 ~ SYSTEN TRANSHISSION ROU~INES O
59 ; ~ o~ ~ 4 ~ s tlo ~0 ~ o4~ r ~ 4~ .4 ~o
~,0
0000 FE22 61 SYSTR2 CPI REGOC : REGISTER DU~P
Q002 C~1700 C 62 J~ REGDP t
noos FE23 63 CPS HE~DC ; HE~ORY DUMP
ooor CA3AOO t 6~ J~ MEMDP 3
OOOA FE2~ 65 CPI FXTSC ; FIXED LINE TEST
OOOC CAA700 C 66 J~ FXTST - -_
OOOF fE2B 67 CPI CYTSC . ; CYCLE LINE TEST - .;~
0011 CAOAOO C ~8 J7A CYTST
00~4 C300D0' E 69 JMP URJT 1 ERRaR: UNDEFINED HOST MESS~GE
70 t , . . _ _
72 SEJEC~ .
., .. ., _ .. ~, . . .. , _ . _ _ ~ .. _ ~ .. . . .. .. _ _ _
- . . _ .... _
, . - , -- , - - - - - - - . . ., _,. . . .
. : . - -- -- 3
.. . ... . ... .
.. . .. ....... .. .... ....... .
,
, '
J
.
". . .
.
: . ," , : - ,
`
,, :. ~, ,_ . ~
'; _ ' . ,
~~ ~0 --
. ` , '
i
!
31.2~6q;~
. .
.
. . . . . . .
, . .
, .. . i ... . ., . . . , . ,. - . - .. -
.. . . .
.. -
1515-11 80ao~8085 IIACRO AssEllaLER~ V2.0 POM4C PAGE 2 _ _
LOC OBJ SEQ SoURC~ STATEMENT
~3 ~ 4~ 4~ *~
7~ ; DUYP REGlSrERS TO HOST _ _ __ . .
;~ o~ o
0017 47 76 REGOPs MOV 8,A
OOIR CU2401: C 7t CALL IIRITC ~ : OUTPUT -REGDUHP- FORt~lAT 8YJE
0010 E5 78 PUSH H - ~ HE --> -- ^
OOIC 210000: 79 LXI H~O
OOlf 39 80 OAD SP .
0020 E~ . 81 PUSN H - : SP -->
0021 D5 . 82 PUSH D : OE --
on22 C5 83 PUSH 8 . .: BC --~ -
0023 fS 84 PUSH PSII ; A~fCAGS -->
0027 39 86 DAU SP ; POlNTERs START of PUSHEO REGlsTERs _ _ _ _
0028 OEO~ B7 ~IV~ C, 10 I C - CHARACTER COUNTER
- 002~ ~1 88 ~loV 8,C
002B COZ~OI C 89 CALt. NRITC 1 OUTPUTs CHARACTER CENGTH Y 10'
002E COF600 C 90 CALL NIBBL ; OUTPUT: REGISTERS IN SUCCESSIVE HEX-N1~8LE FORMAT
0031 C02301 C gl CALL NRI.TIC i OUTPUT: CHECltSUI~
003' Fl 92 PoP PSII I --> A~FLAGS _ .......... _ . -- -
0035 Cl 93 POP 8 ; > 2C
0936 Dl 9~. POP D I --> OE .
0037 fl 95 POP H I IDUM8Y SP)
003a El 9~ POP H . S --~ HL
- 0039 C9 97 RET S .- RETURII TO STRT RouTl~E
9 8
- 99 1
100 SEJECT . . .. ..... _. .. - .. -- --- -- ~-~- - ~J
, - _ _ - _ _
,, _ , _ . ...... _ _ , ,, __---.-- , --- -- -
. .. . ... . .~ _ . . . 3
... - - - ~,
.
.. . . . . . . .. . . .... . . ... .. .. ..
~`,
.` . i
.,, -, ' .
. .
. . . .
, . ' ' ' `
'~ ' ' ' ' -
:
. .
. . .
~ .
~1 .
.
~ : , ' ., ' ,' ! . ' : . - , :
6~
.
,. . . . . ` - .
-
:. ..
.
.. . ... ...
IS15--1I Bono~oBs HACRO ASS~HBLER~ V2 0 POH4C PAGE 3 _ ~
., _ . _.. :. . ~
LOC OBJ SE~ SOURCE STATEHENT
IDI - ~ O~ OS O~ O~ O~
102 I DUHP SPECIFIED NEMORY REGiON TO Host . _
- 103 . ' .t~ 4 0 ~
003~ 210000 E 104 HEHDP: LXI H,HOST\I ~ POINTER~ HOST MESSAGE AREA __ 3
003D COOFOI C 105 CA~L COM8N
01 40'47 In6 HOV D,A ~ B -- Hl--ORDER START ADDRESS
0041 CDOFOI C 107 CALL COY311 ,)
00$4 iF IOa 'tOV t,l~ .T C ~ LO--ORDER 57ART ADURES5 _ _ ___ _ _
0045 C5 109 PUSH. ~ . ~ SAVE: BEGINNING DU8P AODRESS
00~6 ;23 I10 INX H
D ~ ,7 Z3 ~ N~ H
0048 CDOFO1 C llZ CALL CW~BN ;
00~ 3C 113 INR
004C g1 - 114 SUB C
OO~D ~.F 115 HnY C~IA ; C -- DUHP--LENGTH 1<256
O04E FEIE 116 CPI 30 . 5 C >- 30 BYTES IDUYP- 2ffO~4 - 64 BYTES~
0050 FZ5FOD C 117 JP ULONG S .. ~ ES: PROCESS LONG-DUt1P FORHAT
118 ~ --
0053 07 119 HSHRT: REC ;~
005~ C604 IZO IDI 4
0056 Sf 121 ;Olr E.A : L - LENGTH BYTE ~ 2~DU!SP-LENGJH1 O ~.
0!157 0623 12Z YVI B,HEYDC ;~
0059 COZ~OI C 123 CALL URITC ; OUTPUT: --HEHOUYP- ISHORT FORNAt)
OOSC C37~ 00 C 1 t~ JI~P UBOTH
~25 ~
085F 2~00 126 HLONG: ~YS H,O ; CONSTRUCT OOUBLE 6--alT LENGTH B) TES: _
00~1 6F 1Z~ r~OV L,A
0062 23 128 INX H - ..
0063 Z3 IZ9 INX H
006. 29 130 . DAD H , 5 HL ~ ZIDU~P-LENGTHt
0'~65 3E3F 131 IIVI, 1~3FH , ,~
DO67 ~5 132 . ANII t . : A ~ Z ND LENGTH BYTE _ ` -
OO~B 29 133 DAD H
006 Z9 1335 OAO 5 HL ~ HI~LO 6-l~lT LENGTH BYTES
006~ 0633 136 MVI B,IIEIIDC OR LONGF
006U C02'0J. C 137 CA~L ~IRITC ; DUTPUTt --HEMUUMP-- ~LONG FORHA~)
007~ 13~ ~OV n,H
Oa71 CD2~01 C 139 CALL ~IRITt S OUTPUTt l'ST ~ENGTH 8YTE
140: _
0074 ~5 161 MBOTHt l10V a.L
OD75 CD2401 C 142 CALL ~RITC ; OUTPUT: ~Z ND3 ~ENGTH BYTE
0078 210100 E 143 LXI H,HOST~1 ; OUTPUT: HEMORY START ADORESS J
0078 ¦60~ MVI D,~
OOrD 4b 145 MB15 IIOV ~,H
007E CD2~0L . C 14~ CAL~ ilRlTC
Oq Bl 23 147 I NX H
DOB2 IS 148 DCR D S FINISHED7
0083 C27DOO . e 149 JN~ ~IBL S . . HOT YET }
OOB6 El 150 POP H ~ RESTORE: HEGI Nl`IING DUHP ADDRE5S
0087 COF~OO C 151 tA1 L NlBaL ; OUTPUT: HEMORY DUMP IN SUCCESS IVE HEX-NlaBLE FORHAT _ o
008A CD23DI C 15Z C~LL IlRITlt S OUTPUT: CHECKSUtl ,
008D C9 . 153 RET ; .. ~ RETURN TO STRT ROUTINE
- ~
~ ' ' " ' , ' '
,
\\
_ 92 --
., .
<IMG>
- 93 -
<IMG>
- 94 -
~2~66~ -
.
..
- .
- . .- . : .
. ~ ~ ~
.~' ~ . ' , ,,, _,,,, _. . ),
_ , _ , _ ,,,, _, , . ... ~ ~ ~ ' ' C) '
15IS-ll B080Z8985 H~CRO ASSEUBLER~ VZ.O PDH~C PAGE 7 _ _ __ _ _ _ ...... _ _ ~ _........ ... ..... _ -
.. . ..... - ,. , . , . ,,, ,, _,__.. _,... , . ~
LOC O W SEOSOURCE STATE~ENT
Z28 -~ o4~c~r4~7~ 40~ 4~ tt~*~4~
Z29 ~ OUTPUT BEHORYIREGISTERS iN SUCCESSIVE HEX-NlBaEE fDR~AT _ _ _
2~0 ~~ *~t~4~0~0~ tt~~ t~ 4~ t~
ooF6 3EOf 23Z Nla9L~H~ OfH . S RHS -
OOF5 ~6 233 ~N~ ~ - .................................................
DOF9 57 Z3- HVI A OFl~ . ~ LHS
OofC A6 23h ~HA . ~ . . .i-:......... .
OOFD OF 237 QRC . - , . .. ._,._.. -~ -- -- -- -~ -----~ -~~~~ -~~ ~~ ~ ~~~
OOFE OF Z3~ RRS . - - ":.' ,. - . .
OOFF UF 239 . RRC . ,__ :,,, _: _ - ,. ._ _ _.... _
0100 OF 240 RRC - ~
0101 S7 2~1 CALL ~RItC i UUTPUT~ Ht-oRDER NIBBLE.
OIOS ~2 243 ~OY 8~0
oln~ C02SOI C 25S C~LL ~RITC : OUTPUTI LO-ORDER Nl anLE
0109 Z3 ZS5 INX H t NEXT OUTPUT HYTE
010~ 00 24h DCn C 7 FINISHED~
OlDa C2F600: C ZS7 JN2 NIRBL S ~. NDT YET
OIOE C9 2~0 ReT
2~9 S _ , .
Z5t -t~ *~tt~4~r~ t~t~ t~
252 S COHalNE ThO NIBBLE-BYTES INTO ONE HEX-BYTE . 3
253 ;~0~ 4~4~ 4~ 4~ t~t~4~4~ ;
25~ ~ '.:
OIOF Z3 255 COH8N: INX - H . . . , ,_ _ _ _ _.___
0110 7E 25~ MOY A~H
0111 07 257 RLG , .,_ .. _ . _.
0112 0~ zsa ~LC
0113 07 Z59 RLS ,_ _ .
011~ 07 260 RLC -
0115 23 Z61 INX H : ,, _ ____ : __:_. , . .. ._ __..... _... _ . --
0116 B6 262 ADO ,
~117 C9 263 RET
26~ ~
2bS ~ __ _ __ __,_ _____ _ _ ___ __ _,_ _ _ _
Z66 ~EJECT
'' ' , ' J
... - - . 3
. ' . . ' J
3
'' '' '- , '
.. _ .. . . . . .. _
. - .
. - .
- . -
' ' -, ' -. ' _ ~.
. . . - ' ' .
..
!
, I
.. .
.
g5
<IMG>
- 96 -
~Z~ i6
.
.
... . ... , . .. . . ... . . . i . .. . . - .: - _ - - - -
.- . , . ~.~
.. . . . - -- .
.. . . . . . . .. . .... . . .. .. . . . . . . . . . . . .. ... _ . . ,~,,
. .
.. . ....... . . _ ... ... . .. . .
ASH~O P0~5 NOOBJECT HOD85 PAlNrl:FlsP5) .-
- - -- -: -- . . .- .. . . . : . . . . . .. . _ ._:__: _.. . ..
IStS-II B0~0~80aS HACRO ASSEHBLEA, Y2.0 POM5 ~AGE I _ ~
- : --- - , ; --- -- .: - ., ... , . . . . _ , . .
.. _ . . . . ____ .. _ . ___ _ _.. _ _ . _. _ _ . _ _ _ . . _
LOC ObJ SEQ SOuRCE STATEMENT . . . .-
- 1 NAME POHS : : ~ ~ ~ ~~~ ~~ ~ -~ ~ ~ ~
~ ExrRN O~DP OFFDP,SnFDP,SCODP,SD~DP~DSRTX,ENJDP,OSPTl~BEGlN,KEY2,5TART -
.; ~ 5 ; EXTRN COMBN,CLEAR,DSPLY,UCONT :
t : : _
. 7 $2NCLùDEl:Flspo~ca~)
, _~ g SNOLSIST - -- -
. 5S S _ _
- 56 GSEG
-- 57 S ~ _
SB ~ 9~ 0~ 0~0-~0~ o~ o~
59 t SPECIAL ~- ~ILE ROUTINES FDR PROCESSING SPECIFIC DATA-TYPES
60 ;-~-o~ o~e~4~r~0~ 0~ - ~ 3
6~ S :
0000 210000 E 62 NUlLEs L%l H,DTYPE ; PnlNTERs OATl-TYP~
0003 7E 63 ROV A,H
000~ fEOO 6~ CPI 0
0006 CAIEOO C ~5 J~ SPCLO t TYPE-Os E~PLoyEE SCA~ _ ___ _ _ ---
0009 FEDl S ~7 Jr sPC~t s TYPE-ls FOREHAN SCAH PREFI~ - -
OOOE fEO~ 6R CPI ~ - _
0010 CA6DOO C 69 J~ SPCL4 I TYPE-~- OU~DLE SCA~3 ~V
0011 fE05 70 SPI 5
OOt5 CA0500 C 71 ~ a~ SPsL~ t TYpE-5s SHop-opERATloN SCAN
001~ FEOD 72 CPt ODH
OOIA CAC200 C 73 ! ~ J2 SPCL~ J TYPE-D: DISPLAY ~ENOR~ ErTE ' I
0010 C9 7~ RET
7S t ~! ! ', _
: 76 t
70 t TYPE-Os 5t) ALLO~ ONLY VALID ERPLOrEE SCAN
79 t ~21 INDlCATE OPERATOR SIGN DN~OFF
, , 00 t 131 ~EOUIRE PROPER SIGN-OFF BEfORE ANurHER EHPLOYEE HAr 5tGN ON
0 ~ ~ ~ ~ ~ ~ ~ ~ 7 ~ 4 ~ ~ ~ ~ 4 ~ ~ ~
~2 ~ t
oole lloooo E ~3 SPCL02 LXI O,EHPIO t POlNTERt E~PLOYEE ID
0021 0605 0~ HVI B,5
0023 3AOOOO E 85 ~DA OPSEO
0026 EhOl 86 ANI 1 ; OPEPATOR ALREADY SIGNED OH7
002~ C2~200 C ~7 JN~ SP02 j~O. YES
ao s
~J 9 1 0 ~ 4 ~ 0 ~ f ~ 0 ~ 0
SjNO~OOY SIGNED OH YE~
0020 23 92 SPOI- INA H ; : ^'
002C Te 93 ~OV A,N
0020 12 '- 9~ STAX O t STORE EHPLOYEE ID
002E 13 9~ INX D
002F oS 9~ OCR
0030 C22~00 C 97 JN~ SPOI
- . . .
. . .
.
, ' ., , . .: :' ' '.
,
. . ~ , -.
-- 9 7 ~ `"
<IMG>
- 98 -
<IMG>
- 99 -
~2~66~
,
.
. .
- . -
.. . ., , , . _ . . . . . . :
.... ; . . - . .. . . .. . .
,
.. . .
ISIS~ 080~808S ~CRO ASSEH8LER~ V2~0 P~5 P~6E ~ , o
- .--- . . -~ - r
LOC OflJ .SEC _~_ OURCE STA7EHE~T.... . .. . .
. . 19~ v~ ooo~ s~ 4~ 4~7~ oo~0~0~ r-~
197 ~ TYPE-5: INDICATE SNOP-OPN HAS BEEH SC~NNED -.
9~ j*s-~ 44~t~ o~s~ 4~ 4~0~t~o~4 ~*~8 _ O
OOS5 310000 E 200 SPCL5S LO~ OPSEt
OOBO IF . 20t R~R . . . ~.IS EHPLOYEE SIGNED OH~
0089 027EOO C 202 JHC SP41 ~ ~ NO~ OISPLAY: ~SIGN ON~
008C 3E03 . 203 .. ~ HYI A-3 1 .. jES: INOICATE ~E~PLOYEE~I SHOP-aPN OEFINED
OOBE 3ZOOOO- E ZOS *~ aPsEC
OOCI C9 ZOS REt . ~
-...... 20~ ;r~ 9-to~o~-~4~ 7~*~4~4~ 4~-s~0~ 4
209 S TYPE-O DISPLAY HEHORY 8YTE OF KEYED AOORESS
210.l~4--~ A~ r~ o~o~ 0~ 00~ 40~0~4 ;~
2~
OOC2 CDOOOO E 212 SPCLD: tALL CO~OH
OOCS ~7 Z13 Hav ~ ; 8 ~ H}-ORDER EEGINNING HE~ORY AODRESS
OOC~ CDOOOO E 214 CALL CDHBN
OOC9 ~F215 HDY ~ ~ ; C ~ LO-DRDER BEGINNING HEHnRy AODRESS
OOCA 210100 E Z17 LXI H~DTYPE-I } SPiiCE PAST UISPLAY TYPe
ODCO IcSO-~ . 218 MVI 0~ i STdRE 4 fl~lES llf AOORESSED HEHOR~ .
OOCF 0~219 SPDls LD~X 11 ~ A ~ CONTE11tS af HEHORiYADDRESS . ~
0000 E~FO 220 ANI OFOH - _ __ . __ ~-- ~ `!
0002 Of221 RRC
O ~D3 OF 22Z RRC .. _
000'~ OF 223 nRiC
0006 77 2222~ NUV ll~A - ~ STDRE Hl--ORDER NlaE~LE nF CONTENTS ~5
OOD7 OA 22~5 LOAX 11
OOOtl E6aF . 227 IIHI OFH
000~ 77 . 229 INX H ~ STORE LO-ORDER Nll!IIILE Elf CIINTENJS
OOOC 23 . 230 INX H
0000 03 231 INX . Il 5 NEXT HEHaRY 8YTE - - O
oooE 1.3 , 232 DCR D ~ FIN15HEO? . _
OOOP C2CfOO` C 233 JN2 SPDI . ~ ~ NOT YET
OOE2 3aFF . 235 tlYI N~OFFH : lNOlt ATE E011
OOE'~ tOOOOO E 236 C~ LL DSPLY ~ DISPLA~ CaNTEtlTS DF HEMORY l!lYTES
ooE7 C30000 E 237 OI~P ~IEGIN
23~1 s
Z39 ~
2'~0 'iEJECT 3
. . 3
. .
.. ... _:, _ __ _ _ ~ _ .. _ __ .. __ _ __ __.. _~__ . _ _ _ _ _ _ ,, ,, ,, ,, ,,, ,,, ,,, _,, _
,, .
.` ' ' . . ' ;
-i
i,
, \
llZ8666.
.. . .. 3
.. . . . . ... ... . . . .
, . .. . , . . , ~ ..
. _ _ , .. ... ... . ... . ...
ISIS~ DaOt~DB5 HACRO ASSEHBLE~ VZ.O ?ON~ . PAGE 5 . ;~1
., .. ., : . . _ _ _ ~_ ~ _ _ ' 'I
: ~
LOC O~t~ . SEQ . SouRCE STATEYENT . . .. ...
' . . 24~ S 4 ~ 4~ ~1 t t ~ 4 J ~ 4 ~ ç ~ o ~ * ~
; ~ 242 5, COHHUNICATInN DEBUG ROUTINE - -~
,, , Z43 ~ G949~ 4~ $~ 44~0~
OOEA ES . .2~5 OEBUGs PUSH .H S SAYE ~ORKING RECISTERS . : , . - .. - i
ooEB DS ' Z~ . PUSU O :
OOEO OE58 ~ 2247 ~ ~VI C~5aH ~ HE~ORY SHIFT CnUNTE~ - - - - - ' -- --' ' '
OOEF 210000. E 24q L~l HID3UGA S POINTER: 0ECINNING OF DE~UG AREA
OOF2 1!0800 E . 250 L%I D,DBUGA~8 ; PUINTER: DFFSET.INTO DE~UG ARE~ . . -
OOFS IA 251 D~Gl5 LDAX D . . ._OOF6 77 .. _. Z52 ~OV .. M~ SHIFT HE~ORY DO~N 8 BYTES. ; ,
OOF7 13 . Z53 INS - D , - . . _ .
ooFB Z3 . 254 ItlX ~ '
OOF9 OD . _. 255 . DCR C ~ FIHISHED~ ;9
OOF~ C2F500 C Z56 JNZ nBGI S ... .~OT YET
OOFD 70 . 257. H ~OV ~ .. YES: STURE USART DATA
OOFE 23 Z5~ ...... .INX H
OOFF DBAS ., 259 .~i .IN UCTL - , , __ _ ,_ ____ _
0101 77 Z60. I- ~tOY M,A ~STORE USART CONTROL BYTE ~ .
0102 23 ' 261 - INX H :
0103 3AOOOO E 262 LDA 5TLtY~ ' :
0106 77 263 ~ ~tOV ~A } STORE STATUS ~YTE t .
0107 23 264 :. IN~ H ; . ; ~
010~ 20 Z6S . RIN ` - __
0109 77 266 ~OV n,A ~ STORE INTERRUPT HAS~
OIOA Cl . 267 POP 3 . ;.RESTORE 6C, oE ,
OlOB 01 26a . POP D
OlOC 210UOO. 26V LXI H~O . .
OIOF 39 . Z70 D~D SF.
0110 23 27t. INX H
'0112` 225C00 ~ 273 SHL~ DB WA~5CH g S~ORE CURRENT VALUE aF STAC~ POINTE~ 3
0115 El .. 274 POP H ; RESTORE ~L . .-~
011~ E3- 27g St1LO DaUCA~5EH ~ STORE ADORESS OF CALLING ~tQuTlNE ~ . ~t
ollo C30000 E 27A J~p UONT t .-- CONTI~UE PROCESSING USART INTERRUPt
27~ ~ , : , . . :. . `
2ao
201 ~ END
2~2 sEJECT
.... . .. ~
,
-
.. ' ~
. . . . .. . .... .. . . ... ..... _..... ... . _ .
, , ' . .
.
. ' ,
. ' ,
.
. . . ,~- - . ...
; - ~!
;! ;
- i01 --
,'' '
.1 ' '
. ~
2~
O For the modification illustrated in Fiy. 15, using
a bar code scanner, the portion of the foregoing program
desiynated PoM2 is modified as follows:
.
``:
~ .
.~ .
~,
'`'` ~`
~ ! 102
66~;
l,l llhl FO F~ EtlE:LEF ~ 1 . 1 PHl-E 1
Cl lh--: ~.E;E:rl El~U l.-lfi--:H ; E:EOKtlf11~/~ E(EOhF.rl TE-;T FOFT
"i:-~f ~rlLH~ El.. !U .-:I.lH ; IltTEF.lCHflF5f~ TEF b]~;PLf1~ rlELfH~
flhll t1iRrlF~ El.!ll flf11:1H i FDt1rlf1~ t~IT f1IlrlFE:~ FOPT
-ll:F . HO.:To El H IJF5H ; U~ 1F.:T OOttTFOL FOF~TF~ HO:~.TII El. I l IlF4H ; Ll:~:hF.lT rlflTf1 POF~T
~Illf11 POFT5 El ll flf11H ~ lJ~-;hpT EEfFRrl FOFT
Il l-lfi fl F OPTt. El.. !l l l:lH f!H i ~.J I: ;Hf1L D l: .F Lh l F OF. T
-lf!F7 FOFTf EIJII ~IF-f H i l-l~:HF~T COttTFOL POFsT
l,ll:lh PEtt cl.!O flh.H ; PEtt IttFllT POF:T
f~ DLI~TH Ehll ,c,, ; rlhTh FIELII LEttl TH
e 4 f":l O F.~ l t 4 fl l l H
t.4 r, f~ D ~ 1 f,lH
`;Thl-:~:
~.41 fl IlflTh~ DLHTH
t.~4r DHF~Efl: D:~: 11 i Dl~;:FLR~ hFEh-
r.4.l.- :~:.TE:rT: Il. 1 i COt1tlllttl1-:flTIOt~ :iTf1Tl-lr: EHTE
t.~ TFI2L~ D f- ; TF IE I EF l~!HT'E:L~. FEtt LE . EL:~.
tr.4 ~...... tlh :l.,lT: D:~ 1 i t~lh"r.It111M l...lHT FEh~l LE.JEL
.~.,tr tlIttE:L~ 1 i llIttIllllt1 E:Lt. FEhrl LE.'EL
f-.llf.ll:l OF12 r.flllflH ; I r~I TlhLI-hTIOlt:
~. l l li ~l H F : . F5 ~1 H
t.l:ll:l1 ::~E l t.~ :~T~ :~TE:~T i ... OLEHF, . ThTU:~ E:fTE
frl ~ Er~ -lE L-rI H~ lEc-:H- ; . . E:L~=H=lE l.JHT=L=f-~
t. l:l l:l ~ .~ ~ . .-: t. ~ : H L rl T F. l L .
t.fJflh f-~ F E:El2Il~: L:X:I H~ ~Fl:lflH- ; . . F.E.;TOF.E l.l,lHTfE:L~ LE.EL hl-CUt1r".
t. ll:l D E . ~t~4 :;HL D ilh:x l lT
r.~ I E~11 rlë~4 L:.I Hl ~.THC~ ~ . . E:E~ t~It~l~ llhTh POIt~TEFs
- F rl `;F HL i !~ s T hC ~ F O I ~ tT EFs
r 014~e~4 LxI E:~DHFlEh ; .. E:EO.I~t~ l~ rlI.~:PLHl hF.Eh E:~TE
~.n ~ 5 Pll:~:H E i ... .:h~.E IT
t.~l1:: ~:h . ~.4 LIlH .~;TE:~T i CHEI-~ ThTll:~:
e.l~lr~ E:~ OF.h h .: hCTIO~t PENrlIttl2~
r l~l 1 l~ 0 .~ ~ F G 1 JN ~ 0 011 t1 F.~ E .~: .-
r;l,l1F rlEr.E M. I 0~ DLNTH~c~ i . . C=rHTh FIELD ENrl OOllt~TEp ..
e. l:l, 1 1 t. rJ rl t1 .~ I D ! l~l D= n
r.rl :: .h t10 .' E ~ D ; . . E= ~1 ---- Cl :FF
e r,-~ F.:rlFEN: I~F. ll ; INOFEtlEt~T FEtt-.~:h~lPLE l:tlHt~T
e.l:lc5 E ~ FU:~:H H i :~;h.~E rlhTh FOItlTEF
e.l:lct :~;Er!1 tl~JI h. 1 i IltITIRLI_E FOF PEl~ FERD
l;llcr ~ :HC OOT FE~t
t ll~h ~ l:' ttOP
t.l:'cE l:ll:l ltOP i TItlIt~
GO C HF ;~F h h
t r!,~rl D:--.h~ OUT PEl~
r nE~F hF F~EI~Itl: XFh h
t llr-:l~ DEh~ I~t FEtl ; PERrl PE~ hfrl ~. hLllE --~ h
;2 lF F.hFI i .~hLIIl PEHIl ~ ETr;
e,~ ~ rlCr~F~ Jt~l- F~E~ 0
! .; '' ' - .
.~ " '
` .
_
- 103 -
6~i
I :~: I ~; i_i l, :3 ~1 ~1RI-F O h~ .EME:LEF ~ . 1 Ph~E c
t. r~ , 4 E: ~ r~ i F E :~: E T O O L O F I t ~ ll I I h T O F.
~. ~t: -, 7 5 h : ~ L H L II T F~ I - L ~f ; E: L ~ H T = L
t ll:-,H ED 011P L ; ~1H ,~ HT ~ PEt-~ EFI~lTE IJlHITE~,r~ P~ F,~ IF~ .lHlTE ; .. ~E~
f:.llr-,E E:O l-t1P H ; ~lIt~EL~ FEH: IIEFIt~ITE E:Lhl-:Kr
~,l:l:-,F Fh~c,r~ -1 E~h~ E~
c5 4.-: ~la . E~ E ; I- F~O: ~OO ~, EF~ Flht~l .E:~,r~;. O ~ rloF; r, i .. 150FF ~ :hllE 150LOF~ h:~-; E:EFOPE
t ~ l4 ~I!HlTE:Il~F. E i l.l.lHITE: E,=I
4., , 1 Cltr~t~4 E:LHO~: L;,I H. t1INE:L i E:Lhl5~: E:= ~J
E:E . O~lP M i F Et~ C tl I t~E:Li LE . EL -~
F,~ rl t~ 1~ JP '.~.:+~, i . . N O
4:l4l- ~ ~ MOl.J t1. h i . . ~E~: FEt~ !1IHE:L~t- ~14II c~E rlox H
t ~:l4E E:E r:l1P ," i FEI~ ~ Mh ;~.~!HT LE . ELr.
~-.r~F FR-~:t~ +4
t ~ ~ MO'.J 11~ h ; '~'E:;: F Et~ MR: .~.I!HT
t,l-JC.., El FOP H i PE~55TOF.E llhTR FLIl~TEP
.4 E - MO .~ h! E ; or-:FF --~ R
t~ .ec. ,~ OE: E: ; 00l1PhF~E TO l-:OLOF Ol l:~T F~Ehr
t,ll t, I~ ~C~t,rl J~ OHRNI~ i ,, IIIFFEF~EIlT
t.l.l. .~ I E ~1nl~l R~ ;R~E:
t~ 1 ! ' H E: O o F. R E:
t. l l E: h :-: :; F.I R E i E L h ~ !,: O ~.~ E F~ F L O l.. l ~ I O O t ~T-- - ~ "5
. l:l . ~: :, I_ I ~ ~ F. h
.r~.e~ 'C'c'J.t~ll -Jl~ F.'rlF'EI~ n: ~E:~-:h~
r r~ 101 I H ~ 1: . i . . . E:~:
t qt.1 1 F . F:hP
~ t.~ 4F 110.J l~h .; O=IIRTR OOIll~T PEtlhIt~It~
t ~ltr~-.- FEcr~ OPI IILl~TH~ i l.. !ELL It~TO llhThl~
t rJ ir ~; F 2 r~ l I P ~' E ~ 0 E1 0 T O ~5 E f P h II Fl O l l T I t ~ E
5; . .h ~10~ E- 11 i E=~ HhF~ ~55 LErs5s55 THh~ 11h~:=1 rJ
tr~ 5H~ F ~:: I t ~F E ; 1 L E 55:5~ 15HhF~ h,-: T E P
t- l l- ~h r~ LI I 5 i 5 E: TE~ PEFI I~HhF. hl :TE F
i-.r,,tr.~ 15H71-:ir.rl 1~ 7~ lop i 1101l f5rlhTH OOLIr~T? .~ =q
5llr-F Fhl3iltr~l IM ~EfI~ lorlf5rlhTh L-:OLI~T ?-''~
1- I17'c 1- ~ O . ItlP 1~5HhF~ -
~117 . .: OHhr~10 r E ~: ? FLIP 1~5FF
~ 17tr. 1.. ~ hII 1l i 1.!HITE: HL=t~E:~T IlhTh E"f'TE
.~ ~ ~ i E:Lhl-:~: HL=: :H~lE IlhTh E: f TE
.r~i7 ~c~ 110~. 11?11 i I~ITIhLI_E OOIJr~T=ll
.CI. ~: OII Ill:F 1~ i llH .I~lLIll El~ll OF llhTh FIELIIr~ I
Ir~ F51IF Er~ ; . . 1~0
t~CI7 r .... EOH r~_;lllop ~ I . H ? 1 1l ; 1 rl r: HhF~ 1h;
f!7E ~ : E
f F : :;~47tr.~ :~Th . IlhF.Eh ~ ? :~h .~E :: ~. hL I rl l~5HhF5hOTEf5rS
~:.rJ~c~ cE - ` r'l~5X H i Lh T :-5TOP OHhF.hl :TEF~ :
-- f ~ 7E 110 .~ h ! ~1 ~
e. U ~ $~ hDII ~ ~ 5TOP ::c
.,~ .
; -
--
r
: ~ 1~ ,,
~2~ 6
v~ rl ~1hl-FO h.~:~:EMF:LEF ? . 1. 1 Phl.E 3
6r!:~ ~ 2E IICX H
f.C~ .t. rJt. .~IlE: M ~ .~TOP ::1 > ~ TOP ::j~ -s
t-.u~ Fh~Et.ll _It-l PhP~E Y .. 1~0 ~LEFT TO PII HT F;EhDJ
.. i
t.i.l-.-:h ~:E-.. - - t1.JI h? ~IL~TH i ~1h.~I~11JI1 rlihTh LEt~17TH
. r ~ E 1~ ; LE~ llihTh F~EtlhIt~ 17
P:-:II 1F FihF i ~ ~
~.u :E ~F rlOI.~ E? h ; = . ihLIrl rlhTi:l LEHI.TH F[lF ;i.!OF~F It~f7
t.ilF-.F ~1111f.J. LXI E:! Ili1Tfl~ :T lli1Tih OHhF~
t. ~ E~ .;. H i Lh:`.T IIHT ~ 15HihF
t.u ~ v ~!OP~ rl! ~l
ù ~ ~ rl ~h L rl H .~: E.
t. rl r~ ~; ? ? ~ 1 0 . ~ 1 ! h
t l:lr~ ~h 110 . h! rl .
t-~-? U~ ;~T~ E
r llrl'~ U'~ ' ' I ~ X E:
t.~ E rll-::~ H-
t u-~h lII rlOF E i FIt~ HErl :~:l.lOPF I~b~
t. IPr~E C; .- ~ . U _1~ -:I.!iOF i l ~iO
-vU~E l~rli-.tO FhF:"E: l~ihLL rlCiTF:I i F~EI 0~1FIlTE WHT.~E:Li-~ TF~ EF LE~.EL~:
i
~ uh l 1~;?t.~ L: . I E ! IIFlF Eh i E:l-:=rlEI :DrlE HPEh
t.~lih~ t.~ L:~I H! IIRTh~: i FIP~;T llhTh E: ~TE Fh:-`T :`ThF~T OHhFU~:
t-Uh;? Uh Lllh.`. E: i ~ hLIII OHhF~hOTEF~;
~uht~ ~iF tlO.~ E! h
t.~h~ .TF:H: pll:~:H E: ; :~TaFE rlEI~OrlE E: ~TE
~lhh 1t~ M~.~I rl~ y C ELE~lEt~T:-`fOHhFhl-TEP
t~ ùhr. hF xF~r~ R i H= U
ilhrl E........... pll:~:H H i ~:h~.JE 1~:T rlhTh E:~TE OF F:HhFhl-TEF
~ùhE ~t. NXT !1: hrlIl ~l i hrlrl Ill rlhTh .JhLllE
t ùhF ~ . . H i t~EXT rlhTh E f TE
t~ ~E~ ù l ~ rll-F~ c-~ ~ TH ~ LI IE
hEt`.rJ _1~ T.~ O
t~U~ EtFr. h~I OFOH . F~F:EPhPE FOF. :;HIFT
Et. ùF FF~
i~ U E~ i ~F F~F I-: ; .~;H~ 4 = T F. I l~l E F.I ~. hLOE
~E:~ ~ t~lO~J E't! h i E: = TE11P :TOF~hl~E -- TF~ l~EF . hLOE
l;~lP.~ E1 FOF H i F.IE~TOFE 1~:~:T rlhTh E:iTE OF OHhPhl-:TEF
c ~IEh 1 -r~. ~1. I rl! ~. ; 5 ELE~lE~T~ OHhFlhOTEF
Er. uE~I~l r~ _r! U i II~IT E: IllhFsJ OHhP F~EFFE.~:E11TRTIO
~I-lE~E ~'-' N'~T'~.JE': I-lO'r h! E: i TF~IE~I~EF.l ~.JhLIIE ---:~ h
E~F EE l-:ilF 1~1 . . 00~1PhFE llhT~I E:.TE TO TFIII.l-EF. ~.JHLIlE
.I;r~ ~t~ 110~.~ . h!l:
t. lil~ F.~hL ; l :hF F~ i E: I T: rJ=t~hF~ ol~! 1 =1!.1 I rlE
~u~ F ~lO~.J 1- ! h i ~HIFT INTO C
r'.llc3 ~" I N :~i H ; I-~EXT llhTh E:'l~TE
r, hl~;S 1~ p r~ TH '~.~RLOE~
i~lCS C;~EIE60 JI~Z 11XI~
,~; . , ' ~
,
~,
..
-- 105 --
I S I "~': fl ~11hOF W f~ -;EMr:LEF~ 2866~ F h~E 4
f.Cll-~. F:l Ill-:OrlE: POP E~ E. :TOF.:E PaI~JTE~ TO rlEf ODE hF'Eh
~ O':~ E~; F'U'-~,H H ; :~:h'~.~E F~O,I~TEF~ TO ~IE'~T OHhF'hSTEF~
tr.~:lO,fi ;~1rlE:ofl L: .I H. C:orlE.r~ ; HL = E:hF,I f:OllE FlEPF.lE.r Er~ThTIOt~ f1F.~Efi
- f.CII~rl 10l~ 'I D~ rlII~IT f:OrlES + ZEF~U
f. f!OF E:E ~ TGrl: l~t1P ~1 ; GOrlE ~1flTf:HE~; r: I t~hF~'~ F'EF'FIE:~:E~THT I o~
f.Clrll:l C:hE5f.0 OZ .~TOF~E i .. 'fES
t~ f.l rl ~-: 1 ' Il l~ F~ rl
ofllli~ Ffi7F~ i1 OOrl~1F~ D
, f,flrl~ r ' Ir~:. H i TF~'i' NE~T OOrlE
f Ilrl:3 I':-:I~Ff.ll , l~lF N'~;TO
. i
ol:lrlE l:lhl:OrlE.~ rlF: I:lriH
.0rl~ rlE: 1;~H ; :-:
, ~.nnrl ~, rlE: I:l-:.H i
~ 0rlE 0C: DE: f!OH i f.
oflrlF 1~ rlE: li~H- i '.
f, flE Cl fJ~i rlE fl.'lH
. flE l 1 ~ LIE 1 :-:H ; ,r:
f,l:lF~ fl~ r~E: I~H i i~ .
.: .OuE:: l 1 rlE 1 lH
f~l:lE~ . rl: f!f.H ;
-
f flE~I E1:~TOF.E: FGF' H ; F.Er~TOF'E FtlI~TEF.I TO NEXT OHriF~lhl TEF~
f.CIEf. 7fiMO'~.~' h~ ll , i DEI::OllErl. '~ ILlJE ~ fl
o l:lE 7 Of.:-: 0Flrl I :: CIH i E: I NhFs'f -.'~ h:~:O I I
f.ClE~ CIE':~:Th'r E: i '.;TOFE I~ EC:OrlE fjFsEfl
fJf.lEh ~ :i E: , i ~E:iT rlEGOIIE E'r'TE-
': ~0EE: 11l IIGF~ E i L~:~:T GHhF~fll-:TEF~
~CIEO O~ oll JNZ ~:.'TOH ; . . ~O
f.ClEF O~ f.l UMP rl: :PLh ', . -
: ;
f.ClF~ ~'h~;~f~llbTPI~: LHLD Mfi:il.~.lT i r~El~.l l,.,lHT,~E:Lk~' TPII~l~EP LE'~.'EL: :: ~,
f ClF~ 7l1~lO'~.~' h~ L
oCl~ uE H . ,
f. ClF 7 l FF~ hF.~ ; ~MhXl.~.lHT ~ E:L ~
f~uF~: f.F ~10'.~' L~ h i = I.IJHITE TF~II~E~EF~ LE'~.~EL
o4Fi~ llf Oh ~UI l O i - l 0
fJ 4FE: f~7 MO ~.' H ~ h i = E:LhC:K TF~ I I~l~EF~ LE'.'EL
fo O F I~ ~ ~ 5 _ fr~ ~ ~ H L D T F:~ l~ L ~.'
.OFF 1::~ F~ET -
,
~` i' ' '' .' , ~.
.~
:
- ~-. - : ,
: - . . - , .
` ` '
.
: , .
.: , . ..
'
~ 106 -
- ~2~
The foregoing program is based upon a standard
two of five code as sensed by scanner lllo It will be
recognized that the foregoing programs may be modified for
use with other transducer inputs, including transducers for
sensing temperatures, pressures, or other quantities.
For all modifications of the system, local
"intelligent" terminals, kept high]y versatile through use
of software programming for individual microprocessors, are
employedO Mixed data systems are readily achieved, with
different kinds of input data handled accurately and efficiently;
one or two lead digits can be assigned to identify different
kinds of data such as workpiece unit identification, operator
i~entification, supervisor identification, machine data7 etcO
Local verification of data type, length, and sequence,
achieved again through software programming, reduces the
burden on the polling processor and allows economical
redundancy for that part of the system. Data terminals are
readily relocated by a simple plug-in procedure to the
combined power/data bus. Operator requirements, for training
and sk}ll, are negligibleO
-- 107 ~