Infosys在阅读器中打开 / AI 翻译

AX2000-B110 | EtherCAT interface for AX2000 · 0 次阅读

Monitoring and operation

A PLC program must monitor the operating state of the drives and if necessary, put them in an error-free state, ready for operation. This state is attained if the following conditions are satisfied:

To satisfy the above-mentioned conditions, the PLC program must execute the following steps:

  1. IO (fieldbus):
    Read the I/O device’s hardware address associated with the NC axis.
    • Read the address of the I/O device such as NetId, Port, ChannelNo, etc. by means of FB_GetAxisAmsAddr (TcNc-Lib).
      (The data is required for EtherCAT function block).
  2. IO (fieldbus):
    Check the EtherCAT communication.
  3. IO (fieldbus):
    Optional evaluation of the EtherCAT WorkingCounter
    • Evaluation of the EtherCAT WorkingCounter by additional mapping from the I/O device to the PLC (cyclic communication)
  4. Drive:
    Check the drive status regarding errors, warnings, and notices (Drive State Machine)
    • Read the current drive error F01 to F32 (see ASCII command ERRCODE) by means of PDO 0x2070 (SubIndex: 0x16, Data: UINT32)
    • Read the current drive status, e.g., warnings n01 to n32 (see ASCII command STATCODE) by means of PDO 0x385E (SubIndex: 0x1, Data: UINT32)