The text of a manual · part 7 of 13
Micro 84 Programmable Controller User's Manual, pages 61 to 70
Pages 61 to 70 of 124
The original document is the PDF (6.0 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 Gould Micro 84 Controller, Modicon Micro 84 Controller, AEG Micro 84 Controller and Schneider Micro 84 Controller
Page 61
APPENDIX B PROGRAM LOGIC EXAMPLES
This Appendix contains several typical program logic examples including the ladder logic diagram and the actual keystrokes required to enter the logic into the MICRO 84 Programmable Controller. The keystrokes are entered using a P370 Programmer that is connected to the MICRO 84 mainframe. All examples start with the cursor in row 1, column 1. B.l
MOTOR CONTROL SEAL CIRCUIT
;
6
2
3
4
1002
1003
1004
0001
&
1 i’r:“-I
7
000 I
J
STEP
COMMENTS
1
Enter NO contact 1001 with vertical connector.
2
Move cursor to 1,2.
3
Enter NO contact 1002 with vertical connector.
4
Move cursor to 2,2.
5
Enter NO contact 0001.
6
Move cursor to 1,3.
7
Enter NC contact 1003.
8
Move cursor to 1,4.
9
Enter NO contact 1004.
10
Move cursor to 1,5.
11
Enter coil 0001.
B-l
Page 62
8.2
OSCILLATOR Coil 0002 is OFF for 30 seconds and then ON for 30 seconds.
I
I
2
IX
030 TI.0 -
2 y-t
KEYSTROKES
1
0003 [+I
2 l2.l
6
7
030
1,
TI.0 4012
4011
STEP
5 0003
4
3 0002
COMMENTS
-.1 f ] ( ENTER1
Enter NC contact 0003 with vertical connector. Move cursor to 1,2.
t -0030 ISHIFTJITI.OI 4011 [ENTER 1 ,
3
Enter 1 second timer 4011 wil h 30 second preset.
4
Move cursor to 1,3.
5
Enter coil 0002 with a vertica ,I connection.
6
Move cursor to 1,4.
7
Enter 1 second timer 4012 with 30 second preset.
a
-0 L-l
9
0003 I-_01
Move cursor to 1,5. Enter coil 0003.
(ENTERJ
To check oscillator operation: 10
4011 [SHIFTI_/
Define A key to 4011.
11
ICLEAR]
Clear data area.
12
A cl
Get 4011 and monitor timer.
B-2
Page 63
9.3
REAL-TIME CLOCK
I i
I . 0004 2.
-J
J
I
IX
2
3
4
5
0060
0004 -j-( )r
0060
- 0005 --,-( )
0005
CTR
000;
CTR 4013
SEC-
4015
T 1.0 4015
HOUR-
4013
4014
MIN-
4014
6
7
0024
0006 { )
.
STEP
KEYSTROKES
COMMENTS
1
Fl -1
Enter horizontal connector.
2
Move cursor to 2,l.
3
Enter NC contact 0004.
4
Move cursor to 3,l.
5
Enter horizontal connector.
6
Move cursor to 1,2.
7
0060 /SHIFTIF]
8
WI&l
4015 m
I1ENTER Enter 1 second timer 4015 with preset of 60 seconds and vertical connector. Move cursor to 3,2.
9
Enter horizontal connection.
10
Move cursor to 1,3.
11
Enter coil 0004.
0004 [--OI/ENTER)
12
Move cursor to 2,3.
13
Enter NC contact 0005.
14
Move cursor to 3,3.
15
Enter horizontal connector.
16
Move cursor to 1,4.
17
0060 ~~~14014
El i
B-3
IIENTER Enter counter 4014 with preset of 0060 (minutes) and vertical connector.
Page 64
COMMENTS
KEYSTROKES
STEP 18
Move cursor to 3,4.
19
Enter horizontal connector.
20
Move cursor to 15.
21
Enter coil 0005.
22
Move cursor to 2,5.
23
Enter NC contact 0006.
24
Move cursor to 1,6.
25
Enter counter 4013 with preset of 0024 (hours).
26
Move cursor to 1,7.
27
Enter coil 0006.
8.4
TIME DELAY CIRCUIT A four second delay occurs before coil 0001 is activated after pushing pushbutton 1001.
I
2 0002
I
3 0003 ( )-
4
5 0001
6
7
004 TI.0
2
-
4011
STEP
KEYSTROKES
COMMENTS
1
1001 [qjqT/Fi
Enter NO contact 1001 with vertical connector.
-
IAl
Move cursor to 2,l.
0003 Flfi]
Enter contact 0003. Move cursor to 1,2.
IIWI 0002 jqqjENTER1
Enter NC contact 0002.
+ cl
Move cursor to 1,3. Enter coil 0003 with vertical connector.
8
-P LJ
Move cursor to 1,4.
B-4
Page 65
,
STEP
KEYSTROKES
9
004 [_
F]
COMMENTS
4011 ml
Enter 1 second timer 4011 with preset of 4 seconds.
10
Move cursor to I,5
11
Enter coil 0001.
B.5
SEQUENCER (8 STEP) This circuit sequentially energizes contacts (and consequently the attached coils) 2101 through 2108. The sequential contacts are made at 20 second intervals (see the chart below). L+W+JlSc.o(lacJr I
020
I
2
2
0007 y&
TI.0 . 4016 ~-X% d
,
ELAPSED TIME (SECONDS)
Page 66
STEP
KEYSTROKES
COMMENTS
1
[-G+GG.]
Enter horizontal connection.
2
-w cl
Move cursor to 1,2. Enter 1 second timer 4016 with preset of 20 seconds and vertical connector.
3
Move cursor to 1,3. Enter coil 0007. Move cursor to 1,4. Enter counter 4001 with preset of 9. 4001 is sequencer register and preset value is one more than the number of steps. 8
+ cl
Move cursor to 1,5.
9
0008 ElIENTER)
Enter coil 0008.
10
Move cursor to 2,l.
11
Enter NC contact 0007. --
12
Move cursor to 2,3.
13
Enter NC contact 0008.
14
Move cursor to 3,l.
15
Enter horizontal connector.
16
Move cursor to 3,2.
17
Enter horizontal and vertical connectors.
18
Move cursor to 3,3.
19
Enter horizontal connector.
20
Move cursor to 3,4.
21 q [fllpiq
Enter horizontal and vertical connector.
-
22
-b LJ
Move cursor to 3,5.
23
2101[-1jIENTER]
Enter NO contact 2101 (sequencer step 1).
B-6
Page 67
KEYSTROKES
STEP
I
24 j‘-&J
COMMENTS
Move cursor to 3,6.
25
Enter coil 0009.
26
Move cursor to 4,1 (cursor wraps to column 1).
27
Enter NO contact
28
Move cursor to 4,2.
29
-0010 I-
U-
2102.
Enter coil 0010.
I IENTERI
30
+ l-l
Move cursor to 4,3.
31
2103 mI-I[ENTER]
Enter NO contact
32 l-4
Move cursor to 4,4.
33
0011 ~pGG-1
Enter coil 0011.
34
-b L-l
Move cursor to 4,5.
35
2104 m\pl
Enter NO contact
2103.
I
-
2104.
36
+ LJ
Move cursor to 4,6.
37
0012 I-o-1
Enter coil 2104.
38
NET L-l
Go to next network. 1,l.
J
39
Enter horizontal
40
Move cursor to 1,2.
41
Enter horizontal connector.
42
Move cursor to 1,3.
43
Enter horizontal
44
Move cursor to 1,4.
45
Enter horizontal connector.
46
Move cursor to 1,5.
47
Enter NO contact
2105 1-j /--~~ENTERJ
B-7
The cursor is in connector.
and vertical connector.
and vertical
2105.
Page 68
STEP
KEYSTROKES
COMMENTS
48
+ cl
Move cursor to 1,6.
49
Enter coil 0013.
50
Move cursor to 2,1.
51
Enter NO contact 2106.
52
Move cursor to 2,2.
53
Enter coil 0014.
54
Move cursor to 2,3.
55
Enter NO contact 2107.
56
Move cursor to 2,4.
57
Enter coil 0015.
58
Move cursor to 2,5.
59
Enter NO contact 2108.
60
Move cursor to 2,6.
61
Enter coil 0016.
B-8
Page 69
APPENDIX C GLOSSARY OF TERMS Arithmetic
A type of logic used to add or subtract two numeric values. The status of the two outputs is governed by the result of the arithmetic computation (addition overflow or subtraction comparisons).
Binary
A number system in which all values can be expressed by 1 or 0. In electronic hardware, the value 1 is the ON state of a circuit while 0 is the OFF state. Calculations can be made at a very high rate of speed using the binary number system and solid-state electronic hardware.
Binary Coded Decimal (BCD)
A number system where 4 binary (l/O or ON/OFF) characters (or lines) represent a decimal digit (O-9). BCD is a recognized industry standard. BCD input devices (e.g., thumbwheels) and output devices (e.g., numeric displays) are readily available.
Bit
A single binary character.
Coil
A discrete output from the programmable controller. The output is normally used to energize a solenoid (provide power flow to the solenoid coil). Coils are turned OFF when power is removed (see Latch).
Counter
A type of logic used to count the occurrence of a particular event (a contact closing, a coil energized, etc.).
Disable
The capability of disconnecting a logic coil or a discrete input from control by program logic. In the disabled state, the logic element can be turned on and off using the program panel. This allows a system to be checked out element by element.
Discrete
Logic elements that can be either ON or OFF. Discrete elements can be input, output, or internal logic elements.
Dump
Recording the entire contents of user memory onto the Program Pack.
Element (Logic)
The basic building block of the MICRO 84 logic. An element is a contact, coil, connector, timer, counter or arithmetic function.
Force
A function on the P370 Programming Panel that can change the state of a disabled logic element from OFF to ON or vice-versa.
Input
A signal that provides information to the MICRO-84 controller. The input signal can be from a discrete device (pushbutton, relay contacts, limit switches, etc.) or from a numeric device such as a thumbwheel.
110
The communication between the MICRO 84 and the “real world” is called l/O (input/output). The l/O signals can be either discrete (ON or OFF) or numeric (register contents).
Latch
A coil that retains its state (ON or OFF) when power is removed and whose state is not reset when power is again available.
Logic Element
Any one of the elements that can be used in a ladder logic diagram. The elements include contacts, coils, shunts, timers, counters, and arithmetic functions.
Memory Protect
The capability of preventing unauthorized use of a P370 Programming Panel to make changes to the MICRO 84 Programmable Controller. When the key is in the OFF position or removed, user logic in the controller cannot be changed from the P370.
C-l
Page 70
Module
An input/output device that passes signals between the “real world” and the controller. Modules used with the MICRO 84 can be either input or output, discrete or register. Modules are designed to be easily replaced with minimum system downtime.
Network
A group of connected logic elements used to perform a special function. A network can be from one element to a complete 4 x 7 matrix of elements.
Node
A point on a ladder diagram in which a logic element can be placed. A node can receive power from the left, top, or bottom and can pass power to the right, top, or bottom.
output
A signal provided from the Controller to the “real world” that can be either discrete output (solenoid valve, relay, motor starter, indicator lamp, etc.), or numeric output (e.g., LED display).
Preset
The limit established for a counter or timer function. The current count or time available from the register referred to in the lower element cannot exceed this limit. At the preset value, the logic output is energized
Processor
The “brain” of the Controller system, wherein the user’s logic and PC’s executive is stored; all logic solving and decision making is performed by the Processor. Also called the CPU or mainframe.
Reference Number
Four-digit numbers used in the construction of the user’s logic. Reference numbers can be either for discrete devices (logic coils, inputs, or sequencer steps) or for registers (input or holding).
Register
A location within the Controller allocated to the storage of numeric values (up to 999). All holding registers are retentive on power failure. There are three types of registers: input registers whose contents are controlled by the “real world” outside the Controller; holding registers whose contents are controlled from within the Controller; and output registers, which are special holding registers since their contents can also be provided to the “real world”.
Remote Preset
The capability for placing the preset for a timer or counter into a register and referring to that register in the upper element of the logic. The preset is no longer fixed since the contents of the register (and thus the preset) can be altered at any time.
Run Light
An LED indicator on the Processor that indicates, when lit, that the logic is being processed.
Scan
The technique of examining or solving logic networks one at a time in their numeric order. After the last network is solved, the next scan begins at network one; logic is always solved in this fixed cyclic process.
Solid-State
Circuitry designed using only integrated circuits, transistor, diodes, etc.; no electro-mechanical devices such as relays are utilized. High reliability is obtained with solid-state logic, which would be degraded by depending upon electro-mechanical devices.
Timer
A logic element used to measure and record the time of an event or sequence of events. Timers can accumulate time in either seconds, or tenths of seconds.
c-2