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

SYNC servo and PLC problem

BIZON
2020-02-11
2020-02-12
  • BIZON - 2020-02-11

    PLC Berghof DC2007
    Servo motor Delta ASDA A2 E
    Problem - When Execute function block MC_POWER all ok (Servo On and Fix shaft)
    Next i try execute MC_HOME and lose connection / Error STOP
    Screen in attach, with program and error.
    HElp me with settings and correct configuration Ethercat SYNC parameters on PLC and SERVO
    Thank you so much

    IMG: Error.png

    IMG: Error8130Sync.png

    IMG: Program.png

     
  • BIZON - 2020-02-11

    General Settings

    IMG: SettingsGeneral2.png

    IMG: SettingsGeneral.png

     
  • josepmariarams - 2020-02-11

    Try to use smc_home instead. As I know, mc_home uses drive homming. Smc_home is done by plc_motion by codesys.

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

     
  • BIZON - 2020-02-12

    Thank you for your advice, but result same.
    I try SMC_StartUpDrive and Inch or Jog function block, result same.
    Help me please one more

     
  • josepmariarams - 2020-02-12

    You have to call your motion fbs from the ethercat task

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

     
  • eschwellinger

    eschwellinger - 2020-02-12

    Hi,
    you need call all motion fb's in the Ethercat task.
    So move the PLC_PRG below the EthercatMaster task.
    Then check the jitter in the taskmonitor.

    BR
    Edwin

     
  • BIZON - 2020-02-12

    Thank you so much, this help me "move the PLC_PRG below the EthercatMaster task"
    I saw Jitter but i dont know normal range. CAn you look screen in attach and say good or bad means my Jitter Ethercat bus. And how will do it better , if need.

    IMG: Jitter.png

     
  • BIZON - 2020-02-12

    One Servo with Absolute Encoder (Incremental + Battery)
    How can i set position on this Encoder?
    I try use FB MC_SetPosition , but it is not work (change position on servo drive)

     
  • eschwellinger

    eschwellinger - 2020-02-12

    Hi,

    not sure could you set this by the drive tool, this is not CODESYS relatet...

    Reset by rightclick in the taskmonitor the measuered times... then what the last entries jitter.
    For Ethercat ( but depends on the dirve) +/-200 might work.
    If not the drive will fall out of sync or make noise.

    BR
    Edwin

     

Log in to post a comment.