The text of a manual · part 29 of 35
Series One Programmable Controllers, Series One/One Plus User's Manual: Chapter 8 Applications, pages 256 to 263
Pages 256 to 263 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 256
890
Applications
Application
6 - Coil 375, 1OHz Clock
The Series One and Series One Plus PCs have a special function refkrencc that cantinuously provides a pulse every tenth of a second. The following t\wo examples use the function of this reference (10 Hz Internal Coil 375) to create a cumulative timer and a time of day clock.
Example 1: - Cumulative Timer In this example, when reference 01 is on, time (in tenths of a second) would be accumulated by counter 600. If the time to be measured is anticipated to be larger than 999.9 seconds, cascading another counter will increase the range to 9,999,999.9 seconds. This technique allows you to meas= the duration of an intermittent event that would otherwise reset the standard timer when changing state.
STR AND STR CNT
01 375 02 600 9999
FTligure8-8. Cumulative Timer Example 2: - Time of Day CIock In this example, the 1OHZ clock (Internal Coil 375) is used to program a time of day clock with reset capabilities. This is a 24-hour time clock, with the time format being xX:W, where Xx = hours (O-23) and W = minutes (O-59). The 1OHZ clock providts the 0.1 second pulse to counter 603 which in turn produoes one pulse every second. The mminin gthmecounters,600,601and602kuptrackof seconds, minutes and hours that have elapsed. If power goes off and the clock needs rcsetig, the combined use of a 3 position switch and a pushbutton, as shown in Figure 8.10, will allow you to set the comet time. The lower portion of Figure 8.10 is the ladder logic which ~sets the clock. An VO Simulator module, IC61OMDLl24, could also be used and programmed to reset the clock).
Page 257
a40509
02
02
603 -ICUT SECONDS I so -i
CUT m CUT603 ml6Q STR CWT600 cwr 600 co
E
CM1600
03
5rR CUT 600 OF?161 ND MDT I60 STR CWT 601 CUT 601 60
ST'R CNT 602 kc
24
CNT 602 24
Figure 8-9. Sample 24 Hour Time Clock Logic
Page 258
Applications
8-11 a40557
THREE
POSITION
-
SELECTOR SWITCH
PWWTTON
*DENOTES Ix)REFERENCE
05
LADDER LOGIC 01 f604
' 2HZ CLOCK
1604
01 05 STR AnO NOT T604
Figure 8-10. Time Clock Resetting To met the time,use the following procedure.
1. Select hours, minutes or seconds with the 3 position selector switch. 2. Monitor the appropriate counter. CNT 600: Seconds CNT 601: Minutes CNT 602: Hours Keystroke sequence is SHF, 6xX, MON 3.Depressthechan ge btt u on until the pmper value (time) is displayed on the programmer.
Page 259
8-12
Applications GEK-w2
Application 7 - Start/Stop Circuit A simple but informative application for the Fast Response module is the Start/Stop circuit. In this example, Output 4 is in the Fast Response mode and is controlled by Inputs 0 and NO. 1. The timing diagram shows worst case response times.
I
X4lNFASfRESPWSEICIK)(N
Figure 8-11. Fast Response Start/Stop Logic I/O REFERENCE 00 01 04 05
200
D-ON Enablcoutput,X4ihhstrtsponsemode
Disable output X4 in fhst Itspotse mode ou~X4tiedtofielddevi~beingco~lled Mode z&ct for aaput x4 DISABLED: msnualmode ENABLED: fhstqxmscmodc DummycaucttoputoutputX4infbstrcsponscmode pc-sl -84-0019
Figure 8d2. Worst Case Thing
Diagram .
Page 260
Applications
843
Application 8 - High Speed Counter Applications Threegeneral types of application examples will be covered within &is applica2ion. 1. Programmable
CAM Switch
2. Cut to Length 3. Measurement of length
In the development of these applications the following system configuration will be used. pc-sl -04-0010
-
0 l/o vo vo
CW
SERES ONE
POHIfR
SUPPLY CA
Fiiiiiire843. Application System
Page 261
Apptications
8-14
Programma ble Cam Switch The basic concept behind a CAhd switch is to enable/disable certain devices at various points in the cycle of a machine. Using one or more high speed counters this type of control can easily be implemented. The following example illustrates this, cycling the high speed coulltcf’s two outputs at difkent preset values. The timing diagram below shows the output logic, with the user program necessaq to implement this logic shown on the following pages. This example assumes that the encoder is resetting the counter once per revolution, and that the machine will not travel f&m one transition point to the next in less than twice the scan time. a40023 150
CURRENT COUNT
0
PROCESS STAGE
1 FIRST [SECOND 1 THIRD IFOURTH 1 FlFTH 1
SHIFT REGISTER STAGE
1 400
OUTPUT NO.1 OUTPUT NO.2
Figure 8-14. Programmable
50
1
401
250
I 402
1 403
325
1 404
360
1
I
I ]
I
CAM Switch Logic Timiq
Diagram a40893
Figure 8-15. Programmable
CAM Switch
Page 262
Applications
8-15
0 6 cit I
165
00
01
I 7
0
162
1
SR 162
Figure 8-15 Programmable CAM Switch (Continued)
SHlF7 REGISTER THAT WERMINES STAGE OF SEOUENCER
Page 263
846
Applications GEK-90842 a40893
400
08 i +Ht
162
.
,
SO
Wl’PUT
NO 1 NOT INVERTED
OUTPUT No
1 IN COUNTER MODE
OUTPUT NO 2 DISABLED
~TPUT
64
0 9
\
NO. 2 M MANUAL MODE
.
SECONDSTAGE (
--i
1
CURRENT COUNT < PRESET MTWUY
CNflOl 150 4 i 100
S
OuTptn
NO. I INVERTED
103 s
OUTPUT NO. 2 IN COUNTER MODE f
Figure 8-15 Programmable CAM Switch (Continued)