Simotion package: TIA 15.1

featured image
    2 minutes   Bertus de Groot  

We have upgraded the MotoLogix package for Simotion to TIA 15.1 / SCOUT 5.3.

This maintenance release:

  • Bumps the TIA version to 15.1 (was 13).
  • Bumps the SCOUT version to 5.3 (was 4.3).
  • Adds support for the YRC1000(micro) PROFINET boards.
In a future update we will update the library functions. For now, the version number is unchanged but the package name got a TIA 15.1 suffix.

PROFINET board selection

We’ve added some code in Examples.init() to make it easier to switch between the PROFINET boards.

By setting the desired board’s enable its IO data will be mapped to the communication functions in CommRead and CommWrite.

Also, the unused boards will be disabled (using the _deactivateDpSlave function). This is using the diagnostic address which can be found in the hardware configuration of each board.

Example using the INPACT board:

boards[0].name      := 'INPACT';
boards[0].diagAddr  := 8181;
boards[0].enable    := TRUE;

boards[1].name      := 'CP1616_V26_STD';
boards[1].diagAddr  := 8177;
//boards[1].enable    := TRUE;  // The default is FALSE so we can just set
                                // this line as comment.

boards[2].name      := 'CP1616_V28_STD';
boards[2].diagAddr  := 8176;
//boards[2].enable    := TRUE;

After loading the changes and rebooting the Simotion controller it will automatically deactivate the unused boards, resulting in an error free setup:

stations
HW configuration (online view)

IO addresses

The IO addresses of the boards can be found in the address list. For the INPACT board these start at 500:

address-list
Address list

It is advised to unset the Process image for the unused boards as this will lower the required CPU resources (for each board 436 bytes are handled – in both directions).

Pages built with Hugo - 23 Apr 2024 11:54 CEST