Jump to content

DavorS

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by DavorS

  1. Heya,
    As always, simple solutions are always the best. Storing value into INT32 type of integer worked like a charm. This way I can also operate with the formula function, which makes calculation of the position even easier. I would like to thank you for your help/time.


    Best regards,
    DS

  2. Good day,

    I am working on a milling machine. The machine has multiple milling tools which are moved with motor and spindle.  The position is measured with incremental encoder which is connected directly to  the spindle, that means 1 rotation of spindle (10 mm per turn) is directly translated to 1 rotation of encoder (2500 pulses per turn). The position will be set only manually, since it is meant for correction of tools.

    Previously I worked a lot with VisiLogic, but this is my first project with UniLogic.

    At the moment I am having problem with the position. In the VisiLogic you could define integer type which was used for encoder, but in UniLogic it is generated automatically (UINT32). Since I need to count position in both directions is there any way to change unsigned integer type to signed?

    I have already tried with linearization, but at compiling i get error message, that there can be used only same data types.

    Did anyone encounter similar problem? Maybe any ideas for workaround?

     

    Thank you for your replys

    DS

     

    HSC Configuration.jpg

×
×
  • Create New...