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

Ethernet/IP Scanner "Get_Attribute_Single" continually "Abort" error.

2021-02-12
2023-05-24
  • justthefacts77 - 2021-02-12

    I have a Scanner(CSYS on Win 64)/Adapter(another PLC) setup for "Explicit Messaging".

    My EtherNet/IP traffic confirmed okay via Wireshark.

    This Function Block is not sending out the CIP command to "Get_Attribute_Single".

    Below is the code running in debugger. Constantly get CIP Error "Abort" (but my comms have been verified between the units).

     
  • justthefacts77 - 2021-02-12

    Project Scanner driver

     
  • justthefacts77 - 2021-03-01

    Resolved, Engaging the EIP Master immediatley (xExecute = TRUE)prior to the Slave being ready, timesouts fast. Made this variable conditional in code.

     
  • deeksha - 2023-05-08

    Can you please explain how you resolved the issue in detail? I am also getting same issue while reading the identity object. I am not able to understand solution you mentioned.

     
  • deeksha - 2023-05-08

    Can you please explain how you resolved the issue in detail? I am also getting same issue while reading the identity object. I am not able to understand solution you mentioned.

     
  • justthefacts77 - 2023-05-24

    My apologies for delay, been out....

    So the issue was in the "getAttributeSingle" whic is immedialty exectured and the associated enable for this function via "xExecute" being TRUE was too fast for system and not recgonized.

    make the variable "XExecute" driven by another variable you can delay some, etc. before executing this command.

    that should do it.

    another ways is have xExecute initialzed to FLASE and in the debugger drive to TRUE

     

Log in to post a comment.