1 HMI CP Range Training CP500 English
2 Menu Basic functions. Starting a project.CP Programmer Basic functions. Transfer of program. Password Alarms Recipes Library Different ways of connecting the terminal. New Functions menu Exercises menu Content of course presentation: CP500 Terminals Building of projects CP500 Programmer Exercises Communication
3 New functions menu Project Manager Data logger Internal variablesTouch keys Symbol Manager Import of variable from 907AC1131 Content of course presentation: CP500 Terminals Building of projects CP500 Programmer Exercises Communication
4 Exercises menu Exercise 1 : new project Exercise 2 : Display valuesExercise 3 : Time channel Exercise 4 : jump and Trends Exercise 5 : Password Exercise 6 : Alarms Exercise 7 (Complete result) Exercise 8 : library Content of course presentation: CP500 Terminals Building of projects CP500 Programmer Exercises Communication
5 Content of Course Basic functions Object handling CP ProgrammerExercises based upon the example Different ways of connecting the terminal Content of course presentation: CP500 Terminals Building of projects CP500 Programmer Exercises Communication
6 CP500-series The same programming conceptSimple to program Simple to use Compatible with the major control systems on the market The CP500-family consists of a series of Operators terminals. There are always one available for every opportunity Works with AC31 PLC systems and now even with other manufacturers. With downloadable drivers you can save memory in the terminals, when only the driver that is supposed to be used needs to be downloaded. The latest driver can be downloaded via Internet directly into CP Programmer or via ABB Control Products homepage for installation via a disc. I often tell this in a moment when all the students are listening, not in the beginning of the course, but before or after a a coffee break.
7 Advantages Replaces switches, indication lamps, time relays, pre-selection counters, weekly events etc. Build projects without changing the PLC-program Information in a structured way A few advantages with CP500 terminals. Show and pass around the CP500 terminals to the students Compensates push buttons, switches, lamp indicators, analog pointer, alarm systems and many special solutions Correct information flow Saves time, money and frustration
8 CP500 PROGRAMMER Programming tool based on Windows DocumentationBackup CP Programmer is a tool for the Windows environment to build projects in the CP500 terminals. Standard Windows functions like cut/paste Documentation Backup
9 Block structure Block structure that shows building of project CA project in the CP500 Soft built as a tree structure to in a simple way get overhaul and control of the project now and in the future Block 0 is the main menu Block is for the user Some blocks is in use by the system ( )
10 Object based Object data gets saved in the CP500 TerminalOnly objects on the screen gets updated Doesn’t load the PLC-program (shows index values direct from the PLC- memory, not from the PLC-program) Whatever you build you use objects. Point 2. The terminal is mostly integrated with the PLC-program. No ”HMI-profile” needs to communicate. Point 3. Uses function keys, alarms, time channels and so on, this is also how they are being monitored.
11 Different objects Static graphical objects to draw and writeGraphical objects for digital signals Graphical objects for analog signals Object to handle e g jump, show time, show alarms, etc Different types of objects: Static for presentation of information that isn’t changing Dynamic for information that changes because of a signal (any signal) Text- and graphical objects Functions for jump between blocks, alarm handling, reports, time handling and so on
12 Exercise 1 : new project Create a new project Use the DEMO driverExercices Menu Create a new project Use the DEMO driver Open block 0 Create a digital object connected to M80 Create a analog object connected to D80 Do this together with the students. The following steps will explain how to do it. Note: First the exercises are presented and in the following steps it will be explained how to do it. Most of the exercises follow this pattern. A good thing to do is to let the students be presented to the exercise and when you have explained how things work you once again show them this picture and let them do the exercise. %MW in AC1131 correspond to MW00.00 in AC31Graf
13 Starting project Start CP Programmer Choose New in the File menuChoose Terminal Choose PLC System Set color profile Our project. Start CP500 SOFT Choose New in the File menu to start a new project Choose terminal. In this case it´s CP552, Note! It´s important to choose the right terminal version. (Check in prog mode, messages are given during transfer if the version isn’t correct) Can be changed afterwards if it´s necessary. Choose PLC : For us it will be AC31 40/50 Series or AC31 90 Series
14 Block Manager Block handlingGives a visual image of how the project looks like Facilitates for the CP Programmer You can show the tree structure of the project and see how the blocks works together in an easier way. To create new blocks there is a little toolbox, with common Window symbols for new blocks, but also jumps of different types. A right click with the mouse displays a menu to choose to add blocks and settings in the Block Manager.
15 New Functions menu Project Manager In double clicking, open the pages, change the parameters and configuration easily. Gives a visual image of all the project Facilitates for the CP Programmer You can show the tree structure of the project and see how the blocks works together in an easier way. To create new blocks there is a little toolbox, with common Window symbols for new blocks, but also jumps of different types. A right click with the mouse displays a menu to choose to add blocks and settings in the Block Manager.
16 Block 0 The first block shall always be block nr 0This is the first block that the terminal will show when it have booted up Create a new block: Right click with the mouse in the Block Manager, choose Add Block Block Name: The name of the block. Visible in the Block Manager Enter Main menu Block No: The number of the block. The first number must be 0 Enter 0 Block Type: Graphic or Text block. Choose Graphic block
17 Block Header Block number Block name Display signal print signalSend as mail (end. text block) password protection Color of marker
18 Digital Text Object that will change between two texts depending on the condition of a digital signal Digital text Objects that shows one of two texts depending of the condition of the digital signal.
19 Digital Text - SettingsGeneral Digital signal Text 0 and text 1 Color Font Text style Access Maneuverable or not Password Dynamics move,hide etc. Setting of digital text Digital signal: The signal that affects which text that´s supposed to be visible. Write %MX and %MX Text 0: Text that will be shown when the signal is 0. Write OFF Text 1: Text that will be shown when the signal is 1. Write ON Font size: The size of the text. Choose 8x8 Security level: A security level means that logon with password is required Maneuverable: If you want to be able to affect the value of the signal. Leave it unchecked for use with inputs or pulses. Adjustment: Left adjusted or centered text Frame: Type of frame Color of text and background Transfer and try it out
20 Numeric presentation of an analog signalAnalog Numeric Numeric presentation of an analog signal Numerical Object to show and change analog signal
21 Analog Numeric - SettingGeneral Analog signal Size, No.of decimals Offset & Gain Color Font Text style Access Maneuverable or not Password Dynamics Move,hide etc. Setting numerical Analog signal: The signal that is supposed to be shown. Write %MW00.00 / %MW00.01 Positions: The number of characters in the display. Write 5 Decimals: The number of decimals. Write 0 Minimum value: The minimum value you can enter in the display. Only relevant when the object is maneuverable. Maximum value: The maximum value you can enter in the display. Only relevant when the object is maneuverable. Offset: Zero displacement Gain: Gain Shown value on MAC = (Register value * Gain) + Offset Register value = Shown value on MAC – Offset Gain Security level: A security level means that logon with password is required Maneuverable: If you will be able to change signal in the display Zero fill: Filling zeros on empty positions Color of numerals and backgrounds Signal can be chosen via name file Transfer and try it out
22 Transfer Send Receive Verify Stop SettingsTransfer project to the terminal Receive Get project from the terminal Verify Check projects PC=terminal Stop Terminate transfer process Settings Communication parameters of CP Programmer Connect between the PC and the CP500 terminal and transfer. Parts of the project can be transferred. Single changed block can now be transferred in a simple way
23 Exercise 2 : Display valuesExercices Menu Presentation and input of temperature in a room Actual temperature is D0 Controlling of lighting in a room Lighting condition in M10 Show actual time in the terminal
24 Exercise 2 (complete result)D0 M10 Showing the finished application by design.
25 Main menu block 0 Static text Analog Bargraph Digital Symbol SliderOur target with the first block. We want Text that tell us what´s happening here Object to control M100 and D100 Watch to show time and date Time/Date Slider
26 Object that shows text that will not be changedStatic Text Object that shows text that will not be changed General Text Color Font Text size Dynamics Move,hide etc. Static Text Object that shows text that isn’t changing.
27 Digital Symbol Object that changes between two symbols depending on the condition of a digital signal Lighting On/Off
28 Digital symbol - SettingGeneral Digital signal Symbol type 0 and 1 Resizable Access Maneuverable or not Password Dynamics Move,hide etc.
29 Slider Object that changes the value of a analog signal
30 Slider - Setting Access General Dynamics Analog signal ScaleMin/Max value Offset & Gain Color Access Maneuverable or not Password Dynamics Move,hide etc.
31 Gain & Offset Temp: 25° C 25° C D100 = 1000 Offset = 0 Gain = ?The showed value = Register value * Gain + Offset Ex: 25 = 1000 * Gain + 0 => Gain = 25 / 1000=0.025 Offset: Zero displacement Gain: Gain Shown value on MAC = (Register value * Gain) + Offset Register value = Shown value on MAC – Offset Gain
32 Object to show digital watch with day and dateTime (Only date and time is shown on the picture above. Not the day.)
33 Digital watch - SettingGeneral Day of week Date Time Time format Color Font Text style Access Maneuverable or not Password Dynamics Move,hide etc.
34 Exercise 3 : Time channelExercices Menu Create a time channel that controls the state of M10 (Light) Interval 1: Mon-Fri Interval 2: Sat-Sun Create a time channel that controls the state of M11(Fan) Interval 1: Mon-Mon Interval 2: Tue-Fri
35 Time channels With time channels you can set and reset digital signals relative the clock in the terminal Channels are defined under Time channels in the functions menu Signal and time intervals are specified M10 PLC Lamp Time control and time channels Function to set and reset digital signals relative the clock in the MAC terminal For example start and stop of machines Replaces time relays and can keep track of weekly events Four on/off strikes per channel Only the memory limits the number of channels Can be changed during management
36 Time channels - settingsGeneral Name Controlled signal Interval List of channels Setting of time channel Interval text: Text that gives help about what´s happening with the signal Signal: Digital signal that will be affected. Enter M100 Interval: Day and time when the signal will be set . Four intervals can be specified for every time channel Enter Transfer and try it out by changing the time EXTRA Test the changing of time channels Online. Create jumps from the global function key F1 to block no 991 (Time Channels)
37 Exercise 4 : jump and TrendsExercices Menu Create jump to a new block Show managing data from PLC in a trend object Managing data is available in D20 – D23 The jump objects are often causing trouble for the students. In addition there are very many ways to change blocks. It´s often easiest to understand if you connect the jumps on function keys, but try to get the students to understand how a jump object works.
38 Exercise 4 (Complete result)Block 0 Trend Block 1 Showing the finished application by design The following steps will explain how to do it. Create the jumps in block 0 by pulling a jump from 0 out into a ”blank space” in Block Manager If you want to you can continue the previous project with this task.
39 Block 1 Text Trend D0, D1…
40 Object that makes it possible to jump to another blockMake it possible to jump to another block
41 Jump - Setting General Font Dynamics Jump to block Text fieldPositions Color Font Dynamics Setting of jump. We shall jump to temperature setting Jump to block: Jump to block number 1. Selection via block name if the block is created Text: Text that shall be displayed in the project Positions: The number of characters in the object Font size: Size of the text. Choose 8x8 Security level: A security level means that log on with password is required Adjustment: Left adjusted or centered text Frame: Type of frame Color of text and background
42 Showing of room and outside temperatureTrend Object that presents collected analog data Showing of room and outside temperature
43 Trend - Setting General Curves Dynamics Analog signals Offset & GainTrend name Sample settings X/Y settings Color Curves Analog signals Offset & Gain Color of pen Dynamics Dynamical X and Y scales etc.
44 Sampling configurationNew Functions menu Data logger To collect analog data Data choice Result Sampling configuration
45 Function keys Connection of a function key to a digital signal or function (e.g. jump to block) Global or local function keys Global function keys are defined under Function keys in the functions menu Function keys
46 Function key - SettingsMomentary,toggle,set/reset digital bits Load a pre-set value to an analog register Jump to block Other function Load recipe Log in to a security level etc. Macro Security level
47 New Functions menu Touch keys Connection of a touch key to a digital signal or function (e.g. jump to block) Possibility to add text or symbols. Touch keys
48 Exercise 5 : Password Exercices Menu Protect with password the blocks that show the trends Protection of the general Project, available from CP502 to CP555 with command PDXXXXX
49 Password Protect selected parts of the machine against unauthorized access Protect system parameters
50 Password - Program In System Signals menuNew Functions menu Password - Program In System Signals menu Write the command: PD + your password (Example beside :password 1234) When you will send the first time the project, it will enter the password into the CP500 product. Afterwards every time you will send or received from this product you will have to enter the Password.
51 Password - Settings Security level Login signal Logout signalPasswords to level 1-8 Login signal Signal which generates the entry field for logging in Logout signal Signal that logs out the current user Login level reg. Register that state level directly Current level reg. Login timeout Password RUN/PROG.
52 LEDS LEDS in 2 colors (red/green) Different flashing frequencyCan be controlled from PLC-program via data register Specify text to Text Strips
53 Exercise 6 : Alarms Generate alarm when M50 goes highExercices Menu Generate alarm when M50 goes high High temperature in room ( Use F-key ) Generate alarm when the temperature goes under 15°C Low temperature in room ( D0 ) 15° C D0 ALARM !! Temp Under 15° C
54 Alarm handling (alarm group)Alarm groups are defined to priority the alarms Alarm groups are defined under Alarm group in the Functions menu A- alarm Machine stop B- alarm Stops a part of a machine C- alarm Indication of a floor D- alarm ...
55 Alarm group - Settings
56 Alarm handling (message)Alarm messages are definitions of alarm signals and messages Alarm messages is defined under Alarms in the Functions menu
57 Alarms - Settings
58 Recipe handling Analog and digital signals saved for future useDifferent settings for different functions in the machine Saving will be done in a block and loading can be done in all blocks
59 Exercise 7 (Complete result)Exercices Menu Block 1 Recipe Block 2
60 Recipe block Key field ASCII object Text D86 Analog bargraphsD10 to D14
61 Recipe handling Setup/Recipe settings Create recipe foldersSpecify a recipe controlblock Specify a register that will contain the current recipe name Connect recipe functions to function keys. RecWr – Write recipe to the terminal RecRd – Read recipe from the terminal RecDel – Erase recipe from the terminal The signals that shall be stored in the recipe must be in the block where the storing takes part. Reading from the terminal can happen in any block Can be read from E700 to PC with HMI-tools/MACMTA.SYS
62 Recipe handling 3 functions are connected to 3 function keysSave recipe Load recipe Delete recipe The I/O-signals that are in the block are saved in the recipe Saved recipes can be loaded in any block Saved recipes can be read and edited in a PC
63 Exercise 2 Create a recipe blockA new block should be created for the control of a coffeemachine. The different settings should be: D10= Temp, D11= Water, D12= Coffee, D13= Cream and D14= Sugar. When a recipe is loaded the current recipe name should be shown in the recipe block. Create a blockjump to the Recipeblock from the Trendblock
64 System Signals Setting of system related functions Show present blockChange to block# Sound signal Display on/off Marker control reg. Recipe control reg.. Show actual recipe Divide up the library Command
65 Exercise 8 : library Exercices Menu Create texts that shows what´s happening in the PLC-system Connect the library to D70 which indicate room temperature
66 Message Library With the function ”message library” text tables are created where value between attaches to texts You can use this for simple presentation in for example sequence controlling, this is because the operator shall know where in the sequence he is Controls from the PLC-program via a data register Text presents in a optional block
67 Message Library Under the menu View you can find Message LibraryHere are the libraries created Name of library Library number Edit texts in library
68 Message Library A text table can contain as many as 512 text strings that can be 40 characters each Number value to make text being shown Available texts in the actual library Text we want to show
69 Message Library Attach the library to the block with ”Message”In the block a analog object shows that attaches to the library Complete result
70 Symbol Manager New form on CP500Soft V1.1New Functions menu Symbol Manager Create your own symbols, logos and backgrounds to the project The symbol is created in a drawing program (e.g. Paint) and imported or pasted into MP+ A drawing program is available in MP+ for simple pictures or adjustments A existing symbol can be exported to a drawing program, adjusted and imported again New libraries now available with more flexibilities Your own libraries available for futures projects
71 New Functions menu Internal Variables Number of bits and words, Volatile and non-Volatile devices could be configure to minimize the memory used available in reading or writing. Non-Volatile variables are saved in the flash memory to be read at the next start-up. Could be used to display poll intervals and for toggle functions.
72 Import of Variables from 907AC1131New Functions menu In View / Name List. Clicking on import Choose the file you have exported from 907AC1131 and follow the instruction for a correct import.
73 HMI-Tools Software for simple communication with operators terminalLoad new software in CP500 terminals Transfer alarms, trends and recipe files between PC and CP500-terminals Transfer program application to operators terminal Communicate with CP terminals via modem
74 HMI-Tools, File TransferGet trend files Get Data logger files Read recipe, create new from PC Read alarm lists for logging alarms All files can be opened directly in Excel
75 HMI-Tools, File TransferClick here to create communication settings
76 HMI-Tools, File TransferChoose New to create new settings Choose Edit to change a current configuration Mark the settings you want to use and press OK
77 HMI-Tools, File TransferGive every setting a unique name Set communication speed Choose port Specify communication parameters
78 HMI-Tools, File TransferClick on Connect when the settings are done Choose Rec> to transfer info from the terminal to PC CP513
79 Protect the project against unauthorized accessSecurity Protect the project against unauthorized access Explain the advantages with password. Password RUN/PROG
80 Network accounts Accounts, here you define who have rights to connect to services at the terminals (requiring log-on) The function is used to create access control You create a name and a password for different users that will have access to different protected network services Make sure everyone understands why we would want to limit the access to the terminal. Also try to make them use it. If they get used to not protecting their terminals it can be a habit very hard to break. During practice it might seem unimportant to stop unauthorized persons to be able to change the configuration. Still, try to make it a habit of protecting everything. Limiting access to configurations is a simple thing to do to prevent accidental reconfiguring of the system. Regular backup is a simple thing to do to save your back in case of loss of a good (working) configuration.
81 Network services Setup Terminal Controller serviceTerminal Controller is used to switch between RUN/TRANSFER via TCP/IP Service port, enter the number of the port which shall be used for the communication. Does normally not need to be changed Request authentication, mark if username and password must be specified before transfer can be made
82 The ports of freedom... Communication withSoftware Serial No protocol Controller 2 printers mode RS232C Profibus DP (option) TCP/IP (option) RS422 Controller 1