81zz 02000 6 Zone Temp Module Maco 8000 Barber Colman Manual
81zz 02000 6 Zone Temp Module Maco 8000 Barber Colman Manual
Table of Contents
Contents
1. Introduction ............................................................................................... 3
1.1 What's New in Version 4.X ............................................................ 3
1.2 Multi-Rack Changes ..................................................................... 4
2. Computer/Controller Requirements .......................................................... 4
2.1 The Computer ............................................................................... 4
2.2 The Controller ............................................................................... 4
3. Installation ............................................................................................... 6
3.1 Changing the Editor's Directory .................................................... 7
4. Logic Control Relays ................................................................................. 7
4.1 General ......................................................................................... 7
4.2 Control Relay Listing ..................................................................... 7
4.3 Application Specific Modfiles ........................................................ 7
4.4 Multi-Chassis Addressing .............................................................. 8
5. General Programming ............................................................................. 10
6. Running the Program .............................................................................. 11
6.1 The Configuration Menu ............................................................. 12
6.1.1 Logic Files Directory ............................................................ 12
6.1.2 Copy/cut Capture Directory ................................................. 12
6.1.3 MACO Compiler Version Entry ............................................ 13
6.1.4 Output Designator Entry ...................................................... 15
6.1.5 Transfer Options .................................................................. 15
7. The Label Editor ...................................................................................... 16
7.1 Creating a Labels File ................................................................. 16
7.2 Editing a Labels File .................................................................... 20
7.3 Outputting a Labels File .............................................................. 22
7.3.1 Using Output to CRT or Printer ............................................ 22
7.3.2 Using Output to File ............................................................. 24
7.3.3 Printing using the LABEL.PRN File ..................................... 26
8. The Logic (RLD) Editor ........................................................................... 27
8.1 Introduction ................................................................................. 27
8.2 Creating a Relay Ladder Diagram ............................................... 27
8.3 Editing a Relay Ladder Dlagram ................................................. 31
8.4 The RLD Text Editor (F6) ............................................................ 33
8.5 Compiling the RLD ...................................................................... 34
9. Outputting the RLD ................................................................................. 37
9.1 Using Output to CRT or Printer ................................................... 37
9.2 Using Output to File .................................................................... 39
9.3 Printing using the LOGIC.PRN File ............................................. 40
10. Transferring (Downloading) to the Controller .......................................... 44
10.1 General ....................................................................................... 44
10.2 Procedure .................................................................................... 44
11. Transferring (Downloading) to a Cartridge .............................................. 44
12. Transferring (Downloading) to a Multi-rack System (Alpha Systems) ..... 45
Figures
Figure 1. A System Overview ....................................................................... 5
Figure 2. The Chexedir Menu Screen .......................................................... 6
Figure 3.1 Counting Instructions .................................................................. 10
Figure 3.2 The Main Menu ........................................................................... 11
Sequence logic is the means by which information is passed from card to card and
control is achieved. Sequence logic programming is performed using a personal
computer and this program. The program was developed specifically for MACO
sequence logic and contains all of the subsidiary programs necessary to create,
edit, compile, and transfer the logic to the control system.
Install program - all software files are now installed onto the system hard drive via
the RLD enhanced editor installation program.
Harddisk residency - the program now installs onto the system hard disk drive.
Color Display - numerous screens within the program are now displayed in color.
Configuration Menu - addition of a menu enabling the user to modify the logic files
(RLD) directory, the copy/cut files directory, the controller type, and the destination
of any output created (note that any directories to be used must first be created
using DOS).
Logic Editor modifications - modifications to the logic editor portion of the program
are as follows:
• Auto Energize Coil Insert - allows the user to automatically enter an energize coil
at the last position of the current rung.
• Select Logic - by utilizing the F7 function key, the user identifies the logic rungs
to be manipulated.
• Full Function copy to buffer/copy to file - once the desired logic rungs are
selected using the F7 function key, the user will then have the option of copying
the selected logic to a data buffer or to a file whose name is defined by the user.
• Full Function cut to buffer/cut to file - once the desired logic rungs are selected
using the F7 function key, the user will then have the option of copying the
selected logic to a data buffer or to a file whose name is defined by the user.
• Full Function paste from buffer/paste from file - once the user defines the area
in the relay ladder diagram using the F7 function key, the user will then have the
option of pasting previously copied or cut logic into the current logic rung position
from either a data buffer or from a file named by the user.
• Force full logic rung manipulation - through the use of the logic rung selection
process (function key F7), the user is forced by the software to perform opera-
tions on only full rungs of logic.
• Multi Controller Type Compiler Support - program supports the entire line of
MACO™ controllers and their compilation processes.
• File output of defined label table - labels now output to a file format.
2. Computer/Controller Requirements
Screen RLD
Editor Editor
Used to create the screens used by the machine operator. Used to define the conditions that must be met in order for
The screen editor package contains editor routines used to the machine to advance from one state to another. The
write messages, create math functions, draw sprites, de- labels editor is used to assign a device symbol and label to
fine machine function keys, create graphs, and define and a control relay address. The logic editor is used to construct
display control functions contained in the "modfiles" a relay ladder diagram using the devices defined in the
(setpoints, values, control relays, system commands, mod- labels editor. The "compiler" is then used to check for
ule displayable messages, module ASCII string). Once errors and create a set of files which can be transferred to
defined, these items are "placed" on screens and "linked." the data handler (or a memory cartridge).
"Linking" is the process that combines the various screen
elements into a set of files which can be transferred to the Labels Editor
operator station. Labels
Control Relay Addresses
Setpoints Setpoints Devices
Values Values States
Control Relays Control Relays Comments
Messages Messages
System Commands System Commands
Paths Paths
Graphs
Math Functions Logic Editor
SPC Selections
(Compiler)
User Screens System Screens
(Transfer)
(Linker) (Linker)
(Transfer)
Output
Output
Output Output
Output Input
Input
Output Output Input
Input
Output Input
Input
Output Output Input
Output Input
Output Output Input
Output Input
Output Output Input
Input
Output Input
Output Input
Output Input
Output Input
Output Output Input
Input
Output Input
Output Input
Output Input
Output Input
Input
Output Output Input
Output Input
Output Input
Output Input
Output Input
Input
Output Output Input
Input
Output Input
Output Output Input
Output Input
Input
Output Output Input
Input
Output Input
Output Output Input
Input
Output Input
Output Output Input
Input
Output Input
Output Input
Input
Input
Input
Power
Barber-Colm
an
MACO ®
to system (data handler EEPROM) or to cartridge (32K cartridge in operator station) or to Sequence EEPROM
For the sake of this description, the hard drive will always be simply the "C" drive
and the floppy drive will always be the "A" drive. Insert the program disk into Drive
A. Access Drive A and then type:
INSTALL (return)
The install routine will create a subdirectory named "MACOSYS" on the hard drive
and install the program files in that subdirectory.
Note that only one program (the major files are LABELS.IN, TEXT.IN,
LABELCMT.IN, and LOGIC.IN) can be stored in a single subdirectory. If additional
programs are created, they must be stored in separate subdirectories. If multiple
programs do exist, it will be necessary to change the logic files directory (see
"Configuration" under "Running the Program") each time a different program is to
be edited.
Once the install routine is executed, the computer will return to the MACOSYS
directory. If this directory is satisfactory, the editor is now ready for operation.
To edit:
– use the left and right arrow keys to position the cursor
– use the home key to locate cursor at the start of the string
– use the backspace key to delete previous character
– use the end key to delete from cursor to end of string
If the default installation (or directory name) is not acceptable, consult your DOS
manual for renaming or relocating the directory. Once the directory has been
renamed or moved, the "CHEXEDIR" routine must be used to redefine the "path"
to the executable files.
CHEXEDIR (return)
The menu in Figure 2 will appear. Follow the directions given on the screen and
make certain the entire path (from the root directory to the editor) is shown. Once
the proper directory has been entered, press "F1" to exit and save the changes.
4.1 General
Sequence logic is contained in EEPROM (ElectricalIy Erasable Programmable
Read Only Memory). The logic contains the conditions that must be met in order
for the machine to advance from one state to another. The program is an electronic
version of a relay ladder diagram, including contacts, timers, switches, counters.
This stored, fixed program is continuously compared to the actual state of inputs,
outputs, timers, etc., and decisions are made based on the comparisons. In order
to build the logic to make the comparisons, it must be possible to communicate with
specific addressable locations. "Addressable locations" means that each location
is assigned a specific function and location number.
Refer to the Alternative Modfile Description column in the Control Relay Tables.
Refer to the control relay tables for a complete list of control relays. The table
contains a column headed "Multi-Chassis Addressing?" Those control relays
which have a "yes" entry in that column can be written into the RLD if a multi-
chassis system is being utilized. With the exception of control relay addressing,
multi-chassis operation is transparent to the RLD. All downloading and recipe
storage is to Controller 1. "Enabling" relays which relate to system operation
(recipe saving and reading, setpoint change, etc.) are in Controller 1.
The "Other Racks are Optional" control relay (data handler modfile, system
address 658) is used in multi-rack systems to allow a rack to operate independently
of others. If this control relay is off, the other racks in the system are required. If this
control relay is on, the other racks in the system are optional. The control relay can
be applied to either the primary or secondary racks of a multi-chassis system.
When used in a primary rack, it denotes whether the secondary racks are required.
When used in a secondary rack, it denotes whether the primary rack is required.
These CR's would be used in the circumstance where all of the functions
necessary to run the machine were in Controller No. 1 and all of the optional
features were located in the other rack (e.g., extra mold temperature control). In
this case, CR 658 would be turned on so that the machine could cycle without the
second rack being present. A controller can thus continue to operate even if there
is a critical failure in the other controller. For example, if there was a failure in the
communications between racks or a failure of one of the racks, the status CR's
passed from one controller to the other would not change, but would remain at their
last transferred status.
If it is necessary for functions and I/O for machine motion to be in both Controller
No. 1 and Controller No. 2, the machine would not be able to function without the
second controller. In this case, CR 658 would not be turned on. The system would
be disabled (timeslot would go down) if the system is powered up without the
second controller. Both controllers will go down if there is a critical failure in either
controller.
Control relay 10819 (and 20819 and 30819) will be turned on at powerup. They will
remain on until the primary controller comes up. Once Rack-to-Rack (RTR)
timeslot communication is established, CR 10819 (and 20819 and 30819) will turn
off. If communication with the primary controller is lost or if there is a critical failure
in the primary and timeslot goes down, this CR will turn on within one (1) second.
Note: When counting boards in multi-rack systems (for switch settings, RLD/
screen programming) count each control rack separately. For example, if a multi-
rack system consisted of two control racks, each with two temperature boards,
EACH controller would have a Temperature Board #1 and a Temperature Board
#2. The same numbering scheme holds true for all types of boards (including Input
and Output boards).
While using the Logic Editor to draw the logic diagram, type in the assigned label,
press enter and the appropriate symbol will appear. The symbol can then be
changed to represent a normally open or normally closed contact. In addition to the
Logic file and Labels file, there is a label comments file and a text file to assist in
documenting the logic.
The maximum RLD size will depend on the controller (check the model number):
For Version 2 and 3 Compilers multiply the above number by eight and add 96.
The result will approximately equal the maximum file size (for example, with 4000
instructions, the maximum file size would be approximately 32,096 bytes).
For Version 3A and later Compilers multiply the above number by six (for
example, 5333 instructions would result in a file size of approximately 31,998
bytes, still less than the maximum of 32,096 bytes).
1 2 3
4 6
Count each device in each path across a rung of logic, as well as any
OR nodes. Read the sample above as:
MACORLD (return)
Use the up and down arrows to move the cursor and use the page down or return
key to activate the selection. "Exit" returns the computer to DOS.
Before any other work is performed, check the Configuration to see that both the
logic files directory and MACO Series Controller setting are properly set (the
current settings are displayed in the lower left corner of the main menu pictured
above). Configuration also needs to be checked to see whether the output setting
goes to File or Printer (see next page).
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
To edit: RETURN (or ENTER) key to move to the next field, left/right arrow keys
position the cursor, HOME key to go to start of the string, END key to delete
from cursor to end of string, BACKSPACE to delete the previous character
IMPORTANT: before opening, editing, or saving a file, make certain the logic file
directory setting is pointing to the correct sub-directory.
IMPORTANT: If multiple logic files exist, before opening, editing, or saving a file,
make certain the logic file directory setting is pointing
to the correct sub-directory.
When opening an RLD file, the logic files (RLD) directory setting determines which
RLD file will be opened. When saving, the logic files (RLD) directory setting
determines the directory to which the file will be saved. Follow the directions on the
screen and make certain the entire path (from the root directory to the file) is shown.
Press F2 from the Configuration Menu to bring up the Compiler Menu. From the
Compiler Menu, a Help screen is available for each compiler. Examine the screens
carefully to determine which compiler to use and then return to the Configuration
Menu and enter the number of the correct choice (refer to Figures 5-8).
VERSION 02 COMPILER
Typical Uses
All 11 slot chassis
12 slot chassis without math or high density temperature cards for
injection/extrusion
Supported
Up to 2 standard density temperature cards
1 sequence card
Data Handler Version V02.xx
Sequence Version V02.xx
Single chassis - 12 slots
Not supported
Parison
High density temperature cards or more than 3 standard density
temperature cards
RS485 SPI
RS485 PC Host
Multiple chassis, 16 slots
16 additional timers residing at addresses 1585-1616
Supported
Up to 6 standard density or up to 3 high density temperature cards
1 Parison card
Data Handler Version V20.x2
Sequence Version V03.43
Hydraulic Version V03.00
Single chassis - 12 or 16 slots
16 additional timers residing at addresses 1585-1616
Not supported
Greater than 6 standard density temperature cards
RS485 SPI
RS485 PC Host
Multiple chassis
Sequence to sequence control relays residing at addresses 2889-3368
16 additional pressure flow setpoints
PRESS ANY KEY TO RETURN TO SELECTION MENU
Supported
1 - 3 Chassis
Up to 6 standard density or 6 high density temperature cards
2 Sequence Cards
Parison Card 1-4
Sequence Version V03.44 or higher
Data Handler Version V20.x4 or higher
Hydraulic Version V03.03 or higher
Sequence to sequence control relays residing at addresses 2889-3368
16 additional pressure flow setpoints
192 inputs/192 outputs
Use "1" to examine the file on the CRT or to print the file using a printer that utilizes
downloadable fonts. This setting is comparable to "old" versions of the editor.
Use "2" to write the logic file and label file to two respective text files (LOGIC.PRN
and LABEL.PRN) which can then be edited using common text editors and then
archived or printed on a wide variety of printers.
Note that the logic CANNOT be edited in this manner (there is no means of
re-converting this text file into a workable logic file).
Once the directory, controller type and output designator have been entered, press
"F1" to exit and save the changes. The changes will be stored in an MCP.OPT file
(the file is stored both in the program directory where the executable files are stored
and in the sub-directory where the logic files will be). The program will exit to DOS.
As prompted, type MACORLD (return) to re-enter the program.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
The editor menu will appear. Select EDIT LABELS and press return.
EDIT LOGIC
EDIT LABELS
EXIT
NOTE: If this is the initial Labels file, EXISTING LABELS will not appear.
IMPORTANT: Selecting BLANK FILE when a Labels file or Logic file already
exists will DELETE those files and the existing work will be lost!
EXISTING LABELS
BLANK FILE
ABORT EDIT
LABEL
When a Blank File is first opened, the Label Editor will be in the "insert" mode
(INSERT ON will be displayed in th elower right corner). A seven character
maximum label can be entered. The first character must be a letter. (If a number
is used, the compiler will use that number as the address, regardless of the alpha
characters following the number.) The rest of the characters can be a combination
of letters (case sensitive) and numbers. Type in the desired label and press the
return key. The brackets will shift to the address column.
If there is a typing error, make the corrections prior to pressing the return key. The
F1 and F2 keys move the cursor and the F3 and F4 keys are used to insert and
delete characters. If the return key has already been pressed and the brackets
have moved to the next column, continue on and make alI corrections when the
table is edited. If a previously defined label is entered, when the return key is
Limit Limit Limit Limit Rotary Rotary Float Float Float Float
Switch Switch Switch Switch Switch Switch Switch Switch Switch Switch
Solenoid Output On-Delay On-Delay Off-Delay Off-Delay Input Input Push Push
Timer Timer Timer Timer Button Button
pressed the computer will beep and the message "Error: This device is already
defined" will appear. Press the return key and the brackets will move to the address
column. Press the return key again and the brackets will move back to the label
column. Key in the correct label.
ADDRESS
Addresses are Iisted in the control relay tables as "system addresses." Key in the
address and press the return key. The brackets will shift to the device column.
Addresses can be changed prior to pressing the return key or when a final edit is
made. Even though it is possible to use the same address for different labels, the
practice should be avoided.
DEVICE
This column is used to assign a graphic symbol to the device. The graphic symbol
choices are shown at the top of the screen. An explanation of each choice is
provided in Figures 10.1 and 10.2. A device should be thought of as either a "Test
Instruction" or a "Coil." All Coils CAN BE used as Test Instructions, but Test
Instructions CANNOT be used as coils.
CAUTION: For safety reasons, use ONLY the Normally Open (N.O.) symbol when
entering the device. The Normally Closed (N.C.) symbol will be available in the
logic editor.
Solenoid Output On-Delay On-Delay Off-Delay Off-Delay Input Input Push Push
Timer Timer Timer Timer Button Button
IMPORTANT: It is the address of the coil which determines where a particular rung
of logic is stored. If a coil with an address contained in Sequence Card 2 is found
in the logic file (during compiling), a second RLD file will automatically be created.
Logic from the first sequence card will be in a file named RLD_SEQ_.M1. If a coil
or address from the second sequence card is found, the logic for the second
sequence card will be stored in a file named RLD_SEQ.M2. The first sequence in
the second rack will cause RLD_SEQ.M3 to be created, and so on, until Rack 4,
Sequence 2 is reached and RLD_SEQ.M8 is created.
Use the F5 (Up) and F6 (Down) function keys to position the upper brackets to the
row containing the appropriate symbol and then use the numeric keys (1 through
9 and 0) to make the selection. Press the return key and the brackets will shift one
or two columns to the right. Symbols can be changed or corrected prior to pressing
the return key or when a final edit is made.
STATE
The state column is only used when one of the multi-position selector switch
symbols (row 1, selections 5 and 6) has been selected. Each selector switch is
allowed to have a maximum of 4 on or off states or positions. Entering a 1 (or X)
denotes the on state and entering a zero (or O) denotes the off state. Enter the
desired status and press the return key. The brackets will move to the Comments
column. States can be changed or corrected prior to pressing the return key or
when a final edit is made. States are only used on the printout and have no effect
on the compilation of logic.
A forty character comment can be written for each device. When a printout of the
logic diagram is made, the comments will be placed above the device. Comments
are entered by typing in the desired information. They should be kept as short as
possible as they will expand the printout of the logic diagram. After the comments
are keyed in, press the return key to enter them and press the page down key to
move the cursor to the label column for the next entry.
Escape Key
Generally the escape key will remove the user from the mode or routine being
used. It is also used to exit the Label Editor.
Insert Key
The insert key allows the user to insert new labels into an existing labels file. A new
file is automatically put into the insert mode. To return from the insert mode first
press page down and then press escape. The entered labels are automatically
sorted in alphanumeric order.
Delete Key
The delete key deletes an entire label entry. The position of the lower brackets is
the determining factor in the selection of the removed entry. The brackets can be
in any field of the entry targeted for deletion. After the delete key is pressed, a
message on how to continue will appear at the bottom of the screen.
Return Key
When changes are made in the label, address, or comments fields, the return key
must be pressed in order to enter the data and unlock the cursor keypad. If the
return key has not been pressed, when it is attempted to move the cursor, the
computer will beep and the brackets will stay where they are.
After the labels file is completely edited, the file must be saved. Press the escape
key to exit the edit mode. The following menu will appear.
RETURN – to editor
BACKUP – labels
ABORT – editor
Cursor to "EXIT - and save labels" and press return. The labels will be saved and
the main menu will appear.
NOTE: During the process of making and editing labels, they should be periodi-
cally saved to avoid the possibility of someone inadvertently removing power from
the computer or pressing keys which would not save the entered data.
To save the data in the middle of an editing session, press the escape key and then
select Backup labels from the menu.
RETURN – to editor
BACKUP – labels
ABORT – editor
Whatever has been entered up to then will be saved and the program will return
to the point where it was exited.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
RLD LOGIC
RLD LABEL
COMPILER ERRORS
EXIT listing
CRT SCREEN
LINE PRINTER
If CRT Screen is selected as the destination device, the labels file will appear on
the screen and begin scrolling by. Press any key to stop/start scrolling. Press Esc
to return to the List Menu. If Line Printer is selected as the destination device, the
following screen will appear
NORMAL MODE
EMPHASIZED MODE
Select the desired print mode and press return. The following screen will appear.
Type in a header and press return. The label file will print out with the header
appearing on each page. A sample printout of a label file is shown in Figure 11.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
This file output operation will create files which may exceed 1 megabyte in size
RECOMMENDED PROCEDURE
RED
Once processing is complete (at the prompt), press any key to return to the main
menu.
3.From the pull-down menus at the top of the command bar, select "Edit" and then
"Select All."
6.From the pull-down menus at the top of the command bar, select "Format" and
then "Page Setup."
The printout is now formatted for an 80 column output. The same procedure can
be used for the logic file. Note that 7-point Courier New "works" well in this example.
For other programs, it may be necessary to experiment with different type faces
and sizes in order to achieve the best results.
8.1 Introduction
The RLD Editor allows the programmer to build a sequence logic diagram using
graphic symbols. Once the Labels file has been created and saved, the logic editor
can be used to create the logic program.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
EDIT LOGIC
EDIT LABELS
EXIT
Select EDIT LOGIC and press return. The following menu will appear.
EXISTING RLD
BLANK FILE
ABORT EDIT
Assuming that no file exists, select BLANK FILE and press return. (The first time
through, the menu will not display EXISTING RLD.) The screen will now display
a pair of movable brackets in the upper left-hand corner and function key codes at
the bottom.
The cursor keypad and the function keys are used to do the actual editing.
F3 – Will insert a coil or output device at the end of the logic rung.
F5 – (Find) Takes the editor to a specific location in the logic diagram without
scrolling line by line or page by page. Used mainly in the editing mode, not in the
initial programming mode.
F6 – (Text) Allows access to the RLD Text Editor. The Text Editor provides a
means to add text to a rung of logic. Up to 20 lines (80 characters each) of text
can be used per rung to be entered. The text will not appear on the computer
display of the RLD. It is, however, printed out in the correct position.
F7 – (Select) Allows selection of entire rungs of logic which can then either be cut,
copied or pasted to a buffer (for temporary storage) or to a file (for more permanent
storage); or can be discarded.
F10 – The F10 key exits the Logic Editor and goes to the Label Editor without
using menus. Entered data is automatically saved when the F10 key is pressed.
Cursor Keypad – The up/down and left/right keys move the brackets to the
desired position.
To place the labels created in the Label Editor into the relay ladder diagram,
position the brackets to the appropriate place on the screen and type in the label
assigned to the device. Press return and the appropriate symbol will appear. The
F1 and F2 keys can be used to change between normally open and normally
closed contacts and the F3 key will define the device as an output.
For example, in the label file CR1 was defined as an output control relay. When the
logic diagram is built and "CR1" is typed in, when return is pressed a normally open
To establish a new line of logic, first enter the "insert" mode by pressing the Insert
key ( "Insert On" appears on the screen), then move the brackets to the left side
of the screen and press return. A new line number will appear.
• Two different ladder rungs cannot share the same line (see Figure 12).
• Logic can only flow from left to right through contacts (see Figure 13).
NOTE: During the course of creating the logic diagram, periodically save the
created portions on disk. Storing portions at a time will eliminate the possibility of
someone inadvertently removing power from the computer or pressing keys which
would not save the program.
OUT 1
2
E D
F G
INCORRECT
A B C
D E F G
CORRECT
Figure 13. Logic Can Only Run Left to Right through Contacts
To save the data in the middle of an editing session, press the escape key (twice
if in the insert mode) and then select Backup logic from the menu.
RETURN – to editor
BACKUP – logic
ABORT – editor
Whatever has been entered will be saved and the program will return to the point
where it was exited.
During the course of entering the program this symbol (>) may appear on the
screen after a label has been typed in and entered. This means that a label that
is not in the label file has been entered, or was not entered exactly as it appears
in the label file (wrong case, a space may have been put in or left out, letters or
numbers transposed, etc.). An undefined or incorrectly entered label may also not
give the correct logic symbol (a normally open relay contact will be used).
If what was entered was indeed what was wanted and is either missing or
incorrectly entered in the label file, just continue on with the editor. Go back and
correct the label file after the RLD is completed. When the label file is corrected,
the appropriate symbol will appear.
After the complete sequence logic diagram has been entered, exit the RLD editor
(press escape and do an "EXIT - and save logic"). The RLD will be saved and the
program will return to the main menu.
Escape Key
Generally, used to remove the user from the mode or routine being used. It is also
used to exit the editor.
Insert Key
The insert key allows the user to insert new lines of logic to an existing logic file.
A new file is automatically put in the insert mode. Upon return from the insert mode,
the entered logic can then be edited. The insert key acts as an on/off toggle. Press
this key to enter/exit the insert mode. To enter a new line or lines of logic, position
the brackets at the left of the line where the logic is to be inserted, press the insert
key, and press return. The logic on that line will be pushed down to make room for
the new logic. Press return a second time to push it down another line and so on.
Delete Key
The delete key deletes a single symbol, a line of symbols, or an entire page of logic.
The amount of logic deleted is dependent upon the width and position of the
brackets. Press the delete key to place the editor in the delete mode. The cursor
keypad arrows then control the right bracket. Position the right bracket to include
as much or as little logic as desired. Press the delete key a second time and press
"Y" to remove the logic.
EC (Energize Coil)
TEST INSTRUCTION
FIRST OCCURENCE
UNDEFINED LABEL
SCROLL TO RUNG #
quit flnd
Once a category is selected, the editor will ask the name of the label being
searched for (except in the flrst case. Once the name is entered, press return (the
backspace key will allow the choice to be edited).
Scroll To Rung #
Another screen will appear asking for the rung number. Type in the number and
press return. The rung number entered will appear with the cursor brackets. If an
invalid rung number is entered, the message "Invalid Rung #" will appear. Press
any key to escape.
Copy to the buffer for temporary storage within the program. Then relocate the
brackets (even change logic files), use F7 to select a new position and paste
from the buffer.
Copy to a file for more permanent storage in a DOS file. If copy to file is selected,
a prompt for a valid DOS filename appears. Type in up to eight characters and
press return. Then relocate the brackets (even change logic files), use F7 to
select a new position and paste from the file. Note that you must know the
filename in order to retrieve it – record it when you create it.
Note that if an invalid filename is used, the logic will be copied to a file titled
NONAME.BUF.
Once the selected logic is copied to either the buffer or a file, the selection returns
to the screen.
Cut to the buffer for temporary storage within theprogram. Then relocate the
brackets (even change logic files), use F7 to select a new position and paste
from the buffer.
Note that if an invalid filename is used, the logic will be copied to a file titled
NONAME.BUF. Once the selected logic is cut, it will disappear permanently
from the present program screen.
The complementary function of cut or copy. Use F7 to select an area for the paste
to occur and then paste either from the buffer or from a file. Note that you must
know the filename in order to retrieve it – record it when you create it.
Backspace Key
Allows the user to edit any entered variable name (provided the return key has not
been pressed).
Page Up Key
Scrolls the logic file up 6 lines at a time.
After the sequence logic is completely edited, the revised logic must be saved.
Press escape to exit the editor and then cursor to the "EXIT - and save logic"
selection and press return.
At the top of the screen is the label and the address for the output selected. The
text is entered between the horizontal lines. A small blinking cursor shows the
location on the screen. The cursor keypad controls the position of the cursor. The
return key moves the cursor to the left margin and down a line. Press the insert key
to put the editor in the insert mode. Characters can then be inserted at the cursor.
Editing is accomplished by moving the cursor and correcting the mistake. The
space bar will remove characters.
To delete the entire text entry, press the F8 key. To save the text, press the F7 key.
To delete segments of the text use the delete key and the cursor control to bracket
the desired area. Press the delete key again and the area to be deleted will be
covered by the cursor. Press the "Y" key and the segment will be deleted. Text after
=========================================
F7: SAVE F8: DELETE
the deleted area will be repositioned into the vacated area. A sample of a printout
of a logic program using the text editor is shown in Figure 15. The text editor copy
is in the middle of the printout above the ladder rung.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
The compiler has a syntactical error handling program. It is the first of three steps
in the compiling process and is used to correct the relay logic. The following error
messages are displayed on the CRT after the error processing is completed:
The error messages are accompanied by the appropriate line and column number
associated with the detected error message. It is quite possible that numerous
errors may occur, necessitating the capability to review the list of errors without
rerunning the program; therefore, a file of the current errors from the present run
is built concurrent with program execution. This also facilitates an error dump to
the printer.
In addition, there are two unrecoverable errors that can occur during processing.
The following errors print directly on the screen and result in premature termination
of the RLD compiler. They are:
These result from problems with files. Error 1 is the result of not finding the
necessary files to run the error handling program. This is due to not starting or
finishing the RLD editor program.
Error 2 is the result of large quantities of disk memory being taken up by oversize
RLD programs. It may be necessary to be more conservative in programming.
These unrecoverable errors have highest priority and will not allow lower priority
errors to be displayed.
After the error processing routines have tested the logic file, they will end with one
of three messages. They are:
All errors must be corrected and checked with the error processing program before
continuing. If errors occur, the program must be re-edited with the proper editor.
As with the error handling program, the pseudo-translator terminates the execu-
tion of the RLD compiler for serious infractions. The actual errors will be accom-
panied by the line numbers to assist in debugging.
The final step in the RLD compiler is to actually convert the instruction into a
machine language code which can be understood by the MACO. This compiling
routine, like the others, has resident error messages. They are:
Note that in MACO 4000, 5000 and 6000 series controllers with the advent of multi-
rack systems and systems containing 2 sequence cards, the sequence-to-
sequence byte limit can be a nuisance. Follow the suggestions outlined below to
avoid STS problems.
If you use the CR addresses that are automatically copied form one sequence card
to another, NO STS bits will be used:
For example:
1 2 3 2889
NO STS bits are used
2889 5193
Each RACK can pass a total of 30 bytes of STS. In the event that you have 2
sequence cards in a rack, remember that any STS bytes used to pass STS
between Seq 1 and Seq 2 (of that rack) are part of that 30 byte total above. Use
For example:
3 STS bits are used
1 2 3 10193
1 2 3 305
1 STS bit is used
305 10193
Depending on the output designation choice made in Config, the logic file will
output to the CRT or printer (a "1" on the Config menu), or to an output file
(LOGIC.PRN - a "2" on the Config menu). Using the output file (a "2") allows the
data format to be manipulated so that the file can then be saved and stored for
reference or printed on a variety of printers. Using the output to CRT or printer (a
"1") is comparable to using previous versions of the editor - it requires a specific
printer which utilizes downloadable fonts.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
RLD LOGIC
RLD LABEL
COMPILER ERRORS
EXIT listing
LOGIC TO SCREEN
LOGIC TO PRlNTER
LOGIC TO SCREEN
Displays RLD on the computer CRT. Toggling the return key stops and starts
scrolling of the logic program. Press escape to return to the list menu (there is no
escape from the destination device menu – use this as a back door).
LOGIC TO PRlNTER
Prints the RLD logic program without comments.
This is an updated method of outputting which was new with version 4.0 of the
editor. No "printer setup" is required at this time. Move the cursor to OUTPUT and
press return.
CONFIGURATION
EDITOR
COMPILER
OUTPUT
TRANSFER
EXIT
This file output operation will create files which may exceed 1 megabyte in size
RECOMMENDED PROCEDURE
Once processing is complete (at the prompt), press any key to return to the main
menu.
3.From the pull-down menus at the top of the command bar, select "Edit" and then
"Select All."
6.From the pull-down menus at the top of the command bar, select "Format" and
then "Page Setup."
The printout is now formatted for an 80 column output. The same procedure can
be used for the label file. Note that 7-point Courier New "works" well in this
example. For other programs, it may be necessary to experiment with different
type faces and sizes in order to achieve the best results.
51
52
53
54
MOLD FULLY MOLD PROX
OPEN POSITION SWITCH–FULLY
(MAX) OPEN POSITION
55
56
COM1:
COM2:
COM3:
COM4:
RETURN TO TRANSFER MENU
10.1 General
The last step of this process is to transfer the RLD to the controller where it is stored
in EEPROM. The controller and computer must be connected to one another and
the controller must have an operator station connected to it. The controller requires
a cable with a DB9 connector at one end (the MACO 8000 requires a DB25
connector). The serial port of the computer dictates the connector at the other end.
Refer to the figures showing cable pinouts at the end of this section.
10.2 Procedure
At the Controller Operator Station:
At the Computer:
• Cursor to "Select COM port" and press return. The currently selected commu
nications port will be asterisked. Use the arrow keys to position the reverse
video cursor over the proper communications port and press return. The
program will return to the transfer menu.
• Cursor to "Select Baud Rate" and press return. The currently selected baud rate
will be asterisked. A baud rate of 9600 generally works best, but make certain
the computer and controller agree. Use the arrow keys to position the reverse
video cursor over the proper baud rate and press return. The program will return
to the transfer menu.
• Cursor to "Set Timeout Delay" and press return (note that if the auto timeout
delay function has been selected on the configuration screen, "Set Timeout
Delay" does not appear here). The currently selected timeout delay will be
asterisked. For the timeout delay, if uncertain of the clockspeed, choose a higher
clockspeed from the menu. Use the arrow keys to position the reverse video cursor
over the proper clockspeed and press return. The program will return to the
transfer menu.
At this point the computer should start downloading the data. The MACO operator
station and the computer CRT will display the data being sent. The file TIMESLOT
will be ransferred to the Insta-Set module in the MACO 8000 or the Data Handler
board on an Alpha system. The other files (SEQ_RLD_.M?) will be transferred to
the various sequence control modules or sequence cards in a system. On
completion of transmission, the computer will exit the transfer routine and return
to the transfer menu.
Note that replacement of the Insta-Set module or the Sequence module in a MACO
8000 or the Data Handler board or Sequence board in an Alpha system will require
reloading the RLD.
In order to transfer a single RLD file, from the "Select Action to be Taken" menu,
choose "Write RLD individual files" and press return. A menu like the one shown
below will appear. Note that care should be taken when transferring single RLD
files. All headers must match in order for timeslot to start. If a file from a different
RLD is transferred, a "Sequence RLD Header Mismatch" will occur and timeslot
will not start.
Select Controller
Return to Menu
Controller #1
Make certain the correct controller is displayed in the lower left corner of this
screen. If the controller number needs to be changed, cursor to "Select Controller"
and press return. Once the correct controller is selected, return to the screen above
and choose the individual file to be transferred. Note that the first line choice (Write
RLD Files to Controller) will transfer RLD #1, RLD #2 (if it exists) and Timeslot to
the chosen controller.
Continue the transfer as necessary. Note that RLD #2 will exist only if an output
device with an address contained in a second sequence card (in an individual rack)
is used in RLD. It is the address of the OUTPUT DEVICE in a particular rung of logic
that determines where (RLD #1 or RLD #2) that particular logic is stored.