EtherCAT interface
Leuze electronic GmbH + Co. KG
AMS 338
i
57
TNT
35/7-2
4V
Note!
For the AMS 338
i
as standalone device or as the last participant in a linear topology, termi
-
nation on the BUS OUT socket is not mandatory!
9.6
Starting AMS 338
i
on EtherCAT
INIT
The AMS 338
i
initializes itself. No direct communication between the master and AMS 338
i
is possible. The EtherCAT master will transit the AMS 338
i
step by step into the "operational"
state.
In the status change from "INIT" to "PREOP", the TwinCAT or master writes the so-called
EtherCAT address (=station address) to the respective register of the EtherCAT slave
controller (here: AMS 338
i
). This EtherCAT address is typically specified in relation to the
position, i.e., the master's address is 1000, the first slave's address is 1001, etc. This is also
called the auto-increment method.
PRE-OPERATIONAL
The master and the AMS 338
i
exchange application-specific initializations and device-
specific parameters. In the PRE-OPERATIONAL state, configuration is initially possible via
SDOs only.
SAFE-OPERATIONAL
The "Start Input Update" command puts the measurement system into the "Safe-Operational"
state. The master produces output data, but input data is not considered. This means the
AMS 338
i
does not return output data (= PLC input data) in SAFEOP. The AMS does not
process input process data (= PLC output data). Mailbox communication via CoE services
is possible.
OPERATIONAL
The "Start Output Update" command puts the measurement system into the OPERATIONAL
state. In this state, the AMS 338
i
supplies valid input data and the master valid output data.
After the AMS 338
i
has detected the data received via the process data service, the state
transition is confirmed by the AMS 338
i
. If the activation of the output data was not possible,
the measurement system remains in the SAFE OPERATIONAL state and outputs an error
message.