1. From www.danfoss.com/mcx download the MCXDesign programming tool
2. Run MCXDesign setup and follow the indications (it is a good idea to keep the proposed installation
folders)
There is no need to install any other element, as all the necessary software tools are automatically
installed.
2.1 Run
To run MCXDesign double click on the icon on the desktop or select MCXDesign in the
MCXTools folder of the Start Menu folder.
If you do not have a licence you have three months’ free trial from the installation date. The expiry date
is displayed in the bottom right corner of the ”About” window that you can view by pressing “About”
menu.
2.2 MCXDesign project
A project in MCXDesign is made of:
• MCXDesign project file (e.g. DemoApp.mcxb) and its backup (e.g. DemoApp.mcxb_bk)
• MCXShape configuration file (e.g. DemoApp.mcxs)
• Folder ”App” with application source files, libraries and icons
• Folder ”Libs” with all the libraries of graphic elements used in the project
• Folder ”MyKFiles” with the file to be loaded into the MMIMYK accessory to transfer the application
software into the MCX controller
• You can toggle between MCXDesign and MCXShape by pressing the command ”MCXShape” or
”MCXDesign” in the right part of the menu bar.
• Refer to the specific documentation for information about MCXShape usage
To open an existing project:
• Go to MCXDesign
• Select ”File Open” and select the *.mcxb file (e.g. DemoApp.mcxb)
• A backup copy of the *.mcxb and *mcxs file is automatically created into the Backup folder. The last
five back-up copies are maintained.
To create a new project:
• Go to MCXDesign
• Select ”File New”
• Select the icon for the type of application you are interested in: MCX with LCD display, MCX with
LED display, LCX06C
• Give a name to the new project and select the working folder (in a local path) where you have all the
projects
•
•
•
• Click on ”Create New Project”. This opens a new project with some elements already managed,
as per our default template (menu, few parameters, keyboard, alarms, alarm history, a few virtual
functions just as an example) in order to help you to get started.
A library is a collection of graphical logic blocks. To create a new library:
• Go to MCXDesign
• Select ”File New”
• Select the icon ”Library”
• Give a name to the new library folder in ”Project Name” and select the ”Libs” folder of the project
where you want to file the library.
Note: It is mandatory to have all the libraries in the ”Libs” folder.
A new folder with the name of your library is created inside the ”Libs” folder.
This folder will store all the files related to the elements of your library.
• Create the elements (bricks or components) of your library (see 3.1.2 Components)
• Save and reopen the project which the library belongs to in order to see the changes
To open an existing library:
• Go to MCXDesign
• Select ”File Open”
• Select the *.mcxlib type of files
• Select the desired library in the ”Libs” folder of your project (e.g. MyLib.mcxlib)
2.2.6 Import an existing library
• Go to MCXDesign
• Select ”File Add Library” and browse to the folder where the library is stored. The library will be
automatically copied into the ”Libs” folder of the current project. The project is then reloaded in
order to make the new library available.
Note: Libraries can be copied from one project to another simply by copying the related folder from
the ”Libs” folder of one project to the ”Libs” folder of the another.
2.2.7 Update an existing project
made with a previous
version of MCXDesign
3.0 MCXDesign workbench
To open and update an existing project made with a previous version of MCXDesign:
• Go to MCXDesign
• Select “File Open” and select the *.mcxb file of the existing project (e.g. DemoApp.mcxb)
• Select “File Open” and select “Update System“ libraries to update the system libraries in the project.
It is recommended to make a copy of the project before updating the system libraries.
Note: That the InitDefines.c file is updated in a smart way, keeping the customization you did.
3.1 Area 1 - Resources/
Components/Projects
3.1.1 Resources
The MCXDesign working area is made of three parts.
List of all the available resources for the project: parameters, alarms, virtual functions, status variables,
strings, icons, parameter and alarm unique identifiers.
Resources are created with MCXShape and MCXDesign.
• To add Parameters, Alarms and Strings, select ”MCXShape” and add them from there (see 5.3 HOW
TO add a Resource)
• To add Virtual Functions for I/Os, right-click over the desired Virtual Functions type on the Resources
panel of MCXDesign and fill in the form with the relevant information.
• To add Status Variables just add a Hotspot to the Logic sheet (see 3.1.2 Components)
3.1.2 Components
List of all the available components for designing your application software.
Components are grouped into libraries. There are some libraries delivered together with MCXDesign
and some others are related to a project and are loaded when the project is open.
• Red icons: basic logic blocks (e.g. AND, OR, etc.)
• Green icons: advanced logic blocks
• Blue icons: basic drawing tools, and some special components
• For each component there is an online help which explains its features. To access the online help,
select the component and press F1.
There are some special blocks in the CoreLib library that need a special description for their specifics
and importance in building the control strategy.
The special components are as follows:
A ”Hotspot” is a variable in RAM that is automatically exported to CAN and MODBUS networks.
Hotspot are also used to define input and output of the logic blocks and internal status
Hotspot
See 5.4.1 HOW TO create a Hotspot.
variables.
A Component is an element used to create a new component made of basic logic blocks.
A component is a part of a library which can be reused through all your projects.
A component is marked with a wall icon in the upper right corner.
Component
See 5.4.2 HOW TO create a Component.
A Brick is a component whose strategy is written in C++.
A Brick is a part of a library and can be reused through all your projects.
A Brick has no icon in the upper right corner.
Brick
See 5.4.3 HOW TO create a Brick.
A Box is a way of grouping together a part of logic made not only by bricks or components
but also including parameters, input and output.
A Box is not part of a library but is a part of your project. To reuse a Box in other projects
Box
you can simply cut and paste it.
A Box is marked with a box icon in the upper right corner.
See 5.4.4 HOW TO create a Box.
A Frame is a way of defining a comment to a piece of logic and is useful for describing its
features.
See 5.4.5 HOW TO create a Frame.
Frame
A Screen is a special component available only in the User Interface view. It is used to
List of all the libraries that are used in the project.
3.2 Area 2 - Working area
To add or remove a library, access the ”Libs” project folder where all the libraries are stored.
You can also add a library from menu “File Add Library…”
Space where you can design the I/O Configuration, the control logic and the user interface of your
application.
Drag and drop here the elements taken from the ”Resources” and ”Components” groups.
Note:
• Ctrl + scroll wheel of your mouse to zoom
• Hold the mouse scroll wheel to move the drawing
• To delete a line, move the end of the line away from its connection point
• To add a line, drag the mouse from left (output of a component) to right (input of another
component)
MCXDesign is made up of three views:
• ”Electric Wiring” view for designing the Input/Output configuration
• ”Logic” view for designing the control logic
• ”User Interface” view for designing the User Interface
Place and eventually connect the screen elements in the ”User Interface” view to design your user
interface.
See 5.7 HOW TO create your User Interface.
MENU and KEYBOARD
The menu appearance and the usage of some keys are defined by a standard template and cannot be
modified using MCXDesign.
The menu elements and their position in the menu tree are defined with MCXShape.
Main keys’ function in the main screen
• UP, DOWN, RIGHT, LEFT are used to navigate through the loop of screens according to what is
defined in MCXDesign
• ENTER to access the Main Menu
• X to access the Alarm Screen with the alarms list
• UP held for 3s to switch the unit ON or OFF
In the Alarm Screen
• X to exit
• ENTER held for 3s to reset manual alarms
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.