Visualisations for function blocks

A visualisation is created in the application for each of the implemented function block types. This visualisation can change the input variable values for every instance of a function block type and display the values of the output variables. In addition to the elements which represent the input and output variables according to the specifications, there are also several elements which are important to operate the visualisation. Their function is briefly described below:

Elements in visualisations for function blocks

No.

Description

Description

1

Function block index

The instances of a function block type are created in this application as an array of function blocks. The number of the array element index is displayed, i.e. the index of the function block linked to the visualisation.

This number can be changed in the visualisation and permits the user to command the various function block instances and request their state data.

2

Reference index

The PLCopen specification declares a number of different data types which represent an axis or axis group etc. These data types act as a reference for the listed elements.

The implemented PLC libraries define these references as an array of references (g_array_axis_ref, gAxesGroupRef) or the references are created for other data types as an array within the application.

This number refers to the index of the element from an array of references created in the corresponding input/output variables for the selected FB.

This value can only be edited for axis or axis group references when the global variables
gP1AxisRefChgDisable, gP4AxesGrpRefChgDisable
are set to FALSE.

3

HLI index

This is a state datum and can therefore not be edited. The interface between the motion kernel and the PLC is organised as an array of structures which are assigned to axes or axis groups. The number is the index of the axis or axis-group-specific structure which is commanded by the selected function block.

4

Logical number

Identification number for axes and axis groups

5

All key

Press this key to set the Execute input pin to TRUE for all function block instances.

This key is not provided in all visualisations.

Elements of a visualisation
Elements of a visualisation