PDO Restrictions and Compiler Errors

Restrictions for AKD Devices

The KAS-IDEClosed "Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger compiler enforces the following restrictions to the editable PDOs for AKD devices:

Compiler errors will be generated if these restrictions are not met. Example compiler errors:

In AKD_1, the size of Rx PDO 0x1600 is greater than the limit: 9 > 8
In AKD_1, the total byte count for all editable Rx PDOs is greater than the limit: 39 > 32
In AKD_1, the total byte count for all editable Rx PDOs that are assigned is not even: 29

Restrictions for AKD2G Devices

The KAS-IDE compiler enforces the following restrictions to the editable PDOs for AKD2G devices:

  • PDOs have a size constraint of 128 bytes per PDO.
  • The total maximum byte count for the content of all Rx PDOs (both selected and unselected) is 512 bytes [(128 per PDO) x 4 = 512 bytes].
  • The total maximum byte count for the content of all Tx PDOs (both selected and unselected) is 512 bytes [(128 per PDO) x 4 = 512 bytes].
  • There is a limitation to the number of PDO objects, based on the the Sample Rate / Cycle Time.
    Sample RateCycle TimeMax. PDOs
    4kHz250μs14 Rx, 14 Tx
    2kHz>500μs30 Rx, 30 Tx

Restrictions for All Other Devices

The KAS-IDE compiler enforces the following restriction to the editable PDOs for all devices:

  • The maximum byte count for the content of an individual PDO (both selected and unselected) is 64 bytes.

Compiler errors will be generated if these restrictions are not met. Example compiler errors:

In Device_1, the size of Tx PDO 0x1A16 is greater than the limit: 66 > 64