Sie sind auf Seite 1von 18

Setting up Serial DF1 Connection from a MicroLogix 1500 to a QuickPanel via QuickDesigner

Introduction:
This document is a brief introduction to the configuration of the QuickPanel to an Allen Bradley MicroLogix 1500 channel 0. This is intended only to help a user configure initial proven communication to the PLC from the QuickPanel. For the AB Programming, you will need: 1 copy of QuickDesigner 1 QuickPanel 1 - copy of RSLogix 500 programming software 1 - copy of RSLinx Lite industrial communications software 1 MicroLogix 1500 1 HMI-CAB-C106 communication cable 1 HMI-CAB-C49 download cable 1 - 1747-CBL-PM02, SER C - rs232 programming cable

References:
GFK-2075 QuickDesigner v3.7 online help Sample project and screen shots created with QuickDesigner v3.70 SP3 Screen shots from RSLogix 500 are from v5.50.00 Screen shots from RSLinx are from v2.40.01

Setting up the MicroLogix 1500 SLC 5/03


Upon boot up of your PC or upon going to Start-> Programs-> Rockwell Software-> RSLinx-> RSLinx

Once the RSLogix is up and running you will see 2 new icons in your system tray. Left click on the RSLinx Communication Service system tray Icon .

Once the RSLinx Gateway screen is up, go to the Communications menu and select Configure Drivers.

To connect to the processor via DF1 Channel 0, we need to set up a driver for this. Use the drop down menu and select the RS-232 DF1 devices click on Add New.

An Add New RSLinx Driver pop-up window will appear. You will be prompted to name the new driver. Then click OK.

Upon clicking OK: a Configure RS-232 DF1 Devices screen will appear. Ensure that your 1747-CBL-PM02, SER C - rs232 programming cable is plugged into a communication port and Channel 0 9-pin port on the processor. Take note of the port you are connected to.

Set your communication port with the dropdown.

Left click on AutoConfigure.

Once the Auto-Configure is configured you will see:

If there is a failure to Auto-Configure you will see:

Once you have a successful Auto-Configure, take note of the settings and click on the OK button. You will see the Configure Drivers screen once again. Note that there is now a driver and the status is Running.

Click Close. And then close the RSLinx Gateway screen. Start the RSLogix 500 software.

Go to File and choose New.

Choose File and New.

A Select Processor Type screen will appear. Choose a MicroLogix 1500 CPU and press OK. Do not worry if you dont have the exact processor type, the download will correct this for you.

Double click on the Project Tree item named Channel Configuration.

Please note that we need to look at in this Channel 0 Configuration window. Q On the Chan. 0 - System tab, ensure that the settings here reflect the setting noted in the Configure RS232 DF1 Devices screen.

Click on the OK button. Next, go to the Comms menu and choose System Comms

Find your processor in the list and choose to download.

RSLogix will prompt you to save the file.

You will be asked if you want to go online. Please click Yes.

You will know if you are online by the Remote PROG highlighted and the presence of a spinning yellow ladder. Go Offline and unplug the 1747-CBL-PM02, SER C - rs232 programming cable. This concludes configuration of the MicroLogix 1500 PLC.

Configure the QuickPanel with QuickDesigner Start the QuickDesigner application.

Left click the Project menu and choose New.

Key in your New Project Name and use the dropdown to choose your Display Device.

The Project Setup window will appear. Left click the PLC dropdown and choose the AB SLC DF1 driver.

When you are prompted to confirm the protocol change, left click on Yes.

Left click on the Port button on the Project Setup window. Note that the Baud Rate, Data Bits, Parity and Handshake should be set the same as the settings on the RSLogix Channel 0 Channel Configuration screen.

Left click on OK.

Next, Left click on the Protocol button on the Project Setup window. You will be presented with the Allen Bradley SLC DF1 configuration window. The Source ID is the target display address. The Destination ID is the PLC address (as noted on RSLogix Channel 0 Channel Configuration screen) where the target display will get variable data. Enter Timeout in seconds. Select error checking (CRC or BCC) to match the PLC (as noted on RSLogix Channel 0 Channel Configuration screen). Note the Protocol is currently fixed at Full Duplex. Click OK to return to the Project Setup dialog box. Left click on OK on the Allen Bradley SLC DF1 configuration window. Then Left click on OK on the Project Setup window. Next, we will create a tag variable. Left click on the Components menus and select Tags.

Left click the Tag menus and select Add.

You will see the Tag Create screen. Since we know that a default on Allen Bradley data tables is B3:0/0 we will use this address. Please enter the address and left click OK.

Please left click on the Tag menu and choose Close.

Left click on Components and choose Panels

The Panel Designer window will come up.

Left click on the Push Button selection on the Tools menu. Left click to place the Push Button on the screen.

Once the Push Button has been placed, the Push Button Settings screen will appear. Use the dropdown to choose the variable we created in the Tags area. Make certain to choose the correct Action on the button and the left click on OK. Left click on the Pilot Light selection on the Tools menu. Left click to place the Pilot Light on the screen.

Once the Pilot Light has been placed, the Pilot Light Settings screen will appear. Use the dropdown to choose the variable we created in the Tags area. Left click on OK. Left click the File menu and choose Save. Give the panel a name and left click OK.

Left click the File menu and choose Exit

Go the Project menu and select Download . Choose the correct communication port and await the download.

Please note if there are any serial downloading issues please see the GE Fanuc Intelligent Platforms Technical Support website for article i026083 - Serial Download Checklist to Legacy QuickPanel.

Variable Addressing
The variables to address are the variables available in the data files in the SLC 5/-3 processor. Please note that there are limited variables configured by default in the Allen Bradley processors. O0 - OUTPUT 0 elements by default I1 INPUT 0 elements by default S2 STATUS 82 read only elements by default B3 - INTEGER 0 elements by default T4 TIMER 1 element by default C5 COUNTER 1 element by default R6 CONTROL 1 element by default N7 - INTEGER 1 element by default This means that you are very limited to what may be addressed with a default configuration Allen Bradley processor. Please note that the addressing nomenclature is very specific. An example format for this is: N7 : 100 / 00 _ D

File Type Element Bit address Destination Node Address

File Type O0:00 OD:00 OO:00 I1:00 ID:00 IO:00 S2:00 or S:

File # 0 0 0 1 1 1 2

Element 0-255 (dec) 0-255 (dec) 0-377 (oct) 0-255 (dec) 0-255 (dec) 0-377 (oct) 0-15 5/01(2) 0-32 5/02(2) 0-83 5/03(2) 0-255 0-255.ACC 0-255.PRE 0-255.EN 0-255.TT 0-255.DN 0-255.ACC 0-255.PRE 0-255.DN 0-255.CU 0-255.CD 0-255.OV 0-255.UN 0-255.UA 0-255.LEN 0-255.POS 0-255.DN 0-255.EN 0-255.ER 0-255.UL 0-255.IN 0-255.FD 0-255 0-255 0-255 0-255 0-255 0-255 1->9999

Bit Range /0 - /15 /0 - /15 /0 - /17 /0 - /15 /0 - /15 /0 - /17 /0 - /15

Write Y Y Y N N N N

Value -32768 to 32767 -32768 to 32767 -32768 to 32767 -32768 to 32767 -32768 to 32767 -32768 to 32767 -32768 to 32767

B3: or Bn: T4: or Tn:

n:=9-255 n:=9-255

/0 - /15

Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y

-32768 to 32767 0-32767 0-32767 0-1 0-1 0-1 -32768 to 32767 -32768 to 32767 0-1 0-1 0-1 0-1 0-1 0-1 -32768 to 32767 -32768 to 32767 0-1 0-1 0-1 0-1 0-1 0-1 -32768 to 32767 -2147M to 4294M -2147M to 4294M -2147M to 4294M 0-9999 Null - ASCII 0-65535

C5: or Cn:

n:=9-255

R6: or Rn:

n:=9-255

N7: or Nn: ND7: or NDn: NL7: or NLn: F8: or Fn: D9: or Dn: A9: or An: ST9: or STn:

n:=9-255 n:=9-255 n:=9-255 n:=9-255 n:=9-255 n:=9-255

/0 - /15

NS NS NS NS

Y Y Y Y Y Y Y

Note 1: File numbers other than the default value shown are 9-255. Ex: B5:0 would be invalid. Note 2: Address range for I and O are in decimal as maped in the M files. Address Max for S is dependent on the PLC. Note 3: Bits may wrap into other words. Ex: B3:5/41 = B3:7/9 Note 4: Integer types (range -32768 to 32767) may be configured as unsigned (range 0 to 65535) Note 5: Node ID Max. is 254 for the SLC DF1 and 31 for the SLC 485. Note 6: For NL7:0, N7:0 is the MSB and N7:1 is the LSB. For ND7:0, N7:1 is the MSB and N7:0 is the LSB.

Connection Media

NOTE: The 8-pin DIN connector requires precise pin alignment before pressing the connector into the housing on the MicroLogix. This is a tight fit and requires some force.

Tyler Holm GE Fanuc Intelligent Platforms Senior Customer Support Professional 1-800-gefanuc Visit our Knowledgebase @ www.gefanuc.com/support www.gefanuc.com/support

Das könnte Ihnen auch gefallen