The text of a manual · part 13 of 30
SLC 500 Modular Hardware Style User Manual, pages 121 to 130
Pages 121 to 130 of 296
The original document is the PDF (3.5 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 Allen-Bradley 1747-L524
Page 121
Chapter
8
Starting Up Your Control System
This chapter describes how to start up your control system. To accomplish this, you must go through eight procedures.
Procedures for Starting the Control System
Start-up involves the following procedures to be carried out in this sequence. 1. Inspect your installation. 2. Disconnect motion-causing devices. 3. Initialize and test your processor. 4. Test your inputs. 5. Test your outputs. 6. Enter and test your program. 7. Observe control motion. 8. Conduct a dry run of your application. These procedures isolate problems such as wiring mistakes, equipment malfunction, and programming errors in a systematic, controlled manner. Go through these procedures very carefully to avoid possible personal injury and equipment damage. IMPORTANT
Do not attempt system start-up until you are thoroughly familiar with the controller components and programming/editing techniques. You must also be thoroughly familiar with the particular application.
For general recommendation concerning installation safety requirements and safety requirements and safety related work practices, refer to the requirements specific to your region. • Europe: Reference the standards found in EN 60204 and your national regulations. 121
Publication 1747-UM011G-EN-P - June 2008
Page 122
122
Starting Up Your Control System
• United States: refer to NFPA 70E, Electrical Safety Requirements for Employee Workplaces.
1. Inspect Your Installation
You can often prevent serious problems in later test procedures by first making a thorough physical inspection. We recommend that you perform the following procedure. 1. Make sure that the controller and all other devices in the system are securely mounted. 2. Check all wiring including: • connections from the main disconnect to the controller input. • the master control relay/emergency-stop circuit. • input device circuits. • output device circuits. Make certain that all wiring connections are correct and that there are no missing wires. Check the tightness of all terminals to make certain wires are secure. 3. Measure the incoming line voltage. Be certain that it corresponds to controller requirements and that it falls within the specified voltage range. See specifications for input voltage ranges on page 176.
2. Disconnect Motion-Causing Device
In the following test procedures, the controller is energized. As a safety precaution, you must make certain that machine motion does not occur. The preferred way is to disconnect the motor wires at the motor starter or the motor itself. In this way, you can test the operation of the starter coil, verifying that your output circuit is wired correctly and functioning. Similarly, the preferred way to disconnect a solenoid is to disengage the valve, leaving the coil connected. In some instances, you may not be able to disconnect a device the preferred way. In this case, it is necessary to open the output circuit at some convenient point. For circuit testing purposes, it is best to open the circuit at a point as close as possible to the motion-causing device. For example, your output might be a relay coil that in turn energizes a motor starter; if it is impractical to disconnect the motor wires, the next best thing to do
Publication 1747-UM011G-EN-P - June 2008
Page 123
Starting Up Your Control System
123 is to open the circuit at a point between the motor starter and the relay contact. ATTENTION
3. Initialize and Test Your Processor
Machine motion during system checkout can be hazardous to personnel. During the checkout procedures 3, 4, 5, and 6, you must disconnect all devices that, when energized, might cause machine motion.
When you are certain that machine motion cannot occur with the controller energized, you may begin by initializing the processor using the following steps. 1. Energize the chassis power supply. If power is supplied to the controller and the installation is correct, the initial factory conditions for all processors are provided in the following table. Processor Name
DEFAULT
Mode
Program mode or
(S:1/0 to S:1/4 = 0 0001) or
Fault mode
(S:1/0 to S:1/4 = 0.0001 and S:1/13 = 1)
Watchdog values
100 ms
S:3H = 0000 1010
I/O slot enables
ALL ENABLED
S:11/1 through S:12/14 set to 1
Node address (except SLC 5/04 and 5/05)
1
Channel 1 = DH485 S:15L = 0000 0001
Communication rate (except SLC 5/04 and 5/05)
19.2 Kbaud
Channel 1 = DH485 S:15H = 0000 0100
SLC 5/03, SLC 5/04, and SLC 5/05 processor only
Channel 0 configuration
DF1 Full-duplex No Handshaking 19.2 KBaud CRC Error Check Duplicate Detect On No Parity
SLC 5/04 processor only
Channel 1 configuration
DH+ 57.6 KBaud Default Node Address = 1
SLC 5/05 processor only
Channel 1 configuration
Ethernet(1) 10 Mbps
(1)
Configuring with BOOTP enabled so that a BOOTP server on the network can automatically provide the SLC 5/05 processor with the configuration necessary to start communicating over Ethernet. See appendix G for more information.
Publication 1747-UM011G-EN-P - June 2008
Page 124
124
Starting Up Your Control System
ATTENTION
These steps are covered more extensively in your programming software and Hand-held Terminal user manuals. Reference these manuals if you have a problem completing one of the steps.
2. Turn on the programming device. 3. Configure the controller. 4. Name the program. (Becomes the processor name when downloaded.) 5. Program a sample test rung not affecting machine operation. 6. Save the program and controller configuration. 7. Transfer the controller configuration and sample test program to the processor. After the new program is transferred to the processor, the CPU FAULT status indicator should clear. The CPU FAULT (or FLT on the SLC 5/03, SLC 5/04, and SLC 5/05 processor) status indicator stops if it was flashing. 8. Enter the Run mode. The processor RUN status indicator should turn on, indicating that the controller is in the Run mode with no CPU faults. If any other CPU status exists, refer to chapter 10 for recommended action. 9. Monitor and exercise simple test rung. If a simple test rung operates successfully without CPU faults, you may assume basic processor functions are properly functioning. If any other processor status exists, refer to chapter 10 for recommended action.
Publication 1747-UM011G-EN-P - June 2008
Page 125
Starting Up Your Control System
4. Test Your Inputs
125
After successful processor initialization and test, follow this procedure to test your inputs. 1. Assuming you are still online with the programming device, put the controller into the Continuous Scan Test mode. This lets the processor scan the I/O and program, but not turn on any physical outputs. 2. Monitor the data in data File 1, the input data file. All configured Inputs should be displayed. 3. Make sure the first input slot, whatever slot number that may be, is shown on the monitor. 4. Select the first input device connected to the first input terminal on the input module in the I/O chassis. 5. Manually close and open the addressed input device. ATTENTION
Never reach into a machine to actuate a device, unexpected machine operation could occur.
6. Observe the associated bit status using the programming device monitor function. Also, observe input status indicator. a. When the input device is closed and the signal power is at the input terminal, the associated status bit is set to a one, and the input status indicator should turn on. b. When the input device is opened and signal power does not exist at the input terminal, the associated status bit is set to a 0, and the input status indicator should go off. 7. If associated bit status and input status indicator match input device status, select the next input device and repeat steps 5 and 6 until all inputs in the SLC 500 chassis have been tested. If associated bit status and input status indicator does not match the input device status, follow the recommended troubleshooting steps in the Input Troubleshooting Steps section.
Publication 1747-UM011G-EN-P - June 2008
Page 126
126
Starting Up Your Control System
Input Troubleshooting Steps 1. Make sure the processor is in the Continuous Scan Test mode. 2. If associated bit status and status indicator status do not match the input device status, check status file S:11 and S:12 I/O slot enables. Bits S:11/0 through S:11/15 and S:12/0 through S:12/14 should all be 1, enabling all I/O slots for the modular system. 3. Verify proper control power to the input device. 4. Remove the input device power and make sure circuit terminations are properly wired and tightened. 5. Re-energize the input device power, and check for proper control voltage between the input terminal and signal common terminal. 6. If proper input control voltage does not exist, first check minimum signal common by verifying voltage between input device power source and the input common terminal. 7. If proper input voltage does exist, first check the minimum input current specification on the input module, and then measure the current in the input circuit. Replace the input module if necessary. 8. If the input modules are OK, and proper voltage is measured between input device source and input module common terminal, test the input device and replace if necessary. For more information on input troubleshooting see page 164.
5. Test Your Outputs
After you test all inputs, and have determined that they are functioning properly, test the outputs. 1. Refer to page 122 to insure no motion will occur when any controller output is energized. 2. Place the controller in the Program mode.
Publication 1747-UM011G-EN-P - June 2008
Page 127
Starting Up Your Control System
127
3. Create an output test rung as shown below for each output module configured. MOV SOURCE B3:"XX" DEST O0:"XX"."Y"
Let XX represent slot number of the output currently selected. Y represents output word identifier. This rung moves a word of data from the bit file to the output file. 4. Save the output test program and current controller configuration. 5. Transfer the output test program to the processor. 6. Put the controller in the Run mode. 7. Monitor the data in data file B3 on the programming device display. 8. Enter B3: XX at address prompt to select the output to be tested. XX represents the output slot number. 9. Enter 1 at data prompt for the address that corresponds to the bit in the output word. 10. Observe the output status indicator and the output device. The output status indicator should turn on. The output device should be energized (unless you disconnected it to prevent machine motion). 11. Reset the data value back to zero for the selected address and both the output status indicator and output device should de-energize. 12. If the status indicator and the output device correspond to data settings in steps 10 and 11, repeat steps 8 through 11 for each output. If the status indicators and output device states do not correspond to the data settings in steps 9 and 11, follow the recommended steps in the Output Troubleshooting Steps section.
Publication 1747-UM011G-EN-P - June 2008
Page 128
128
Starting Up Your Control System
Output Troubleshooting Steps 1. Make sure the processor is in the Run mode. 2. Verify proper addressing of the output test rung from the previous page. 3. Using a programming device, locate the output data file and bit data file. See if the status of the associated bits between these files match. 4. If the status of the bits match in step 3, and if the status of the output status indicator match the status of the bits, but the status of the output device is different, continue to step 5. If the output status indicator does not match associated bit status, check status file S:11 and S:12 I/O slot enables. Bits S:11/0 through S:11/15 and S:12/0 through S:12/14 should all be 1 enabling all I/O slots for the modular system. If the output slot enable was verified, try exchanging the output module under test with identical hardware and retest. If the new hardware works properly, replace the original. 5. Verify proper output voltage at the output terminal and then at the output device. 6. De-energize the output circuit and check all output circuit terminations and wire routes. 7. If proper output voltage does not exist at the output device and the power source is adequate to drive the output device, test the output device and replace it if necessary. For more information on output troubleshooting, see page 165.
Publication 1747-UM011G-EN-P - June 2008
Page 129
Starting Up Your Control System
6. Enter and Test Your Program
129
After you test all inputs and outputs and they are functioning properly, follow the steps below to safely and successfully enter and test your specific application program. 1. Verify the offline program. After the program has been entered in the offline edit file mode, program verification may begin. Remaining in the offline edit file mode, use the cursor keys and/or search function of your programming device to inspect every instruction and rung for errors. 2. Check your written program, rung for rung, against the program entered into the offline memory. The most common errors found in program entry are: • incorrect addressing of instructions. • omission of an instruction. • more than one output instruction programmed using the same address. 3. Transfer the program into the processor. a. Place your programming device online. b. Place the processor into Program mode. c. Select the download function when using the Hand-Held Terminal or the restore function when using your programming software. 4. Verify the online program transfer. a. Select monitor file function. b. Cursor through the program to verify that you selected the right program. 5. Conduct a single-scan program test. a. Select the monitor file function and place the cursor on the first rung. b. Select the Test mode. c. Select Single-Scan (SSN) test. In this test mode, the processor executes a single operating cycle, which includes reading the inputs, executing the ladder program, and updating all data without energizing the output circuits. However, the monitor file function will identify output status as if outputs were enabled. Timers are also incremented a minimum of 10 milliseconds each single scan.
Publication 1747-UM011G-EN-P - June 2008
Page 130
130
Starting Up Your Control System d. Simulate the input conditions necessary to execute the current monitored rung of the program. If it is not practical to manually activate the input device, use the force function to simulate the proper condition. ATTENTION
Never reach into a machine to actuate a device. Unexpected machine operation could occur.
e. Activate a single operating scan as outlined in the programming device user manual. f. Verify the intended effects on the output instructions for that rung and overall program logic effects. g. Select the next program rung and repeat test procedures as listed above until the entire program has been tested. 6. Conduct a continuous scan program test. Once the individual single scan rung tests have been completed and proper program operation verified, a continuous scan test is appropriate before motion checkout. The mode simulates the controller Run mode without energizing the external outputs. Use the following steps to further verify proper program and system function operation. a. Remain or return to an online condition with the processor. b. Monitor the file. c. Select Test mode. d. Select the Continuous Scan test. e. Simulate the input conditions necessary to execute system functions. f. Verify the intended operation of each system function and the effects of other system functions. ATTENTION
Publication 1747-UM011G-EN-P - June 2008
Never reach into a machine to actuate a device. Unexpected machine operation could occur.