Page 1
(printed, photocopy, microfilm or Author: Norbert Mausolf any otherprocess) or processed, duplicated or Editor: Thomas Kracht distributed by means of electronic systems Translator: B & H, Terence Osborn without written permission of Moeller GmbH, Bonn. Subject to alterations without notice.
Page 2
Warning! Dangerous electrical voltage! Before commencing the installation Disconnect the power supply of the Ensure a reliable electrical isolation of device. the low voltage for the 24 volt supply. Only use power supply units complying Ensure that devices cannot be with IEC 60 364-4-41 (VDE 0100 accidentally restarted.
Page 3
List of revisions for AWB 27-1302 GB Edition Page Description Modifica- Removed tion 09/97 Figure 08/99 entire Revision of MI 4 Configurator, Version 1.1 05/01 Sucosoft S40 6, 10, Figures 11, 20, 35, 36,...
Contents 1 Introduction 2 Example for a Text Operator Panel Overview Creating the project Defining data fields Transferring the project to the MI 4 Creating and transferring the PLC program Testing the project Expanding the project Testing the expanded project 3 Example for Touch Operator Panel Overview Creating the project...
The MI4 range consists of Text Operator Panels, Graphic Operator Panels and Touch Panels with the MI4 configuration software (“MI4-CFG-1”) you can configure all of the panels in the MI4 series to your specifications. The first practice example uses a Text Operator Panel for configuration, the second example uses a Touch Panel.
MI4 Text Operator Panel. In conjunction with a PLC you will be able to test the functions of the projects afterwards. The MI4 panel is connected to the PLC via Suconet K. Configuring the work area...
Defining data fields Defining data fields Data fields display variable values in the MI4 display. In the example an actual value and a setpoint value are transferred from the PLC and displayed on the MI4. Make sure that the field is entered in.
Page 13
Example for a Text Operator Panel Choose the settings shown in the following diagram for the actual value.I Confirm the entries with OK. The dialog box will close. The display field will now display the placeholder “99999” for a numeric data field (in word format).
Ports Available parameter accordingly. If there is as yet no project in the MI4, the unit will switch directly into configuration mode as soon as the operating voltage is applied.
PLC program To transfer a project again, you must switch to configuration mode as follows: Press and hold the Enter key on the MI4 for about three seconds. Use the cursor control key “-->” to select the menu item “CFG” and confirm by pressing Enter.
Page 17
Communication Buffer Size, Input, in the MI4 Configurator. These entries in the Topology Configurator and in the MI4 Configurator must agree in order to communicate via Suconet K. The station number and Suconet K Address are assigned automatically.
Page 18
Creating and transferring the PLC program Switch to the POU Editor and create the variable declaration and the PLC program.
Page 19
With this program you can test the functions of actual value display and setpoint value input. You will not be able to test alarm messages until the MI4 project is expanded (see Expanding the Project). After a successful syntax check, switch to Generate Code and create a new make file.
Testing the project Connect the MI4-111-KE1 with the PLC Suconet interface via the ZB4-231-KB1 cable. Start the PLC and switch to the status display. The values from the PLC will be shown in the MI4 display. Actual value: Setpoint value:...
Page 21
Operator Panel Up to 255 incoming and outgoing alarm texts with date and time are saved in an event list. Load your project TEXTOP.PRJ into the MI4 Configurator. Add a further page after the current page and create a second text on the new page.
Page 22
Click on OK and the special character you have selected will be inserted at the cursor position. The text on a page can be up to 32 lines. In the MI4 you can scroll through the text with the Up and Down arrow keys.
Page 23
Example for a Text Operator Panel Move the object: Select the object with the mouse and cut it. Place the cursor in the destination position and paste a copy of the oject at the cursor position with Paste. Defining alarms Enter the alarm texts and their assignment to a marker.
Page 24
Key assignments are edited with the keyboard Macro Editor.. Keys with a macro assignment trigger various functions in the MI4. Keys 7 and 8 are given double assignments in the following example. In entry mode they function as numeric keys. If,...
Page 25
Set the same parameters for the 8 key but under “Commands” select the icon “Clear event list”. Clear Event list Now confirm the two new key assignments by clicking on OK. The macro editor will close. Save the expanded project and transfer it to the MI4...
Put the PLC into RUN mode. project The first page with the fields for the actual and setpoint values will be displayed on the MI4 display. Use the right arrow key to switch to the second page of the MI4.
Page 27
Example for a Text Operator Panel On the display you will see the following information:: 2 ALR OFF Alarm 1 14:47:56 21-05-99 Press the Up arrow key. The display on the screen changes to: 2 ALR ON Alarm 1 14:47:52 21-05-99 With the Up and Down arrow keys you can move between the entries in the event list.
Just as you did in the first example, here you will also become acquainted with the functions used for configuring an MI4 panel. The MI4 is connected to the PLC via Suconet K. In this example, a Touch Operator Panel with graphic display capabilities is employed.
Example for Touch Operator Panel Overview The example is carried out in 13 steps: Creating the project Creating fields for date and time Defining a touch field with macro function Creating data fields Defining bargraphs Transferring the project Creating and transferring the PLC test program Testing the project Installing touch cells for page changeover Creating an illuminated pushbutton touch cell...
Page 30
Overview The following two figures show both of the completed graphic pages in the MI4 Configurator. Graphic pages for the example: The first page displays: Date and time A touch cell which is used for calling up a numeric keyboard for inputting a setpoint value...
Page 31
Example for Touch Operator Panel On the second page are displayed: A touch cell which is used for setting a marker bit in the PLC (illuminated pushbutton) A dynamic graphic which, depending on the state of a marker bit, displays two different bitmap images A touch cell for changing over to the first page A message display which, depending on the...
Defining a touch cell with macro function Time and date in the MI4 can be set via the TIME menu. To do so Press the Enter key for three seconds Select the TIME menu and confirm with the Enter key. The date and time can be changed on the display via the cursor control keys.
Page 35
Example for Touch Operator Panel The Generic Command Button Properties dialog window. will open In the General register click on Windows under the Looks section and on Command Macro under the Functionality section. Click on the “Configure function” button. The dialog box for defining macro commands opens.
Page 36
Defining a touch cell with macro function Assign the following macros to the touch cell: Begin data entry Begin editing value Data entry popup toggle In the “Data entry popup toggle” window select the option “Enable”. The functions of the selected macros will be displayed in the list.
Example for Touch Operator Panel Select font and font size after clicking on the “Select font” button. Confirm your entries with OK. A labelled touch cell with macro functions is created on the display. You can test the macro function later on in conjunction with the PLC.
Page 38
Creating data fields Enter the settings for the setpoint value as shown in the following diagram: Confirm the entries by clicking on OK. The dialog box will close and the placeholder “999” will appear on the display. Add the text “Setpoint value MB 2”...
Page 39
Example for Touch Operator Panel Creating the numeric data field for the actual value Define the numeric data field for the actual value. Set double font size. Position the cursor at the location on the display where you wish to show the actual value in numeric form and open the definition mask for numeric data fields.
Transferring the project To transfer data to the MI4 you will need to to the MI4 set up a data link between the PC and the MI4 set the communications parameters change to configuration mode on the MI4. Use the ZB4-24A-KP1 configuration cable to set up the connection between the MI4 and the serial port of your PC.
“Page 2” which is not created until the following expansion of the example. Creating and To be able to test the MI4 project the PLC must be transferring the connected and a test program started on the PLC. PLC test program Start Sucosoft S40.
Page 43
Example for Touch Operator Panel The station number and Suconet K address are assigned automatically according to the position of the panel in the Topology Configurator. For our example, the following settings are produced:...
Page 44
Creating and transferring the PLC test program Switch to the POU Editor and create the variable declaration and the PLC program.
Page 45
PLC under Test and Commissioning. Connect the MI4-471-TC1 with the PLC Suconet interface via the ZB4-231-KB1 cable. Start the PLC and switch to the status display. The values from the PLC will be shown in the MI4 display.
Testing the project Test the functions of Page 1. In the upper left corner of the display appear the date and time of the MI4. You can use the left-hand setpoint potentiometer of the PLC to change the actual value within the range of 0 to 1023.
Page 47
Example for Touch Operator Panel Assign the macro to the touch cell. Go to page... The function of the selected macro is shown in the list. Confirm the entry with OK. Select the Text and Colors register. Here you can assign the legend (Page 2) and choose a color for the touch key.
In the macro function “Go to page...” type in the page number “1”. You can switch back and forth between the pages in the MI4 Configurator with the “Page up” and “Page down” keys. Creating an illuminated Set up a touch cell on the second page as an...
Page 49
Example for Touch Operator Panel Select the Text and Colors register. Label the key here with the legend (Motor 1) and select the color for the touch button. The color selection for On and for Off determines the color of the key in “on” and “off” status.
Defining dynamic graphics Set font and font size by clicking on the Select Font button. Confirm your entries with OK. In the Reference register enter the marker 1.0 for button reference and light reference. Feedback occurs directly in the button. Confirm your inputs with OK.
Page 51
Example for Touch Operator Panel Dynamic graphic The definition mask for a dynamic graphic will appear. Enter the data for the dynamic graphic as shown in the following diagram: Click on the “Edit graphic” button and in the following dialog box allocate a bitmap graphic to marker bit states “0”...
Defining message texts In the above illustration graphic symbols are already shown for both states. Close the open definition masks by clicking on A monochrome rectangle will appear in the display field as a placeholder for the graphic. Draw a border around this placeholder and save your project.
Testing the expanded Put the PLC into RUN mode. project Page 1 will appear in the display of the MI4. With the “Page 2” touch cell you can switch to page 2. With the corresponding touch cell on page 2 you can switch back to page 1.
Page 55
Example for Touch Operator Panel than 15, asterisks (***) will appear in place of the message texts. A total of 255 message texts can be selected via the IB 0 input byte. You can change the contents of the dynamic graphic with I 0.0.
Index Assigning new keys ............21 Baud rate ............... 38 Cable, PC to MI ............. 12 Cables MI 4 and PLC ............17, 42 PC and MI 4 ............... 38 Calling the numeric keyboard ........43 Change alarm messages ..........23 Clearing the events list ...........
Page 57
Index Graphic elements ............27 Illuminated pushbutton ........... 28 Installing umlauts ............18 Keyboard macro editor ..........21, 44 Macro Clear events list ............22 Data entry popup toggle ..........33 Display events list ............23 Go to page ..............44 Password protection .......
Page 58
Index Page Changing ..............18 Inserting ..............18 Macro for changing page ........... 44 Touch cell for page change ........43, 44 Pasting special characters ..........18 Creating the test program ......13, 16, 39 LED „DL“ ..............13 Selecting a driver ............6 Status display in MI 4 ..........
Page 59
Index Zoom functions .............. 30 Zooming in the display field ..........7...
Need help?
Do you have a question about the MI4 and is the answer not in the manual?
Questions and answers