Introduction

The following document outlines the typical work flow for software creation with the Graphical Programming: Creating a schematic, placing and connecting blocks, setting up CAN communication and compilation. The core workflow is outlined below:

Project Workflow


Place and Connect Blocks

Create a schematic by using the predefined function blocks of the MRS Standard Library, move and connect the blocks to each other.

Information


i

Setup the Cycle Time on top in the right corner for a specific program runtime.


Execution Order and Block Numbering

While placing a block to the schematic an automatic generated number, called Execution Order, is assigned to the according block. It is absolutely necessary to check the Execution Order of the blocks once the schematic is finished. The execution of the blocks and thus the path of the signals is done according to the numbering of the blocks. The signal processing is best described using the input–process–output (IPO) model.


Assign Inputs/Outputs/Values

Some blocks need to be assigned values for example the ALGIN block requires the pin name on which a voltage should measured.


CAN communication by Datapoint

After creating Datapoints with CAN DB Editor (F2) the Datapoints can be accessed to the respective block. If there are many Datapoints it is recommended to use the Search Box.


Save and Compile

During development and especially once the development is finished, save the schematic with the Save Current Project button. Now the project can be build with the Build Graphical Code button. The current state of the build process is visualized in the Build Information F1. After a successful build the created applications .s19-File can be flashed to the module.