Jump to content

Recommended Posts

Posted (edited)

Hi everyone!

I wondering if there is a way to access all those errors and the error codes from my lather program.

The goal is to show them on the HMI screen!

Thank You in advance!

The PLC is OMRON NX1P2

 

ErrorList.jpg

Edited by Krr
Posted (edited)

This is what i found to read those errors. I can read only the codes not the description but it is advance:

i use GetECError(For EtherCat errors), GetPLCError(PLC errors), GetMCError(Motion Control Errors) and GetEIPError(EtherNet errors). Now i need to get the description some how of those codes...

Edited by Krr
Posted (edited)

The only catch with using those, is they only show the highest level error. So if you have multiple EtherCAT errors, the function only gives the code for the highest level one, not all of them (same for the other categories). Don't know if this will be a problem for you or not. Last time I used them, I didn't need the actual codes, I just wanted a BOOL turned on.

As for the descriptions, check the F1 help for the functions, there is usually a note down the bottom of the help that tell you what Omron manuals have the individual code details.

Edited by BE

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...