SlideShare a Scribd company logo
© ABB DC-Drives - 1 - 
8-Feb-11 
DCS800 
Jan Thoma 
DCS800 
ControlBuilder DCS800 
basic exercises 
DCS800 
built on DCS technology 
www.infoPLC.net
© ABB DEAPR/AWV - 2 - 
8-Feb-11 
Information 
 This presentation can be used for E-learning 
and for group presentations 
 The advanced exercises build up on the 
basic exercises
© ABB DEAPR/AWV - 3 - 
8-Feb-11 
Directory 
1. Information 
2. Installing ControlBuilder DCS800 
3. Desktop 
4. First steps 
5. Task settings 
6. Communication settings 
7. Communication to DCS800 
8. Second example (analog) 
9. Download 
10.Upload 
11.Delete
© ABB DEAPR/AWV - 4 - 
8-Feb-11 
1. PLC programming 
 ABB DC drives use the programming tool ControlBuilder 
DCS800 for programming applications 
 The ControlBuilder DCS800 is based on CoDeSys 
 CoDeSys is a hardware independent IEC 61131-3 
programming tool under Windows to create applications 
 The DCS800 target file and library are necessary to 
develop applications. By means of functions from the 
DCS800 library applications can be connected with the 
DCS800 firmware 
 Additional libraries offer advanced functions to support 
the application programming 
Back to directory
© ABB DEAPR/AWV - 5 - 
8-Feb-11 
2. Installing CoDeSys 
 CoDeSys is on the DCS800 Target Installation CD and 
delivered with every DCS800 
 Follow the setup wizard 
 Select your language 
 Updates can be downloaded from: 
www.3s-software.com 
Back to directory
© ABB DEAPR/AWV - 6 - 
8-Feb-11 
3. Desktop 
Menu bar 
Tool bar 
Object organizer 
Editor window 
Message window 
Back to directory 
Declaration window 
Window change
© ABB DEAPR/AWV - 7 - 
8-Feb-11 
4. First steps 
Memory Card (SDCS-MEM-8) for saving the application
© ABB DEAPR/AWV - 8 - 
8-Feb-11 
4. First steps 
Used software: 
 CoDeSys (version: 2.3.6.1) 
 DCS800 Target and DCS800 Library 
For online connection: 
 DCS800 unit (used firmware 80x150) 
 Memory Card (SDCS-MEM-8) 
 Serial cable (RS232) 
 If necessary: adapter …  RS232 
Back to directory
© ABB DEAPR/AWV - 9 - 
8-Feb-11 
4. Programming example 
 Read two DI’s 
 The signals are processed via an AND 
 The result is written to a DO 
Back to directory
© ABB DEAPR/AWV - 10 - 
8-Feb-11 
4. Create a new project 
 Start CoDeSys 
 e.g. via the CoDeSys icon 
 Create a new project 
 File  New 
Back to directory
© ABB DEAPR/AWV - 11 - 
8-Feb-11 
4. Select target 
 Select target 
 Select DCS800 
and click OK 
 The Target Settings of the DCS800 are correct and there 
is no need to modify them 
Back to directory
© ABB DEAPR/AWV - 12 - 
8-Feb-11 
4. Build a PLC_PRG in CFC 
 The name of the “main“ 
program must be 
PLC_PRG 
(POU = Program Organization Unit) 
 Programming language 
 Select CFC and click OK 
(CFC = Continuous Function Chart ) 
The other programming languages are: 
• IL : Instruction List 
• LD : Ladder Diagram 
• FBD : Function Block Diagram 
• SFC : Sequential Function Chart 
• ST : Structured Text 
Back to directory
© ABB DEAPR/AWV - 13 - 
8-Feb-11 
4. Program window 
 Now the first program window is open 
 In CFC comments can be inserted by 
 Insert  Comment 
Back to directory
© ABB DEAPR/AWV - 14 - 
8-Feb-11 
4. Save project 
 The project can be saved by 
 File  Save as ... 
 E.g.: 
 Type in name and 
click Save 
Back to directory
© ABB DEAPR/AWV - 15 - 
8-Feb-11 
4. Identification 
 To identify an application it is 
important to fill out the Project 
Information 
 Open Project Information by 
 Project  Project Info 
 Now fill in the following: 
 Title: DEABB_Appl. 
 Author: Your name 
 Version: Test1_Vers10 
 Description:Short description 
 Click OK 
 The fields Title and Version will 
be shown in parameter group 4. 
Back to directory
© ABB DEAPR/AWV - 16 - 
8-Feb-11 
4. DCS800 library 
1. Select tab Resources 
2. 
1. 
2. Double click on Library 
Manager 
3. Select DCS800lib.lib 
4. Existing function blocks 
of the DCS800 library 
3. 
4. 
Back to directory
© ABB DEAPR/AWV - 17 - 
8-Feb-11 
4. Change back to program window 
1. Select tab POU 
2. Double click on PLC_PRG to 
open the program window 
2. 
1. 
Back to directory
© ABB DEAPR/AWV - 18 - 
8-Feb-11 
4. Insert function blocks 
 Select the Box icon 
 Drag the Box into the Editor window. The inserted 
box will always be an AND - default setting. 
Back to directory
© ABB DEAPR/AWV - 19 - 
8-Feb-11 
4. Select the desired function 
 The first function to use is a DigIn 
(DCS800 library) 
 Mark AND by clicking on it 
 Get DigIn 
 Press F2 on the keyboard and select Standard Function blocks 
 Select DigIn 
 Select DigIn, click 
OK then press Enter 
( ) on the keyboard 
Back to directory
© ABB DEAPR/AWV - 20 - 
8-Feb-11 
4. Select and insert further functions 
 In the same way insert an AND and a DigOut 
Back to directory
© ABB DEAPR/AWV - 21 - 
8-Feb-11 
4. Declare function blocks 
 Click on the three question marks 
 Type in a name (Attention: no spaces allowed!) for the 
block, then press Enter ( ) on the keyboard 
 A pop-up window is opened 
 Click OK and the name will be saved 
 Declare the block DigOut the same way 
Back to directory
© ABB DEAPR/AWV - 22 - 
8-Feb-11 
4. Connect function blocks 
 To connect an output with an input start at the output 
 By pressing and holding the left mouse button drag the 
output line to an input and release the mouse button 
Back to directory
© ABB DEAPR/AWV - 23 - 
8-Feb-11 
4. Connect function blocks 
 Use the same method to make up all other connections 
between the function blocks 
Back to directory
© ABB DEAPR/AWV - 24 - 
8-Feb-11 
4. Insert the input 
 Insert the missing input: 
 Select the Input icon 
 Drag the Input into 
the Editor window 
and connect the Input 
with the DigOut 
Back to directory
© ABB DEAPR/AWV - 25 - 
8-Feb-11 
4. Declare the input value 
 Click on the three question marks 
 Type in a number for the Input, then press Enter ( ) on 
the keyboard 
By means of this Input the channel of the 
DO is selected 
In this example: 
1 for DO1 
Back to directory
Change back to 
tap Resources 
© ABB DEAPR/AWV - 26 - 
8-Feb-11 
5. Task configuration 
 Open the Task configuration 
by a double click 
 Open a new task 
 Insert  Append Task 
Back to directory
© ABB DEAPR/AWV - 27 - 
8-Feb-11 
5. Task configuration 
 Type in a name for this task 
(Attention: no spaces allowed!) 
 Declare the Event 
 Open the pull down menu and select e.g. 5 ms cycle 
Back to directory
© ABB DEAPR/AWV - 28 - 
8-Feb-11 
5. Task configuration 
 Connect a task 
 Insert  Append Program Call 
 Open the 
Input assistant 
3. Select the program 
 PLC_PRG and click OK 
Back to directory
© ABB DEAPR/AWV - 29 - 
8-Feb-11 
5. Build the project 
 Build a project 
 Project  Build 
 Make sure, that 
there are no errors 
and no warnings 
Back to directory
© ABB DEAPR/AWV - 30 - 
8-Feb-11 
6. Communication parameters 
 Set communication 
 Online  Communication Parameters… 
 To declare a new channel 
click on New… 
 Type in a name for the 
new channel 
 Click OK to accept 
Back to directory
© ABB DEAPR/AWV - 31 - 
8-Feb-11 
6. Communication parameters 
 Set the communication parameters like this: 
 Change the port, if COM1 is not used (see next slides!) 
 double click on COMx to change the COM port 
 Change the Baudrate, if applicable 
 double click on Baudrate to change the value 
 The Stop bits = 1 and Motorola byteorder = Yes 
 Click OK to accept 
Back to directory
© ABB DEAPR/AWV - 32 - 
8-Feb-11 
6. Possibilities for serial adapters 
If you don´t have a build in COM port 
 Use a PCMCIA adapter to COM port 
Back to directory
© ABB DEAPR/AWV - 33 - 
8-Feb-11 
6. Find out your communication channel 
 If you have a notebook without a build in COM port, you 
need PCMCIA adapter to COM port 
 Open the System Configuration on your PC 
 Start  Settings  Control Panel  System 
 Choose the Device Manager 
 Hardware  Device Manager 
 Have a look at the Ports (COM&LPT) 
 Notice your selected COM port 
Here USB Serial Port (COM3) 
This port is used for either DriveWindow Light or CoDeSys 
Back to directory
© ABB DEAPR/AWV - 34 - 
8-Feb-11 
7. Communication to DCS800 
 Connect PC and DCS800 
 Start communication with 
 Online  Login 
 Attention: the program is only downloaded into the 
DCS800 if the Memory Card is used and DriveWindow 
Light is offline. 
 Now the program is complied. If there are no warnings 
and no errors it is downloaded into the drive. 
 Start program with 
 Online  Run 
Back to directory
© ABB DEAPR/AWV - 35 - 
8-Feb-11 
7. Test program with hardware 
 The result of block DigOut is written into DO CtrlWord 
(7.05). Go get the value displayed on DO1 set 
DO1Index (14.01) = 705 and DO1BitNo (14.02) = 0. 
Result 
Settings for DO1 
Back to directory
© ABB DEAPR/AWV - 36 - 
8-Feb-11 
8. Second Example: Analog values 
 Read two AI’s 
 The signals are processed via a SUB 
 The result is written to an AO 
Back to directory
© ABB DEAPR/AWV - 37 - 
8-Feb-11 
8. Steps 
 Create a new project (see step 4) 
 Select target (see step 4) 
 Build a PLC_PRG in CFC (see step 4) 
 Insert function blocks (see step 4) 
 Declare and connect the function blocks (see step 4) 
 Insert and declare input (see step 4) 
 Task configuration (see step 5) 
 Build the project (see step 5) 
 Configure the communication parameters (sees step 6) 
 Test program with hardware (see next page) 
Back to directory
© ABB DEAPR/AWV - 38 - 
8-Feb-11 
8. Test program with hardware 
 The result of the calculation is written into CtrlWordAO1 
(15.02). To get the value displayed on AO1 set IndexAO1 
(15.01) = 1502. 
Result 
Back to directory 
Setting for AO1
© ABB DEAPR/AWV - 39 - 
8-Feb-11 
9. Up- and download of applications 
Back to directory
© ABB DEAPR/AWV - 40 - 
8-Feb-11 
9. Save an application on the Memory Card 
 Only when using the Memory Card (SDCS-MEM-8) all 
possibilities to handle the application are available 
 The code can be downloaded without saving. If the drive’s 
electronic is de-energized, the application is lost. 
 The code can be downloaded and saved on the Memory 
Card. If the drive’s electronic is de-energized, the 
application is automatically re-loaded at the next power up. 
 If the source code is saved on the Memory Card, it can be 
uploaded by means of CoDeSys 
 With DriveWindow Light it is also possible to download 
both the code and the source code into the drive 
Back to directory
© ABB DEAPR/AWV - 41 - 
8-Feb-11 
9. Possibilities 
Download (PC to DCS800) 
Upload (DCS800 to PC) 
CoDeSys 
DriveWindow Light CoDeSys 
With CoDeSys following files can be 
generated: 
PRG (program file) 
CHK (checksum file) 
SRC (source code) 
If the SRC-file is not downloaded 
other users cannot open the 
application! 
The application can be protected 
with a password by means of 
function block “ProgProtect”. 
Removing saved applications from the Memory 
Card is only possible by means of CoDeSys! 
Back to directory 
With DriveWindow Light it is 
possible to download all generated 
files into the Memory Card. 
The files can only be generated by 
means of CoDeSys. 
To download files via DriveWindow 
Light a knowledge of CoDeSys is 
not necessary! 
Only with CoDeSys it is possible to 
upload the source code (SRC-file) of 
an application from the Memory 
Card. 
To open the application the source 
code is needed! If only the PRG-and 
the CHK-files are saved it is not 
possible to open the application. 
If the application is protected with 
the function block “ProgProtect” 
password is needed for uploading 
the application!
© ABB DEAPR/AWV - 42 - 
8-Feb-11 
9. Saving with CoDeSys 
 Open a program for download 
 File  Open… 
 Choose the program 
and press Open 
 Built the program use F11 or 
 Project  Build 
 Connect the drive and go online 
 Online  Login  and Yes 
Back to directory
© ABB DEAPR/AWV - 43 - 
8-Feb-11 
9. Saving with CoDeSys 
 The program is downloading 
 Start the program use F5 or 
 Online  Run 
 The program is running now, 
but not saved jet! 
 To save the program a boot 
project has to be created 
 Online  Create boot project 
 The program was saved successfully, 
confirm with OK 
Back to directory
© ABB DEAPR/AWV - 44 - 
8-Feb-11 
9. Saving with CoDeSys 
Saving the source code on the 
Memory Card: 
 Download the source code 
 Online  Sourcecode download 
 Download process, 
 The download was successful, 
when the pop-up vanishes 
Back to directory
© ABB DEAPR/AWV - 45 - 
8-Feb-11 
9. Saving with DriveWindow Light 
 For service personal, not working with CoDeSys, it is 
possible to download applications with DWL 
 For example: 
An engineer has to commission a drive. He can´t work 
with CoDeSys, but he receives a program from the 
application center. 
Now he can download the program with DWL into the 
drive! 
Back to directory
© ABB DEAPR/AWV - 46 - 
8-Feb-11 
9. Generate files for DriveWindow Light 
 Logout 
 Online  Logout 
 Generate files 
 Online  Create boot project 
 The pass where to find the 
generated files is shown 
Back to directory
© ABB DEAPR/AWV - 47 - 
8-Feb-11 
9. Saving with DriveWindow Light 
Downloading the application program 
using DriveWindow Light: 
 Open DWL and connect the drive 
 Select Offline 
 Application Download 
 Tools  CoDeSys Application 
Download 
Back to directory
© ABB DEAPR/AWV - 48 - 
8-Feb-11 
9. Saving with DriveWindow Light 
 Click Select and choose a 
prg-File 
 Click Send 
 The download status 
is shown 
Back to directory
© ABB DEAPR/AWV - 49 - 
8-Feb-11 
9. Enable an application 
 To activate the application set: 
ParApplSave (16.06) = EnableAppl 
 If the drive is de-energized now, the application is not lost 
and will load the application when the drive is energized 
again 
 With ParApplSave (16.06) it is also possible to save all 
parameters on the Memory Card and load them into 
another drive 
Back to directory
© ABB DEAPR/AWV - 50 - 
8-Feb-11 
10. Upload an application 
 It is possible to upload a program with CoDeSys, if 
the program is not protected using the function block 
“ProgProtect”. If the program code is protected the 
password is needed. 
 It is possible to upload a source code with CoDeSys. 
The upload of the source code is only possible if the 
source code was downloaded before. 
 Upload by means of DriveWindow light is not 
possible at all 
Back to directory
© ABB DEAPR/AWV - 51 - 
8-Feb-11 
10. Upload a program 
 Create a new project 
 File  New 
 Select 
DCS800 as 
target and 
press OK 
 In New POU select OK 
 Connect the drive and go online 
 Online  Login  and No 
Back to directory
© ABB DEAPR/AWV - 52 - 
8-Feb-11 
10. Upload a program 
 Click 
 Online  Read file from PLC 
 Type into File name: 
DEFAULT.PRG 
 and save the program file 
 Type into File name: 
DEFAULT.CHK 
 and save the checksum file 
Back to directory
© ABB DEAPR/AWV - 53 - 
8-Feb-11 
10. Upload a program 
 Rename the files for better identification since it is not 
possible to have an other name for the upload 
 The files can be downloaded by means of CoDeSys or 
DriveWindow Light, see chapter 9 
Back to directory
© ABB DEAPR/AWV - 54 - 
8-Feb-11 
10. Upload the source code 
 Open a project 
 File  Open 
 Open project from PLC 
 Select 
DCS800 as 
target and 
press OK 
Back to directory
© ABB DEAPR/AWV - 55 - 
8-Feb-11 
10. Upload the source code 
 Set the 
communication 
parameters like 
this and click OK 
 Now the source code is 
downloaded 
 Save the program 
 Now it is possible to 
work with this project 
Back to directory
© ABB DEAPR/AWV - 56 - 
8-Feb-11 
11. Delete an application with CoDeSys 
Delete a program on the Memory 
Card with CoDeSys: 
 Click 
Online  Reset (Original) 
 Confirm with Yes 
 The program was deleted 
successfully, confirm with OK 
Back to directory
© ABB DEAPR/AWV - 57 - 
8-Feb-11 
DCS800 
Thank You for Your attention!
Info plc net_dcs800_controlbuilder_basic_exercises

More Related Content

What's hot

Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237Ashwini Awatare
 
Unit no 05
Unit no 05Unit no 05
Unit no 05
MohanChimanna
 
dma controller Direct Memory Access,The 8237 DMA Controller dma
dma controller Direct Memory Access,The 8237 DMA Controller dmadma controller Direct Memory Access,The 8237 DMA Controller dma
dma controller Direct Memory Access,The 8237 DMA Controller dma
AgathiSiva
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
saravanamanikandan02
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
MdFazleRabbi18
 
Centum VP - Evolution of Yokogawa System Solutions (2014)
Centum VP - Evolution of Yokogawa System Solutions (2014)Centum VP - Evolution of Yokogawa System Solutions (2014)
Centum VP - Evolution of Yokogawa System Solutions (2014)
Yokogawa
 
1.ppi 8255
1.ppi 8255 1.ppi 8255
1.ppi 8255
MdFazleRabbi18
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUS
Shivam Singh
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
Sanjay Saluth
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
Zubair Khalid
 
Foundation fieldbus technology
Foundation fieldbus technologyFoundation fieldbus technology
Foundation fieldbus technologyMohamed A Hakim
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259
MdFazleRabbi18
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessorslpapadop
 
ARM Cortex-M3 Training
ARM Cortex-M3 TrainingARM Cortex-M3 Training
ARM Cortex-M3 Training
Raghav Nayak
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HS
Shivam Singh
 
03 Mcu Day 2009 (C2000) 8 13 Editado
03   Mcu Day 2009 (C2000) 8 13   Editado03   Mcu Day 2009 (C2000) 8 13   Editado
03 Mcu Day 2009 (C2000) 8 13 EditadoTexas Instruments
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
Premier Farnell
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
Tuqa Rmahi
 

What's hot (20)

Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237
 
Unit no 05
Unit no 05Unit no 05
Unit no 05
 
dma controller Direct Memory Access,The 8237 DMA Controller dma
dma controller Direct Memory Access,The 8237 DMA Controller dmadma controller Direct Memory Access,The 8237 DMA Controller dma
dma controller Direct Memory Access,The 8237 DMA Controller dma
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
Centum VP - Evolution of Yokogawa System Solutions (2014)
Centum VP - Evolution of Yokogawa System Solutions (2014)Centum VP - Evolution of Yokogawa System Solutions (2014)
Centum VP - Evolution of Yokogawa System Solutions (2014)
 
1.ppi 8255
1.ppi 8255 1.ppi 8255
1.ppi 8255
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUS
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
Foundation fieldbus technology
Foundation fieldbus technologyFoundation fieldbus technology
Foundation fieldbus technology
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
 
Dma
DmaDma
Dma
 
ARM Cortex-M3 Training
ARM Cortex-M3 TrainingARM Cortex-M3 Training
ARM Cortex-M3 Training
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HS
 
03 Mcu Day 2009 (C2000) 8 13 Editado
03   Mcu Day 2009 (C2000) 8 13   Editado03   Mcu Day 2009 (C2000) 8 13   Editado
03 Mcu Day 2009 (C2000) 8 13 Editado
 
Lpc1768
Lpc1768Lpc1768
Lpc1768
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 

Viewers also liked

Ch3 v70 project_structure_en
Ch3 v70 project_structure_enCh3 v70 project_structure_en
Ch3 v70 project_structure_en
confidencial
 
integratedprocessandpowerautomation-110225095416-phpapp02 (1)
integratedprocessandpowerautomation-110225095416-phpapp02 (1)integratedprocessandpowerautomation-110225095416-phpapp02 (1)
integratedprocessandpowerautomation-110225095416-phpapp02 (1)Eiden Lai Cherhuat
 
Dcs course
Dcs courseDcs course
Dcs course
Mohamed A Hakim
 
DCS PRESENTATION
DCS PRESENTATIONDCS PRESENTATION
DCS PRESENTATION
bvent2005
 
Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System3abooodi
 

Viewers also liked (8)

Ch3 v70 project_structure_en
Ch3 v70 project_structure_enCh3 v70 project_structure_en
Ch3 v70 project_structure_en
 
integratedprocessandpowerautomation-110225095416-phpapp02 (1)
integratedprocessandpowerautomation-110225095416-phpapp02 (1)integratedprocessandpowerautomation-110225095416-phpapp02 (1)
integratedprocessandpowerautomation-110225095416-phpapp02 (1)
 
Ch8 v70 os_en
Ch8 v70 os_enCh8 v70 os_en
Ch8 v70 os_en
 
Dcs course
Dcs courseDcs course
Dcs course
 
Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System
 
DCS PRESENTATION
DCS PRESENTATIONDCS PRESENTATION
DCS PRESENTATION
 
DCS Or PLC
DCS Or PLCDCS Or PLC
DCS Or PLC
 
Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System
 

Similar to Info plc net_dcs800_controlbuilder_basic_exercises

Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...
Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...
Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...
Parth Gajjar
 
Micrcontroller iv sem lab manual
Micrcontroller iv sem lab manualMicrcontroller iv sem lab manual
Micrcontroller iv sem lab manual
RohiniHM2
 
15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory
Jabez Winston
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manual
Hari K
 
Top Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksTop Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and Tricks
DMC, Inc.
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubro
anoopc1998
 
Sap bw lo extraction
Sap bw lo extractionSap bw lo extraction
Sap bw lo extraction
Obaid shaikh
 
Bfc Presentation
Bfc PresentationBfc Presentation
Bfc Presentation
Herea Adrian
 
InduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIPInduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIP
AVEVA
 
Filter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveofficeFilter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveoffice
Emad S. Ahmed
 
visualbasicprograming
visualbasicprogramingvisualbasicprograming
visualbasicprogramingdhi her
 
Chapter 1.ppt
Chapter 1.pptChapter 1.ppt
Chapter 1.ppt
tadudemise
 
Ecet 365 Education Redefined - snaptutorial.com
Ecet 365    Education Redefined - snaptutorial.comEcet 365    Education Redefined - snaptutorial.com
Ecet 365 Education Redefined - snaptutorial.com
DavisMurphyC85
 
Readme
ReadmeReadme
Readme
rec2006
 
ECET 365 Exceptional Education / snaptutorial.com
ECET 365 Exceptional Education / snaptutorial.comECET 365 Exceptional Education / snaptutorial.com
ECET 365 Exceptional Education / snaptutorial.com
donaldzs109
 
process control instrumentation lab and labview report
process control  instrumentation lab and labview  reportprocess control  instrumentation lab and labview  report
process control instrumentation lab and labview report
Hari Krishna
 
PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).
PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).
PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).
N.A. Tecnologia
 
Ch2 embedded processors-i
Ch2 embedded processors-iCh2 embedded processors-i
Ch2 embedded processors-i
Ankit Shah
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
Abhiraj Bohra
 

Similar to Info plc net_dcs800_controlbuilder_basic_exercises (20)

Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...
Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...
Micro Processor & Micro Controller Practical Notes_Electrical Engineering GTU...
 
Micrcontroller iv sem lab manual
Micrcontroller iv sem lab manualMicrcontroller iv sem lab manual
Micrcontroller iv sem lab manual
 
15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manual
 
Top Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksTop Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and Tricks
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubro
 
Sap bw lo extraction
Sap bw lo extractionSap bw lo extraction
Sap bw lo extraction
 
Readme trainer
Readme trainerReadme trainer
Readme trainer
 
Bfc Presentation
Bfc PresentationBfc Presentation
Bfc Presentation
 
InduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIPInduSoft Web Studio Driver Overview – SITIA and ABCIP
InduSoft Web Studio Driver Overview – SITIA and ABCIP
 
Filter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveofficeFilter designandanalysisusingmicrowaveoffice
Filter designandanalysisusingmicrowaveoffice
 
visualbasicprograming
visualbasicprogramingvisualbasicprograming
visualbasicprograming
 
Chapter 1.ppt
Chapter 1.pptChapter 1.ppt
Chapter 1.ppt
 
Ecet 365 Education Redefined - snaptutorial.com
Ecet 365    Education Redefined - snaptutorial.comEcet 365    Education Redefined - snaptutorial.com
Ecet 365 Education Redefined - snaptutorial.com
 
Readme
ReadmeReadme
Readme
 
ECET 365 Exceptional Education / snaptutorial.com
ECET 365 Exceptional Education / snaptutorial.comECET 365 Exceptional Education / snaptutorial.com
ECET 365 Exceptional Education / snaptutorial.com
 
process control instrumentation lab and labview report
process control  instrumentation lab and labview  reportprocess control  instrumentation lab and labview  report
process control instrumentation lab and labview report
 
PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).
PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).
PV Elite 2019 Service Pack 2 (Version 21.00.02.0000).
 
Ch2 embedded processors-i
Ch2 embedded processors-iCh2 embedded processors-i
Ch2 embedded processors-i
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 

Recently uploaded

Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 
Steel & Timber Design according to British Standard
Steel & Timber Design according to British StandardSteel & Timber Design according to British Standard
Steel & Timber Design according to British Standard
AkolbilaEmmanuel1
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 

Recently uploaded (20)

Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 
Steel & Timber Design according to British Standard
Steel & Timber Design according to British StandardSteel & Timber Design according to British Standard
Steel & Timber Design according to British Standard
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 

Info plc net_dcs800_controlbuilder_basic_exercises

  • 1. © ABB DC-Drives - 1 - 8-Feb-11 DCS800 Jan Thoma DCS800 ControlBuilder DCS800 basic exercises DCS800 built on DCS technology www.infoPLC.net
  • 2. © ABB DEAPR/AWV - 2 - 8-Feb-11 Information  This presentation can be used for E-learning and for group presentations  The advanced exercises build up on the basic exercises
  • 3. © ABB DEAPR/AWV - 3 - 8-Feb-11 Directory 1. Information 2. Installing ControlBuilder DCS800 3. Desktop 4. First steps 5. Task settings 6. Communication settings 7. Communication to DCS800 8. Second example (analog) 9. Download 10.Upload 11.Delete
  • 4. © ABB DEAPR/AWV - 4 - 8-Feb-11 1. PLC programming  ABB DC drives use the programming tool ControlBuilder DCS800 for programming applications  The ControlBuilder DCS800 is based on CoDeSys  CoDeSys is a hardware independent IEC 61131-3 programming tool under Windows to create applications  The DCS800 target file and library are necessary to develop applications. By means of functions from the DCS800 library applications can be connected with the DCS800 firmware  Additional libraries offer advanced functions to support the application programming Back to directory
  • 5. © ABB DEAPR/AWV - 5 - 8-Feb-11 2. Installing CoDeSys  CoDeSys is on the DCS800 Target Installation CD and delivered with every DCS800  Follow the setup wizard  Select your language  Updates can be downloaded from: www.3s-software.com Back to directory
  • 6. © ABB DEAPR/AWV - 6 - 8-Feb-11 3. Desktop Menu bar Tool bar Object organizer Editor window Message window Back to directory Declaration window Window change
  • 7. © ABB DEAPR/AWV - 7 - 8-Feb-11 4. First steps Memory Card (SDCS-MEM-8) for saving the application
  • 8. © ABB DEAPR/AWV - 8 - 8-Feb-11 4. First steps Used software:  CoDeSys (version: 2.3.6.1)  DCS800 Target and DCS800 Library For online connection:  DCS800 unit (used firmware 80x150)  Memory Card (SDCS-MEM-8)  Serial cable (RS232)  If necessary: adapter …  RS232 Back to directory
  • 9. © ABB DEAPR/AWV - 9 - 8-Feb-11 4. Programming example  Read two DI’s  The signals are processed via an AND  The result is written to a DO Back to directory
  • 10. © ABB DEAPR/AWV - 10 - 8-Feb-11 4. Create a new project  Start CoDeSys  e.g. via the CoDeSys icon  Create a new project  File  New Back to directory
  • 11. © ABB DEAPR/AWV - 11 - 8-Feb-11 4. Select target  Select target  Select DCS800 and click OK  The Target Settings of the DCS800 are correct and there is no need to modify them Back to directory
  • 12. © ABB DEAPR/AWV - 12 - 8-Feb-11 4. Build a PLC_PRG in CFC  The name of the “main“ program must be PLC_PRG (POU = Program Organization Unit)  Programming language  Select CFC and click OK (CFC = Continuous Function Chart ) The other programming languages are: • IL : Instruction List • LD : Ladder Diagram • FBD : Function Block Diagram • SFC : Sequential Function Chart • ST : Structured Text Back to directory
  • 13. © ABB DEAPR/AWV - 13 - 8-Feb-11 4. Program window  Now the first program window is open  In CFC comments can be inserted by  Insert  Comment Back to directory
  • 14. © ABB DEAPR/AWV - 14 - 8-Feb-11 4. Save project  The project can be saved by  File  Save as ...  E.g.:  Type in name and click Save Back to directory
  • 15. © ABB DEAPR/AWV - 15 - 8-Feb-11 4. Identification  To identify an application it is important to fill out the Project Information  Open Project Information by  Project  Project Info  Now fill in the following:  Title: DEABB_Appl.  Author: Your name  Version: Test1_Vers10  Description:Short description  Click OK  The fields Title and Version will be shown in parameter group 4. Back to directory
  • 16. © ABB DEAPR/AWV - 16 - 8-Feb-11 4. DCS800 library 1. Select tab Resources 2. 1. 2. Double click on Library Manager 3. Select DCS800lib.lib 4. Existing function blocks of the DCS800 library 3. 4. Back to directory
  • 17. © ABB DEAPR/AWV - 17 - 8-Feb-11 4. Change back to program window 1. Select tab POU 2. Double click on PLC_PRG to open the program window 2. 1. Back to directory
  • 18. © ABB DEAPR/AWV - 18 - 8-Feb-11 4. Insert function blocks  Select the Box icon  Drag the Box into the Editor window. The inserted box will always be an AND - default setting. Back to directory
  • 19. © ABB DEAPR/AWV - 19 - 8-Feb-11 4. Select the desired function  The first function to use is a DigIn (DCS800 library)  Mark AND by clicking on it  Get DigIn  Press F2 on the keyboard and select Standard Function blocks  Select DigIn  Select DigIn, click OK then press Enter ( ) on the keyboard Back to directory
  • 20. © ABB DEAPR/AWV - 20 - 8-Feb-11 4. Select and insert further functions  In the same way insert an AND and a DigOut Back to directory
  • 21. © ABB DEAPR/AWV - 21 - 8-Feb-11 4. Declare function blocks  Click on the three question marks  Type in a name (Attention: no spaces allowed!) for the block, then press Enter ( ) on the keyboard  A pop-up window is opened  Click OK and the name will be saved  Declare the block DigOut the same way Back to directory
  • 22. © ABB DEAPR/AWV - 22 - 8-Feb-11 4. Connect function blocks  To connect an output with an input start at the output  By pressing and holding the left mouse button drag the output line to an input and release the mouse button Back to directory
  • 23. © ABB DEAPR/AWV - 23 - 8-Feb-11 4. Connect function blocks  Use the same method to make up all other connections between the function blocks Back to directory
  • 24. © ABB DEAPR/AWV - 24 - 8-Feb-11 4. Insert the input  Insert the missing input:  Select the Input icon  Drag the Input into the Editor window and connect the Input with the DigOut Back to directory
  • 25. © ABB DEAPR/AWV - 25 - 8-Feb-11 4. Declare the input value  Click on the three question marks  Type in a number for the Input, then press Enter ( ) on the keyboard By means of this Input the channel of the DO is selected In this example: 1 for DO1 Back to directory
  • 26. Change back to tap Resources © ABB DEAPR/AWV - 26 - 8-Feb-11 5. Task configuration  Open the Task configuration by a double click  Open a new task  Insert  Append Task Back to directory
  • 27. © ABB DEAPR/AWV - 27 - 8-Feb-11 5. Task configuration  Type in a name for this task (Attention: no spaces allowed!)  Declare the Event  Open the pull down menu and select e.g. 5 ms cycle Back to directory
  • 28. © ABB DEAPR/AWV - 28 - 8-Feb-11 5. Task configuration  Connect a task  Insert  Append Program Call  Open the Input assistant 3. Select the program  PLC_PRG and click OK Back to directory
  • 29. © ABB DEAPR/AWV - 29 - 8-Feb-11 5. Build the project  Build a project  Project  Build  Make sure, that there are no errors and no warnings Back to directory
  • 30. © ABB DEAPR/AWV - 30 - 8-Feb-11 6. Communication parameters  Set communication  Online  Communication Parameters…  To declare a new channel click on New…  Type in a name for the new channel  Click OK to accept Back to directory
  • 31. © ABB DEAPR/AWV - 31 - 8-Feb-11 6. Communication parameters  Set the communication parameters like this:  Change the port, if COM1 is not used (see next slides!)  double click on COMx to change the COM port  Change the Baudrate, if applicable  double click on Baudrate to change the value  The Stop bits = 1 and Motorola byteorder = Yes  Click OK to accept Back to directory
  • 32. © ABB DEAPR/AWV - 32 - 8-Feb-11 6. Possibilities for serial adapters If you don´t have a build in COM port  Use a PCMCIA adapter to COM port Back to directory
  • 33. © ABB DEAPR/AWV - 33 - 8-Feb-11 6. Find out your communication channel  If you have a notebook without a build in COM port, you need PCMCIA adapter to COM port  Open the System Configuration on your PC  Start  Settings  Control Panel  System  Choose the Device Manager  Hardware  Device Manager  Have a look at the Ports (COM&LPT)  Notice your selected COM port Here USB Serial Port (COM3) This port is used for either DriveWindow Light or CoDeSys Back to directory
  • 34. © ABB DEAPR/AWV - 34 - 8-Feb-11 7. Communication to DCS800  Connect PC and DCS800  Start communication with  Online  Login  Attention: the program is only downloaded into the DCS800 if the Memory Card is used and DriveWindow Light is offline.  Now the program is complied. If there are no warnings and no errors it is downloaded into the drive.  Start program with  Online  Run Back to directory
  • 35. © ABB DEAPR/AWV - 35 - 8-Feb-11 7. Test program with hardware  The result of block DigOut is written into DO CtrlWord (7.05). Go get the value displayed on DO1 set DO1Index (14.01) = 705 and DO1BitNo (14.02) = 0. Result Settings for DO1 Back to directory
  • 36. © ABB DEAPR/AWV - 36 - 8-Feb-11 8. Second Example: Analog values  Read two AI’s  The signals are processed via a SUB  The result is written to an AO Back to directory
  • 37. © ABB DEAPR/AWV - 37 - 8-Feb-11 8. Steps  Create a new project (see step 4)  Select target (see step 4)  Build a PLC_PRG in CFC (see step 4)  Insert function blocks (see step 4)  Declare and connect the function blocks (see step 4)  Insert and declare input (see step 4)  Task configuration (see step 5)  Build the project (see step 5)  Configure the communication parameters (sees step 6)  Test program with hardware (see next page) Back to directory
  • 38. © ABB DEAPR/AWV - 38 - 8-Feb-11 8. Test program with hardware  The result of the calculation is written into CtrlWordAO1 (15.02). To get the value displayed on AO1 set IndexAO1 (15.01) = 1502. Result Back to directory Setting for AO1
  • 39. © ABB DEAPR/AWV - 39 - 8-Feb-11 9. Up- and download of applications Back to directory
  • 40. © ABB DEAPR/AWV - 40 - 8-Feb-11 9. Save an application on the Memory Card  Only when using the Memory Card (SDCS-MEM-8) all possibilities to handle the application are available  The code can be downloaded without saving. If the drive’s electronic is de-energized, the application is lost.  The code can be downloaded and saved on the Memory Card. If the drive’s electronic is de-energized, the application is automatically re-loaded at the next power up.  If the source code is saved on the Memory Card, it can be uploaded by means of CoDeSys  With DriveWindow Light it is also possible to download both the code and the source code into the drive Back to directory
  • 41. © ABB DEAPR/AWV - 41 - 8-Feb-11 9. Possibilities Download (PC to DCS800) Upload (DCS800 to PC) CoDeSys DriveWindow Light CoDeSys With CoDeSys following files can be generated: PRG (program file) CHK (checksum file) SRC (source code) If the SRC-file is not downloaded other users cannot open the application! The application can be protected with a password by means of function block “ProgProtect”. Removing saved applications from the Memory Card is only possible by means of CoDeSys! Back to directory With DriveWindow Light it is possible to download all generated files into the Memory Card. The files can only be generated by means of CoDeSys. To download files via DriveWindow Light a knowledge of CoDeSys is not necessary! Only with CoDeSys it is possible to upload the source code (SRC-file) of an application from the Memory Card. To open the application the source code is needed! If only the PRG-and the CHK-files are saved it is not possible to open the application. If the application is protected with the function block “ProgProtect” password is needed for uploading the application!
  • 42. © ABB DEAPR/AWV - 42 - 8-Feb-11 9. Saving with CoDeSys  Open a program for download  File  Open…  Choose the program and press Open  Built the program use F11 or  Project  Build  Connect the drive and go online  Online  Login  and Yes Back to directory
  • 43. © ABB DEAPR/AWV - 43 - 8-Feb-11 9. Saving with CoDeSys  The program is downloading  Start the program use F5 or  Online  Run  The program is running now, but not saved jet!  To save the program a boot project has to be created  Online  Create boot project  The program was saved successfully, confirm with OK Back to directory
  • 44. © ABB DEAPR/AWV - 44 - 8-Feb-11 9. Saving with CoDeSys Saving the source code on the Memory Card:  Download the source code  Online  Sourcecode download  Download process,  The download was successful, when the pop-up vanishes Back to directory
  • 45. © ABB DEAPR/AWV - 45 - 8-Feb-11 9. Saving with DriveWindow Light  For service personal, not working with CoDeSys, it is possible to download applications with DWL  For example: An engineer has to commission a drive. He can´t work with CoDeSys, but he receives a program from the application center. Now he can download the program with DWL into the drive! Back to directory
  • 46. © ABB DEAPR/AWV - 46 - 8-Feb-11 9. Generate files for DriveWindow Light  Logout  Online  Logout  Generate files  Online  Create boot project  The pass where to find the generated files is shown Back to directory
  • 47. © ABB DEAPR/AWV - 47 - 8-Feb-11 9. Saving with DriveWindow Light Downloading the application program using DriveWindow Light:  Open DWL and connect the drive  Select Offline  Application Download  Tools  CoDeSys Application Download Back to directory
  • 48. © ABB DEAPR/AWV - 48 - 8-Feb-11 9. Saving with DriveWindow Light  Click Select and choose a prg-File  Click Send  The download status is shown Back to directory
  • 49. © ABB DEAPR/AWV - 49 - 8-Feb-11 9. Enable an application  To activate the application set: ParApplSave (16.06) = EnableAppl  If the drive is de-energized now, the application is not lost and will load the application when the drive is energized again  With ParApplSave (16.06) it is also possible to save all parameters on the Memory Card and load them into another drive Back to directory
  • 50. © ABB DEAPR/AWV - 50 - 8-Feb-11 10. Upload an application  It is possible to upload a program with CoDeSys, if the program is not protected using the function block “ProgProtect”. If the program code is protected the password is needed.  It is possible to upload a source code with CoDeSys. The upload of the source code is only possible if the source code was downloaded before.  Upload by means of DriveWindow light is not possible at all Back to directory
  • 51. © ABB DEAPR/AWV - 51 - 8-Feb-11 10. Upload a program  Create a new project  File  New  Select DCS800 as target and press OK  In New POU select OK  Connect the drive and go online  Online  Login  and No Back to directory
  • 52. © ABB DEAPR/AWV - 52 - 8-Feb-11 10. Upload a program  Click  Online  Read file from PLC  Type into File name: DEFAULT.PRG  and save the program file  Type into File name: DEFAULT.CHK  and save the checksum file Back to directory
  • 53. © ABB DEAPR/AWV - 53 - 8-Feb-11 10. Upload a program  Rename the files for better identification since it is not possible to have an other name for the upload  The files can be downloaded by means of CoDeSys or DriveWindow Light, see chapter 9 Back to directory
  • 54. © ABB DEAPR/AWV - 54 - 8-Feb-11 10. Upload the source code  Open a project  File  Open  Open project from PLC  Select DCS800 as target and press OK Back to directory
  • 55. © ABB DEAPR/AWV - 55 - 8-Feb-11 10. Upload the source code  Set the communication parameters like this and click OK  Now the source code is downloaded  Save the program  Now it is possible to work with this project Back to directory
  • 56. © ABB DEAPR/AWV - 56 - 8-Feb-11 11. Delete an application with CoDeSys Delete a program on the Memory Card with CoDeSys:  Click Online  Reset (Original)  Confirm with Yes  The program was deleted successfully, confirm with OK Back to directory
  • 57. © ABB DEAPR/AWV - 57 - 8-Feb-11 DCS800 Thank You for Your attention!