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

How to change bHiresMode

niallel
2024-03-11
2024-03-12
  • niallel - 2024-03-11

    Hi,

    I'm trying to get Scaling working on my axis. An increment produces 36.6mm of movement, so I want to put the units in application as 36.6.

    However the docs say that I need to change bHiresMode as it doesn't show me the option for Precision in the User Interface.
    I'm thinking that I need to change the precision so I can enter decimal places.

    How can I do this, or is my thinking wrong?

    Thanks,

     
  • Fless

    Fless - 2024-03-12

    Hi,

    you should see 2 input fields in the scaling tab of your linear axis:
    increments and units in application

    just set increments to 10 and
    units in application to 366

     
    • niallel - 2024-03-12

      Thank you so much for the reply.

      The motor is a rotary connected to a linear actuator. So would I set it up as in the attachment screenshot?

       
  • Fless

    Fless - 2024-03-12

    you need to set the increments to 10 (the screenshot shows 10000 hex = 65536).
    all the turn settings to 1.
    and the application units to 366.

    But usually you use the resolver resolution per motor turn.
    Insert the gear ratios (1:1 for no gear)
    and the last field you put the circumference of your drive wheel.

     
    • niallel - 2024-03-12

      That's brilliant, thanks so much for all your help.

       

Log in to post a comment.