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

MC_HOME keeps Busy

ahdelta
2023-01-03
2023-05-13
  • ahdelta - 2023-01-03

    If I call MC_HOME, it keeps being busy.
    I Then found that if I change "DSP402_StateMachine._bCheckBit10PostHoming" to FALSE, it seems to work.

    My problem is that I cannot figure out how to set this to FALSE from my code. I can change it in the "SM_DRIVE_ETC_GenericDSO402 IEC objects", but it defaults to TRUE after restart.
    So how can I access this parameter from the code?

    Thanks.

     
  • eschwellinger

    eschwellinger - 2023-01-03

    but it should work to change this parameter while being offline by click on the value here - download and then is should work

     

    Last edit: eschwellinger 2023-01-03
  • ahdelta - 2023-01-04

    When I am offline, I cannot see the parameters, see attachment.

    I can read the actual value from the program, but when I try to write it fails during compile.

    I use v3.5 SP18 Patch3, PLC: Janztec empc-aimx6 target 4.6.0.0

     
  • eschwellinger

    eschwellinger - 2023-01-04

    enable the parameter tab in - Tools-> Options->Device Editor -> show generic device configuration views

     
  • ahdelta - 2023-01-04

    Thank you - working now.

     
  • EngUsamaFATTAH - 2023-05-03

    hello
    I have same problem MC_Home keep Busy I have change The DSP402_StateMachine._bCheckBit10PostHoming to False
    but I do not have done
    can anyone heple me

     
  • eschwellinger

    eschwellinger - 2023-05-13

    Isn't in DS402 CANopen Spec Homing-Done-Bit Bit 12 - this might be your problem - check this with your drive manufacturer

     

Log in to post a comment.