The text of a manual · part 9 of 35
Series One Programmable Controllers, Series One/One Plus User's Manual: Chapter 4 PC Operation, pages 75 to 82
Pages 75 to 82 of 300, from Series One Programmable Controllers, Series One/One Plus User's Manual
The original document is the PDF (40 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the GE Fanuc IC610CPU105A, GE Fanuc IC610CPU105C, Fanuc IC610CPU105A, GE IC610CPU105A, Fanuc IC610CPU105C and GE IC610CPU105C
Page 75
PC Operation
4-17
GEL90842
4 . Adjust the tape recorder’s volume control to the maximum setting.
Adjust the tone control to its highest setting. 5.
Connect the Programmer with red tracer).
(TAPE port) to the tape recorder (EAR input) with the audio cable (gray
6 . Rewind the tape to the beginning of the previously recorded program. blank area prior to the program, number (if previously recorded). 7.
but not on another program.
Depress the CHECK key on the Programmer
The tape can also be on the Enter the program identification to select the verify operation.
8 Start the tape recorder by depressing the PLAY button. l
The verify operation now begins.
9. Any errors detected during the verify operation are indicated by an error code being displayed on the Programmer’s Address/Data display. Error code E21 indicates that the tape has an internal parity error. E25 indicates a mismatch between the content of the tape and the CPU logic memory. E28 indicates that the play level is wrong and the verify operation should be stopped, volume adjusted, and the operation restarted (from step 6 above). The error code displayed for an 10 . Setting of the volume control is critical for proper operation. incorrect (low) volume control setting is E28. Figure 4-4 illustrates the area of the volume control available for a proper setting.
RECOMMENDED “;MyhH&E VOWME
SECOND RANGE NOT RECOMMENDED) 2
Figure 4-4. Volume Control Range Setting With some recorders, there are two ranges where the signal level appears to be acceptable, one near the middle and one near maximum volume. The setting near maximum volume should not be used. The CPU will indicate that it is acceptable; however, an unacceptable amount of clipping distortion may occur in this area with some recorders. 11 . Find the correct position for the mid-range of the acceptable volume control during the beginning or header portion of the tape. Some experimenting may be necessary. The duration of time for the header is about 12 seconds. It is important to choose the lower of the two ranges for the volume control setting if they both exist (see 10 above). For the recommended GE Fanuc Automation recorder this is at about 8m of the full maximum setting. Mark the proper setting with paint or some other method of identification. 12 . If the volume control has been correctly set before the end of the header, the programmer display will be blank, and the lower right number 7 LED will turn on dimly. Before the end of the header the LED will tum off. A few seconds later, F will be displayed, indicating that theprogram has been found. 13. During the adjusting process in 11 above, the data from the tape may not be valid if the adjustment is not performed quickly enough. The tape loading should be repeated with the correct volume control setting. To clear the CPU to restart the loading, it is necessary to either power-down the CPU or remove the P-ograrnmer f!iom the CPU, then reattach and depress the Clear key.
Page 76
4-18
PC Operation GEK-90842
14. When the verify is complete without error. the Prommmer will display End in the Address/Data display. 15. Stop the recorder and depress the CLR (Clear) key on the Programmer to end the verify operation. 16. The verify operation will require approximately the same : time as the record operation.
Loading A Program 1 . Install the Programmer and apply AC power to the PC. 2 . Turn the mode switch on the Programmer to the LOAD position. 3 . Apply AC power to the tape recorder and insert the cassette containing the required program. 4 . Adjust the volume control to the setting determined during the verify operation. Adjust the tone control to its highest setting. 5 . Connect the Programmer (TAPE port) to the tape recorder (EAR input) with the audio cable (gray with red tracer). 6 . Rewind the tape to the beginning of a previously recorded program. Tape can also be on the blank area prior to the program, but not on another program. Enter the program identification number (if previously recorded). 7 . Select the READ key on the Programmer to establish the load operation. 8 . Start the tape recorder by depressing the PLAY key. The load operation now begins. %’ _ If the CPU detects a program number different than the one entereu III step 6, the programmer will beep and the display will show PA . 9 . If the wrong program has been selected, the load operation can be aborted by stopping the recorder and powering-down the CPU or remove the programmer from the CPU, then reattach and depress the CLR key. 10 . Any errors detected during the load operation are indicated by an error code being displayed on the Programmer’s Address/Data display. Error code E21 indicates the tape has an internal parity error. A steady E28 indicates the play level is wrong and the load should be stopped, volume adjusted, and the operation restarted (step 6 above). 11 . When the load is complete with no errors, the Programmer will display End in the Address/Data display and the ON/OFF LED will be off. Stop the recorder and depress the CLR (Clear) key on the Programmer to end the load operation. 12 . The load operation will require approximately the same time as the record operation.
Printer Interface Unit The Printer Interface Unit (catalog number IC61OPER151) provides an interface between a Series One or Series One Plus PC and a printer for the purpose of providing a convenient means of obtaining a hard-copy printout of the program residing in the PC’s user memory. It can also be used with a Series One Junior PC. The format of the printout is switch selectable and can be either Boolean (mnemonic) or ladder diagram format. Many readily available, inexpensive printers can be used with the Printer Interface Unit. A 6’ (2m) Printer Interface cable and an external power supply cable are included with the Printer Interface Unit. Printer Interface Unit Specifications are listed below in table 4-3
Page 77
PC Operation
4-19
GEL90842
Table 4-3. Printer Interface Unit Specifications Operating Temperature Storage Temperature Humidity (nomcondensing)
Required Operating Power
DimensiOIlS weight Printer Interface printing Capacity
(maximum)
0’ to 60° C (32” to 140’ F) -loo to 700 C (14’ to 158’ F) 5 to 95% +5 V dc + 5%, 300 mA (minimum) (Supplied either intemdly from the CPU or from an extemal power supply) 5.7“ x 4.7” x 1.5“ (145 x 120 x 38mm) 11.68 02 (330 g) Cen~cmics (Parallel) Ladder Dialpam Listing
13 contacts and 1 coil per line 16 lines per page Boolean Listing 200 steps per page (4 lines with 50 steps in each line). 700 steps maximum
Table 4-4 lists the requirements that a printer must meet for use with the Printer Interface Unit.
Table 4-4. Printer Requirements Must have a Centronics interface Able to generate ASCII charxter code 7CH (Hexadecimal) as a “/,‘ (slash). Must respond to control codes: OE H (SO) - Expanded print ON OF H (SI) - Compressed print ON 12 H (DC2) - Compressed print OFF 14H(DC4)-ExpandedprintOFF Must be capable of printing 132 columns; however, if an 80 column printer can respond to the SI (OF H) control code to allow 132 or more characters per line, it can be used. This type of printer, when used with the Printer Interface Unit, will print compressed characters. Choice of normal (132 column) or compressed (80 column) print is switch selectable. The following printers have been tested for operation and can be used with the Printer Interface Unit. General Electxic Personal Computer Printer, model 3-8100 Epson model RP-100 Hewlett Packard "hi&jet, model HP 2225C IBM Personal Computer Graphics Printer Seiko model GP-500
Hardware Description The Printer Interface Unit is a compact unit that attaches to the Series One or Series One Plus PC. Electrical and physical co~ections to the PC are made through a 26.pin connector located on the back of the Printer Interface Unit. The Printer Interface Unit is attached to the PC by placing its 260pin connector directly over the mating co~ector on the PC and gently pushing down on the unit until it is securely in place. Connection fkom the PrintP,r Interface Unit to the selected printer is made through the Printer Interface Cable, IC6lOCBLl52 to a 24.pin connector on the FL7nt of tile unit. Power to the unit can be supplied directly through the rear panel connector fi-om the CPU power supply or fi-om an external power source
Page 78
PC Operation
4-20
GEK-90842 capable of supplying +5 V dc @ 300 mA. The power source, either internal (INT) or external (EXT) is selected by a 2position switch located on the rear panel. Connection to an extemal power source is made through a 3-wire cable supplied with the Printer Interface Unit. The sequence for operation of the Printer Interface Unit is initiated by depressing pushbutton switches on the front panel. Two indicator lights on the front panel provide a visual status of the Printer Interface Unit operation. There are also 2 indicators that provide operating status of the PC. Figure 4-5 is an illustration of the Printer Interface Unit showing-the features mentioned above. ~- _ -_-_ - ---- _
IroICAIOR 1 IGMlS co1
@O/I 32 WI UlEC1Ior w1cn
SV’JTI Y srr1uti 1 lolls c40505 w-
--.
kfftllIA1 mrt A COrrECroa f SUPPLY fnD VIE w ama
VII w
Figure 4-5. Printer Interface Unit Hardware Features The Printer Interface Unit front panel has two LEDs located in the upper right comer used for visual indication of system status. The purpose of the indicators is described below. CPU
ON OFF PWR
ON
TheredCPU~isanindicationoftheoperatingstatusof~CPUinthePC. ThisisidenticaltotheCPULED OOthePc. CPU failure has been detected. CPU operation is normal. The pen PWR IED is an indication of the status of dc power being supplied to the Printer Interface Unit. If power is being supplied by the Series One or Series One Plus internal power supply, tbis indicates that +5 V dc is being properly produced by the supply. If the Printer Interface Unit is being powered fkom an extemal SOW, ’ the +5 V dc being supplied is within the speciki tolerance.
-
Page 79
4-21
PC Operation GEL90842
OFF
5 V dc not being supplied or not in tolerance.
The 24.pin connector located on the lower right of the front panel, provides a connection from the Printer Interface Unit to the selected printer through the Printer Interface cable, IC61OCBL152. Immediately to the left of the connector are 4 pushbuttons used to initiate operation of the Printer Interface Unit to get a hard copy printout. There are also 2 LEDs used as status indicators during the set-up procedure. FORM
PROD
PRNT STOP
This pushbutton is used to select the fomat of the printout, either a ladder diagram or Boolean listing of the user program. The pushbutton is an alternate fimction switch. Each time it is depressed, tk selected printout fomat will change. As the pushbutton is depressed, the color of the LED will alternate between green and IX& The LED, when green, indicates a ladder diagram printout; when red, indicates a Boolean listing printout. This pushbutton is also an alternate function switch. Each time it is dep~ssed, either a Series One Junior PC or the Series One/Series One Plus PC is altemately selected as the program listing source. The select@ must agree with the PC to which the printer Interface Unit is attached. As this pushbutton is depressed, the color of the LED will alternate between green and IMI. The LED, when red, indicates selection of Series One Junior, when green, indicates selection of Series One/Series One Plus. When depressed, this pushbutton causes the printer to begin printing the user program in the selected fomats. When depressed, this pushbutton causes the printing operation to stop.
80/132 Column Selection Switch On the right side-panel is a 2position toggle switch used for selection of either 80 column printing format (compressed print) or 132 column printing format (normal print). The 80 column compressed print format is typically used with printers designed for use with personal computers. The selected printer column format corresponding with the switch position is printed on the right edge of the front panel, either 80 (towards the top of the unit) or 132 (towards the bottom of the unit). If desired, the 80 column compressed print format can be selected for use with a 132 column printer. The unused space to the right, beyond the 80th column, could be used for adding comments.
External Power Supply Connector .
A connector located on the lower right side of the unit provides the connections to an external power supply. A mating 3-pin connector with attached wires which are 3 feet (lm) in length, is provided with the Printer Interface Unit for connection to the external supply. The color code for the external power supply cable and specifications for the power supply are as follows: white BlnCk Green
+5 V dc, + 5% (rat& at 300 mA minimum) Power s@ly logic ground Common . system gfound
Power Supply Select Switch This is a two-position switch located on the bottom of the unit, directly above the 26.pin connector. This switch is used for selection of either internal or external dc power for the Printer Interface *Giit. The top switch position is labeled EXT (External) and the bottom position is labeled INT (Internal). If the Printer Interface Unit is to be powered by an external +5 V dc power s~ply, ;ix Power Supply ~ .I Select switch must be set to EXT.
Page 80
4-22
PC Operation GEK-90842
Sequence of Operation As a convenience to the user, instructions for using the Printer Interface Unit are printed on the front panel of the unit. The sequence of operation is described below. If a Series One Plus program is to be printed and a password is in effect, the password must be changed to 0000 before mounting the Printer Interface Unit.
Power-up Sequence The following power-up sequence should be followed after the Printer Interface Unit has been properly configured. 1 . Power to be supplied by the internal PC supply or an external power supply. 2 . Place EXT/INT switch in the INT or EXI’ position as required. 3 . Turn off power to the PC. 4 . Mount Printer Interface Unit onto the PC. 5 . Attach Printer Interface cable from connector on front panel of unit to printer. 6 . Turn on power to the PC. 7 . Turn on power to the external power supply, if used.
User Program Transfer From PC To Printer Interface Unit Immediately after the power-up sequence has been completed, the user program stored in the PC’s user memory will automatically begin transferring to a buffer memory in the Printer Interface Unit. This program transfer will take about 1.5 minutes. When the program has been successfully transferred, the FORM and PROD LED indicators will turn on green. If the program transfer is not successful, the LED indicators will either flicker on and off red or neither LED will illuminate. If after 2 minutes, neither LED turns on, repeat the power-up procedure fkom the beginning of the sequence.
Selection of Printout Format and Type of PC Select the printout format, either ladder diagram or Boolean, and the PC model, either Series One Junior or Series One/Series One Plus by depressing the FORM and PROD switches as shown in the following table.
Table 4=5. Format and PC Selection FORM PRINTOUT TYPE Ladder Ladder Boolean B~lf%II
PROD LED ON Gmm Green Red Red
PC
LED ON series one/be Plus Series Omt Junior series one/one Plus Series Ore Junior
Start Printer Operation Depress PRNT pushbutton. The ladder diagram or Boolean program listing will begin to print and continue printing until the complete program has been listed or has been stopped by the operator. If at any time, the program listing is to be stopped, depress the STOP switch. When this is done during a ladder diagram printout, the printout will stop. When the STOP switch is depressed during a Boolean
Page 81
PC Operation listing printout, the B&lean listing printout will stop, the printer will formfeed, and the complete OUTPUTS USED TABLE will be printed. Printing Of Error Messages During Ladder Diagram Listing If any errors in the printing process are detected by the Printer Interface Unit during printing of a ladder diagram listing, an error message will be printed and the printing may stop, depending on the type of error. Table 4-6 lists the error messages and their definitions. Table 4-6. Ladder Diagram Listing Error Messages and Definitions ERROR MESSAGE
I
ROW OVER COLUMN OVER STACK ERROR (SR) STACK ERROR (CNT) STACK OVER STACK OVER (MCS) MC ERROR PROGRAM ERROR
DEFINITION One rung of lo@ exceeds 16 lines.
More than 13 cmuit elements in line Clock or Reset line not proved in Shift Register logic. Reset line not rogrammed ID Counter logic. Pushdown staJ: using AND STR and OR SIX functions exceeds 8 levels. Imels of MCS control exceed 8. MCR functions exceed MCS functions. Any error not listed in tbis table.
NOTE When the ROW OVER or COLUMN OVER error messages are printed, the printout of the ladder diagram will continue. When any other error messages are printed, a PRIN’f STOP message will be printed, paper will feed and printing will stop.
Printing Of Error Messages During Boolean Listing If any errors in the printing process are detected by the Printer Interface Unit during printing of a Boolean program listing, an error message will be printed and the printing may stop, depending on the type of error. Table 4-7 is the Boolean listing emor messages and their definitions. Table 4-7. Boolean Listing Error Messages and Definitions
I
I
ERROR MESSAGE
I mSTRUcTIOti_OPERAND +++~OR”ff
1
???
1
I
DEFINITION Not a valid ktruction IncoHect operand
Cross Reference Printout When the ladder diagram or Boolean printout of the user program has been completed, the printer will formfkd, then begin to print a cross reference printout of all outputs. The heading of this printout is, OUTPUTS USED TABLE. The outputs referenced in the user program (real world oufpufs, internal relays, shift registers and timers/counters) will have an annotation mark to the right of the reference number. The outputs used table will continue printing until all output references have been printed. This printout cannot be stopped, as can the ladder diagram and Boolean listing printouts.
Page 82
4-24
PC Operation
Expanded Print Format When a more complex ladder diagram, using MCS and MCR functions, is to be printed out, an expanded print format is used. The starting point of each MCS function is denoted by a letter, the first is A, then B, etc. The letter is carried through to the end of each page and the beginning of the next page, providing a ready reference to the continuation of the ladder logic within the bounds of each MCS/MCR control. As multiple MCS functions and the logic under their control are printed, each succeeding group of logic is shifted to the right. When a group of logic under MCS/MCR control is ended by an MCR function, (MCR) is printed in the last column to the right and the letter corresponding to that MCS/MCR logic to its right.
Printout Annotation Explanation Several items appearing on the printouts in figures 4-6 and 4-7 aze explained for clarification. The ladder diagram printout in figure 4-6 has a circled number (l-5) next to each annotation, which corresponds to the number preceding the explanation of each annotation. The circled number 6 appears before an annotation on the Boolean printout in figure 4-7. The circled numbers (1-6) are for discussion purposes - only and do not normally appear on a printout. 1 . The type of printout on each page appears on this line, either LADDER DIAGRAM. PRINTOUT, BOOLEAN PRINTOUT, or CROSS REFERENCE PRINTOUT. 2 This annotation, V X.X, is the version of the system operating software contained in PROM memory in the Printer Interface Unit. 3 . The model of PC selected by the user as the program listing source will be on this line. The annotation will be either SERIES ONE JR/SR-10 for a Series One Junior PC or Series One, One Plus/SR-20, SR-21 for a Series One or Series One Plus PC. 4. ‘The page number of the ladder diagram printout or Boolean printout will appear here as a 4-digit decimal number, starting with PAGE Oool. 5 . Refers to ladder diagram printout only. This 4-d@ decimal number is the user program memory address at the start of each rung of logic. The fkst element in the rung is stored at that address. In the example in figure 4-6, the memory address of the start of the first rung is 0000. The first element in that rung is a normally open contact referenced as 001 (reference number is printed directly above the contact). The memory address at the start of the second rung is 0013, the first element in this rung is a normally open contact referenced as 040. 6 . Refers to Boolean printout only (figure 4-7). The # sign immediately following a numerical value in the Boolean printout listing, indicates that the value is a reference assigned to an element at the end of a rung. 7 . A symbol preceding a numerical value in a Boolean printout, indicates that the value is a constant. l