Fieldbus interface in general¶
Mikado’s fieldbus interface communicates via a Hilscher cifX PCI card and operates in much the same way regardless of the protocol used. The following protocols are available:
PROFINET
EtherCAT
EtherNet/IP
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.
Data Types¶
Data is generally transmitted to and from the fieldbus interface in 2-byte packets (16 bits). The following data types are available:
Data Type |
Description |
|---|---|
|
The 16 bits of a word are interpreted as 16 individual Boolean values |
|
A word is interpreted as a signed integer |
|
Two words (4 bytes) are interpreted together as a floating-point number. For Siemens-PLCs, for example, this corresponds to the REAL data type |
|
12 consecutive words are interpreted as six double values of a pose in the following order: X, Y, Z, R1, R2, R3 |
|
(Mikado to PLC only): |
|
(Mikado to PLC only): s``StringList`` (Mikado to PLC only): |
Address assignment¶
The address assignment defines the assignment of data to the corresponding memory addresses. Both Mikado Control and Mikado Select have a default address assingment that includes all the data structures essential for operation (see below). These configurations can also be extended and modified as required, for example to transmit additional project-specific data.
Depending on the selected settings and the protocol used, up to 256 words (512 bytes) are available for each input and output. All ranges not explicitly listed in the default address allocation are unassigned by default and can be freely configured.
Mikado Control¶
Mikado Select¶