ac500 ps501 basic first projects rev 3 0
DESCRIPTION
Programação AC500 ABBTRANSCRIPT
First Project
ABB Group March 29, 2011 | Slide 1Summary AC500 First Project Basic moduleScalable PLC AC500
1Sehr geehrte Damen und Herren
ABB Group March 29, 2011 | Slide 2Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionalityFrom Project Draft up to Online TestContent
2 ABB Group March 29, 2011 | Slide 3From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality3 ABB Group March 29, 2011 | Slide 4Required: the hardware and ABB Configurator are completely installed and ready for operationStart ABB ConfiguratorFirst Project Start a New Project
3. Rename project 2. Select the CPU 4. Location for save4 ABB Group March 29, 2011 | Slide 5From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality5 ABB Group March 29, 2011 | Slide 6
ADD Device First Project Defining the PLC Configuration (1)1. Right-Click I/O-Bus
Select the appropriate device 6 ABB Group March 29, 2011 | Slide 7Enter the symbolic namesFirst Project Defining the PLC Configuration (2)
1. Configure the device parameters
7 ABB Group March 29, 2011 | Slide 8From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality8 ABB Group March 29, 2011 | Slide 9First Project Start CoDeSysStart CoDeSys direct in ABB Configurator
1. Double-Click AC500_1 ABB Group March 29, 2011 | Slide 10From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality10 ABB Group March 29, 2011 | Slide 11Control Builder demonstration performed by the trainer in FDB or preferred editor
First Project Declare Variables and Create a Program11 ABB Group March 29, 2011 | Slide 12From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality12 ABB Group March 29, 2011 | Slide 13
Select Project from the top menu, then BuildAt this point the program syntax is verified. Allrequired libraries are loaded.4. Click on the SaveEnsure the project has compiled without errorsFirst Project Compile and Save
Click on the Save icon close CoDeSys13 ABB Group March 29, 2011 | Slide 14First Project Compile and SaveSave Project ABB Configurator
Save Project As
1. Click on the Save2. Or Save As ABB Group March 29, 2011 | Slide 15First Project Compile and SaveSave Project archive
Add .lib or .bmp ABB Group March 29, 2011 | Slide 16From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality16 ABB Group March 29, 2011 | Slide 17
COM1Online access RS232
MODBUSASCIICS31 fieldbusSysLibComMulti-ProtocolCOM2Online accessRS232MODBUSASCIISysLibComMulti-ProtocolFBPOnline access RS232 by using cable UTF21-FBPWill be further consideredFirst Project Communication via COM1/2, Ethernet and FBP possibleEthernetOnline accessTCP/IPUDP/IPMODBUS17 ABB Group March 29, 2011 | Slide 18
Port - COM1 or the correct port the USB converter is set toBaudrate 19200 (hardware default)Parity - NoStop Bit 1 (default)Motorola byteorder YesChoose Serial (RS232) optionFirst Project Communication Setup Serial (1)Select Online, Communication Parameters18 ABB Group March 29, 2011 | Slide 19From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality19 ABB Group March 29, 2011 | Slide 20Selecting YES will load the entire program. PLC goes to STOP mode.
Message window pops up when SYSTEM changes were made.Save the program in Flash EPROM by selecting Create boot project.Required: the PLC has to be connected to the PC via selected communication portFirst Project Login and Creation of Boot ProjectSelect Online, Login20 ABB Group March 29, 2011 | Slide 21From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality21 ABB Group March 29, 2011 | Slide 22
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 processingFirst Project Project Start22 ABB Group March 29, 2011 | Slide 23From Project Draft up to Online TestComing up
Start a new project, select target controller typeDefine the PLC configuration and variables according to hardwareSelect a program editor Declare the variables and create the control project softwareCompile and save the project Setup the communication port Login, download and create a boot projectStart the projectTest the functionality23 ABB Group March 29, 2011 | Slide 24Devoid of PLCSimulation modeWhen using PLCTest with real inputs and outputs Program test Demonstration performed by the trainer First Project Program Test24 ABB Group March 29, 2011 | Slide 25Cross-References to Documentation (2)ABB Configurator online Help \ 1.1.2 Overview of Commands of ABB Configurator
CoDeSys Help\Target System\AC500 / S500-FBP\Introduction\Getting Started\ Getting started AC500
25To help you to find more information and details on the subject of this presentation,Please, check the following documentation: AC500 System Technology of the CPU ABB Group March 29, 2011 | Slide 26
26