Hi everyone,
I have a P3 with 3 real axes and 1 virtual axis in use.
On one axis, I sometimes get these errors in this sequence:
32182 : Data length zero (data structure for parameter list operation)
29217 : Invalid input parameter. PLCopen_FB: FB_MC_BR_OffsetZone
I have already verified the code to ensure that the MC_BR_OffsetZone function is indeed handled according to the conditions described in the help:
Does anyone have experience with these errors?
Thank you
Ciao @simone.lonardoni ,
we have so many motion library releases, could you please add additional information:
AS version
ACP10 legacy or mapp Motion? Which version?
Could you upload system dump?
Ciao
Valerio
Hello Simone Lonardoni ,
internally the function block puts together a parameter list from its input parameters and transfers it to the drive.
Setting the “InitData” input, without any parameter beeing changed, could lead to those errors.
Can you please check, if that is the case?
Small note Simone,
which Function block are you using for the Offset: MC_BR_Offset or MpAxisCoupling?
The error I see in the logger (33285 and not 32182) points me on a different function block
On the other hand if I search for the error 32182 I see different ID:
Just to be on the same page
Thanks
Ciao
Valerio
Hi Valerio,
I’m using MC_BR_OffsetZone:
And I have this 2 errors (in this sequence):
32182
29217
Simone Lonardoni:
MC_BR_OffsetZone
Ciao @simone.lonardoni ,
I asked AI an example how to use MC_BR_OffsetZone, but unfortunately this time the code was not so good:
I’ll review that and make some traces, I need to refresh my knowledge on the PLCopen.
First of all I created the drive function block VAR_I4_0:
I did few tests and in my case works:
When I command “InitData” I see the output “DataInitialized” high and no error:
I changed, just for test, MasterMaxVelocity from 360 to 400 on watch window:
Back to the code:
Regarding the variables:
=================
Martin Schrott
Setting the “InitData” input, without any parameter beeing changed, could lead to those errors.
I tried that and I got your error:
I’m going to mark the comment made by Martin as solution.
In case that is not the cause of your problem we will continue the investigation, but we have to involve Support in Italy because it will require deep investigation.
Ciao
Valerio