getting started with 8i20
I assume you don't have Hall sensors?
Please Log in or Create an account to join the conversation.
- clematites93
- Offline
- Senior Member
-
- Posts: 62
- Thank you received: 0
thank you for your answers always fast.
Excuse me, I had forgotten that it was about optional parameters
bldc. N.output-pattern (if personality & 0x400)
bldc.N.pattern (if personality & 0x01)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- clematites93
- Offline
- Senior Member
-
- Posts: 62
- Thank you received: 0
For the "status", I wrote a small program so that the motor turns in a sense then in the other one (clockwise and "inverse" clockwise --> (+ / -) 0.5 mm).
Feed = 60.
I do not know if my results are reliable.
In any case, the precision is less good --> -0.489 and 0.485 (on average)
Please Log in or Create an account to join the conversation.
- clematites93
- Offline
- Senior Member
-
- Posts: 62
- Thank you received: 0
acceleration 1e+99
active_queue 1
actual_position -0.1219
adaptive_feed_enabled 0
ain 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
angular_units 1.0000
aout 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
axes 1
axis_mask 1
block_delete 1
command M2 (end program)
current_line 15
current_vel 0.9971
cycle_time 0.0011998830000000001
debug 0
delay_left 0.0
din 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
distance_to_go 0.6187
dout 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
dtg 0.6100
echo_serial_number 22
enabled 1
estop 0
exec_state motion
feed_hold_enabled 1
feed_override_enabled 1
feedrate 1.0
file /
flood 0
g5x_index 1
g5x_offset 0.0000
g92_offset 0.0000
gcodes G1 G17 G40 G21 G90 G94 G54 G49 G99 G64 G97 G91.1 G8
homed 1
id 14
inpos 0
input_timeout 0
interp_state waiting
interpreter_errcode 0
kinematics_type identity
limit 0
linear_units 1.0000
lube 1
lube_level 0
max_acceleration 1e+99
max_velocity 1.0000
mcodes M2 M5 M9 M48 M53 M0
mist 0
motion_line 14
motion_mode coord
motion_type feed
optional_stop 1
paused 0
pocket_prepped -1
position -0.1100
probe_tripped 0
probe_val 0
probed_position 0.0000
probing 0
program_units mm
queue 1
queue_full 0
queued_mdi_commands 0
rapidrate 1.0
read_line 20
rotation_xy 0.0000
settings 20.0 60.0 0.0
spindle_brake 1
spindle_direction 0
spindle_enabled 0
spindle_increasing 0
spindle_override_enabled 1
spindle_speed 0.0
spindlerate 1.0
state rcs_exec
task_mode auto
task_paused 0
task_state on
tool_in_spindle 0
tool_offset 0.0000
velocity 0.0
Please Log in or Create an account to join the conversation.
In any case, the precision is less good --> -0.489 and 0.485 (on average)
It is not clear to me what you are measuring, or how. 4um is difficult to measure physically.
When I asked about "status" I meant that I was wondering how close you are to having the system that you want. I have rather lost track of what the project is.
Please Log in or Create an account to join the conversation.
- clematites93
- Offline
- Senior Member
-
- Posts: 62
- Thank you received: 0
I understand your concern about the precision of my "results". It is necessary to spread big means to certify this precision on a "carriage".
At the moment, my motor is "bound" with nothing .
My program asks for 0.5 mm and on the dro, I read 0.489 or 0.485.
After me to be introduced to servomotors, I would like to replace the obsolete cnc of my lathe by two 8i20.
X 100 mm --> precision 2/100 --> (ballscrew with double nuts)
Z 250 mm- -> (the same precision)
I hope to have understood well your question, beforehand thank you for your indulgence
My concern --> the oscillations (3 of the same amplitude) but I worry can be for nothing.
Please Log in or Create an account to join the conversation.
My program asks for 0.5 mm and on the dro, I read 0.489 or 0.485.
What is the precision of your encoders? You can't normally get closer than 1 encoder count to the setpoint.
If you have only a P-term the motor current will go to zero before you meet the setpoint, because the PID output will be below the minimum current to move the motor.
If you add some I-term then you should see the motor _eventually_ reach the set point, but it may be that exactly 0.5000 is not a number that can be represented by the encoder scale. (actually this is very unlikely as I have never seen an encoder with an odd number of counts)
Be aware that it is _very_ difficult to tune a bare motor. It is likely that much higher P-gain values will be stable with the motor connected to the ballscrews. Just adding the pulley or coupling will make some difference.
Please Log in or Create an account to join the conversation.
- clematites93
- Offline
- Senior Member
-
- Posts: 62
- Thank you received: 0
Thank you for your explanations.
For the moment, the motor which I use serves me for the essays to understand the main part on servomotors.
It has an encoder of ( 2500 x 4) pulse / t.
I am going to connect it with a temporary _table_ to refine before to retrofit my lathe with other _similar_ motors.
In the meantime, I cannot make turn this motor quickly, even by increasing F in the program.
Beyond upper F> 60, an error join appears or it _vibrates_ ,
Beginner's question
It would seem that this motor can support 220 volt.
At the present time,the power supply voltage of 8i20 is, 60 volts, needs it to increase it ?
Please Log in or Create an account to join the conversation.
In the meantime, I cannot make turn this motor quickly, even by increasing F in the program.
Beyond upper F> 60, an error join appears or it _vibrates_ ,
How fast does the motor turn if you disconnect the PID and manually set the current from the command line?
Beginner's question
It would seem that this motor can support 220 volt.
At the present time,the power supply voltage of 8i20 is, 60 volts, needs it to increase it ?
Yes, a 220V motor rated at 3000 rpm will only do 800 rpm at 60V.
Please Log in or Create an account to join the conversation.