Jump to content
OMRON Forums

yfleong

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by yfleong

  1. I'm using Pmac2A/PC104 with OPT12. 12bits ADC input, I wish to use this input as the motor feedback device.

     

    I did follow the instruction set the following

    CPU Analog Inputs

    I903 = 1746 ;Set ADC clock frequency at 4.9152 MHz

    WX:$C014, $1FFFFF ;Clock strobe set for bipolar inputs

    M105->X:$0710,12,12,S ;ADCIN_1 on JMACH1 connector pin 45

    M205->X:$0711,12,12,S ;ADCIN_2 on JMACH1 connector pin 46

     

    During set-up encoder conversion table, there are only "Acc28 A/D register (no rollover)" in conversion type. Source Address "$C005 PMAC2(ADC1A)"

    But, I found that the value at position not tally to the value M105. The origin position feedback is 16 bits data, how to configure it to 12 bits?

     

  2. The most important thing to do is to ask yourself if you really want to be controlling the motor this way. Virtually everyone who tries this method runs into this type of problem due to mismatch between the command interval and the feedback interval. Your best tool for improving the settling will be to create some deadband in the control loop with Ix64 and Ix65 so that fractional count errors do not keep the servo loop active.

     

    Most people get better performance from commanding the stepper drive open loop (in PMAC, feed the pulse train back to the counter with I9n0=8) and just using the encoder for confirmation, not as part of the feedback loop. This requires an extra encoder channel on the PMAC; do you have one available?

     

     

    Thanks for your advise... I have tested the Ix30 & Ix33 need to be sensitive in order to get less position error. Not recommended to do such a way. The optimize still matching the same step and encoder resolution.

     

  3. I am using Pmac2, I need to set-up a stepper motor with encoder feedback. Encoder counts x4 decode is 8192cts/rev. Most of the stepper driver do not have exact matching step size, example stepping set to 12800 pulse/rev. When running the motor, it seems that require very long settling time to reach the actual position. Any parameter need to change instead Ix30 servo loop gain?
×
×
  • Create New...