Table of Contents
Introduction
The Graphical Programming is a software tool developed by MRS Electronic GmbH & Co. KG. It is a tool to quickly and easily develop and create software for MRS modules using schematics. To start using the graphical programming, only basic knowledge of electronics and software development is required, however more advanced use cases can still be covered.
A schematic consists of different components named blocks
. Blocks are added to the schematic by dragging and droping them from libraries
. After placing blocks, values can be assigned and the blocks can be connected with each other.
You can also create your own blocks in c code or by combining existing blocks and add them to your own libraries which can be shared with others, e.g. within your organization. More information about the libraries and blocks concept can be found in the chapter Advanced Graphical Programming.
Start and Working Environment
To start working with the Graphical Programming click Open Graphical Programming(F9)
in MRS Applics Studio. After a while a new window with the Graphical Programming Software will appear.

For more information about the blocks and tools hover the mouse over the symbol and the description appears.
Toolkit and Buttons
The tools on the right side are required for creating and handling/working/editing a circuit and adding a grid for the schematic. On top there are the two buttons for saving and compiling the current project.
Warning and Error Bar
On the right to the tools there is a Warning and Error Bar
which is hidden by default. Creating a faulty schematic, e.g. wrong or missing connection, or a value is not assigned will lead to an Error
or Warning
while pressing the Build Graphical Code
Button.
Clicking on the Position
Button will focus the faulty schematic part in the middle of the window.
Libraries
The libraries are located on the left side of the screen. By default there is the MRS Standard Lib and the Project Library, which, as the name already suggests, is specific to the currently opened project. On the one side there is a "Project Library" which is an empty library for creating own blocks and on the other hand there is the "MRS Standard Library" with predefined blocks which can be used by drag and drop.
Pages
The page window is located next to the libraries and can be expanded and collapsed. By default, only the Main Page
is available. More pages can be added with the +
button. To delete pages, open the context menu with a right click and select Delete Page
. The page name can be changed by selecting the text field with a left click, now the name can be entered.
Print and Convert
The schematic and pages can be converted with the Diagram Print Preview
button to a .pdf
file.
Cycle Time
This setting allows you to change the cycle time
of the application program. If the cycle time
is set to 0
, the application is running as fast as possible.