Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Feedforward torque

2018-03-14
2018-06-30
  • josepmariarams - 2018-03-14

    Dears.

    I am working with an Lenze i700 it wors fine but I cannot give to the drive an torque addition.

    Torque addition is mapped in pdo, but it is allways 0, and I have not seen in anywhere the load inertia. Anybody knows how I can parameterize it?.

    In any case, it is possible to access the addtorque variable from the axis_ref?. If it is possible the torque feedforward could be cqlculated having in count load inertia and static and viscous friction.

    Be healty!

     
  • alwoso - 2018-06-28

    Hi Joseph!

    Are you still looking for a solution? Function block "SMC_SetTorque" of library SM3_Basic should do this job to fill the fSetTorque in the axis_Ref. I'm using it with CiA-402-drives (Stober SI6, SD6), and it works fine....

    Good luck!

    Alfred

     
  • josepmariarams - 2018-06-28

    Hi.

    In Lenze drives exist setTorque and addTorque.

    The first is when you are working in torque mode and the other acts as a feedforward when you work in sync velocity or position mode.

    I have not test, but I am thinking that it doesnt works.

    Thanks

    Sent from my Moto G (5S) Plus using Tapatalk

     
  • alwoso - 2018-06-29

    Hi Joseph!

    You are right, in the standard AXIS_REF_SM3 of Codesys there is no entry for a Torque Offset. What you can do is to map the parameter manually to a plc-variable and write the calculated torque offset to that variable (must be in units that the drive needs!).

    If Lenze has a special Softmotion driver (may be part of their control system), this might have an extended AXIS_REF, where the offset is mapped internally. But that's something I don't know....

    Or maybe, internal in the drive they interpret fSetTorque as an offset, if the drive is in mode csp or csv..... This should be written in the documentation....

    Best regards

    Alfred

     
  • josepmariarams - 2018-06-30

    Hi Alfred.

    The question is:

    In axis_ref, is not vissible an addspeed variable, but it is mapped to the addspeed pdo.

    I think there is an non vissible addtorque variable in the axis_ref struct.

    Yes, I can create an add torque variable in my code and mapping it, but...

    You can extend axis_ref, but twincat maps an axis_ref directly to the input outputs, not your extended axis_ref....

    Sent from my Moto G (5S) Plus using Tapatalk

     

Log in to post a comment.