MpAxisBasicConfig: Axis feature are not read?

Hi everyone,

does anyone have experience with “MpAxisBasicConfig” block? I noticed that the structure “Features” in “MpAxisBasicConfigType” is not updated when reading the configuration? All the other data is updated as expected. Am I doing something wrong? Does anyone know if the function is implemented yet? The B&R help does not say anything about it, and none of the examples is about reading/writing axis features.

Thanks in advance!

Best regards
Dominik

Hello,

I did never used this function block… and i will probably not have time to test it in near future… so just an Educated Guess…

Editing the Feature Configuration is as far as i understand only possible for MC_BR_ProcessConfig (not for MC_BR_ProcessParam)

So i would expect that only for the CmdEnum - “Load” / “Save” this section “Features” will work.

You wrote “when reading” i assume you did use CmdEnum “Read”.

“Read/Write” is internaly probably based on MC_BR_ProcessParam
“Load/Save” is internaly probably based on MC_BR_ProcessConfig
“Create/Delete” is internaly probably based on MC_BR_ProcessConfig

Can you make a short test with mcAXIS_BASIC_CFG_LOAD?

Greetings
Michael

Hi Michael,

thanks for your reply. I already tried LOAD and SAVE, same behavior. I have not tested CREATE though, maybe it is only for this mode. But it is not very well documented.

Best regards
Dominik

Hi @dominik.lehnberg what is status or final solution of your issue? can you update us and help us keep community organized?

Hi, i am still waiting for feedback from local support.

Hi @dominik.lehnberg ,
Just out of curiosity: Do you need to change the axis feature or may be channel feature on the fly? A few weeks ago, our team tried to change the ACOPOS parameter tables on the fly because the customer has different options for the same machine that require different motors. We used MC_BR_ProcessConfig, but we initially used the axis feature instead of the channel feature, and it didn’t work.

Here are a few points I have learned about MpAxisBasicConfig:
First, when trying to do something with MpAxisBasicConfig, I normally run a test at a lower level with MC_BR_ProcessPar and MC_BR_ProcessConfig. Because MpAxisBasicConfig calls them internally, a low-level issue guarantees an upper-level issue. Second, MpAxisBasicConfig doesn’t cover all combinations offered by MC_BR_ProcessPar and MC_BR_ProcessConfig, but you can integrate what is missing with additional low-level calls. Third, regarding the documentation, there is definitely room for improvement. That’s why we have reported it in a CASE so R&D can work on it.

===============
I did quick test where I have configure one axis feature and one channel feature and it works well:

Regarding the documentation we have more details on the enumeration inside the library MpAxis :slight_smile: :

But not yet in the help

Thanks
Ciao
Valerio

Ok please update us with final findings when you get it, thanks :slight_smile:

Hi @valerio.manenti,

thanks for your tests. I was not aware of the option “mcAXB_CFG_SEC_ALL_WITH_FEAT”. I thought “mcAXB_CFG_SEC_ALL” as the name suggests would already read everything including features.

Thanks a lot!

Best regards
Dominik