Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 5 of 13

Micro 84 Programmable Controller User's Manual, pages 41 to 50

Pages 41 to 50 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 41

Place cursor in upper node location and press the following keys in sequence: 010 jl lT1.01

4020

I]

Logic Element Entry Rules The following rules and restrictions apply when entering logic element information. 1.

Logic coils cannot be entered directly over existing double-node logic elements (error code 92). A coil can be entered over a single-node logic element (the overwritten logic element is deleted and replaced by the coil).

2.

A double-node logic element cannot be entered over a coil. In both cases above, the logic element to be replaced must first be erased by entering a horizontal open.

J

6.3.4.11 d

3.

A double-node logic element can be entered over another double-node logic element or any logic element in the upper node position. To replace a logic element, the lower node must be a horizontal open. A double-node logic element cannot be entered where obliteration of one-half of another double-node logic element would occur (error code 92).

4.

A double-node logic element cannot be entered where the lower node extends below the bottom rung of a network (error code 93).

5.

A contact can be entered over a double-node logic element (either the upper or lower node). The other node is replaced by a horizontal open.

6.

No vertical connectors can be entered in the bottom rung or in the seventh column.

7.

Out of range or inappropriate reference numbers or preset values cause an error code (94) to appear.

6.

A logic coil with a given reference number can occur only once in the user’s logic. An attempt to write one results in error code 93. A logic coil reference number can be assigned to one or more contacts. The logic coil can then not only be used as a discrete signal to an output device, but also as a control for other user logic (for example, the latch in a seal circuit).

9.

No data can be entered if the Memory Protect Switch is ON.

10.

Any logic coil, whether disabled or enabled ON or OFF, is set to OFF when it is deleted by being replaced by another logic element.

SHIFT/ENTER VALUE The SHIFT/ENTER VALUE function allows the user to insert a value into a register or to change the contents of a register. To use this function, first make sure the appropriate register reference number appears in the REF display. Using the numeric keypad, enter the desired value (O-999) for the contents of the register.

6-13

Page 42

The new register contents appear in the DATA display. Enter the contents into the register by pressing the SHIFT and ENTER keys sequentially. 4

To enter or change the contents of register 4021, position the cursor in the proper location, and press the following keys: 4021

I

FIEF nnnn

II

/I where nnnn is the value of the register contents being entered. 6.3.4.12

DISABLE (SHIFT/FORCE) The DISABLE (SHIFT/FORCE) function allows the user to disable a coil or an input. To disable a coil, the cursor must be positioned on top of the coil. To disable an input, the REF display must contain the reference number of the input logic element. When the SHIFT and FORCE keys are pressed, the input is either enabled or disabled, depending upon its previous state. If the new status is disabled, a “d” appears to the left of the status in the DATA display (dOFF or dON). If a coil is disabled, the Node display reflects the current power status. To re-enable the logic element, press the SHIFT and FORCE keys a second time.

6.3.4.13

FORCE-SHIFT/DISABLE The FORCE key is used to toggle the power status of a previously disabled coil or input. When the FORCE key is pressed and the REF display contains a disabled input (10Xx), or the cursor is on a disabled coil (OOXX),the DATA display shows the power status of the element.

6.4

MEMORY PROTECT KEYLOCK SWITCH A keylock switch is located on the front of the P370 Programmer. This hardware feature is designed to prevent accidental or unauthorized changes from being made to the user portion of memory using the programmer. It does not inhibit the normal operation of the controller but does prevent any changes from being made to the user program in the controller. All other programmer functions are available (i.e., element status can be checked, register contents can be monitored, etc.). When the key is vertical, it can be removed and controller memory is protected. When the key is inserted and is in the horizontal position, controller memory is unprotected and changes to the user program can be made from the P370 Programmer. (User memory can be changed at any time using the Program Pack (see Section 8).)

6.5

PROGRAMMER OPERATIONS Tables 6-2 through 6-4 provide a quick reference for each of the four programming panel operating modes and: 1.

The liquid crystal displays active during each mode.

2.

The function keys operational during each mode.

3.

The function keys used for panel mode entry.

6-14

Page 43

Table 6-2. LCD Displays

During Panel Modes

PANEL MODE T

DISPLAY AREA

EXAMINE

ENTER

SUPERVISORY

ERROR

NETWORK

Displays current network number

Displays current network number.

SUP4:Displays current network number. Others: Blank

Contains network number in which error occurred.

REFERENCE

Displays Reference Number or Preset Value

Blank or displays preset data just entered.

SUPX = Supervisory Code

Blank

DATA

If Reference field contains OOXX, 10Xx, or 2RXX, displays H or h if in Hold mode, d if Disabled, ON or OFF for state if register ref displays 000-999.

Blank or displays data just entered.

1. Blank until command initiated, -Reads CONF (after first ENTER) then Reads DONE (after second ENTER)

Exy = Error Code

Power Flow and Cursor

Normal Cursor

Normal

SUP4: Real-time power flow and cursor move, ment Others: Blank

Blank

Element

1. If monitoring node at cursor position, the node graphic is displayed. 2. No display if monitoring a reference not associated with cursor.

Blank or displays logic element just entered.

Blank

Blank

COMM OK

Normal

Function:

ON for good communication,

SHIFT

Normal

Function:

ON if Shift key is depressed

ENTER

Blank

ON

Blank

Blank

EXAMINE

ON

Blank

Blank

Blank

Normal Function Function Others: Blank

SUP4: Normal Function

Normal

Element LED

Type

Status

Normal

Power Flow

Function

Function

6-15 off for bad communication

Page 44 read from a scan by OCR; it may hold reading errors

Table 6-3. Key Usage/Panel Mode

SHIFT ALL MODE RESET | RESET | CLEAR | SUPV ENTER | NUMERICS | CURSOR | HOLD | OTHERS

Examine Mode Xx 4 » 4 > 4 Xx Xx x Xx X

Enter Mode Xx X X Xx X 4

6-16

Supervisory Mode User Error Panel/Controller/

Communication Errors x x«< KK <x~ <x x

Table 6-4. Panel Mode Entry

FROM TO:

EXAMINE

SUPERVISORY

ENTER

HOLD STATE

Enter

Supervisory

Error

Hold State

Examine

Press ENTER, RESET, or SHIFT/ RESET

Press SUPV, 0 and ENTER, or RESET, or SHIFT/ RESET

Press RESET or SHIFT/RESET

Press any key except logic element numeric, or CLEAR

N/A

N/A

N/A

Press SUPV

Press SUPV

Press SUPV Key

N/A

N/A

N/A

Press any logic element, numeric, or CLEAR

Press any logic element, numeric, or CLEAR

N/A

N/A

N/A

N/A

Press HOLD

Page 45

PROGRAMMING

SECTION 7 THE MICRO 84

The basic element used in programming the MICRO 84 Programmable Controller is the contact. A contact can be either normally open or normally closed. Associated with each contact is a logic element (indicating whether the contact is normally open or normally closed) and a reference number. The reference number ties the logic element to a specific connection on the l/O input module. The input used to control the status of a contact is called a discrete input (i.e., it turns the contact either to the non-normal condition or returns it to the normal condition). Another type of input that can be used is numeric data. This information is stored in an input register. Each register also has an associated reference number. A coil is another logic element and its state (energized or de-energized) is determined by the various inputs that control it. A coil is an output used to control a specific piece of user equipment or as input to another network. Each coil is associated with a specific reference number. 7.1

NETWORKS In the MICRO 84, each program element occupies one or two “nodes”. The nodes are arranged so that seven elements can be entered horizontally (a rung on the ladder). Up to four rungs can be combined to form a network. A network then, is the ladder diagram program. The number of logic elements that can be contained in a MICRO 84 depends upon the complexity of the networks and the memory size of the controller. Figure 7-1 illustrates a typical multi-node network.

J

7.2

SOLVING NETWORK LOGIC The MICRO 84 function is to “solve” the ladder logic networks. To do this, it “scans” the various elements of a network, checking the state of each input element (are contacts open or closed, etc.) and setting the status of the output coils accordingly. In performing its scan of a network, the MICRO 84 checks the status of the leftmost COLUMN of elements first and then proceeds COLUMN by COLUMN to the right until the network is “solved”. An element in Row 3, Column 4 is scanned (and solved) before an element in Row 1, Column 6. The output of the first element can be used as input to the second element. Figure 7-2 illustrates the sequence the controller uses in solving a network. TIMER

0004

0060

COUNTER ooo5

0060

COUNTER

0006

0024 I

TI.0

0005

4015

-f-1_

Figure

0006 4014

7-l. Typical Multi-Node

7-1

4013

Network

Page 46

I

2

3

4

5

6

7

Figure 7-2. Network Solving Sequence

Because the MICRO 84 solves a network in a particular fixed sequence, it is possible to arrange the logic elements in such a way that the status of a coil can be used as discrete input to a contact in a column further to the right than the coil (see Figure 7-3). The status of a coil also can be used as discrete input to another network.

TIMER 0003

0002

0030

TIMER r-l 0030

0002 I I__

TI.0 4011

I

1

Figure 7-3. Coil Used as Discrete Input

7.3

NETWORK POWER FLOW Within a network, power flow is from left to right, bottom to top, or top to bottom. When displayed on the LCD programming panel, power flow is indicated for all contacts by illuminating those contacts that are passing power from left to right.

7.4

LADDER LOGIC PROGRAMMING PAD A Ladder Logic Programming Pad has been designed and is available for use in planning and documenting ladder logic programs. Figure 7-4 shows the format of the pad.

7-2

Page 47

i Program

Name

Writer Date

1

2

3

5

4

6

7

Comnwntn

A

6 --

----

----

----

----

----

----

-- c --

----

----

----

----

----

----

--

D --

----

----

----

----

----

----

--

2

3

4

Program

Name

Writer Nhvbrk

Date 1

5

Number 6

7

Commants

A

B c--

D

Figure

7.5

7-4. Ladder Logic Programming

Pad

REFERENCE NUMBERS In the programming of the MICRO 84 Programmable Controller, four digit reference numbers are used in building the program logic. These reference numbers are divided into three broad categories: discrete, register, and sequencer. Discrete references are used for items that can be either ON or OFF, such as contacts, pushbuttons, motor starters, relay coils, limit switches, solenoid valves, etc. Register references are used to store numeric values such as counters, timers, analog values, etc.; all registers can store numbers that are three decimal numbers long (O-999). These numbers are stored in binary-coded decimal @CD) format. Sequencers operate like stepping drum rotary switches with a single reference contact at each position of the stepping switch. Sequencer operations are controlled by numeric values placed in specific registers (see “Sequencers” (Drum Programmers) later in this section).

7-3

Page 48

Any specific reference number can be used as many times as required throughout the logic except for a coil. A coil can be used as an output only once but can be used as many times as desired as an internal contact. Reference

7.6 numbers are defined as follows: Reference Number M84-002

Type

M84-001

Coils and discrete outputs (lights, solenoids) or internal contact

0001-0032

0001-0064

Input registers (numeric data)

3001-3004

3001-3004

Sequencers

21 Xx-28Xx XX-Step (01-16)

Same

Usable as sequencer registers

4001-4008

4001-4008

Discrete inputs (contacts, pushbuttons)

1001-1032

1001-1064

Internal registers (numeric data)

4001-4020

4001-4032

Output registers

4010, 4012, 4014, 4016

4010, 4012, 4014, 4016, 4018, 4020, 4022, 4024

PROGRAMMING FUNCTIONS The MICRO 84 Programmable Controller provides the capability to program or simulate the operation of relay contacts, timers, sequencers, counters, and arithmetic functions. All programming is done on the basic format of up to seven elements in each horizontal row or rung. A network can be a single rung, two rungs, or up to four rungs. Relay type elements occupy a single node position within a network and non-relay type elements (counters, timers and arithmetic operations) occupy two vertically oriented node positions within a network. Data is entered directly into the memory of the controller (it is not stored in the programming panel). If AC line power is interrupted prior to completion of the programming, whatever data has been entered is retained. No additional operations are required; whatever data the user enters is the data stored for use by the controller. Network elements can be added, deleted, or changed at any time using the programming panel. The logic changes do not interrupt the controller’s operation. In addition, the effect of any coil (input or output) on system operation can be tested by simulating inputs and outputs using the MICRO 84’s disable feature.

7-4

Page 49

7.6.1

7.6.1 .l

Basic Programming Elements The basic programming elements are the contacts, coils, and connectors shown below: Normally Open Contact

--it-

The normally open contact is the basic logic element point used in ladder logic diagrams. The logic element is controlled by a discrete input (reference number 10Xx) or by a coil (reference number 00Xx).

7.6.1.2

Normally Closed Contact

The normally closed contact is controlled the same way as a normally open contact.

7.6.1.3

Coil

J

The coil (reference number 00Xx) is the discrete output from ladder logic. A coil is used either to provide the control signal for an external discrete device (solenoid, motor starter, indicator lamp, etc.) and/or as the input for an internal contact. A coil can be programmed only once as a discrete output. Once programmed, it can be referred to as many times as desired as an internal contact. More than one coil (unlatched or latched) can appear on a single rung. Each coil on a rung is treated as if it were connected to the right rail of the network. Therefore, is programmed in the MICRO 84 as:

7-5

Page 50

7.6.1.4

Latched Coil

The latched coil retains its state when power is removed (or fails). Normally, coils are reset to OFF upon power-up. A latched coil will not be altered and thus will retain the ON or OFF condition it had when power was removed.

7.6.1.5

Horizontal Connector -

0

0

The horizontal connection is a short between two nodes on a ladder logic rung. The shifted horizontal connector is a horizontal open.

7.6.1.6

Vertical Connector

The vertical connector is a short between two rungs in a ladder logic network. The shifted vertical connector is a vertical open.

7.6.2

Timers Two timer rates are provided in the MICRO 84: one second and one tenth of a second. These internal timers can be used to create as many logic program timers as are necessary. The timer content is not lost due to a power failure. The one second timer (Tl.O)-is used to measure times between 1 second and 999 seconds. The one tenth of a second timer (TO.l) is used to measure times between 0.1 second and 99.9 seconds. The format of the timer element is shown below:

1

TIMER INPUT I CONTROL

INPUT 2

_

IN

ENABLE RESET

PRESET nnn ,3OOX,4OXXI

OUTPUT I

ACCUM.TIME 4oxx

OUTPUT 2

7-6

PRESET = ACCUM.TIME

PRESET 3 ACCUM.TIME