Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ALLEN BRADLEYS RSLinx Classic VER.2.53.00.CPR9 & RSLogix500 VER.8.10.00.CPR9 USER MANUAL
TABLE OF CONTENTS
Step By Step Installation Hardware Requirements Softeware Requiremens Installing RS Linx Installing RS Logix500 Step by Step Un-installation Uninstalling RS Linx Uninstalling RS Logix 500 Master Key Duplication Transfer Master Key To A Flash Drive RS Linx RS Logix500 Configure Driver Test Connection
1 1 1 2 8 13 13 15 16 19
27 28 31 34
Creating a new file Exploring RS Logix500 Creating the first rung Insert instruction Addressing Branching Downloading a ladder logic
36 37 40 42 43 44 47 56 56 62 62
STEP BY STEP INSTALLATION this tutorial is documented in Windows 7 home premium Procedures may vary ranging from different OS versions.
Hardware requirements - an Intel Pentium II or greater microprocessor - 128 MB of RAM for Windows NT, Windows 2000, or Windows XP installations (64 MB for Windows 98 installations - 45 MB of available hard disk space - 256-color SVGA graphics adapter with 800x600 resolution - a CD-ROM drive or a flash drive - any Windows-compatible mouse or other pointing device
Software requirements - The operating system must be one of the following: Microsoft Windows 2000 Windows XP (with or without Service Pack 2) Windows Server 2003 (with or without Service Pack 1) Windows Server 2003 R2 - RSLogix 500 will not run on earlier versions of Windows, nor will it run on Windows Vista. - RSLogix 500 relies on RSLinx Classic communication software, version 2.51.00 or later.
Installing Rs Linx RSLinx Classic Lite provides communication between the programmable controller and a personal computer. To install RSLinx Classic Lite software: 1. Log onto the computer as an administrator or as a user with administrative privileges. Insert the RSLogix 500 CD-ROM into the CD-ROM drive. The installation program should start automatically. If it does not, open the installation disk with Windows Explorer and run AUTORUN.EXE. OR Insert the Flash drive that contains the installer file for RSLinx. Locate the file which contains the installer files
2.
Figure 1 RSLinx/RSlinx Classic Installer location Double Click the file labelled RSLinx/RSLinx Classic to view its contents, a list of items of the following figure will prompt on the screen.
Figure 2 Installer file Double click the file Setup.exe ; 3. Click Required Steps, and then click Install RSLinx.
4.
TICK HERE
EDIT
Figure 6 Edit information details Choose the features too be included into the installation
CHOOSE FEATURES
Installing RSLogix 500 1. Log onto the computer as an administrator or as a user with administrative privileges. 2. Insert the RSLogix 500 CD-ROM into the CD-ROM drive. The installation program should start automatically. If it does not, open the installation disk with Windows Explorer and run AUTORUN.EXE. Click Required Steps, and then click Install RSLogix 500. OR Insert the Flash drive that contains the installer file for RSLogix500. Locate the file which contains the installer files
Double Click the file labelled RSLogix 500 to view its contents, a list of items of the following figure will prompt on the screen.
Figure 12 RSLogix 500 Installer file 3. Follow the instructions that appear on the screen to install the software. Accept the End-User License Agreement Treaty
TICK HERE
Key in relevant data; User Name, Organization and License Key and click Next
KEY IN DATA
LICENSE KEY
Figure 14 Key in relevant data Note : The license key is stored in the Instructions.txt file located in the Install Instructions folder.
CHOOSE
Figure 16 choose type of installation Click Install to proceed with the installation
11
Figure 19 Installation complete 4. If you installed the FactoryTalk Automation Platform: During the installation, the setup program displays a window asking if you want to enable FactoryTalk Security. If you do not want to use FactoryTalk Security to control user access to function of RSLogix 500, make sure the Enable FactoryTalk Security box is unchecked, and then click Next.
12
Step by step Un-installation Un-installing RS Linx 1. Log onto the computer as an administrator or as a user with administrative privileges. 2. Click Start and click Control Panel
Control Panel
Start
Figure 20 accessing the control panel 3. In the Control Panel window, Click on Programs
Click
13
Click
Figure 22 Uninstall a program 5. In the program list, scroll down the list until you can find the RS Linx software
Figure 23 Program List 6. Select the RS Linx software, on the organize tab, click Uninstall
Click
Select
Uninstalling RS Logix 500 The initial steps for uninstalling RS Logix 500 is the same for uninstalling steps for RS Linx from step 1 until step 4 5. In the program list, scroll down the list until you can find the RS Logix 500
software 6. Select the RS Logix500 software, on the organize tab, click Uninstall
Click
Select
15
1. Prepare an empty floppy disk or use a virtual drive. 2. Use the "Rockwell.Super.Key.exe" in the "install instructions" folder.
Click here
Figure 28 Rockwell Super Key Prepare an empty floppy disk or use a virtual floppy drive and click Create. 16
Click here
17
Click here
4.
18
A special build of the EVMOVE Program has been created in response to the growing number of PC's and Laptops that are created without a Floppy Drive. The steps below will describe the appropriate way to move an activation file from a master (floppy) disk, or Hard Drive to a USB Flash Drive.
Right Click
Double Click
Right Click the flash drive Double click on Format in the list pane Note : FAT or NTFS formats on the flash drive are not recommended and has not been proven to work well with this procedure Make sure any information is copied off of the Flash Drive BEFORE the format. You can check the current format of a Flash Drive by right clicking it in Windows Explorer and selecting Properties.
19
FAT32 DEFAULT
Edit in Label
Un-tick
Click
Under File System select format FAT32 Under Allocation unit size; select Default| Under Volume Label; edit in the desired label name Under Format options; Un-tick Quick format if the box is ticked (if the box is unticked, let it be) Click Start to begin the format.
RightClick
OR
3. Use EVMOVECF to move the activation from the Master (floppy) disk, or harddrive, to the USB Flash Drive EVMOVECF looks and operates just like EVMOVEW, the difference is that EVMOVECF is designed to recognize Compact Flash Drives.
Double-Click to use
Double-Click
1st Slot
2nd Slot
: :
Select drive letter that contains the floppy drive/virtual drive of the License keys Select drive letter that contains the flash drive.
21
Key in value
Select the Key from the list Click Edit Selected Key in the number of Licenses to be moved Click Move
22
4. Use EVMOVEW to move the activation from the Flash Drive onto the Harddrive of the designated machine
Double-Click
Double-Click to use
Moving the License Keys is similar to EvMoveCF but the only difference is
1st Slot
2nd Slot
: :
NOTE
In case if the flash drive has the unformatable folder or files and if it is formatted as FAT 32 please continue normally and proceed with the move. Also note that once the format is complete the flash drive can continue to be used normally with regular files being added to it.
23
NOTE
In case of possibilities of reformatting the computer that contains the master key, it is strongly recommended to upload the activation file back the master key into the flash drive.
1. Use EvMoveCF found inside the flash drive to move the activation file from the Harddrive onto the Flash Drive
1st Slot
2nd Slot
Figure 41 Us EvMoveCF
: :
Key in value
Select the Key from the list Click Edit Selected Key in the number of Licenses to be moved Click Move
25
RS Logix 500
RSLinx
26
RS Linx
NOTE : This part is for un-configured communication drivers If drivers have been configured, skip to creating new file
Step 4 Step 3
Step 1
: : : :
Click Start from the taskbar; Hover to All Programs and select; Proceed to Rockwell Software, select sub-category RSLinx; Double-click RSLinx Lite/RSlinx Classic OR
OR
27
Figure 47 RSLinx
Configure driver
Step 1
Step 2
Step 1 Step 2
: :
A window will appear; itll appear to look like the figure below;
Step 1
Hover to the arrow under Available Device Types and click it; a list panel will pop-up
Step 2
Select the driver1 for communications to be used and then click Add New2 Note : The drivers are dependent on the type of connections being used between the PLC and the computer. ie: if a RS-232 cable is used for connection then the RS-232 driver should be used for configuration.
29
Step 3
After selecting the driver, another window will prompt; itll ask the user to rename the driver (if there is no desired name; then leave it is, as itll use the default systems name sequence) and click ok
Rename
Step
A window will appear resembling the following figure; click Auto-Configure to configure the driver automatically.
Click here
30
The box beside the Auto-configure button will display Auto Configuration Successful!
Click here
Figure 55 Confirmation
Test Connection
Step 1 : From the RSLinx window, hover to the communications1 tab and select RSWho2.
Figure 56 RSWho
Step
1 Click the plus sign; of the configured 2 driver ; revealing the components that are connected through the driver. i.e.:
Figure 57 connection
Connected components
Connection confirmation
Note :
It only means that there was an error during configuration; i.e.:- wrong ports, connection bandwidth; type of driver used; etc. the connection is secure when the appearance of the components does not have any marks on them. i.e.:-
33
RS Logix 500
NOTE : for use with SLC 500 and MicroLogix processors. documented in Windows XP Professional; procedures varies from OS versions..
Step 4 Step 3
Step 1
: : : :
Click Start from the taskbar; Hover to All Programs and select; Proceed to Rockwell Software, select sub-category RSLogix 500 Starter English / RSLogix 500 English; Double-click RSLogix 500 Starter English / RSLogix 500 English OR
34
Figure 63
Figure 64
RSLogix 500
35
Click here
36
Select processor type1( of the PLC ); driver2 and then click Who Active3
Through Who Active, make sure that the connection the PLC is intact1 and then click OK2, if there is a connection error; use RSLinx to reconfigure the connection.
37
Click here
Ladder view
Project tree
Results pane
Status bar
: :
Select functionality from the menus that appear as you click each selection on this bar. It contains several functions that you will use repeatedly as you develop and test your logic program. In order to know what each of the icons do, simply move your cursor to the icon and a floating ToolTip window will appear indicating the icons function. It indicates the operational mode and lets you see whether you have online edits or forces installed at a glance. It contains all the folders and files contained in your project. Most of the icons in the tree offer a menu applying only to itself by selecting the icon and clicking the right mouse button. The menu contains options to execute an action on the folder or file. It provides you with ongoing status information or prompts as you use the software. It displays the results of a Find All search or a verification procedure. This is where you edit your ladder logic. You can also view several program files at the same time. It displays instruction mnemonics in tabbed categories. Each time you select a category tab, the instruction toolbar provides you with instructions for that category. You can click on any instruction to insert it in your ladder program.
39
Method 2
You can also insert a new rung by selecting the End rung number1 and clicking the right mouse Button2,then, select Insert Rung3 from the menu that appears. A new rung appears above the End rung.
40
1&2
Note :
Rungs under edit have the lower-case letter e in the margin to the left of the left rail. This means that these rungs have not yet been verified and compiled. The letter e should disappear once the file is compiled and no errors have been detected.
41
Insert Instruction
To insert an instruction on a rung, click its icon on one of the toolbars (Instruction toolbar). At this point, click on the Examine if Closed icon . A normally open contact appears on the rung.
Note :
You can place several instructions on a rung sequentially by clicking the icons one after another. The instructions are placed from left to right. You can also place instructions by dragging and dropping the icons until a green rectangle appears in the desired location.
42
Instruction Icon
Addressing
Word/Number
X:Y/Z
Control Box Number
Addresses are made up of alphanumeric characters separated by delimiters. Delimiters include the colon, period, and slash. Where: Data File Type ; Data files contain the status information associated with external I/O and all other instructions used in ladder program. Control Box ; Defines the instruction is connected to Number which control box.(starts with numerical 0 and onwards for each controller) Number/Word ; Identifies the number of the external I/O or other instructions used.
43
File Type O0 Output I1 Input S2 Status B3 Bit T4 Timer C5 Counter R6 Control N7 Integer
Branching
Adding a branch Click the Rung Branch icon from the instruction toolbar. It will add a branch to the ladder logic.
If the cursor is on an instruction, itll be immediately added to the right of the instruction; if the cursor is on the rung number, the branch is placed first on the rung.
44
Moving a branch Click on the upper left corner1 of a branch to move the entire branch structure to another location in the ladder logic program.
Location points
45
Expand a branch Click the right leg1 of the branch and then drag the leg to the right or left2. All valid release points3 are shown in green color on the ladder display.
1 2
Release point
Nested branch Click the upper left corner1 of a branch leg, then click the right mouse button2 and select Append New Branch3 to place another branch structure within the original branch structure.
Parallel branches Click the bottom left corner1 of a branch leg, then click the right mouse button2 and select Extend Branch Leg Up or Extend Branch Leg Down3.
Extend branch up
Copying a branch Click on the left edge of the branch1. Then right click2 and select Copy3. Next, click a rung or instruction4 in the logic and click Paste5 from the right mouse menu to insert the rung leg.
Copying the entire branch structure Click the right leg of the branch structure1; click Copy2 from the right mouse menu. Next, click on a rung or instruction3 in your logic and click Paste4 from the right mouse menu to insert the rung structure.
Deleting a branch Click at any location on the branch and select Delete from the right mouse menu or key in the delete button from the keyboard.
48
2 The instruction just placed is an input. To assign the data file type to it, double-click on the normally open contact placed and enter "I1:0/1" 3 Assign a symbol to the instruction, right-click the normally open contact, a menu prompts and then select Edit Symbol. Enter "PB1" and then hit the Enter key on the keyboard. (Assigning a symbol to the instruction can be used as a substitute for an address so that the instruction can be easily identified. All instructions having the same address automatically have the same symbol. A symbol is unique. The same symbol cannot be applied to different addresses. Symbols can be up to 20 characters in length.) NOTE : Anytime you right-click any element in the ladder diagram, a menu prompts with editing options for the selected element.
4 Click the first rung number (0000) and then click the Rung Branch icon NOTE . A new branch appears.
: When placing a branch, if the cursor is on an instruction, the branch is placed immediately to the right of the instruction. If your cursor is on the rung number, the branch is placed first on the rung. For more information about branching, please refer to the section "Branching".
5 Click the right leg of the branch and drag the leg to the right of the "PB1" contact. A valid release point will be shown as a green rectangle on the ladder display. 6 Click on the lower left leg of the branch and then click the Examine if Closed icon . Double click and enter the address "I1:0/2". 7 Assign a symbol to the instruction, right-click the normally open contact. A menu prompts and then select the Edit Symbol. Enter "PB2" and then hit the Enter key on the keyboard.
49
8 Click the right leg of the branch and then click on the Output Energize icon . An output load appears. Double-click the output and enter the address "O0:0/0". 9 Assign a symbol to the instruction, right-click the normally open contact added to the rung. A menu prompts and then select Edit Symbol. Enter "PL0" and then hit the Enter key on the keyboard. 10 The ladder logic should resemble the following figure:-
Verifying the file 1. Verify the ladder logic by clicking the Verify File icon OR click Edit, Verify File from the menu bar. 2. If the file has mistakes, the Verify Results output window displays and gives information on mistakes or omissions occurred in the program. i.e.:-
3. If the program has no mistakes the lower left corner of the RSLogix window states: "Verify has completed, no errors found". i.e.:-
Saving the file 1 Click File, Save; or 2 Click the file save icon ; 3 The save window will prompt; the user can either name the file or let it generate a generic name; choose file type and location to save the file.
File location
Rename
Save
Comments
Figure 89
Save 51
4 After applying the necessary info; click Save Note : This is done only once; the save window will not prompt the next time as itll automatically save the file. Unless the user needs to change file type; location; etc, use Save As..; under the File tab, the save window will prompt hence the user may proceed. The user may skip this step and proceed to download the file to the PLC but the software will automatically prompt the save window to save the file as a precaution for a backup and is also done only once for first time downloads.
52
Testing the file 1 There is an OFFLINE list at the online bar on the upper left corner of the RSLogix window. (Refer figure below)
Click on the arrow on the right hand side, hover to Download.. and select it. 2 The following dialog box should appear:
Click on Yes.
53
Click Yes.
4 The download process will commence; user will be able to test the program. The following dialog boxes will appear:
Click Yes on both dialog boxes. Now, user is able to run the program. Note : User can not test the program while in run mode; settings must be in REMOTE RUN MODE in order to test the program.
54
5 When user is done testing the program, click the arrow from the list on the online bar. Select Go Offline
Figure 95 Go Offline
If the program has flaws, proceed to exit RSLogix, otherwise make the necessary modifications to the program and retest. Note : Settings must be in OFFLINE mode in order to amend the program.
Print 1 To print out information regarding the program; ladder logic; mnemonics; etc, click File, then Print View. 2 On the Print Window, prepare the required setting for the print;
Figure 96 Go Offline
Click OK.
55
TROUBLESHOOTING
Port Conflict If there is an error involving the communication ports for example;
Figure 97 RSLinx
Step 2
Step 1
Figure 98 RSLinx
Step 1 : Step 2 :
Select the configured driver that has the PORT CONFLICT error. Click on Configure to reconfigure the settings of the driver.
56
Next, the configuration window will prompt, hold on to that window; Now to open Device Manager
Step 4
Step 5
Step 3
Figure 99 RSLinx
Click on Start When the start menu appears, right click on Computer/My Computer Click on Manage
Step 6
Step 7
Step 6 : Step 7 :
Click on Disk Management; a hardware list will prompt. Hover to the hardware list and Select Ports(COM & LPT) to expand it.
Identify
Identify the COM port of the device; go back to the RSLinx driver configuration window
58
Step 8
Step 9
Click on the arrow Select the COM port which is assigned to the Device Click Auto-Configure to reconfigure the driver. Click OK to exit the configuration window Click Close to exit Configure driver window
Method 2 This method is similar to Method 1 beginning from Step 1 until Step 7, after that this method diverges differently. After expanding the Ports tab
Step 8 Step 9
Step 8 : Step 9 :
Step 10
Step 10:
Step 11 Step 12
Click on Advanced In the Advanced Settings window, select the arrow at the Com Port Number
60
Step 13
Select the COM number that matches the COM number from the RSLinx Configuration Window. Click OK to exit the Advanced setting window. Click OK to exit the driver properties window
Step 16
Click on the X button to exit the device manager. Click Auto-Configure to reconfigure the driver at the RSLinx driver configuration window. Click OK to exit the configuration window. Click Close to exit Configure driver window. This only happens when a RS232 converter is used, as the converter uses a USB port as interface, the computer will register it with a random port unless it uses the same outlet. Computers with a built in RS232 port are always pre-configured to COM 1. (Unless stated)
61
Restoring Factory Defaults SLC-500 processors Note : Note : The Ladder Program will be lost if a processor is returned to Factory Defaults. If a memory module that has been configured for auto load is installed, after performing a reset. The old program will be restored into the processor RAM memory.
1. 2. 3. 4.
Remove Power Open CPU Compartment ( Series C units can not be factory reset ) Disconnect Battery Remove Memory Module ( 1747-M1 ) Skip step 4 if a Memory Module is not Installed. 5. Locate RAM (IC3) 6. Connect Pins 14 and 28 (PWR & GND) with paper clip. ( See Diagram ) Note : The preferred connection method is to use a 10 Ohm Resistor
62
1. Remove Power 2. Remove CPU Module 3. Remove Memory Module ( EEPROM )- 1747-M1 ( Skip step 3 if a Memory Module is not Installed ) 4. Disconnect Battery 5. Locate RAM (IC3) 6. Connect Pins 14 and 28 (PWR & GND) with paper clip. ( See Diagram ) Note : The preferred connection method is to use a 10 Ohm Resistor
63
1. Remove Power 2. Remove CPU Module 3. Remove Memory Module ( EEPROM )- 1747-M1 ( Skip step 3 if a Memory Module is not Installed ) 4. Disconnect Battery 5. Locate the GND & VBB points on the back side of the processor module. 6. Using a small flat blade screw driver short the GND & VBB points for
60 Seconds.
IMPORTANT : Jumper JW4 on the processor must be set to the PROTECT position.
Figure 111
SLC 500 ( 5/03, 5/04 & 5/05 )
64
IMPORTANT :
Once Factory Defaults have been restored the ladder logic program will be lost and all communications channels will be reset to their default state : CH1 - DH+ ( 57.6 Kbaud ) CH0 - DF1 Full Duplex 1200 Baud, N, 8, 1, CRC DH485 ( 19.2 Kbaud ) SLC5/05 CH0 - DF1 Full Duplex 19.2 KBaud, N, 8, 1, CRC Note: SLC 5/03 OS302 FRN 11 , SLC 5/04 OS401 FRN 8 or greater Channel 0 Defaults to 19.2KBaud
65