Standard Fieldbus Interface

The different fieldbus interfaces have many commonalities. Following you will find the possible data types and the Standard Word Mapping.

This interface is fully supported for the protocols Profinet, EtherCAT and EtherNet/IP. Other protocols deviate from the standard as described in the respective section, like e.g Beckhoff ADS which maps variables to names instead of memory addresses.

An overview of the fieldbus interface documentation can be found here.

Byte Order

The byte order corresponds to the Siemens big-endian convention. When interpreting the words, a byte swap must therefore take place depending on the configuration of the master system.

Fieldbus Data Types

In principle, data is transmitted word by word, i.e. in 2-byte packets. As mentioned above, the big-endian byte order must be observed when interpreting the data. The following data types are possible:

  • The word is broken down into 16 individual bits, whereby each bit is interpreted as a bool.

  • The word is interpreted as an integer.

  • Double: Two words (32 bits) are interpreted together as a floating point number.

  • Pose: 12 consecutive words which are interpreted as six double values (X, Y, Z, R1, R2, R3).

  • PoseList (Mikado to PLC only): 12 x <list length> consecutive words per Pose, which are interpreted as a list of Poses. A list of length 5 will e.g. require 60 consecutive words.

  • StringList (Mikado to PLC only): 2 x <list length> consecutive words, which are interpreted as a list of double values. Strings are automatically converted to Double. A String that is not convertible to Double can not be transmitted using this interface.

Standard Word Assignment

Most of the assigned fieldbus words are directly mapped to Mikado variables.

Excluded from this are the words marked in grey in the Figure Overview of the standard mapping of input and output byte arrays, whose values are set independently of the Mikado program by the fieldbus adapter.

../../_images/standard_words.png

Overview of the standard mapping of input and output byte arrays