The text of a manual · part 3 of 4
Common Memory Module (M/N 57C413B) (M/N 57C423), pages 21 to 30
Pages 21 to 30 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 21
5.0 DIAGNOSTICS AND TROUBLESHOOTING This section explains how to troubleshoot the Common Memory module.
5.1
The WATCHDOG" LED is Off Problem: The green WATCHDOG" LED on a Common Memory module located in slot 0 is off, and a Processor module in the rack displays codes 4.0 through 4.6. These error codes mean that the Common Memory module has failed one of its powerĆup diagnostics. Systematically swap out the Common Memory module and the Processor module(s). Make certain power is off before removing any module from the rack. After each swap, if the problem is not corrected, replace the original item before going on to the next item. If the problem persists, take all of the modules except the Common Memory module and one Processor module out of the rack. If the problem is now corrected, another module in the rack is causing the problem. Replace the remaining modules one at a time until the problem reappears. If none of these tests reveals the problem, try replacing the backplane.
5.2
The LED is Off Problem: The OK" LED on the Common Memory module faceplate is off. The possible causes of this problem are the following: D the tape covering the battery has not been removed D the battery is not facing in the proper direction D the battery is missing D the battery is malfunctioning D the power supply is malfunctioning To correct the problem, first turn off power to the rack. Refer to steps 1-3 in section 3.3 for instructions on taking the Common Memory module out of the rack to inspect the battery. If the tape is still covering the battery, remove it. If the battery is missing or not facing in the proper direction, insert the battery with the end facing the marking on the battery holder. If none of the above actions correct the problem, replace the battery.
5.3
Incorrect Data Problem: The output is either always off, always on, or different than expected. The possible causes of this error are a module in the wrong slot, a malfunctioning module, or a programming error. Use the following procedure to isolate the problem: Step 1.
Verify that the module is in the correct slot. Refer to figure 3.1. Verify that the correct number of slots to the right of the Common Memory module are either
5-1
Page 22
empty or contain a Processor module. If this is not the case, multiple modules will respond to references. If the module is not in slot 0, i.e., it is serving as data storage, verify that the definition statements in the configuration are associated with the correct slots. Step 2.
Verify that the variables are being referenced correctly. Verify that all tasks that reference variables on this module declare them COMMON. Only one task should be writing to any one variable.
Step 3.
Verify that the module can be accessed. Connect the personal computer to the system and run the Programming Executive Software. Stop all programs that may be running. If the module is in slot 0, use the VARIABLE MONITOR to read and write to the variable by name. If the variable cannot be accessed correctly, proceed to step 4. If the module is in any even slot other than 0, use the I/O MONITOR to read and write to the desired register. If the register cannot be accessed correctly, proceed to step 4.
Step 4.
Verify that the hardware is working correctly. Systematically swap out the Common Memory module and the Processor module(s). Make certain power is off before removing any module from the rack. After each swap, if the problem is not corrected, replace the original item before going on to the next item. If the problem persists, take all of the modules except one Processor module and the Common Memory module out of the backplane. If the problem is now corrected, one of the other modules in the rack is malfunctioning. Reconnect the other modules one at a time until the problem reappears. If none of these tests reveals the problem, replace the rack/backplane.
5.4
Bus Error Problem: A or through appears on the Processor module's LED. This error message indicates that there was a bus error when the system attempted to access the module. The possible causes of this error are a missing module, a module in the wrong slot, or a malfunctioning module. Use the following procedure to isolate a bus error: Step 1.
Verify that the Common Memory module is in the correct slot. If the module is in slot 0, proceed to step 4. If the module is in any other even slot, proceed to step 2.
Step 2.
Verify that the module can be accessed. Connect the personal computer to the system and run the Programming Executive Software. Stop all programs that may be running. The cause of a error message is most likely an error in an address calculation performed by an application
5-2
Page 23
program. Verify that any IOREAD functions and IOWRITE statements are using valid addresses. If IOREAD functions and IOWRITE statements are using valid addresses or if the error message in question was through use the I/O MONITOR function to display the registers on the memory module. Remember to specify the correct logical slot. If you can monitor the inputs, the problem lies in the application software (proceed to step 3). If you cannot monitor the inputs, the problem lies in the hardware (proceed to step 4). Step 3.
Verify that the variable names are consistent with what is used in the application task. If you are using the AutoMax Programming Executive Version 2.1 or earlier, verify that the variables defined by IODEF and MEMDEF statements in the configuration task match the variable names used in the application task. In AutoMax Version 3.0 or later, verify the information on the Variable Configurator (screen) is consistent with the variable names used in the application task.
Step 4.
Verify that the hardware is working correctly. Systematically swap out the Common Memory module, the Processor module(s) and the backplane. Make certain power is off before removing any module from the rack. After each swap, if the problem has not been corrected, replace the original item before swapping out the next item.
5-3
Page 24
afadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa fdfdsfdsfdfdsfdsfsadfda sfdfaddfdd
Page 25
Appendix A Technical Specifications Ambient Conditions D Storage temperature: -40oC Ć 85oC D Operating temperature: 0oC Ć 60oC D Humidity: 5-90% nonĆcondensing
Maximum Module Power Dissipation D 5.3 Watts
Dimensions D Height: 11.75 inches D Width: 1.25 inches D Depth: 7.375 inches
System Power Requirements D +5 volts: 1050 mA
Battery Specifications D Type: Lithium D Size: AA D Voltage: 3.6 Volts D Amp Hrs.: 2.0
Memory Retention D Minimum holdĆup with battery:ă600 days D Typical holdĆup with battery: 2000 days D Minimum holdĆup without battery:ă130 minutes D Typical holdĆup without battery:ă400 minutes D Maximum chargeĆup time:ă8 minutes
A-1
Page 26
afadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa fdfdsfdsfdfdsfdsfsadfda sfdfaddfdd
Page 27
Appendix B Module Block Diagram Common Memory Module (57C413 and 57C423)
Common Memory Module (57C413)
ADDRESS ID BUS BUS
ADDRESS BUS
SYSTEM WATCHDOG
SLOT 0 BUS CLOCK OK
ADDRESS DECODER
DIAGNOSTICS OK
EVEN SLOT WDOG OK BD RESET INITIALIZE BYTE HI EN
CONTROL LOGIC
WRITE MEM
READ WRITE
READ MEM
RAM MEMORY
YACK 64K x 16 = M/N 57C413B 128K x 16 = M/N 57C423
BAT. OK DATA TRANSCEIVERS
BATTERY BACKUP
BUS
SYSTEM WATCHDOG INTERRUPT
SYSTEM WATCHDOG
BUSY BUS GRANTS BCLK
BUS ARBITRATION
BUS REQUESTS
B-1
Page 28
afadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa fdfdsfdsfdfdsfdsfsadfda sfdfaddfdd
Page 29
Appendix C Configuring the Common Memory Module in DCS 5000 or AutoMax V 2.1 or Earlier Systems In DCS 5000 or AutoMax Version 2.1 or earlier systems, a configuration task must be created and loaded onto the Processor(s) in the rack before any application task can be executed. The configuration task defines all common variables, i.e., variables that are accessible to more than one application task in the rack (physical inputs/outputs and memory variables). The location of the Common Memory module in the rack determines the type of statement required to define these variables. This appendix describes the configuration task statements required to configure the Common Memory module in DCS 5000 or AutoMax 2.1 Systems.
Common Memory Module Located in Slot 0 When the Common Memory module is in slot 0, the allocation of data storage on the module is automatic and completely under the control of the operating system. This means you can reserve storage space for the common variable, but not specify its actual address. You define common variables in the configuration task by using either the MEMDEF or NVMEMDEF statement. These statements are described in detail below.
MEMDEF Statement The MEMDEF statement is used to define common variables that will not retain their current values in the event of a power loss. On power up, these volatile variables are set to zero if there is a battery backup. However, if there is no battery backup, all common data (variables) stored on the Common Memory module is lost. This statement may be used to define any valid data type, i.e., real, integer, double integer, boolean, and string. Common variables can then be accessed by any task that declares their variable names COMMON. The following example defines a single precision integer (16 bits) with the name and a boolean (1 bit) with the name Note the terminating characters are used to specify data type. See J-3649 for more information on data types. 1000 MEMDEF WINDOW%, STOPPB@ The MEMDEF statement also allows you to define array variables. The following example defines an array of 20 (0-19) singleĆprecision integers with the name
1650 MEMDEF SIZES%(19)
NVMEMDEF Statement The NVMEMDEF statement is used to define common variables that will retain their current value in the event of a power loss i.e., nonĆvolatile variables. However, if the battery fails, all common data (variables) stored on the Common Memory module is lost. This statement may be used to define variables of any valid data type which can be accessed by any task that declares them COMMON. The following example defines a single precision integer (16 bits) with the name and a boolean (1 bit) with the name
C-1
Page 30
Appendix C (Continued) 1000 NVMEMDEF WINDOW%, STOPPB@ The NVMEMDEF statement also allows you to define array variables. The following example defines an array of 20 (0-19) singleĆprecision integers with the name 1650 NVMEMDEF SIZES%(19)
Common Memory Module Located in Any Even Slot Other Than 0 This section describes how to configure the Common Memory module when it is located in any even slot other than 0. In this situation the Common Memory module provides userĆconfigurable data storage only. In other words, you can specify the exact address at which to store data. The slot to the right of the Common Memory module must be empty because the module contains 64K userĆconfigurable registers, or the equivalent of the address space of two slots. Therefore, if the Common Memory module is placed in slot 6, the first 32K registers are addressed as slot 6. The second 32K registers are addressed as slot 7. Refer to the figure below. Register 0
SLOT 6
SLOT 7
Common Memory Module
Empty Slot
Register 32767
Register 0
Register 32767
64K Registers (128K Bytes Memory)
32 Bit Register Reference Format Use the following method to reference 32 bits of data as a single value. One statement is required in the configuration task for each variable. The symbolic name of each value should be as meaningful as possible: nnnnn IODEF SYMBOLIC_NAME![ SLOT=s, REGISTER=r] When referenced as a double precision integer of 32 bits, register is the high order 16 bits and register is the low order 16 bits.
C-2