HMS I/O configuration
The workbench includes a fully integrated configurator for HMS I/Os. The bus configuration is performed using the HMS Console, and can be directly imported as a single click command.Please refer to the following topics in that page for detailed information on how to use and configurate HMS I/Os:
Data exchange - configuration:
The T5 runtime manages a intermediate variable map representing HMS inputs and outputs. A dedicated configuration tool is integrated in the Workbench. Run it using the "File / Open / Fieldbus Configuration" menu command from the main window. Then select "HMS".
The configuration is represented as a tree:
- HMS configuration
- HMS Board (*)
- Group (*)
- exchanged Variable (*)
(*) The items with this mark can appear several times in the configuration.
You need to configurate the networks in order to map I/Os to variables. A HMS Board is identified by its board number and a free description text. Groups can be freely defined in order to arrange linked variables.
For each linked variable you have to enter:
- its symbol
- an offset (in HMS board)
- a mode (input or output)
- a data format on the HMS board
- possibly a bit number for a single bit data
Alternatively, when the main node of the tree is selected, run the "Import HMS configuration" command from the right click popup menu and select a HMS configuration file. All I/O tags defined in the HMS configuration will automatically be inserted in the configuration. If needed, all linked variables will automatically be created in the project.
You can freely map a variable of any data type to an I/O. The runtime automatically converts the value to the type of the variable. STRING variables are not supported.