Page 1
Getting Started with AC500-eCo Starter-Kit ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 1 -...
Page 2
About this heft: This is an introduction to descript how to use the AC500-eCo Starter-Kit. For further information about the AC500-eCo please refers to the system date of the AC500. Chapter 1 Starter-Kit Descriptions: describes the contents of the AC500-eCo Starter-Kit, a short information of the hardware and how to mounting the Starter-Kit.
About this heft: .......................- 2 - 1. AC500-eCo Starter-Kit Description ................- 4 - 1.1 General Information about the AC500-eCo Starter-Kit ..........- 4 - 1.2 Mounting of the AC500-eCo Starter-Kit ..............- 5 - 1.3 Installation the PS501 Control Builder ................- 7 - 2.
4. A 5 poles terminal block for the power supply; 5. Software installs CD with the technical information AC500 in PDF and the getting started program examples; 6. Getting Started heft for AC500-eCo Starter-Kit (this heft); 7. AC500 brochure 8. Screw driver Short introduction about the CPU PM554-R: Power Supply: 100-240V AC;...
1.2 Mounting of the AC500-eCo Starter-Kit 1. Wiring of the CPU Power Supply Failure to heed precaution can result in injury to people or product to property. CAUTION Be sure that the CPU is in STOP mode. The supply voltage 100~240V AC is connected to a 5-pole removable terminal block.
Page 6
Figure 2 Wiring of the PM554-R onboard digital outputs (source) 3. Connect the PLC with your PC TK503 Programming cable Figure 3 PLC connect the PC with programming cable 4. Install the drive of the USB cable ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 6 -...
1). During the installation of the programming software, the communication drivers and the OPC server are installed as well. The following system requirements must be fulfilled: - Windows 2000 or Windows XP - Internet Explorer 4.01 ("Version 4.72.2106.7" or higher) Registry: HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Version ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 7 -...
After the program test, the application can be downloaded to the control system. Sampling trace Timing diagrams for process variables and storage of data in a ring buffer with event trigger. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 8 -...
Page 9
Visual Source Safe, can be used in order to ensure data consistency of the program code for several different users and projects. • Comprehensive libraries. • Windows 32-bit standard. • Operating systems Windows 2000 and XP. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 9 -...
POUs can be accessed from the same point (programs, function blocks and functions). PS501 Control Builder provides extensive online help. Use the Help button of the menu bar or press F1 to obtain the information. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 10 -...
ObDI05 Motor reversing with SB4 Switch SB3 to start the motor reversing rotation ObDO03 Motor forward KM4 Motor is forward ObDO04 Motor reversing KM5 Motor is reversing Need circuit diagram ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 11 -...
Page 12
2. Open the program “Motor” from the CD Click on the open folder button: in the Tool bar or click “file/open” and select the program “Motor.pro”. After that the program has been downloaded into your PC. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 12 -...
Page 13
TON36. 4. Setting the communication Parameters In order to send the program out of the PC we have to define the PC interface settings. Select the menu item "Online/Communication Parameters". ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 13 -...
Page 14
Now we can download the program to the PLC. Change the RUN/STOP switch to the RUN mode. First we have to load the program to the controller. To do this, select the menu item “Online/Login”. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 14 -...
Page 15
After the program run, the status of the onboard digital outputs will be changed. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 15 -...
Page 16
After 15 seconds start the triangle initialization. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 16 -...
Page 17
After that the motor can forward rotation. Or reversing. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 17 -...
In this example, we use the programming language FBD. 3.2.1 Creating a new Project 1. Open the Software 1.Open the PS501 Control Builder software: Start Program 3S Software CoDeSys V2.3 CoDeSys V2.3 2. Create the new project ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 18 -...
You have finish to open a new project. 3.2.2 Saving the Project to the PC Before designing, we should save the project, click the shortcut “Save” on the top of the window, or go to menu: “File/Save”. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 19 -...
Use the same procedure like above for the rest necessary inputs and outputs. Choose the I05 for Input5, O00 and O01 for Output0 and Output1. Now you finish the AC500 basic set-up. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 20 -...
“0001” and click the right mouse button, select “network (after)”, you can now program in second network . after click shows Then you have 0002 as the second network after the first network: 0001. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 21 -...
You can also insert your comment with click the right mouse button, select “Comment”. 3.2.5 Compiling the Project The definition of the project is now completed and the project can be built. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 22 -...
PC interface settings. Select the menu item "Online/Communication Parameters". In the "Communication Parameters" dialog window, click on the "Gateway" button and then follow the steps below: Confirm your settings with "OK". ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 23 -...
Before you download the program to the PLC, change the RUN/STOP switch to the RUN mode. First we have to load the program to the controller. To do this, select the menu item “Online/Login”. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 24 -...
Object Organizer. In order to create a visualization object in the Object Organizer, you must select the register card for in the Object Organizer. 2. Enter the visualization element: ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 25 -...
Page 26
To write the comments on the element. When I04 change the status, change this element’s color Set the communication between this element and I04. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 26 -...
Page 27
In category Variables: enter “.O00” instead of “.I04”; Use red as inside color and choose green as the alarm color. Using the same procedure for OutputO01.Then we finish our program. Red means Outputs are now 0. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 27 -...
When you put the 6. switch of the simulator from STOP mode to RUN mode (e.g. I05 from 0 to 1), you will also see the changes like the figure above. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 28 -...
3.2.11 Exit the Software To exit the software, select the menu item "File/Exit". But before that you must logout. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 29 -...
Any type of variable Comparison Operators Greater than BOOL,BYTE,WORD,DWORD,SINT,USI NT,INT,UINT,DINT,UDINT,REAL,LREA L,TIME,DATE,TIME_OF_DAY, DATE_AND_TIME and STRING Less than BOOL,BYTE,WORD,DWORD,SINT,USI NT,INT,UINT,DINT,UDINT,REAL,LREA L,TIME,DATE,TIME_OF_DAY, DATE_AND_TIME and STRING Less than or equal to BOOL,BYTE,WORD,DWORD,SINT,USI NT,INT,UINT,DINT,UDINT,REAL,LREA L,TIME,DATE,TIME_OF_DAY, DATE_AND_TIME and STRING ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 30 -...
Page 31
INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT must be type REAL. Returns the exponential function. IN can be BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT must be type REAL. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 31 -...
Page 32
The INI operator can be used to initialize The operator must be assigned to a retain variables which are provided by a boolean variable. function block instance used in the POU. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 32 -...
AI563 4 / 0 – 1TNE968902R1103 range : ±80 mV The Starter-Kit Type Description Order Number Starter-Kit CPU: PM554-R, AC power supply, TK503 programming cable, PS501 Control Builder software for Starter-Kit ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 33 -...
Error in the periphery (e.g. I/O) which only Short-circuit at an I/O can have influence in the future. The user module, the battery is should decide the reaction to provide. exhausted or not inserted. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 34 -...
By polling, i.e. the master transmits a request to the slave and then receives the response. Both interfaces COM1 and COM2 can operate simultaneously as Modbus interfaces. The Modbus operating mode of an interface is set using the engineering tool. Topology ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 35 -...
Page 36
Brief Information about CS31 CS31 (Communication Serial, developed by ABB in 1989) for continuity and migration CS31 is a proprietary master/slave field bus. It is characterized by simple handling, easy configuration, and inexpensive installation. The COM1 interface of the AC500 can be configured as a CS31 field bus master.
User may take the hot water DX561_DO %IW1 Measurement value of liquid level AI561_AI %IW5 Measurement value of temperature AI562_AI_RTD For this example we use Structured Text (ST) as program language. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 37 -...
Page 38
Keep the settings “PLC_PRG” and “Program” for the name and the type for this new POU, select “ST” for the language of the POU and confirm with “OK”. The ST Editor is opened. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 38 -...
Page 39
The I/O devices connected directly to the I/O bus of the CPU will be entered: click on “I/O-Bus [FIX]” and press the right mouse button to add the expansion module, in this example we choose DX561, AI561 and AI562. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 39 -...
Page 40
3. Symbolic comments for I/Os Click once on digital output 0 for onboard I/Os, by “Base parameters” window enter “waterLevel,ALARM” for the comment. Complete your input by pressing the <Enter> key. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 40 -...
Page 41
Use the same procedure for other onboard outputs. Click once on analog input 0 of AI561, by “Base parameters” window enter “Fluid position gathering” for the comment. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 41 -...
Page 42
From the resources we now want to switch to the structured editor, click on the tab and then double click on the entry PLC_PRG (PRG). The structured text editor is opened. 6. Organization the program ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 42 -...
Page 43
7. Programming Click once on tab, in the right window you can enter the program for first part of our example. Use “(* *)” for all your information, program comments. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 43 -...
Page 44
Use the same way to create the next 2 parts of this program. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 44 -...
Page 45
To do this, mouse right clicks on the Folder “POUs” and chooses “New Folder”. Right mouse click on the “New Folder” and choose “Rename Object…”. Rename this Folder as “Real_Control”. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 45 -...
Page 46
In order to program the main program, double click on the PLC_PRG (PRG). In the programming window, mouse right click and choose “Input assistant”. In the appearing window choose “User defined Programs/Fluid_Position_Control (PRG)” and confirm with “OK”. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 46 -...
Page 47
8. Compiling the project. In order to build the project, select the menu item “Project/Build”. If no errors were detected, the message “0 errors, 0 warnings” is displayed in the message box. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 47 -...
Page 48
First we have to load the program to the controller. To do this, select the menu item “Online/Login”. When no more Errors and Warning message appear, select the menu item “Online/RUN”. Now you can check your program with the PLC. ____________________________________________________________________________________________________ Getting Started with AC500-eCo Starter-Kit - 48 -...