The text of a manual · part 28 of 35
Series One Programmable Controllers, Series One/One Plus User's Manual: Chapter 8 Applications, pages 248 to 255
Pages 248 to 255 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 248
Chapter 810
8
Applications
GEK-90842
Application
1 - One-Shots
This application is particularly useful when applied with a Series One PC, since with a Series One Plus PC, a one-shot can be programmed simply by entering the key sequence SET OUT RESET. In many applications, a signal is required that is valid for a very short time period. These signals are called one-shots and are generated by transitions (OFF to ON, or ON to 0%) of a control signal. They are valid for exactly one scan, which is the shortest signal available within the Series One and Series One Plus PCs. Timing for typical One-Shots is as follows:
Figure 8-l. Typical OnemSbotTiming In this example, input 01 is the control signal and coil 160 the resulting one shot. one-shots
IAgic for these is shown below. pc-$1m-0041
I
I
Fiie
02
2””
8-2. Typicd OneSbot Logic
9::
Page 249
m 82
Appkations
% CEIL-90842
Application 2 - Flip Flop This logic rwerses states (ON/OFF/ON/OFF, etc.) each time a control signal is energizd. In this example, the Flip/Flop changes state on the OFF to ON transition of the control signal. A typical timing diagram is as follows: pc-sl-83-0042
)9vI
-II
-1 *1
*2
13
Figure 8-3. Typical Flip-FIop Timing Diagram In the following typical logic, input 01 is the control signal and output 20 is the flip/flop. pc-sl-83-0043
01 161 160
01 161
160
20 162
Figure 84. Typical FliplFlop Logic
Page 250
83D
Applications GEK-90842
Application
3 - Event/Time Drum
Many control requirements can be defined as a sequence of established sttttcs for each output. The decision to shift from one step to another can be based upon time or specific input states. To illustrate this concept, the following 6 step example is provided. The control on inatig the step is a confirmation of both events (for example, input 11) and a time value (for example, timer 601).
step
,
Input
Time
20
21
22
23
24
25
26
27
4
10 11 12 13
5
14
T600 T601 T602 T603 T604
0 0 0 1 1
1 0 1 1 0
1 0 1 1 1
0 0 1 0 1
1 1 0 0 1
1 0 1 0 1
1 0 1 1 1
0 1 0 0 1
Number 1 2 3
4
Each step can have Merent output states and more or less control can be implemented requires. The ladder diagram required to implement this function is as follows:
Fiie
8-5. EvenVI’ime Drum Logic as the application
/
Page 251
Applications
8-4
GEK-90842 STEPNUMBERI fx-sl -03-0047 TMR600
06
06
STR TMR *--
STEPNUMBER 2
07 t: STEP NUMBER
3
342
0
341 601 7 .o
STR TMR mm- l-W602
08
8
STR TMR -a-
.
342 602 1 .o
STEPNUWER4 TMR603
343
09
---ISTEP NUMBER
TMR604
----+I ADVANCE
I t TMRGO 1
010
STR TMR -am
344 604 1 .o
0
STR OR OR OR OR OUT
TMR600 TMRGO 1 TMR602 TMR603 TMR604 345
STR STR CNT w-m
345 17 605 5
DRUM 345 v
I t TMR602
343 603 1 .o
5
344
TMRGOO
STR TMR w-a
11
,
1 I TMR603 t t TMR604
11
SEQUENCER 345
1I 17
-----+I qCNT
4
605
I
012
Figure 84. Event/Time Drum Logic (Continued)
Page 252
Applications 0 GE?wo842
DEWCE NUMBER 1 605 1 “1
013
/rJ---
STR
OR ET
605 4 605 5 20
5 DR(K=ENUMBER2 605 605 605
1 3 4
21 4
I
DEVICE NUMBER 3
015
STR
605
OR
605
OR
605 iii
605
OUT
016
605
OR
605
Figure 84. Event/Time Drum Logic (Continued)
3
4
5. 22 sTR iiiiT
1
3
5 23
Page 253
Appliu~tions GEwo842 pc-~1-83-0049 605
31
DEvcE
NUMBER
5
24
0‘7
STR
605
OR
606
OR
605
--
1
2
&T
5 24
STR
605
11 5
DEVCENUWER6
0l8
-*
605
--
19 04
605
DEVICE NUMBER
7
26
1 005
019
5 25
STR -e
605
OR
605
OUT
DMCE
NUMBER
8
3
OUT
OR OR
3 605
605
1
605 605
1 3
4
5 26
27 a OR 0
STR
GiiT
Figure S-5. Event/Time Drum Logic (Continued)
605 605
2
5 27
Page 254
Applications GEILW842
Application 4 - Cascaded Counters If an application requires a counter with presets greater than 9999, multiple cuunkrs c8111be assigned to that function. Two counters can record values up to 99,999,999 and three up to 999,999,999,!399 etc. Additional logic is incorporated to generate a reset signal at 10,000 counts instead of the normal 9999. The following logic uses two counters to record up to 99,999,599 events. Counter 601 records the low order values (thousands, hundreds, tens, and units) and counter 602 the high order values (tens of millions, millions, hundreds of thousands, tens of thousands). pc-sl -83-0050 cAscADEDcouNlERs WE SHOT mm
01
01
STR AND NOT OUT
Do 340 341 t+
02
02
D0-
ST-R OUT
I+ =Sf
COUNTER bJ CHAti (O-1D()OO)
03
I
AND NOT SfR CNT OR CNT
341 342 601 01 601 9999
EXTENDS CNT 601 BY ONE COUNT 342 341 601 342
“is”‘S 0+
STR
SEcohm COUNTER IN CHAIN (1 o,ooo-99,990,ooo) 342 602
&502 0 it
=
,
01 I t
Figure b l
8-6. Sample Cascaded
342 602 01 602 9999
Page 255
88
Applications m
GEL90842
Application 5 - Coil 374, Power-Up One-Shot In industry, power loss to machines and process equipment is a fkquent event. When such an event occurs it creates havoc with automatically controlled equipment and processes. The moment power retums it may be desirable to place the machine or process in a “hold” state until verifktion or critical limits, position of moving parts, and support quipment interfaces a conkned to be correct by authori& personnel. Description of Operation The Series One and Series One Plus PCs have a special function reference (internal coil 374) that provides a pulse during the first scan only after powering up the CPU (or going from program to run mode). Using this pulse in the ladder logic, as shown below, will place the machine or process in the desired hold state.
.-
The instant power returns to an automatic machine or process, certain phases (for instance, activating a cylinder, starting a motor etc.) of the automatic cycle need to be inhibited until a correct state is determined allowing the continuation of the cycle. The following program scheme will inhibit those critical outputs from activating field devices until a reset pushbutton is depressed, thereby, releasing all inhibited outputs and allowing the cycle to continue.
0I 02 IO ttHt 0
I2
20
130
3
04
340 kt,
200 -
CYLINDER EXTfnD A
340 IY
250
RUN CDNlv:ovoe
Figure 8m7. Typical Machine or Process Power4Jp Inhibit Logic Tht pro&ram logic in the above fim is an example you csn use to inhibit certain phases of a cycle. In this example, when power rctums to the process, 374 will be on during the fixst scan of the CPU, latching coil 340 on. ‘Ihe referenced NC contact of coil 340 is plaid in series with the logic that actuates output coils 200 and 250. Even if the program logic is calling far coils 200 and 250 to turn on, theywillnotuntil34Oisunl8&& The mly way to unlatch 340 is to &press tbc reset pushbutton (MO), allowing outputs 200 and 250 to be tumed on.