MpAxisBasic StatusID – Complete List of Error and Warning Codes

Hello,

I am controlling motors in torque mode using the MpAxisBasic function block.
I would like to use the StatusID variable of MpAxisBasic to inform the User Interface about the current system state, specifically which error or warning condition is active.

Where can I find the complete documentation or reference that lists all possible error and warning codes (StatusID values) that MpAxisBasic can generate, along with their meanings?

You could take a look at the following lists:

https://help.br-automation.com/#/en/6/ncsoftware%2Facp10_errortext%2Findex.htm

https://help.br-automation.com/#/en/6/motion%2Fmapp_motion%2Fstatusnummern%2Fprofgen%2Findex.htm

https://help.br-automation.com/#/en/6/motion/mapp_motion/statusnummern/mcacpdrv.html

Some errors can generate multiple error messages which can contain also live values.

I suggest to use function block MC_BR_ReadErrorText to read out these texts.

First of all, thank you for your response.

If I use this function block, will the ErrorID values that I read correspond to the same set of codes as the possible values of StatusID?

In other words, do ErrorID and StatusID share the same error/warning code definitions, or do they represent different code sets with different meanings?

The ErrorID (in red) is from the MC_BR_ReadErrorText function block.

More interesting is the EventID from McErrorRecordType.

This EventID is defined as follows:

32-bit event ID

So it contains the same information as in parts of the StatusID, like Code and Severity.

1 Like