Scalable PLC AC500
Summary AC500
First Project
Basic module
© ABB Group – Version 3.1 (2011-04)
Technical Guides
From Project Draft up to Online Test
Content
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 2
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 3
First Project
Start a New Project
Required: The hardware and ABB Configurator are
completely installed and ready for operation
1. Start ABB Configurator
2. Select the CPU
3. Rename project
4. Location for save
© ABB Group
March 11, 2013 | Slide 4
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 5
First Project
Defining the PLC Configuration (1)
1. Right-Click “I/O-Bus”
2. “Add Device“
3. Select the appropriate
device
© ABB Group
March 11, 2013 | Slide 6
First Project
Defining the PLC Configuration (2)
1. Configure the device parameters
2. Enter the symbolic names
© ABB Group
March 11, 2013 | Slide 7
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 8
First Project
Start CoDeSys
Start CoDeSys direct in ABB Configurator
1. Double-Click “AC500_1”
© ABB Group
March 11, 2013 | Slide 9
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 10
First Project
Declare Variables and Create a Program
Control Builder demonstration performed
by the trainer in FDB or preferred editor
© ABB Group
March 11, 2013 | Slide 11
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 12
First Project
Compile and Save
1. Select “Project” from the top menu, then “Build”
2. Ensure the project has been compiled without errors
At this point the program syntax is verified. All
required libraries are loaded.
3. Click on the “Save” icon
4. Close CoDeSys
5. Click on the “Save” icon
© ABB Group
March 11, 2013 | Slide 13
First Project
Compile and Save
Save Project ABB Configurator
1. Click on the “Save” icon
Save Project As
2. Or “Save As”
© ABB Group
March 11, 2013 | Slide 14
First Project
Compile and Save
Save Project archive
Add “.lib or .bmp …”
© ABB Group
March 11, 2013 | Slide 15
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 16
First Project
Communication via COM1/2, Ethernet and FBP possible
FBP Ethernet
Online access Online access
RS232
TCP/IP
by using UDP/IP
cable UTF21-FBP
MODBUS
Will be further
considered
COM1 COM2
Online access Online access
RS232 RS232
MODBUS
MODBUS ASCII
ASCII
SysLibCom
CS31 fieldbus
Multi-Protocol
SysLibCom
Multi-Protocol
© ABB Group
March 11, 2013 | Slide 17
First Project
Communication Setup Serial (1)
1. Select “Online“, “Communication Parameters“
2. Choose Serial (RS232) option
Port - COM1 or the correct port the USB
converter is set to
Baud rate – 19200 (hardware default)
Parity - No
Stop Bit – 1 (default)
Motorola byte order – Yes
© ABB Group
March 11, 2013 | Slide 18
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 19
First Project
Login and Creation of Boot Project
Required: The PLC has to be connected to the PC via selected communication port
1. Select “Online“, “Login“
Message window pops up when SYSTEM
changes were made.
Selecting YES will load the entire program.
PLC goes to STOP mode.
2. Save the program in Flash EPROM by
selecting “Create boot project”.
© ABB Group
March 11, 2013 | Slide 20
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 21
First Project
Project Start
1. Select “Online“ and “Run“
or press “RUN“ key on
CPU keyboard
2. Message “RUNNING” in the
status line placed in the right
down corner of the screen
indicates the program processing
© ABB Group
March 11, 2013 | Slide 22
From Project Draft up to Online Test
Coming up
Start a new project, select target controller type
Define the PLC configuration and variables
according to hardware
Select a program editor
Declare the variables and create the control
project software
Compile and save the project
Setup the communication port
Login, download and create a boot project
Start the project
Test the functionality
© ABB Group
March 11, 2013 | Slide 23
First Project
Program Test
Program test
When using PLC
Devoid of PLC
Test with real inputs
Simulation mode
and outputs
Demonstration performed by the trainer
© ABB Group
March 11, 2013 | Slide 24
Cross-References to Documentation (2)
1. ABB Configurator online Help \ 1.1.2 Overview of
Commands of ABB Configurator
2. CoDeSys Help\Target System\
AC500 / S500-FBP\
Introduction\
Getting Started\
Getting started AC500
© ABB Group
March 11, 2013 | Slide 25
© ABB Group
March 11, 2013 | Slide 26