MESA 5i23 7i44 7i49 7i37 8i20
17 Jul 2015 23:48 #60696
by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20
If there is a working, hard-wired e-stop circuit then you don't really need anything in software.
You can use the loop-back from the sim configs:
# estop loopback
net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in
You probably also need to wire the enable pins of the 8i20 drives to digital outputs but those may already be in your axis HAL sections?
You can use the loop-back from the sim configs:
# estop loopback
net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in
You probably also need to wire the enable pins of the 8i20 drives to digital outputs but those may already be in your axis HAL sections?
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
18 Jul 2015 00:21 #60699
by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Thank You.
Enable pins in 8i20 is already connected. Servos is working.
- EMC2 started OK
- F1 key is working
- X,Y and Z position indicated OK, only if I moving motors by hand.
- If I try press F2 key for machine power, manual positioning not possible because servo generated: "joint 0 following error"
- In my opinion, this error is generated because servos have non valid parameters (PID...)
Enable pins in 8i20 is already connected. Servos is working.
- EMC2 started OK
- F1 key is working
- X,Y and Z position indicated OK, only if I moving motors by hand.
- If I try press F2 key for machine power, manual positioning not possible because servo generated: "joint 0 following error"
- In my opinion, this error is generated because servos have non valid parameters (PID...)
Please Log in or Create an account to join the conversation.
18 Jul 2015 01:09 #60700
by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
P,I and D parameters is not any effect for "joint 0 following error" Err.
In my opinion is bad one or more of this parameters:
setp bldc.0.scale -16777216
setp bldc.0.poles 10
setp bldc.0.lead-angle 0
setp bldc.0.encoder-offset -950000
Only parameter "poles" is OK, but I read this from TG drives manual...
Where is err?
How I verify parameters of my resolver etc... ?
I have TG Drives TGN3-0205 motors.
In my opinion is bad one or more of this parameters:
setp bldc.0.scale -16777216
setp bldc.0.poles 10
setp bldc.0.lead-angle 0
setp bldc.0.encoder-offset -950000
Only parameter "poles" is OK, but I read this from TG drives manual...
Where is err?
How I verify parameters of my resolver etc... ?
I have TG Drives TGN3-0205 motors.
Please Log in or Create an account to join the conversation.
18 Jul 2015 01:32 - 18 Jul 2015 01:33 #60701
by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20
Have you had the motors rotating properly yet? i.e on the bench, not connected to the machine?
You expect following errors when setting up a servo system, So set the f-error limits quite big (in the INI) at first so you can see if things are moving in the right direction at least.
The first thing to try, make the _resolver_ scale negative on the axis that is triggering f-error.
You expect following errors when setting up a servo system, So set the f-error limits quite big (in the INI) at first so you can see if things are moving in the right direction at least.
The first thing to try, make the _resolver_ scale negative on the axis that is triggering f-error.
Last edit: 18 Jul 2015 01:33 by andypugh.
Please Log in or Create an account to join the conversation.
18 Jul 2015 01:43 #60702
by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Motors is mounting on the machine still without pulleys.
Motors is not rotating - generated only noise. I dont switch emc to machine On.
If I move motor axis by hand then I feel five gentle steps (motors is 10 poles).
Motors is not rotating - generated only noise. I dont switch emc to machine On.
If I move motor axis by hand then I feel five gentle steps (motors is 10 poles).
Please Log in or Create an account to join the conversation.
18 Jul 2015 01:48 #60703
by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.005
MIN_FERROR = 0.0005
MAX_VELOCITY = 1.667
MAX_ACCELERATION = 2.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 2.1
STEPGEN_MAXACCEL = 2.5
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = 200.0
MIN_LIMIT = -0.01
MAX_LIMIT = 8.0
HOME_OFFSET = 0.0
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.005
MIN_FERROR = 0.0005
MAX_VELOCITY = 1.667
MAX_ACCELERATION = 2.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 2.1
STEPGEN_MAXACCEL = 2.5
# these are in nanoseconds
DIRSETUP = 1000
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = 200.0
MIN_LIMIT = -0.01
MAX_LIMIT = 8.0
HOME_OFFSET = 0.0
Please Log in or Create an account to join the conversation.
18 Jul 2015 01:52 #60704
by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Where is the _resolver_ scale ?
Is it in INI file?
I do make it?
the _resolver_ scale = 1
OK?
Is it in INI file?
I do make it?
the _resolver_ scale = 1
OK?
Please Log in or Create an account to join the conversation.
18 Jul 2015 06:03 #60709
by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20
I am now completely baffled. I thought this was a brushless servo system with resolvers, but you seem to be configuring for a stepper system.
Please Log in or Create an account to join the conversation.
18 Jul 2015 23:18 - 18 Jul 2015 23:28 #60737
by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20
I have just read back through this whole thread and I have come to the realisation that I haven't been as helpful as I have thought.
I thought I had previously given you a complete configuration, but that is not the case.
So, I think we need to make a fresh start.
I was hoping to be able to make an rmsvss8_6.xml file, but it is not possible to do that without access to the 5i23 hardware, and I am working away from home for the next week.
First, here is a basic configuration of a HAL and an INI file that ought to be fairly close.
Some things will have to be changed, but at least we will both be looking at the same files.
Extract the file into your linuxcnc/configs directory and you should be able to start it as a configuration.
I can't test it properly without actual hardware, so it might not work first time.
I thought I had previously given you a complete configuration, but that is not the case.
So, I think we need to make a fresh start.
I was hoping to be able to make an rmsvss8_6.xml file, but it is not possible to do that without access to the 5i23 hardware, and I am working away from home for the next week.
First, here is a basic configuration of a HAL and an INI file that ought to be fairly close.
Some things will have to be changed, but at least we will both be looking at the same files.
Extract the file into your linuxcnc/configs directory and you should be able to start it as a configuration.
I can't test it properly without actual hardware, so it might not work first time.
Last edit: 18 Jul 2015 23:28 by andypugh.
Please Log in or Create an account to join the conversation.
18 Jul 2015 23:24 #60738
by andypugh
Replied by andypugh on topic MESA 5i23 7i44 7i49 7i37 8i20
Once you have the basic configuration you are going to need to configure the motors.
If you look in the HAL file there are two items per axis that need to be set to suit your hardware before the motors will turn, these are the bldc poles (which I think, from what you have said are 10) and the "encoder offset" which is where the electrical "zero" of the motor is compared to the resolver "zero"
But, try the config as it is, it might even work...
If you look in the HAL file there are two items per axis that need to be set to suit your hardware before the motors will turn, these are the bldc poles (which I think, from what you have said are 10) and the "encoder offset" which is where the electrical "zero" of the motor is compared to the resolver "zero"
But, try the config as it is, it might even work...
Please Log in or Create an account to join the conversation.
Time to create page: 0.105 seconds