- Posts: 85
- Thank you received: 0
Spindle Orient dual mode (velocity and position) with parport
5 years 5 months ago #209325
by fery15sty
Can anyone help me ..
how to make a spindle orient configuration with dual mode velocity and position using parport
My expected way of working:
- velocity mode
example: M3 S300
The spindle rotates continuously at a speed of 300rpm
- position mode
example: M19 R90
The spindle will rotate by 90 deg
Hardware that I use:
1. Chinese 5axis breakout-board (Parallel port)
2. Encoder (ABZ)
3. Stepper motor
4.TB6600 stepper driver
5. PSU for TB6600
Maybe someone can help me?
how to make a spindle orient configuration with dual mode velocity and position using parport
My expected way of working:
- velocity mode
example: M3 S300
The spindle rotates continuously at a speed of 300rpm
- position mode
example: M19 R90
The spindle will rotate by 90 deg
Hardware that I use:
1. Chinese 5axis breakout-board (Parallel port)
2. Encoder (ABZ)
3. Stepper motor
4.TB6600 stepper driver
5. PSU for TB6600
Maybe someone can help me?
Please Log in to join the conversation.
5 years 5 months ago #209498
by andypugh
Replied by andypugh on topic Spindle Orient dual mode (velocity and position) with parport
One way to do this is with two separate step generators, one for spindle / velocity mode and one for position mode.
Alternatively, a single step generator in velocity mode and two different control inputs to that can also work (direct spindle speed and position via a PID component). In the latter case you can just add together the two inputs before sending to the velocity command pin.
Enable / disable the position PID using the spindle.0.orient* pins.
But, you will need a spindle encoder.
Alternatively, a single step generator in velocity mode and two different control inputs to that can also work (direct spindle speed and position via a PID component). In the latter case you can just add together the two inputs before sending to the velocity command pin.
Enable / disable the position PID using the spindle.0.orient* pins.
But, you will need a spindle encoder.
Please Log in to join the conversation.
Time to create page: 0.075 seconds
