× Forum Header

first step to config StepConf and step motor strange song ...

More
15 Jan 2020 21:55 #154958 by Hugues
Hello,

After using for a year my self built machine driven by Mach3, I couldn’t correct some random step problems between two cessions.
I decide then to move to Linux and give a chance to this option.

My machine uses a control board 5 axis breakout board HY-JK02-M and three step by step motors nema 23 and 3 TB1H microstepping driver inspired on the Toshiba high-efficiency TB6600HG. After learning how to use Linux and linuxcnc I heard the first hummings of the motors.

BUT in slow speed the motors heat a lot making this noise VRRRRRRRRRRRRRR
which means something is wrong with the settings.

I would like to precise that I’m a self taught man for my machine conception and the settings. So I apologize for the incorrect use of my CNC vocabulary.

Here’s how I set the Step Config after the axis calibration.

LinuxCNC Stepper Mill Configuration


Basic machine information:

Machine Name: h.Daguet
Axis configuration: XYZ
Machine units: Millimeter
Driver type: Other
Step Time: 2500
Step Space: 2500
Direction Hold: 10000
Direction Setup: 5000
First Parport Base Address: 0x378
Base Period Maximum Jitter: 5000 <je suis un peut dans le flou pour ce point j ai tester plusieurs chose sans que cela change quoi que ce soit
Onscreen prompt for tool change: ON



Parallel Port Setup:

-> Outputs (PC to Mill):
PIN 01: Amplifier Enable
PIN 02: X Step
PIN 03: Y Direction
PIN 04: Unused
PIN 05: A Direction
PIN 06: A Step
PIN 07: Z Step
PIN 08: Z Direction
PIN 09: Spindle PWM
PIN 14: X Direction
PIN 16: Y Step
PIN 17: Unused

-> Input (Mill to PC):
PIN 01: Both Limit + Home X
PIN 02: Both Limit + Home Y
PIN 03: Both Limit + Home Z
PIN 04: Both Limit + Home A
PIN 05: Unused


Axis Configuration:

Motor steps per revolution: 351.4757 pour X, 340.8176 pour Y, 356.1253 pour Z
Driver Microstepping: 2.0
Pulley teeth (Motor:Leadscrew): 1.0
Leadscrew Pitch: 5
Maximum Velocity: 25.0
Maximum Acceleration: 750.0
Home location: 0.0
Table travel: 400.0
Home Switch location: 0.0
Home Search velocity: 0.0
Home Latch direction: Same




Microstep Driver 2M982 configuration

For 1.2A RMS current:
SW1: 1
SW2: 0
SW3: 1

For 1/2 microtep
SW5: 0
SW6: 0
SW7: 1

So what do you think? I would like to have your expert opinion before go through LinuxCNC and the Backslash... etc.

Thank you in advance.

Looking forward to hearing from you.

Please Log in or Create an account to join the conversation.

More
15 Jan 2020 22:55 #154966 by Clive S
For a start I would change this.
Step Time: 2500 to 5000
Step Space: 2500 to 5000
Direction Hold: 10000
Direction Setup: 5000

Its always a good idea to post your config files ini & hal

Please Log in or Create an account to join the conversation.

More
16 Jan 2020 04:27 - 16 Jan 2020 14:27 #154995 by Todd Zuercher
Heating at low speeds is normal for a stepper motor. They can get quite hot.

And some noise is also quite normal. (With the right programming you can even play music with steppers.) Without hearing the noise I don't think we can say if it is normal or not.
Last edit: 16 Jan 2020 14:27 by Todd Zuercher.

Please Log in or Create an account to join the conversation.

More
16 Jan 2020 10:46 #155011 by Hugues
thx !
after modification


# Generated by stepconf 1.1 at Tue Jan 1 01:27:52 2008
# Si vous modifiez ce fichier, il sera
# écrasé quand vous relancerez Stepconf

[EMC]
MACHINE = H.Daguet
DEBUG = 0

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 2.50
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/daguet/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000

[HAL]
HALFILE = H.Daguet.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_VELOCITY = 25.00

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 140.59028
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 400.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 1.500000
HOME_LATCH_VEL = 1.500000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 136.32704
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 400.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 1.500000
HOME_LATCH_VEL = 1.500000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2

[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 142.45012
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 150.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 1.500000
HOME_LATCH_VEL = 1.500000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum