AS-i status machine

First, an overview of the status machine is provided. Details of the individual operating phases can be found below.

AS-i status machine 1:
Status machine overview

Initialization

Offline phase: During initialization, there is no AS-i data traffic.

Start-up

Detection phase

During detection phase, the AS-i master initially looks for existing slaves - irrespective of whether they are currently projected or not. This phase is only exited once at least one slave has been found.

Activation phase

During this phase, the slaves that were found are activated depending on the operation mode:

  • Protected mode: All detected and currently projected slaves are activated, if the I/O ID and ID code of the detected slaves match the currently projected data.
  • Configuration mode: All detected slaves are activated by the master.

Normal operation

Data exchange phase

Cyclic data exchange between the AS-i master and the activated slaves.

Management phase

At the end of a cycle, the AS-i master enters the management phase, during which it can send a command to a specific slave (if required).

Inclusion phase

The AS-i master then enters the inclusion phase, during which it sends a command to a free slave address, in order to detect new slaves. If there is no response, the master immediately starts the next data exchange phase.