SoftLogix 5800 - We will be using a PC as our main PLC
- network communication may be hindered by Windows firewall
- the soft plc and networking is very sensitive to computer timing, shut down programs not needed.
1. (If not already done) Set up the rack as shown below. The cards are designed to be installed from left to right.
2. Refer to the manuals for the hardware on the Allen Bradley web site. Note that the installation guides only provide mechanical and wiring information. The Users Manuals will be useful when programming.
3. (If not already done) Wire the rack as shown below. When done have the wiring checked by an instructor.
4. Plug in the rack and check for a steady green ‘module status’ light. This will indicate that the module is generally operating correctly. Check the lights on the hub for correct operation.
5. If not already operating, start the computer. If the computer was already running you may need to restart the network connection. Use a web browser to verify the network connection.
6. Set up the hub for the following settings,
- DHCP connection for the outside network
- DHCP server for the internal network starting at 192.168.1.10
- find the MAC ID on the AENT module and give it the static IP address 192.168.1.2.
- find the MAC ID for the virtual machine (probably XX.XX.XX.XX) and give it the statis IP address 192.168.1.1.
1. (If a virtual machine is being used start it now). The SoftLogix rack monitor should be running, If not, you may start it by clicking on the icon on the task bar that looks like XXXXXXXX. This program sets up a virtual PLC rack. Slot 0 will probably contain RSLinx, this will handle communication between all of the PLC programming software. If there are cards in any other slots remove them.
2. Right-click on slot 2 and select ‘Create’. Choose “Softlogix EthernetIP XXXX” then ‘OK’. This will add a bridge between the software based PLC (not created yet) and the networked I/O. add the following settings and use ‘next’ and ‘finish’ as needed.
IP Address: 192.168.1.2 (note: this address will be needed again later)
3. Right-click on slot 1 and select “Softlogix 5860-L60” then OK. This will create the software based PLC processor.
4. Notice that there are status lights to track the condition of the processor and network cards. These will become very useful when diagnosing problems later.
4. When the Softlogix processor is ‘inserted’ RSLinx will start, if not already running. Use the RS-Who function to check and see what drivers are loaded. If “AB_VBP-1” or “ETH-XXX” Does not exist, add it using “Configure Drivers”.
1. Run “RSNetworx for Ethernet/IP”. This program will identify and browse network components.
2. Select “File” then “Ethernet/IP”.
3. “Network”, “Upload from Network”. Select “Ethernet/IP” in the RSLinx window when it pops up. Save the network as “Ethernet.enet”
4. Do the same for the “5860 Ethernet IP Processor”.
5. use browse to identify devices
3. To scan for device level issues use “Network” then “Online”
1. Run “RSLogix 5000 Enterprise Series”. Create a new project using “File” then “New”. This will bring up a “New Controller” window. Enter the following settings then select ‘OK’.
Type: “1789-L60 SoftLogix 5860 Controller”
2. A new set of project windows is created. On the left side are general settings, including tags.
3. First we will add some I/O. Near the bottom left is a tab labelled “I/O Configuration”. Right-click and select “New Module”. Select “Ethernet/IP” then OK. Enter the following settings and use ‘next’ and ‘finish’ as necessary.
IP Address: 192.168.1.2 (needs to match the card entered in the virtual processor before.
4. In the previous step we have indicated that we are using the network, but not what we are talking to. Right-click on the device just created and add a “1794-AENT/A Twisted Pair” adaptor with the following settings.
5. Add the four cards to the AENT module with the following settings
6. At this point all of the I/O values are defined. Next we can define our tags (Variable names). To do this click on the XXXXXXX on the upper
7. At long last we are now ready to write our first program. Enter the following ladder logic under the ‘Main Program’ and then download it to the processor.
8. Once downloaded, check the processor and verify that the ‘Run’ and ‘IO’ lights are on steadily. This will indicate that the program is running. The lights on the face of the Ethernet IO rack should also be green. (note: red is bad).