BR063

MrPLC Member
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About BR063

  • Rank
    Sparky

Profile Information

  • Country Canada
  1. Encoder Input to control Servo RPM

    In this same project I control a 3HP motor that drives my spindle through a Gearbox. It now has an encoder attached to it so that the servo drive can synchronize feed rate with its RPM. Works great! I am trying to stop the VFD spindle at a radial position. I used 3.0 Hz to rotate to a proxy flag and change speed to the lowest possible setting (0.2 Hz) and stop at the next flag. It works okay 9 times out of 10. The accuracy is good enough, my deceleration and acceleration times are set to there lowest values. Is there a way to use encoder that is wired into the 0.00 and 0.01 as well as my proxy flag to accurately stop this motor? I figured the proxy setting accuracy would be enough but the motor is stiffer than usual because of the gearbox. I know the CP1L can control an inverter but extra hardware is needed and I am not sure if it can control a both a servo and inverter motor at the same time. At present i will try adding a second proxy to flag if it over shoots the 1st proxy edge and have the motor reverse and retry until both proxies are on after edge detection. I am pretty sure that will work but don't like seeing a spindle search for its home over and over again. Forgot to add the Spindle motor has no brake as it never needed one.
  2. Encoder Input to control Servo RPM

    I did not realize that my output mode was set to Pulse  + Direction. I guess it should have read #0010 for CW/CCW rather than #10 on each of the SPED commands. That is why I thought it would work with the default settings. If so that is my mistake in the interpretation. If I change this to read #0010 it should work with the default settings. Or should it be #0000 0000 0000 for CW and #0000 0001 0000 for CCW? Not sure
  3. Encoder Input to control Servo RPM

    I have all my components wired in. Did a Servo test run and the servo works. I see my pulse output on the PLC lights flickering but the Servo doesn't run. I had to wire in an output to activate the Run on the servo to pull in the brake. Servo doesn't seethe pulses. What am I missing? I am not sure how to monitor the high speeds Output 0, (100.00, 100.01) real time in CX-Programmer. I wired it up the same as the attached drawing with the exception of the fact that the PLC in the drawing is Sourcing outputs so I have: CP1L-M60DT-A to R88D-KT08H with R88M-K75030H-BS2 Motor 100.00 to Pin 4-CW (Note: Not using Shielded twisted pair for these) 100.01 to Pin 6 -CCW 100.04 to Pin 29 RUN -24V to Pins 10 BKIRCOM (Do I need to connect to Pin 25?) +24V to Pins 1,2,7 I am not using Origin Search so no other connections on CN1 Would appreciate any help.
  4. Encoder Input to control Servo RPM

    I have all my components wired in. Did a Servo test run and the servo works. I see my pulse output on the PLC lights flickering but the Servo doesn't run. I had to wire in an output to activate the Run on the servo to pull in the brake. Servo doesn't seethe pulses. What am I missing? I am not sure how to monitor the high speeds Output 0, (100.00, 100.01) real time in CX-Programmer. I wired it up the same as the attached drawing with the exception of the fact that the PLC in the drawing is Sourcing outputs so I have: CP1L-M60DT-A to R88D-KT08H with R88M-K75030H-BS2 Motor 100.00 to Pin 4-CW (Note: Not using Shielded twisted pair for these) 100.01 to Pin 6 -CCW 100.04 to Pin 29 RUN -24V to Pins 10 BKIRCOM , 8 and 9 (Do I need to connect to Pin 25 or 33?) +24V to Pins 1,2,7 I am not using Origin Search so no other connections on CN1 I will try -24V to Pin 33. Would appreciate any help. R88M_KT08.cxp I571-E1-05 598.pdf Connecting CP1H-X40DT1-D.pdf I571-E1-05 135.pdf
  5. Encoder Input to control Servo RPM

    Much appreciated. Thanks for all the help.
  6. Encoder Input to control Servo RPM

    I put that number in as a reference for now. I am not sure what it will be at this point. My encoder monitoring my spindle RPM is an Omron E6C2-CWZ6C-1000P/RM. The servo motor and drive are R88M-K75030H-BS2 and R88D-KT08H. At this point I am not even sure how many pulses per rev is on that motor and drive. 
  7. Encoder Input to control Servo RPM

    Okay thanks. My mistake I didn't do enough research on how that was configured. I get it now.
  8. Encoder Input to control Servo RPM

    Looking at this, I am not sure where your value of #0c00 for source word on the MOV instruction to configure APR control word D100 comes from. Please explain. I thought this was suppose to be the PRV2 value.
  9. Encoder Input to control Servo RPM

    Thanks alot for the help. That's a really neat instruction. I need to have  both CCW and CW rotation for the Rapid to lower the spindle when it is at 0 rpm. Spindle raise with 0 rpm will only be fast. Does this look about right? Also on wiring this up does the plc only use the A and B phase or is the Z phase also needed in this application? CP1L_SERVO_SPEED_CONTROL3.cxp 
  10. Encoder Input to control Servo RPM

    Is this close? Or am I in left field? I need fast and slow feed when the Spindle's RPM is at Zero in addition to 2 different feed rates while the spindle is running at any RPM. CP1L_SERVO_SPEED_CONTROL.cxp
  11. Encoder Input to control Servo RPM

    I understand that I wire the encoder on my spindle into the CP1L's high speed counter. In order to monitor its frequency rather than value how do i do that. Is it through the PRV instruction? I need to monitor that value to set my pulse output in realtime. If the spindle rpm goes up or down my feed has to as well.
  12. Encoder Input to control Servo RPM

    The easiest way? I looked at the APR instruction and can barely understand it. I guess I have a lot of research ahead of me. This is proving to be tougher than I thought. Thanks
  13. Encoder Input to control Servo RPM

    Thanks,  I am not concerned with the position when i am running at the set feed rates as long as it is synchronous with the spindle RPM. I have a limit switch at the top and bottom of the total stroke that will stop the feed at the bottom. There is a 2-hand anti tie down that activates spindle rotation so spindle rotation and feed will stop when the operator releases or it hits either limit switch. I may look at the homing function more closely in the future when i have time to play with this but for now the limit switch should be sufficient.
  14. Encoder Input to control Servo RPM

    I am going to use a R88D-KT08H which does have pulse train inputs. Using this, what is the proper way to issue a SPED command based on what the high speed counter reads from the spindles encoder. I figure the spindle running at 150 RPM will produce a count of 2.5 revs/sec. The 2000 ppr encoder counting 4x per pulse is = 20000 Hz. With my gear ratio and 5mm ball screw pitch I figure I need to run my servo at 6.53 RPM to get 0.002" feed rate and 13.06 to get 0.004". That is a reduction of 1: 22.97 and 1: 11.48 respectively. Not sure yet how that is done yet but that is what i am trying to achieve. For fast and slow approach with 0 RPM at spindle I will need to run 120 RPM and 1500 RPM for the slow and fast advance.
  15. Encoder Input to control Servo RPM

    I was planning on using the external encoder to monitor the RPM of the spindle which is controlled by the VFD and potentiometer. I am not sure what the RPM of the spindle is as per the operators adjustment of the potentiometer (Spindle RPM could be 100-250 RPM). Would I not just use that data and a scale function to output the required pulse to attain a constant feedrate? Or am I missing something? I realize I need to scale the RPM pulse output from the PLC based on the ball screw pitch, drive chain ratio and spindle's current RPM.