Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

EtherCAT Set Slave State

Anonymous
2017-09-01
2017-09-04
  • Anonymous - 2017-09-01

    Originally created by: Codesys>>Twincat

    Hallo,
    ich habe hier ein EtherCAT System und möchte den State von Slaves gezielt manipulieren.

    Das Objekt des Slaves bietet zwar die Möglichkeit nach OP zu schalten (.xSetOperational), ich habe jedoch keine Funktion gefunden um den AL_Control Befehl zu ändern (z.B. 0x02 für PreOP oder 0x04 für SafeOP).

    Habe ich hier etwas übersehen? Hätte schon erwartet dass das möglich ist.
    Ich benutze CODESYS V3.5SP11 x64.

     
  • Anonymous - 2017-09-04

    Originally created by: Codesys>>Twincat

    Die Methode "setopmode" hatte ich übersehen.

    (Nicht vergessen, dass von PreOP nicht direkt nach OP geschaltet werden kann )

     

Log in to post a comment.