Invalid Mailbox Configuration, Invalid Outputs, Invalid Inputs

Problem:

The EtherCAT stack aborts a state transition with one of the following AL Status Codes:

  • Invalid Mailbox Configuration (0x0016)

  • Invalid Outputs (0x001D)

  • Invalid Inputs (0x001E)

Cause:

During state transition the the stack checks the Sync Manager settings received from the Master. If the settings contains an invalid start address or size of a Sync Manager the stack will return an error. Also if a Sync Manager interferes with the memory area of another Sync Manager an error is raised.

For Input and Output Sync Managers the corresponding PDO Mapping is also checked. The mapped byte stream must fit into a Sync Manager’s memory Area.

Possible Solutions:

  • make sure the generated Files of the Industrial Communication Creator are always applied to all participients of the network

    • compile and flash the source code to the Slave

    • update the EEPROM image of the Slave

    • update the ESI File in the Engineering Tool of the Master and make sure the updated version is used

    • update the configuration of the Master

  • ensure start addresses of the Sync Manager memory area are greater than or equal 0x1000

  • avoid interferrence of memory areas between Sync Managers

    • a Mailbox Sync Manager’s memory area is defined by its start address and the size of the Sync Manager

    • an Input or Output Sync Manager’s memory area is defined by its start address and three times the size of the Sync Manager (3-buffer mode)

    • the size of the Input and Output Sync Managers is defined by the default PDO mapping

    • the start addresses of all Sync Managers and the sizes of the Mailbox Sync Managers can be defined in the Industrial Communication Creator (they are found in the Subindices of object 0x1C00)