We analysed the project back-up and the recording of team viewer you sent to us.
We can see that all the MC_xxx_ATV function blocks are in error state even though CANopen communication is operational state which is verified by CiA405.GET_STATE function block.
First of all we would like to verify the MC_POWER_ATV function block operation.
It is strange that when it is enable, its Status and Error both outputs set to true.
Unfortunately by that time we can see MC_ReadAxis Error_ATV is not enabled and hence we can not see the error.
We recommend first to check the MC_ReadAxisError_ATV that which ErrorID is there when MC_POWER_ATV is executed.
It is possible that you enable MC_POWER_ATV but drive is not able to go to the "Ready" state for example drive displays COF and you enable MC_POWER_ATV then it goes into the error failing ATV to power ON. For this particular example, if you read MC_ReadAxisError_ATV , it returns ErrorID 65357.
In this case, if we execute MC_Reset_ATV first and then MC_power_ATV, we can able to power it ON.
This is just an example, we shared.
Purpose is to check with your application. Can you try MC_Reset_ATV first before enabling MC_power_ATV ? check the result.
It is obvious that until MC_Power_ATV is enabled with Status = true and Error= false, the other MC_xxx_ATV would remain in Error state itself ( Exception, MC_Reset_ATV, MC_ReadAxisError etc.)
For other function blocks as we discussed, MC_ReadAxisError_ATV and MC_ReadActualvelocity_ATV you set Enable to TRUE continuously which is never recommended.
The reason is function block uses Service Data Objects (SDO) to read the parameter. Therefore, it is strongly recommended not to permanently set the input Enable to TRUE. This may cause overload on the fieldbus. It is recommended to deactivate the function block when the input Busy is set to FALSE.
You can interlock the Enable input using the Busy output.
Please, check the above recommendations and get back to us
We analysed the project back-up and the recording of team viewer you sent to us.We can see that all the MC_xxx_ATV function blocks are in error state even though CANopen communication is operational state which is verified by CiA405.GET_STATE function block.First of all we would like to verify the MC_POWER_ATV function block operation.It is strange that when it is enable, its Status and Error both outputs set to true.Unfortunately by that time we can see MC_ReadAxis Error_ATV is not enabled and hence we can not see the error.We recommend first to check the MC_ReadAxisError_ATV that which ErrorID is there when MC_POWER_ATV is executed.It is possible that you enable MC_POWER_ATV but drive is not able to go to the "Ready" state for example drive displays COF and you enable MC_POWER_ATV then it goes into the error failing ATV to power ON. For this particular example, if you read MC_ReadAxisError_ATV , it returns ErrorID 65357.In this case, if we execute MC_Reset_ATV first and then MC_power_ATV, we can able to power it ON.This is just an example, we shared.Purpose is to check with your application. Can you try MC_Reset_ATV first before enabling MC_power_ATV ? check the result.It is obvious that until MC_Power_ATV is enabled with Status = true and Error= false, the other MC_xxx_ATV would remain in Error state itself ( Exception, MC_Reset_ATV, MC_ReadAxisError etc.)For other function blocks as we discussed, MC_ReadAxisError_ATV and MC_ReadActualvelocity_ATV you set Enable to TRUE continuously which is never recommended.The reason is function block uses Service Data Objects (SDO) to read the parameter. Therefore, it is strongly recommended not to permanently set the input Enable to TRUE. This may cause overload on the fieldbus. It is recommended to deactivate the function block when the input Busy is set to FALSE.You can interlock the Enable input using the Busy output.Please, check the above recommendations and get back to us
การแปล กรุณารอสักครู่..
