Advertisement

Quick Links

INSTALLATION AND CONFIGURATION MANUAL
Getting started
AC500 V2 products

Advertisement

Table of Contents
loading

Summary of Contents for ABB AC500 V2

  • Page 1 INSTALLATION AND CONFIGURATION MANUAL Getting started AC500 V2 products...
  • Page 2: Table Of Contents

    1.4.2 System assembly, construction and connection..............12 1.5 Example project for central I/O expansion....................13 1.5.1 Preconditions........................... 13 1.5.2 Create, set-up and save your AC500 V2 project..............13 1.5.3 Configure the I/O module......................17 1.5.4 Programming and compiling....................19 1.5.5 Setting up the communication gateway...................
  • Page 3: Getting Started With Example Projects

    Safety instructions — 1 Getting started with example projects 1.1 Introduction This document gives an overview of the steps for the first use of a PLC with AC500 V2 processor module and describes: ● installation of the engineering software Ä Chapter 1.3 “Engineering software Automation Builder”...
  • Page 4 Getting started with example projects Safety instructions PLC-specific safety notices The product family AC500 control system is designed according to the EN 61131-2 and IEC 61131-2 standards. Any data that differs from IEC 61131-2, is due to the higher requirements of Maritime Services. Other differences are described in the technical data description of the devices.
  • Page 5 Getting started with example projects Safety instructions CAUTION! Do not obstruct the ventilation for cooling! The ventilation slots on the upper and lower sides of the devices must not be covered. CAUTION! Run signal and power wiring separately! Signal and supply lines (power cables) must be laid out so that no malfunctions due to capacitive and inductive interference can occur (EMC).
  • Page 6: Engineering Software Automation Builder

    Keep the default type of installation to “Premium Edition” if available. Select software packages to be installed: Enable the check box “PLC - AC500 V2” to activate installation of all options for AC500 Click “Download and install” and follow the instructions of the setup.
  • Page 7: Licensing Procedure

    Start Automation Builder. ð A licensing wizard starts and guides you through the licensing procedure. Enter user information. In case of future support requests, your registration details enable ABB support team to handle your questions quickly. Select “OK”. Enable the trial license.
  • Page 8 Getting started with example projects Engineering software Automation Builder > Licensing procedure Enable the single PC license and select “Next”. Enable online activation and select “Next”. ð License activation procedure starts. A successfully ended licensing procedure ends with a success message. 3ADR010649, 3, en_US 2023/03/03...
  • Page 9: Set-Up Communication Parameters In Windows

    Getting started with example projects Engineering software Automation Builder > Set-up communication parameters in Windows Select “OK” to end the wizard. ð Automation Builder license is activated and starts. 1.3.3 Set-up communication parameters in Windows Setting up com- To set up the communication between the PC and the PLC, e.g., for downloading the compiled munication program, you have to set up the communication parameters.
  • Page 10: Hardware Ac500 V2

    1.4.1 Configuration for example projects The example projects require a small PLC configuration with I/O devices, e.g., as available in the training case TA515-CASE. Table 1: Modules for example projects to get started with AC500 V2 PLC Product name Type...
  • Page 11 Getting started with example projects Hardware AC500 V2 > Configuration for example projects Product name Type First project Second project Ä Chapter 1.5 Ä Chapter 1.6 “Example project for “Example project central I/O expan- for remote sion” on page 13 I/O expansion with PROFINET”...
  • Page 12: System Assembly, Construction And Connection

    Getting started with example projects Hardware AC500 V2 > System assembly, construction and connection Fig. 2: Wiring of training case For the example projects, not all input switches and none of the potentiometers included in training case are necessary. You will need switch I1 for the example project for central I/O expansion.
  • Page 13: Example Project For Central I/O Expansion

    Getting started with example projects Example project for central I/O expansion > Create, set-up and save your AC500 V2 project Plug the appropriate electronic and I/O modules in the correct locations (processor module, communication modules on terminal base, and eventually also communication interface modules and I/O modules onto dedicated terminal units).
  • Page 14 Getting started with example projects Example project for central I/O expansion > Create, set-up and save your AC500 V2 project Select “Projects”. Select “AC500 project”. Fill in project name. Choose a location to save the project to. Select [OK]. Select “PLC - AC500 V2”.
  • Page 15 Getting started with example projects Example project for central I/O expansion > Create, set-up and save your AC500 V2 project Select [Add PLC] to add the CPU to your application. 2023/03/03 3ADR010649, 3, en_US...
  • Page 16 Getting started with example projects Example project for central I/O expansion > Create, set-up and save your AC500 V2 project 1.5.2.2 Configure your CPU Double-click “PLC_AC500_V2”. ð A tab opens in the editor view. Select “CPU Parameters”. Under parameter “Check battery”, choose the value “Off” since there is no battery present inside the CPU module.
  • Page 17: Configure The I/O Module

    Getting started with example projects Example project for central I/O expansion > Configure the I/O module 1.5.2.3 Save the project Select menu “File è Save Project”. Alternatively, select the save icon in the tool bar. Alternatively, press [Ctrl] + [S]. 1.5.3 Configure the I/O module ●...
  • Page 18 Getting started with example projects Example project for central I/O expansion > Configure the I/O module Select “S500 I/O modules”. Select “DA501” module. Select [Add object] to add the module to the I/O bus. 1.5.3.2 DA501 variable mapping Double-click “DA501” in the device tree. ð...
  • Page 19: Programming And Compiling

    Getting started with example projects Example project for central I/O expansion > Programming and compiling The suggested name convention is based on "Hungarian notation". A name prefix is describing variable type: e.g., "x" = variable of type BOOL, "w" = WORD, "i" = INT (integer) etc. This increases the code readability and is helpful for program analysis.
  • Page 20 Starting the IEC 61131 programm editor CODESYS To start the IEC 61131 programm editor CODESYS: Open an AC500 V2 project in Automation Builder In the Automation Builder device tree double-click “Application” ð This will start the IEC 61131 programm editor CODESYS 1.5.4.2...
  • Page 21 Getting started with example projects Example project for central I/O expansion > Programming and compiling Right-click on“Task configuration”. Select “Append Task”. Enter a name. Set “Priority” to 15 Set “Type” to “cyclic”. Set “Interval” to “T#10ms”. 2023/03/03 3ADR010649, 3, en_US...
  • Page 22 Getting started with example projects Example project for central I/O expansion > Programming and compiling Activate Watchdog. Set “Time” to “T#20ms”. Priority type This is how the CPU prioritizes the task, when more than one task is defined. interval Type In the CPU you can run tasks dependent on the demands of the process Interval For cyclic tasks you can set the cyclical execution time.
  • Page 23 Getting started with example projects Example project for central I/O expansion > Programming and compiling 1.5.4.3 Main program PLC_PRG In CODESYS menu select tab POUs, there is one call of a POU (program organization unit) i.e. "PLC_PRG". In your project the "PLC_PRG" will become a main program containing calls to other programs (POUs) which you will create one by one.
  • Page 24 Getting started with example projects Example project for central I/O expansion > Programming and compiling Table 2: Required behavior Signal from photo sensor Required signal of motor ON FALSE TRUE TRUE FALSE Table 3: Hardware set-up Element HW channel Symbol Description Switch I1 DA501 DI8...
  • Page 25 Getting started with example projects Example project for central I/O expansion > Programming and compiling Assign the hardware DI signals to local variables In the CODESYS device tree double-click POU “_01_Assignement_NOT”. Click inside of the first Network. Select “Assign” from Tools. Select “???”...
  • Page 26 Getting started with example projects Example project for central I/O expansion > Programming and compiling Select “xDI_08_DA501_I1”. Select “???” on the right side of the assignment connector. Create a new local variable by typing in “xDrillerBroken1” which will replace the “???”. Press [Enter].
  • Page 27 Getting started with example projects Example project for central I/O expansion > Programming and compiling Right-click on network 1 and select Network (after) ð You added a network “2” below network 1. Add assignments and a Boolean NOT to the DO signals Add an assingment from the Tools.
  • Page 28 Getting started with example projects Example project for central I/O expansion > Programming and compiling Select “Negate” to add a negation to the assignment Call the POU in the PLC_PRG Double-click “PLC_PRG”. Select the first line in “PLC_PRG” and press [F2] ð...
  • Page 29 Getting started with example projects Example project for central I/O expansion > Programming and compiling Open “User defined Program” Select “_01_Assignment_NOT” Select “OK” to close the dialog 1.5.4.4.3 Compile the project Before logging-in to the CPU, you need to compile the complete code without any errors. In the CODESYS editor menu select “Project è...
  • Page 30: Setting Up The Communication Gateway

    Getting started with example projects Example project for central I/O expansion > Setting up the communication gateway 1.5.4.4.4 Save CODESYS project In the CODESYS editor menu select “File è Save”. Alternatively, select the save icon in the tool bar. Alternatively, press [Ctrl] + [S]. 1.5.5 Setting up the communication gateway Setting up com- To set up the communication between the PC and the PLC, e.g., for downloading the compiled...
  • Page 31 Getting started with example projects Example project for central I/O expansion > Setting up the communication gateway Double-click “Internet Protocol Version 4 (TCP/IPv4)”. 2023/03/03 3ADR010649, 3, en_US...
  • Page 32 Getting started with example projects Example project for central I/O expansion > Setting up the communication gateway Enter your desired IP address and subnet mask. 3ADR010649, 3, en_US 2023/03/03...
  • Page 33 Getting started with example projects Example project for central I/O expansion > Setting up the communication gateway Setting up the communication gateway CPU and PC are connected with an Ethernet cable. In the Automation Builder device tree right-click “PLC_AC500_V2”. Select “Communication Settings”. Keep the default value in the IP address of the CPU or type in the current IP address, if differs.
  • Page 34 Getting started with example projects Example project for central I/O expansion > Setting up the communication gateway Select [OK] to implement the IP address. Check commu- If you need to check the communications settings or if you want to see more information about nication set- the current selected CPU.
  • Page 35: Log-In To Cpu And Download The Program

    Example project for central I/O expansion > Log-in to CPU and download the program 1.5.6 Log-in to CPU and download the program Logging-in to the CPU will load the project into the AC500 V2 CPU. The first log-in will also load the hardware set-up.
  • Page 36 Getting started with example projects Example project for central I/O expansion > Log-in to CPU and download the program In the Automation Builder menu select “Online è Login [PLC_AC500_V2]”. ð A pop-up will appear. Select [Yes] to download the application to the AC500V2 CPU. ð...
  • Page 37: Test The Program

    Getting started with example projects Example project for central I/O expansion > Test the program Generally, if the CPU is in RUN mode, i.e. in program execution mode, a download will always cause the mode change to "stop". In stop mode the CPU is not controlling the system! Always, after selecting the “Login”...
  • Page 38 Getting started with example projects Example project for central I/O expansion > Test the program 1.5.7.2 Test the function Operate the switch I1 and in the CODESYS editor observe: ● The online status of inputs and outputs within the POU. 1.5.7.3 Stop the program execution You are logged in the CPU.
  • Page 39: Set-Up Visualization

    Getting started with example projects Example project for central I/O expansion > Set-up visualization The CPU is in RUN mode. In the CODESYS editor menu select “Online è Stop [PLC_AC500_V2]"” Alternatively, select the "stop” icon in the tool bar. Alternatively, press [Shift] + [F8]. 1.5.8 Set-up visualization The visualization allows designing a graphical representation of project variables.
  • Page 40 Starting the IEC 61131 programm editor CODESYS To start the IEC 61131 programm editor CODESYS: Open an AC500 V2 project in Automation Builder In the Automation Builder device tree double-click “Application” ð This will start the IEC 61131 programm editor CODESYS 1.5.8.2...
  • Page 41 Getting started with example projects Example project for central I/O expansion > Set-up visualization Type in “PLC_VISU” Select [OK] to add Visualization ð The new visualization object is inserted. The name "PLC_VISU" has been chosen, because it is the default name for a home screen in a web visualization.
  • Page 42 Getting started with example projects Example project for central I/O expansion > Set-up visualization Enable “Web-Visualization” 3ADR010649, 3, en_US 2023/03/03...
  • Page 43 Getting started with example projects Example project for central I/O expansion > Set-up visualization 1.5.8.4 Add a screen title In the CODESYS editor toolbar select “Rectangle”. Now by dragging your mouse anywhere on the Visualization you can create a rectangle. Double-click the shape.
  • Page 44 Getting started with example projects Example project for central I/O expansion > Set-up visualization Under “Content” type in "Start drilling condition" Under Category select “Colors”. Under “Color” enable “No color inside” and “No frame color” this will help create a cleaner look later on Select [OK] to implement changes.
  • Page 45 Getting started with example projects Example project for central I/O expansion > Set-up visualization Follow the same procedure to create the other shapes and labels. 1.5.8.6 Disable Grid and check Settings In the CODESYS editor right-click anywhere on the visualization and select “Settings”. Select “Grid”...
  • Page 46 Getting started with example projects Example project for central I/O expansion > Set-up visualization Select “Frame” and make sure “WebVisu” is activated. 3ADR010649, 3, en_US 2023/03/03...
  • Page 47 Getting started with example projects Example project for central I/O expansion > Set-up visualization 1.5.8.7 Lamp element for signal indication In the CODESYS editor tool bar select Ellipse and adapt size, if required. Double-click on the ellipse to open the configuration. Select “Colors”...
  • Page 48 Getting started with example projects Example project for central I/O expansion > Set-up visualization Open Variables and left-click “Change color”. 3ADR010649, 3, en_US 2023/03/03...
  • Page 49 Getting started with example projects Example project for central I/O expansion > Set-up visualization Press [F2], this will open the “Input assistant”. In “DA501_Module_Mapping” select “xStartDrilling1” Select [OK] 2023/03/03 3ADR010649, 3, en_US...
  • Page 50 Getting started with example projects Example project for central I/O expansion > Set-up visualization 1.5.8.8 Compile the project Before logging-in to the CPU, you need to compile the complete code without any errors. In the CODESYS editor menu select “Project è Build” ð...
  • Page 51: Reset The Cpu

    Getting started with example projects Example project for central I/O expansion > Reset the CPU 1.5.8.10 Loading the project to the CPU Ä as described in Chapter 1.5.6 , on page 35. Download the project to the CPU 1.5.8.11 Test the program Operate the switches and observe the visualization screen.
  • Page 52: Example Project For Remote I/O Expansion With Profinet

    1.6.1 Preconditions ● Automation Builder is installed and licensed as, at least, standard edition. ● AC500 V2 CPU is assembled and connected to the PC Ä Chapter 1.4 “Hardware AC500 V2” on page 10. ● Configuration and programming of this example project will be made in the existing example Ä...
  • Page 53 Getting started with example projects Example project for remote I/O expansion with PROFINET > Set-up PROFINET controller Select [Replace object] to add the CM579-PNIO. 1.6.2.2 Set-up the general behavior Under “Extension_Bus”, double-click “CM579_PNIO” in the device tree. ð A tab opens in the editor view. 2023/03/03 3ADR010649, 3, en_US...
  • Page 54 Getting started with example projects Example project for remote I/O expansion with PROFINET > Set-up PROFINET controller Select “CM579-PNIO Parameters”. Select “Information”. ð This page contains general information about the CM579-PNIO. For the example project, you can keep the default settings. 1.6.2.3 Set-up the PROFINET IO controller To edit settings for the controller, you must not be logged-in to the PLC.
  • Page 55: Set-Up Profinet Device

    Getting started with example projects Example project for remote I/O expansion with PROFINET > Set-up PROFINET device Here, you can set-up the way, IP addresses are distributed out to the industrial bus net- work. You can even set, what IP-address and DNS name (station name) the PROFINET controller has.
  • Page 56 Getting started with example projects Example project for remote I/O expansion with PROFINET > Set-up PROFINET device Select “CI502-PNIO-Device”. Select [Add object] to add the device. 3ADR010649, 3, en_US 2023/03/03...
  • Page 57 Getting started with example projects Example project for remote I/O expansion with PROFINET > Set-up PROFINET device 1.6.3.3 Configure the CI502-PNIO device 1.6.3.3.1 Configure the CI502-PNIO PROFINET IO device Double-click “CI502_PNIO_Device”. ð A tab opens in the editor view. Select “PROFINET IO Device”. Station name Default station name Parameter Communication time set-up...
  • Page 58 Getting started with example projects Example project for remote I/O expansion with PROFINET > Set-up PROFINET device Set station name to e.g. "ci502-pn-0b" according to hardware settings. The last two values of the node’s “Station Name” in Automation Builder correspond to the position of module’s rotary switches (hexadecimal values): e.g., "ci502-pn-0a"...
  • Page 59: Add Remote I/O Expansion To Project

    Getting started with example projects Example project for remote I/O expansion with PROFINET > Add remote I/O expansion to project Select “PNIO Module I/O Mapping”. Fill in the variable names: Element Hardware channel Symbol Switch I5 CI502 DI8 xDI_08_CI502_I5 LED output DO8 CI502 DO 8 xDO_08_CI502 1.6.4 Add remote I/O expansion to project...
  • Page 60 Getting started with example projects Example project for remote I/O expansion with PROFINET > Add remote I/O expansion to project 1.6.4.2 Create POU logic In the CODESYS editor device tree double-click “_30_PNIO_test” Select “Assign” from Tools. Select “???” on the left side of the assignment, press [F2]. Select “Global Variables”.
  • Page 61 Getting started with example projects Example project for remote I/O expansion with PROFINET > Add remote I/O expansion to project Select [OK] 1.6.4.3 Call the POU in PLC_PRG In the CODESYS editor device tree double-click “PLC_PRG”. Select the next free line in “PLC_PRG” and press [F2]. ð...
  • Page 62: Test The Program

    Getting started with example projects Example project for remote I/O expansion with PROFINET > Test the program In the CODESYS editor menu select “Project è Build” ð The result of the compiling is shown in the “Messages” field at the bottom of the screen.
  • Page 63: Reset The Cpu

    Getting started with example projects Example project for remote I/O expansion with PROFINET > Reset the CPU Ä Chapter 1.5.8.1 “Starting the IEC 61131 programm editor CODESYS” Open CODESYS on page 40. In the CODESYS editor menu select “Online è Run” Alternatively, select the "run"...
  • Page 64: Further Information On Our Ac500 Portfolio

    After power supply off initialization no change 1.7 Further information on our AC500 portfolio ● PLC homepage: abb.com/plc ● PLC catalog as PDF: PLC catalog as PDF, and also as flipbook. ● Application examples ● Manual for Automation Builder and all AC500 products...
  • Page 65: Index

    Automation Builder and AC500 AC500 V2 products ....13, 52 log-in to a CPU ......35 PLC_PRG .
  • Page 66 Telephone: +49 (0)6221 701 1444 E-mail: plc.support@de.abb.com new.abb.com/plc new.abb.com/plc/automationbuilder new.abb.com/contact-centers — © Copyright 2020-2023 ABB. We reserve all rights in this document and in the information contained therein. Reproduction, use or disclosure to third parties without express authority is strictly forbidden.

Table of Contents