Hello community
I would like do show on my HMI more detailed Information about PLCOpen Axis Errors.
I don’t get it, where can I extract more Information than just PLCopen error from MpAxisErrorEnum? In description of this error I see
PLCopen error: {1:ErrorCode} Message: {2:ErrorMessage} [Error: 41216, 0xc062a100]
Can I read out this Code and Error message somehow in my applicaiton?
I am also confused about Parameter Code [UINT] in MpAxisStatusIDType. What is that for a code? Is that the PLCOpen Code? Or is there a list of existing codes?
Many thanks for your help
Are you using ACP10 with legacy mapp or mappMotion?
AS 6.3.1.32
mappMotion 6.3.1
mapp 6D 3.4.700
mappView6.3.1
Hello,
There are various ways of getting Error Information but this Functionblock i like most
MC_BR_ReadErrorText, it is part of the McBase Library.
You can use this functionblock for every Motion Component like Axis, AxesGroup, AcpTrack-Shuttle, …
The older B&R Software used UINT as Error Codes, but as the time went and the eco system growed the Error Code system had been changed to the EventID DINT System.
If you get an ErrorCode in UINT it is basicaly a part of the EventID without the Information about the Facility and so on.
EventID
Greetings
Michael
1 Like