Quick Start Guideline XV-2xx 5.7" Systems Document M001789-01.
Quick Start Guideline XV-2xx Systems Copyright MICRO PANEL Copyright notice Keep this document for future usage! These documents are the property of Micro Innovation AG who is entitled to the exclusive copyright. Change of contents, duplication or reproduction of these documents as also distribution to third parties is only permitted with written permission of Micro Innovation AG.
MICRO PANEL XV-2xx 5.7" Systems Table of Contents Table of Contents 1 General Information ............................................................................................4 1.1 2 Document Index .......................................................................................................4 Hardware Structure .............................................................................................5 2.1 2.2 2.3 Equipment Variants ..................................................
Quick Start Guideline XV-2xx Systems General Information MICRO PANEL 1 GENERAL INFORMATION This documentation should facilitate the introduction to the handling of the XV200 panel from Micro Innovation. In order to ensure a fast commissioning of the unit it is necessary to follow the explanations and references carefully. The commissioning of the unit, communication, PC program usage and project generation with GALILEO and MXpro will be described step by step.
MICRO PANEL Quick Start Guideline XV-2xx Systems Hardware Structure 2 HARDWARE STRUCTURE 2.1 EQUIPMENT VARIANTS The XV200 5.7" system is available in the following types: Type MK2-232-57BAS-x-1x MK2-230-57MPN-x-1x MK2-230-57CNN-x-1x XV-252-57MPN-x-1x XV-252-57CNN-x-1x 2.
Quick Start Guideline XV-2xx Systems Hardware Structure 2.3 MICRO PANEL OVERVIEW OF CONNECTIONS Connection blind XV-230-57xxx Ethernet Field bus (option MPI) Supply Connection blind XV-232-57BAS System port (RS232) Ethernet Supply Connection blind XV-252-57XXX-1-X Service side Compact Flash DIAG BFL USB Device The ports DIAG and BFL are exclusively for service usage The ports Ethernet, field bus or (system port) and power supply are found seen from the back to the right of the unit.
MICRO PANEL Quick Start Guideline XV-2xx Systems Hardware Structure 2.3.1 COMPACT FLASH The CF-card (OS-flash) includes the operating system for the unit and is mandatory for operation. The OS-flash may only be inserted when the power is off. For tue guarantee of a troublefree operation we recommend the use of the CFcards offered by Micro innovation. When using CF-cards of other suppliers Micro innovation delines any support as well as responceablity for any consequential damages. Data loss.
Quick Start Guideline XV-2xx Systems Commissioning of the Unit 3 MICRO PANEL COMMISSIONING OF THE UNIT 3.1 APPLY THE WINDOWS LICENSE STICKER For legal reasons you are obligates to attach the provided license sticker to the panel. Proceed as described in the Windows license paper. . Î 3.2 GENERAL REMARKS TO WIRING To guarantee a troublefree operation special care with the wiring is necessary.
MICRO PANEL - Quick Start Guideline XV-2xx Systems Commissioning of the Unit The unit will boot. On the unit a window will appear. 3 If the information window does not appear and instead the text „No card in CF-Slot 0 detected“ is displayed then: 3.1 Turn off the power. 3.2 Check the CF-card if it placed in correctly. 3.3 Turn on the power again. 4 Close the information window that appears on the unit after booting. Subject to technical changes M001789-01.
Quick Start Guideline XV-2xx Systems Commissioning of the Unit MICRO PANEL 3.4 ETHERNET The Ethernet interface of the unit is used for engineering the visualization “GALILEO” as also programming the PLC with “MXpro”. To commission the communication between the unit and the PC follow the next described steps. An IP-Address always consists out of a network and computer address. The network mask specifies which bits belong to the network and which do not.
MICRO PANEL Quick Start Guideline XV-2xx Systems Commissioning of the Unit 3.4.1 EXAMINING AND ADJUSTING OF THE IP-ADDRESS OF THE UNIT Power up the unit. If an information window appears after booting please close it. After Windows CE has booted from the OS-flash press the Start button and change to the menu Programs Æ Control Panel. Open the icon Network with a double click. A window Network Configuration will open. Select the desired IP address and subnet mask.
Quick Start Guideline XV-2xx Systems Commissioning of the Unit MICRO PANEL A window will then open with the question „Do you want to restart now?“ Acknowledge this with “yes”. The panel will now restart the system with the new IP address. 3.4.2 WIRING Connect the unit directly to the PC with an ethernet crossover cable. If you use an ethernet hub or switch us a 1-to-1 patch cable. 3.4.
MICRO PANEL 4 Quick Start Guideline XV-2xx Systems The first PLC Program THE FIRST PLC PROGRAM If you would like to use the unit without the internal PLC functionality then please jump over this chapter and continue with chapter 5 “The First GALILEO project” This chapter consists of a basic application which shows the programming with MXpro and the special communication between PLC and HMI in a MICRO PANEL XV200. 4.
Quick Start Guideline XV-2xx Systems The first PLC Program MICRO PANEL 4.2 INSTALLATION OF THE PLC RUNTIME SYSTEM ON THE UNIT Requirement: Die MXpro Software (CoDeSys) must be installed correctly on the PC. The OS-flash included in the unit does not have the PLC runtime installed. The PLC runtime can be installed on the OS-flash with the tool „SetupTargetFirmware“. Procedure: Start the tool „SetupTargetFirmware“ on your PC through clicking StartÆProgramsÆMicro InnovationÆMXpro V2.3.
MICRO PANEL • Quick Start Guideline XV-2xx Systems The first PLC Program - Select „OS 2…“ and click on the button “further >”. Enter the IP-address of the unit. - Continue the setup procedure. After finishing the installation restart the unit to start the PLC runtime. Compact Flash Installation: The installation of the PLC runtime applies directly to the OS-flash. (Supplied CF-card of the unit). Required steps: - Insert the OS-flash in into the card adapter of your PC.
Quick Start Guideline XV-2xx Systems The first PLC Program • MICRO PANEL Select the compact flash root in the directory through selecting the disk (disk character). Continue with the setup. After completing the installation put the OS-flash back in the unit. (The unit has to have power off). Start the unit new to start the PLC-runtime. Installation to a local directory: all files of the PLC runtime will be installed to a local directory on your PC. Required steps: - Fully complete setup.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first PLC Program 4.3 PROGRAMMING THE PLC–PROGRAMS WITH MXPRO Requirements: The MXpro software (CoDeSys) must be installed correctly on your PC and started. On the unit the PLC runtime must be installed correctly. Over ÆFileÆNew you can start a new project Before you can start programming you have to select the unit type in the Dialog window “Target Setting”. Target Settings Please select the target „XV2-200-Vx.x.x“.
Quick Start Guideline XV-2xx Systems The first PLC Program MICRO PANEL After that you can open the programming unit “PLC_PRG” in the register “POUs” and write a basic line of code: hmiCounter:=hmiCounter+1; Declaration and statement windows of the programming unit PLC_PRG After entering “hmiCounter:=hmiCounter+1;“ and pressing “Return” a dialog window for variable declaration appears. Select the variable type “INT” and press OK In the declaration field the variable „hmiCounter“ is displayed.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first PLC Program 4.4 DOWNLOAD OF THE PROGRAM TO THE UNIT Select in the menu OnlineÆCommunication Settings and generate a new communication channel. Select „TCP/IP (Level 2 Route“) from the possibilities and give the communication connection a name e.g. “Panel_XV200” and Acknowledge the dialog with OK. Enter in the field “Address” the IPaddress of your unit (e.g. 192.168.0.72).
Quick Start Guideline XV-2xx Systems The first PLC Program MICRO PANEL Afterwards you can download the program over OnlineÆLogin. You can start the program with OnlineÆStart. To have the PLC permanent on the unit you have to generate a boot project. If this is not done then the program is lost when the power is turned off. To save a boot project on the unit make sure you are logged in (OnlineÆLogin) and then select OnlineÆBoot Project.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first PLC Program 4.5 SYMBOL-FILE CONFIGURATION The communication between controller and a possible visualization is done over a symbolic address of the variables. To be able to do that a symbol configuration has to be generated. Furthermore the through this process generated symbol file can also be used as a variable import file for the visualization.
Quick Start Guideline XV-2xx Systems The first PLC Program • MICRO PANEL In the dialog window that appears enter the desired name of the variable list and confirm with pressing OK.
MICRO PANEL • Quick Start Guideline XV-2xx Systems The first PLC Program Define from which objects the variables should be taken to export into the symbol file: - Click on the button „Generate Symbol File…“. - In general all objects are selected. That is why you should deactivate for all objects the option „Export variables of this object“. Subject to technical changes M001789-01.
Quick Start Guideline XV-2xx Systems The first PLC Program - • MICRO PANEL In the object tree open the subdirectory „Resource\Global Variables“. Select the variable list that you would like to export. Activate the option „Export variables of this object“ and confirm with OK. Confirm the project options with OK.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first PLC Program • Put the cursor in the variable that you would like to allocate. • Click in the menu EditÆAuto declare… - The window “Declare Variable” will open. • Select the class„Class“ „VAR_GLOBAL“. • Select under “Variable List” the variables list you would like to allocate to. • Confirm the adjustments with OK. Compile and download the PLC project to the unit: • Click in the menu ProjectÆRebuild All to compile the project.
Quick Start Guideline XV-2xx Systems The first GALILEO Project 5 MICRO PANEL THE FIRST GALILEO PROJECT It consists of a simple application which should show the projecting of the connection of the HMI to the PLC of the MICRO PANEL XV200. Requirements: The GALILEO visualization software must be installed correctly. 5.1 GENERATE NEW PROJECT Start the GALILEO software. The first step is to generate a new HMI project. Menu Project Æ New.
MICRO PANEL 5.2 Quick Start Guideline XV-2xx Systems The first GALILEO Project SELECT UNIT The window “Unit Type” is opened automatically when a new project is generated. It can also be opened over the menu ConfigurationÆUnit Type… and at a later time edited. Select the unit type: For the selection field “Format” the option landscape is chosen whereby the unit will be used in horizontal operation. You can work with 256 colours (grey levels). 5 colours of that are displayed. 5.
Quick Start Guideline XV-2xx Systems The first GALILEO Project MICRO PANEL 5.4 GENERATE MASK The first step is to generate an empty mask (picture). Index mask (Standard) Æ select right mouse button „NEW“: Give the mask a name e.g.: „Startmask“ The mask can be given specific properties like screen saver, colour, type, etc. These can be configured under the sub menu “Mask Properties” Following this you can insert objects into the mask using the object list.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first GALILEO Project GALILEO help system with detailed examples and instructions to every object. Subject to technical changes M001789-01.
Quick Start Guideline XV-2xx Systems The first GALILEO Project 5.5 MICRO PANEL GENERATE VARIABLE STRUCTURE In our small example we are displaying a numeral value of the PLC. For this we must first generate the used variables. This is acompished over the register variables. If the intergrated PLC is used and the symbol file of the PLC was compiled right the the variables names can be imported. Change to the register „Variables“; move the mouse cursor to any variable type e.g.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first GALILEO Project To use variables from another controller type or to use variables without using the import function you have to use the following procedure: E.g. a byte variable: Position the mouse cursor on the variable type “Byte” and press the right mouse button and select “New”. Then enter the variable name. Thus the variable is generated but marked blue.
Quick Start Guideline XV-2xx Systems The first GALILEO Project MICRO PANEL When communicating to another controller the address has to be entered specific to the protocol. In the dialog “Set Address” you can see and select the possible nomenclature needed. According to the desired nomenclature the following input fields for addressing the variables are possible. The displayed example shows the address of a variable for a S7 controller over MPI.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first GALILEO Project 5.6 GENERATE DISPLAY OBJECT To not get any error message in the example delete the addressed variables which are not address in the PLC project.
Quick Start Guideline XV-2xx Systems The first GALILEO Project MICRO PANEL Value entry/Display object with linked variable. (-88888) We have finished our small project and now want to go to the next step of the project; compiling and downloading to the unit. 5.7 COMPILE PROJECT Via the menu BuildÆCompile or over the button the project will be compiled. The compiling procedure is protocolled in a display window. Eventual errors will be displayed red.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first GALILEO Project 5.8 SIMULATE PROJECT ON THE PC Via menu BuildÆStart Project Inspector or over the button you can start the simulation of the project on your PC. PC Simulation of the project (Project Inspector) 5.9 DOWNLOAD PROJECT TO THE UNIT Now the generated project should be downloaded and on started on the unit. 5.9.1 OPEN FTP-CONNECTION TO THE UNIT To get a connection between the PC and the unit you must start the FTP server on the panel.
Quick Start Guideline XV-2xx Systems The first GALILEO Project MICRO PANEL 5.9.2 SETUP FTP PATH IN GALILEO To be able to download the project to the destination the destination parameters for the project transfer to the unit must be generated. Change to the download dialog via the menu BuildÆDownload(local,FTP,…) or over the button . In the window “Download” click on the button “FTP path”. The window “FTP Connections” will appear. Click on “New Connection”.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first GALILEO Project Enter a title, the IP-address of the unit and the directory for the download to the panel. With a click on “Browse” you should already find the directory path of the Storage Card of the panel. But for this an active connection and the IP-address of the panel must exist. Click on “OK” to save the new parameters. The connection with its title should now be selectable. Click on the desired connection and confirm with “Close”.
Quick Start Guideline XV-2xx Systems The first GALILEO Project MICRO PANEL 5.9.3 DOWNLOAD OF A PROJECT After the visualization project has been generated and compiled and the target settings have been completed you can now start the project download to the panel. For this select the menu BuildÆDownload(local,FTP,…) or press the button . The download dialog appears. Start the project download over the button “Download”. During the project transfer you can see the progress.
MICRO PANEL Quick Start Guideline XV-2xx Systems The first GALILEO Project While the GRS starts status information will be displayed. Following that your designed mask will be displayed. Display of the start mask from the project MyFirst. When the PLC program is started on the panel the value must be constantly changing. If there is no connection to the PLC then a cyclic error message will be displayed with the information which variables are without communication.
Quick Start Guideline XV-2xx Systems The first GALILEO Project MICRO PANEL Micro Innovation AG Spinnereistr 8-14 CH-9008 St. Gallen Switzerland Tel : Fax : email : homepage : 40 ++41- 71 243 24 24 ++41- 71 243 24 90 info@microinnovation.com http://www.microinnovation.com Subject to technical changes M001789-01.