Complete change of axis parameters in AS6.5

Hello,

I rebuilded a Project by your Files, and tested it in ARsim. The Axis is switching between Standstill and Disabled without an issue. But it looks like in ARsim the Gerneral Purpose Axis Interface does not access the Variables connected.

Then i replaced you PLC by a X20CP1684 which i had on my Table.
I added this code lines to signalise the PowerOn Status to the Axis after a PowerOn Request from the Axis.

Acp[0].virt.status.PoweredOn := Acp[0].virt.cmd.PowerOn;  
Acp[1].virt.status.PoweredOn := Acp[1].virt.cmd.PowerOn;  	
Acp[2].virt.status.PoweredOn := Acp[2].virt.cmd.PowerOn;  

-1067313142

Ok it looks like the Acp[0].virt.cmd.PowerOn is not set by the Axis.
If the time out for Acp[0].virt.status.PoweredOn is reached you get this error.

If you set Acp[0].virt.status.PoweredOn while PowerOn is waiting you get this error.

I have to check some other Versions, will take a bit time.
I would consider this currently as missbehaviour, until i understand it better.


There were some inconsistencies with names of Variables
Please consider that upper/lower case will be recogniced by the system.


image
image


Greetings
Michael

Hello,

Issue was reported to B&R by German CASE-71593. I will provide updates. If you like to get informed directly, you can refer to you local support to create a local case, using the german one as Reference.

Greetings
Michael

1 Like

Hello,

Sometimes we are blind to the obvious issues… i could reproduce it, because there was an issue in the Application. Since some time went by, i am not sure if i configured the PureVAx-Configuration on my self or i did use a imported Configuration.

The issue found was that the Variable “::Acp[0].virt.status.PoweredOn” with the Array Index 0 was used for all 3 Axis. And thus the Axis overwrote themselve.

Simple fix, use a separate Variable for each Axis and every Datapoint.

Please have a look in your Application and check all Datapoints for same reuse of Variables.



All Issues in my Testproject.


Greetings
Michael Bertsch

1 Like

Hi Michael,
thank you very much for your help, and at the same time I apologize for bothering you with such a silly mistake :-). As you wrote, sometimes one focuses on less important details instead of the bigger picture.
Best regards
Michal Malek

1 Like