ECAT_SLV_SET_STATE

../_images/a517b81449afa7bb0a317f3420f1efae
General Information
Available as of PLC runtime system V2.4.3 and above
Available as of AB version V1.2 and above
Available as of CM579-EthCAT version V4.0.0 and above
Included in library EtherCAT_EXT_AC500_V25.lib
Type Function Block with historical values.

ECAT_SLV_SET_STATE can be used to change state of the “ETHERCAT State Machine” of an ETHERCAT slave. The direct state transitions are:

  • INIT -> PREOP
  • PREOP -> SAFEOP
  • SAFEOP -> OP
  • OP -> SAFEOP
  • OP -> PREOP
  • OP -> INIT
  • SAFEOP -> PREOP
  • SAFEOP -> INIT
  • PREOP -> INIT

This POU allows direct state changes and state changes over intermediate states, e.g. for a change from “init” to “Operational”.