Application NoteCP600: Connecting to an ABB, IRC5 controllerIntroductionThe purpose of this document is to guide the reader throughthe process of establishing communication between anexisting ABB IRC5 robotic controller and an ABB CP600HMI panel. Working knowledge of ABB Robot studio andAutomation Builder software is assumed.Using cross connections to control certain system functions(e.g motors on, motors off) from the HMI panel will also becovered.Requirements ABB Robot / IRC5 Controller CP600 HMI Panel PC with Automation Builder V1.1 or later with *Robot Studio installed. Ancillary equipment: 10/100 Ethernet switch, Ethernetcables*A separate license must be purchased to use Robot Studiooff-line. However, it is not required and this procedure appliesto on-line or off-line programming

Configure the IRC5 Robotic Controller1. Connect the PC with Robot Studio to one of the Ethernet ports on the CP600 panel. Connect the IRC5 LAN Ethernet to theother.2.Open existing, or create new Robot Studio Project. The Robot Studio and Panel Builder projects may be created discretely, orthey may be contained within a single Automation Builder project.3.Open Robot studio and navigate to the controller tab.4.Click on the “Add Controller” icon, then select “Add Controller”.5.Select the robot you wish to work with and click “OK”. The robot information will appear in the project tree.6.Click the Controller tab and then expand Configuration in the Controller tree as shown in Figure 1.a, and then double clickI/O System to open the Configuration-I/O System tab. Next, select the Signal category to open the EIO configuration editor.See Figure 1.b.Figure 1.a- Open the signal configuration in Robot StudioFigure 1.b- Edit the IO signalsNote: Only I/O signals can be used and only output signals of the robot controller can be modified by the CP600 device. Theycan only be modified as long as the IRC5 controller is in automatic mode or the FlexPendant is not connected and the signalaccess level is ALL. Input signals are read only.7.Add physical I/O points to the EIO configuration as necessary.8.Change the access level of any output signal that is to be written from the CP600 HMI to ALL. This step is important as theHMI will otherwise not have write access to these signals.9.Click Save Parameters in the Configuration group, as shown in figure 2. Save the EIO configuration file you your hard drive.Make a note where it is saved as this file will be imported into your Panel Builder project later on.Figure 2- Save the EIO Config file which will later be used to import tags into the Panel Builder HMI project.10. Close or minimize Robot Studio.

Creating the HMI Project in Panel Builder1. If using Panel Builder 600 stand-alone software package to create your HMI then create a new project and proceed to step4.3. Otherwise, from within Automation Builder create a new CP600 project by right-clicking project name at the top of theDevices tree and adding a new CP600 or CP600-eCo object as shown in Figure 3.Figure 3- Creating a new Panel Builder project within Automation Builder.2.Double-click the newly created Panel Project in the Devices tree to open Panel Builder 600. When prompted, select newproject and click OK.3.When panel builder opens your project for the first time the Project Wizard dialog appears. Select the panel type and displayorientation, then click OK ( see Figure 4).Figure 4- Configure the Panel Builder project4.Open the Protocols tab by double-clicking the Protocol icon in the ProjectView tree.5.Click the add protocol , icon at the top left of the Protocol tab, and then select the ABB IRC5 protocol from the PLC dropdown list (see Figure 5). The protocol editor dialog will open.Figure 5- Add and configure the ABB IRC5 communication protocol.

6.7.8.The only mandatory setting in the protocol editor is the IP address. Enter the IP address of the IRC5 in this field. If desired,enter an arbitrary alias to identify the IRC5 controller in your project.Check the PLC box only if the panel will connect to more than one IRC5 controller, then enter the IP address for each controller.Next, open the Tags tab by double-clicking the Tags icon in the ProjectView tree.Ensure the IRC5 protocol is selected in the dropdown at the top of the Tags tab, then click the import tags button, ] ,as illustrated in figure 6. When prompted select the CFG 1.0:5:0: importer and click OK.Figure 6- Import the EIO config file, which Panel Builder will use to create tags for the IRC5 protocol.9.Navigate to the EIO config file saved in step 3.9, and then click Open. All of the available tags from the IRC5 controller will appear in a list at the bottom of the Tags tab. Select one or more tags to import into your project and click the Import Tags button(Figure 7).Panel builder supports the following tag (signal) types: Bool (DI, DO) UINT (GI, GO) Real (GI, GO, AI, AO)Hint: Use shift-click or Ctrl-click key combinations to select multiple tags.Figure 7- Import tags from the EIO Config file.

10. Now the HMI pages can be created. Start by clicking the empty page in the ProjectView tree. By default this page will be thefirst page that appears when the CP600 boots up. More pages can be created by right-clicking the Page folder and selectingInsert New Page from the context menu.11. As shown in Figures 8.a and 8.b, various elements, or widgets can be dragged from the Widget Gallery and dropped onto yourproject. Attach IRC5 tags to the widgets simply by clicking the add tag [ ] icon in the Value property for the currently highlightedwidget and selecting the tag from the tag list.Hint: click on a palate heading in the Widget Gallery to bring up more widget options (see Figure 10).Figure 8.a- Drag control elements, or widgets onto the HMI screen.12. You can edit other properties for each widget such as text, size, color etc Anywhere the icon appears you can attach a tagto change that property dynamically during run time.13. Save your project by clicking the Save Project icon.14. Before loading the HMI project to the panel, the panel IP address must be configured to communicate on the same subnet asthe IRC5 controller. Choose a unique network address that exists on the same subnet. That is to say if the IRC5 IP address isAAAA.BBBB.CCCC.DDDD the panel address must be set to AAAA.BBBB.CCCC.EEEE where EEEE is a value between 0000and 0254 and is a unique ID on the network.Note: The IP address of the IRC 5 controller can be viewed on the Flex Pendant Apply power to the panel and allow it to boot-up. If the panel boots to a black screen with two icons in the upper left corner then select System Settings to open thesystem menu (if this is the case the panel does not yet have a runtime system installed. Configure the IP address asinstructed below and then refer to appendix A for instructions on installing the runtime system). If the panel boots toanything other than described above press a spot on the screen for several seconds until the contextual menu appearsand select Show System Settings Press Next or Back until Network is highlighted. Change the IP address of the panel and ensure the Subnet Mask is setto Close the Network settings dialog and reboot the panel.Hint: the touchscreen is resistive so a pen cap or other stylus can be used to type values into the IP value field.15. Now the project can be loaded to the panel by selecting Download to Target from the Run menu. When the Download toTarget dialog opens simply enter the IP address of the CP600 panel (or click [V] to find the panel on the network) and clickDownload.16. Test your HMI project.

Creating Cross Connections1. create a cross connection open your project in Robot Studio.Click the Controller tab and then expand Configuration in the Controller tree as shown in Figure 1.a, and then double click I/OSystem to open the Configuration-I/O System tab. Next, select the Signal category.Create the desired signals to be cross connected to controller output signals. Remember to set the Access Level to ALL.Now select the Cross Connection category.Right-click the Cross Connection category and select New Cross Connection from the context menu.Enter settings for the cross connection as follows:SettingValueNameUnique but arbitrary tag nameResultantDestination signal (i.e. output) for the cross connectionActorThis is the signal that will be cross connect, or copied to the Resultant signalInvertOptional, if Yes is selected the Resultant signal will be the reciprocal of the Actor signalOperatorOptional, logical operation if the Resultant signal is to be the logical AND or OR of multiple Actors.Actor2 5Actors that will be ANDed or Ored with the Actor if an operator is selectedSelect Save Parameters from the Configuration group once all of the desired cross connections have been created.Refer to steps 7-9 in Creating the HMI Project in Panel Builder section to import cross connection signals to the Panel BuilderHMI project.

Appendix A – Installing the CP600 Runtime SystemHMI devices are delivered from factory without Runtime.When you power up the device for the first time, the Runtime Loader window is displayed.The Runtime Loader presence depends on the device Operating System and may not be available on all the units.Installing Runtime with a project1. Click System settings: the System menu is activated in user mode.2. Download a project with PB610 Panel Builder 600 to install the Runtime. When you download a project the Runtime isautomatically installed if needed. See “Transferring the project to HMI device” for details.3. Click Install Runtime: the procedure is run automatically.

Installing Runtime from a USB driveImportant: Old versions of HMI devices may not include the Runtime Loader. Contact technicalsupport if you need further information.1. Prepare the Update Package by selecting Run Manage Target. Next click Update Package.2. Plug the USB drive in the device and click Transfer from disk.3. Follow the instructions displayed.

Reference DocumentDocument NameDocument NumberRev/VerPanel Builder programming software manual for CP600 control panels3ADR059001M0207 PB610 Panel Builder 600 EN.pdfRev 2.00Panel Builder programming software manual for CP600-eCo control panels3ADR059056M0201 PB610-B Panel Builder 600 EN.pdfRev 2.00Communication protocols for CP600 control panels3ADR059053M0201.pdfV1.91Robot Studio programming manual3HAC032104-001Rev 6.01

2. Click the Controller tab and then expand Configuration in the Controller tree as shown in Figure 1.a, and then double click I/O System to open the Configuration-I/O System tab. Next, select the Signal category. 3. Create the desired signals to be cross connected to controller ou