The text of a manual · part 2 of 4
Common Memory Module (M/N 57C413B) (M/N 57C423), pages 11 to 20
Pages 11 to 20 of 40
The original document is the PDF (190 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Reliance Electric 57C413
Page 11
2.2
Electrical Description The Common Memory module incorporates the bus arbitration logic required when there are two or more Processor modules in a rack. Note that bus arbitration logic is enabled only when the module is in slot 0. The bus arbitration logic will support up to a maximum of four Processors located in slots 1-4. The bus arbiter resolves the contention problem that arises when two or more Processors attempt to access the backplane bus at the same time. Bus arbitration logic guarantees that every Processor requesting the bus will be given a turn on the bus before any other Processor can access it a second time. If two Processors attempt to use the bus at the same time and neither one has previously accessed the bus, the Processor module located in the lowerĆnumbered slot will be permitted to access the bus first. The superĆcapacitor on the Common Memory module can be charged to more than 90% of its rated capacity in approximately 8 minutes. It is typically capable of retaining the contents of RAM memory for approximately 400 minutes should the light go out and power is removed from the module. (Removing or replacing the Common Memory module may affect tasks and variables in the rack. Appendix E describes the effect on tasks and variables in a DCS 5000 rack. Appendix F describes the effect on tasks and variables in an AutoMax rack.) The module also contains a watchdog timer that is used to detect Processor failures in a multi-Processor system. If a Processor is unable to reset the watchdog timer, the timer will generate an interrupt to notify the other Processors in the rack of the failure. A will appear on the faceplate of all Processor modules except the one that timed out. The watchdog timer is enabled only when the module is in slot 0. PowerĆup diagnostics for this module are run by a Processor module. Diagnostics are performed on the RAM memory, control registers, and watchdog timers.
2-3
Page 12
afadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa fdfdsfdsfdfdsfdsfsadfda sfdfaddfdd
Page 13
3.0 INSTALLATION This section describes how to install and remove the module and the onĆboard battery. Note that removing or replacing the Common Memory module may affect tasks and variables in the rack. Appendix E illustrates how tasks and variables are affected in a DCS 5000 rack. Appendix F illustrates how tasks and variables are affected in an AutoMax rack. DANGER THE USER IS RESPONSIBLE FOR CONFORMING TO THE NATIONAL ELECTRIC CODE AND ALL OTHER APPLICABLE CODES WITH RESPECT TO WIRING, GROUNDING, DISCONNECTS, AND OVERCURRENT PROTECTION. FAILURE TO OBSERVE THIS PRECAUTION COULD RESULT IN SEVERE BODILY INJURY OR LOSS OF LIFE.
3.1
Initial Installation Use the following procedure to install the module: Step 1.
Turn off power to the rack and all connections.
Step 2.
Take the module out of its shipping container. Take it out of the antiĆstatic bag, being careful not to touch the connectors on the back of the module.
Step 3.
Activate the onĆboard battery. When viewing the Common Memory module from the front, you can access the battery through the opening in the right wall portion of the protective enclosure. Activate the battery by taking it out of its holder and removing the tape that covers it. Replace the battery in its holder. Make certain that the battery is facing in the proper direction, i.e., the end marked on the battery is facing the end marked on the battery holder. For maximum battery life, you should not remove the tape from the battery unless you intend to turn power on to the module immediately.
Step 4.
Insert the module into the desired slot in the rack. Use a screwdriver to secure the module into the slot. To enable bus arbitration logic, the Common Memory module must be placed in slot 0. For M/N 57C413B, the slot to the right of the Common Memory module must contain either a Processor module or be empty because the Common Memory module takes up two slots of logical address space. For M/N 57C423, the 3 slots to the right of the module must contain either a Processor module or be empty because the module takes up four slots of logical address space when in slot 0. Refer to figure 3.1. To serve as data storage, the module must be placed in an even numbered slot (2,4,6,8,10,12,14). The slot to the right of the Common Memory module must be empty because the module (both 57C413B and 57C423) takes up two slots of logical address space when used in this way. Refer to figure 3.1.
3-1
Page 14
Typical 16 Slot Rack
16
Typical 10 Slot Rack
P/S
0
1
2
10
3
4
5
6
7
8
9
10 11 12 13 14 15
Figure 3.1 Ć Rack Slot Numbers Step 5.
Turn on power to the rack.
Step 6.
Verify the installation. If the Common Memory module was placed in slot 0, the powerĆup diagnostics performed automatically by a Processor module should verify that the module is operational. If the Common Memory module is placed in any even slot other than 0, it must be manually tested like a standard I/O module. Connect the personal computer to the system and run the Programming Executive Software. Stop all programs that may be running. Use the I/O MONITOR function and enter the module slot number and any valid register number (0-32767). Also enter the slot number +1 and any valid register number (0-32767) to test the upper 32K register of memory. Verify that data can be read from and written to the registers. To ensure your application task does not access old or incorrect data, you may want to create a BASIC task to write zeroes to each register location before you run any other application tasks. This is only required if you do not initialize values in your application tasks.
3.2
Module Replacement Removing or replacing the Common Memory module may affect tasks and variables in the rack. Before beginning the procedure below, refer to Appendix E for DCS 5000 racks or Appendix F for AutoMax racks. Use the following procedure to replace a module:
3-2
Step 1.
Stop any application tasks that may be running.
Step 2.
Turn off power to the rack and all connections.
Step 3.
Use a screwdriver to loosen the screws that hold the module in the rack. Remove the module from the slot in the rack.
Step 4.
Place the module in the antiĆstatic bag it came in, being careful not to touch the connectors on the back of the
Page 15
module. Place the module in the cardboard shipping container. Step 5.
Take the new module out of the antiĆstatic bag, being careful not to touch the connectors on the back of the module.
Step 6.
Activate the battery by taking it out of its holder and removing the tape that covers it. Replace the battery in its holder. Make certain that the battery is facing in the proper direction, i.e., the end marked on the battery is facing the end marked on the battery holder.
Step 7.
Insert the module into the desired slot in the rack. Use a screwdriver to secure the module into the slot.
Step 8.
If you are replacing the M/N 57C413 Common Memory module that required an external battery backup with M/N 57C413B or 57C423, you may now remove the battery backup from the power supply. The battery backup is not required when the Common Memory module is placed in an AutoMax rack containing Processor models 57C430, 57C431, 57C435 or later. DO NOT REMOVE THE BATTERY BACKUP FROM RACKS CONTAINING DCS PROCESSOR M/N 57C407. The external battery is required to back up this Processor.
Step 9.
Turn on power to the rack.
WARNING THE BATTERY USED WITH THIS DEVICE MAY PRESENT A HAZARD IF MISTREATED. DO NOT RECHARGE, DISASSEMBLE, HEAT ABOVE 100_C (212_F), INCINERATE, OR SWALLOW. REPLACE BATTERY WITH RELIANCE ELECTRIC M/N 57C385 ONLY. DISPOSE OF USED BATTERY PROMPTLY. FAILURE TO OBSERVE THIS PRECAUTION COULD RESULT IN BODILY INJURY.
3.3
On-Board Battery Replacement See section 5.2 for a list of the possible reasons that the OK" light on the faceplate can shut off. If you need to replace the battery, the superĆcapacitor will typically provide 400 minutes of backĆup power between the time the light goes off and power is removed from the rack, and the time you insert and activate the new battery. Note that the superĆcapacitor on the module is charged by the power supply. Therefore, be sure power has been turned on to the module for at least 8 minutes to ensure the superĆcapacitor is sufficiently charged to retain the contents of RAM memory when the battery is removed. Use the following procedure to replace the battery on the Common Memory module. Step 1.
Stop any application tasks that may be running.
Step 2.
Turn off power to the system.
Step 3.
Loosen the screws that hold the module in the rack. Remove the module from the slot in the rack, being careful not to touch the connectors on the back of the module.
3-3
Page 16
3-4
Step 4.
Take the old battery out of the holder. Remove the tape from the new battery and insert the battery in the holder. Make certain that the battery is facing the proper direction, i.e., the end marked on the battery is facing the end marked on the battery holder.
Step 5.
ReĆinsert the module into the correct slot in the rack. Use a screwdriver to secure the module into the rack.
Step 6.
Turn on power to the rack. The OK" LED should be lit.
Page 17
4.0 PROGRAMMING This section describes how the data is organized in the module and provides examples of how the module is accessed by the application software. The Common Memory module has two distinct modes of operation depending on the slot that it is in. If the module is located in slot 0, the bus arbitration logic and watchdog timer are enabled and the module is controlled entirely by the leftĆmost Processor module. If it is in any other even slot, the bus arbitration logic and watchdog timer are disabled and the module provides userĆconfigurable data storage only. This mode is useful if you need to control explicitly the physical allocation of memory, e.g., to define consecutive registers for shift register instructions. Note, however, that it is not possible to define arrays in this mode.
4.1
Configuration Before creating AutoMax application tasks, the user must configure the hardware in the system. Configuration is the process of assigning variable names to I/O and memory locations in modules located in the rack. The configuration process makes it possible to create application tasks that reference variable names instead of fixed locations. This information must be loaded onto the Processor modules in the rack before application tasks can run. This section outlines some basic system parameters that determine how to configure the Common Memory module and reference memory stored on the module. Unless specifically noted otherwise, the information below applies to both M/N 57C413B and M/N 57C423 Common Memory modules as they operate in both DCS 5000 and AutoMax systems. Recall that when either module is in an even slot other than 0, only 64K x 16 worth of memory (two logical slots in the rack) is available for configuration by the user.
4.1.1
Variable Control and Access To understand the effect of a Common Memory module in a rack, it is important to understand variable control in AutoMax systems. There are two types of variable control in AutoMax systems: common and local. refers to whether the variable will be accessed exclusively by one application task (local), or whether it must be accessible for reads or writes by more than one application task in the rack (common). Defining variable control is accomplished as follows: local variable: a) default control type; not defined in configuration common variable: a) defined in configuration; there are two types, memory and I/O. If memory, can be volatile or nonĆvolatile Variable access in an application task is enabled by declaring the variable common or local in application tasks that reference the variable. See the appropriate programming language reference manuals for specific information on declaring variables local or common.
4-1
Page 18
4.1.2
Variable Storage Local variables are stored on the Processor module in which the application task that declares them will run. Common variables are stored on the Processor module, unless there is a Common Memory module in slot 0 of the rack, in which case the common variables are stored on the Common Memory module instead. This frees up memory on the Process module for application tasks. Because common variables can be stored on either the Processor module or a Common Memory module if it is located in slot 0, a variable defined in the configuration and declared common in an application task is not necessarily one that is stored on the Common Memory module. In other words, when used to describe a variable in AutoMax, refers strictly to variable control, not to variable storage. A Common Memory module located in a non-0 slot is treated by the system as two I/O modules with 32K registers each (32K in the actual slot location and 32K in the slot to the immediate right). Because all I/O variables are considered common by the system, variables defined on this module are treated like any other common variables for storage purposes: they are stored on the Processor module in a single-Processor rack, or on the Common Memory module in slot 0 if it is installed. When the Common Memory module is in slot 0, the allocation of its memory is under system control. During configuration, the user specifies only the name and type (e.g., boolean) of each common variable. These variables are accessible to application tasks and Programming Executive functions (e.g., monitoring) by name only. If the Common Memory module is in any other even slot, memory on the module is allocated by register/bit address exactly as specified by the user during configuration. These variables are accessible to application tasks and Programming Executive functions by name or register/bit address
4.1.3
Configuration Method The method used to configure the Common Memory module depends both upon the Programming Executive software version being used, and on the slot number (0 or any other even slot) of the module. For Programming Executive software V3.0 and later, the module is configured like all other modules, i.e., using the Rack Configurator menu option. See J-3750, the Programming Executive V3.0 instruction manual for information on configuring the module in both slot 0 and other even slots. For Programming Executive software V2.1 and earlier, the Common Memory module is configured in a special type of application task called the configuration task, one of which is required per rack. See Appendix C for detailed instructions on configuring the module if you are using V2.1 and earlier of the Programming Executive software.
4.2
Restrictions This section describes limitations and restrictions on the use of this module.
4-2
Page 19
4.2.1
Rack Slot Restrictions A Common Memory module is required in slot 0 in a rack that contains more than one Processor module. The slot to the right of the Common Memory module must either be empty or contain a Processor module for M/N 57C413B. For M/N 57C423, the 3 slots to the right of the module must either be empty or contain a Processor module. This module may also be plugged into even slots (2,4,6,8,10,12, or 14). Since the 128K bytes (64K registers) of memory available (for both modules in a non-0 slot) require two slots of address space, the slot to the right of the Common Memory module must be empty.
4.2.2
Remote Racks This module cannot be used in a remote I/O rack.
4-3
Page 20
afadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa fdfdsfdsfdfdsfdsfsadfda sfdfaddfdd