Vous êtes sur la page 1sur 26

Scalable PLC AC500

Summary AC500
First Project
Basic module
ABB Group
7/14/15 | Slide 1

From Project Draft up to Online Test


Content

ABB Group
7/14/15 | Slide 2

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

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 3

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

First Project
Start a New Project
Required: the hardware and ABB Configurator are
completely installed and ready for operation
1.

Start ABB Configurator

2.

3.

Select the CPU

Rename project

4. Location for save


ABB Group
7/14/15 | Slide 4

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 5

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

First Project
Defining the PLC Configuration (1)
1. Right-Click I/O-Bus

ABB Group
7/14/15 | Slide 6

2.

ADD Device

3.

Select the appropriate


device

First Project
Defining the PLC Configuration (2)
1. Configure the device parameters

2. Enter the symbolic names

ABB Group
7/14/15 | Slide 7

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 8

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

First Project
Start CoDeSys

Start CoDeSys direct in ABB Configurator


1. Double-Click AC500_1

ABB Group
7/14/15 | Slide 9

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 10

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

First Project
Declare Variables and Create a Program

Control Builder demonstration performed


by the trainer in FDB or preferred editor

ABB Group
7/14/15 | Slide 11

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 12

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

First Project
Compile and Save
1. Select Project from the top menu, then Build
2. Ensure the project has compiled without errors
At this point the program syntax is verified. All
required libraries are loaded.
3. Click on the Save icon close CoDeSys

4. Click on the Save

ABB Group
7/14/15 | Slide 13

First Project
Compile and Save

Save Project ABB Configurator

1. Click on the Save

Save Project As

2. Or Save As

ABB Group
7/14/15 | Slide 14

First Project
Compile and Save

Save Project archive

Add .lib or .bmp

ABB Group
7/14/15 | Slide 15

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 16

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

First Project
Communication via COM1/2, Ethernet and FBP possible
FBP

Ethernet

Online access
RS232

Online access

by using
cable UTF21-FBP

UDP/IP

Will be further
considered

TCP/IP
MODBUS

COM1

COM2

Online access
RS232

Online access
RS232
MODBUS

MODBUS
ASCII
CS31 fieldbus
SysLibCom
Multi-Protocol

ABB Group
7/14/15 | Slide 17

ASCII
SysLibCom
Multi-Protocol

First Project
Communication Setup Serial (1)
1.

2.

Select Online, Communication Parameters

Choose Serial (RS232) option


Port - COM1 or the correct port the USB
converter is set to
Baudrate 19200 (hardware default)
Parity - No
Stop Bit 1 (default)
Motorola byteorder Yes

ABB Group
7/14/15 | Slide 18

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 19

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

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
7/14/15 | Slide 20

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 21

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

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
7/14/15 | Slide 22

From Project Draft up to Online Test


Coming up

ABB Group
7/14/15 | Slide 23

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

First Project
Program Test
Program test

Devoid of PLC

Simulation mode

When using PLC

Test with real inputs


and outputs

Demonstration performed by the trainer


ABB Group
7/14/15 | 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
7/14/15 | Slide 25

ABB Group
7/14/15 | Slide 26

Vous aimerez peut-être aussi