[FluidNC Issue#1502] Problem: How Setup Servo Motor – StepperOnline Model A6-RS750H2A1-M17

未分类 bolang 4个月前 (10-14) 39次浏览

Issue #1502 | 状态: 进行中 | 作者: GermainTejos | 创建时间: 2025-05-17


Wiki Search Terms

Hi, recently I bought a 6x CNC Controller from Barton Dring. I have experience using stepper motor, but now I tried to conect Servo motor and I can´t got run it with 6x CNC Controller fluidnc.

I hope anyone can help me

Link of Servomotor: https://www.omc-stepperonline.com/index.php?route=product/product/get_file&file=5100/A6-RS%20series%20servo%20drive%20manual%20(1).pdf

!Image

Controller Board

6x CNC Controller fluidnc from Barton Dring

Machine Description

Router CNC

Input Circuits


Configuration file

-

Startup Messages

-

User Interface Software

WebUi

What happened?

Hi, recently I bought a 6x CNC Controller from Barton Dring. I have experience using stepper motor, but now I tried to conect Servo motor and I can´t got run it with 6x CNC Controller fluidnc.

I hope anyone can help me

GCode File

No response

Other Information

No response


评论 (10)

#1 – MitchBradley 于 2025-05-17

We can’t help you if you choose not to supply all the information that we ask for in the issue template.


#2 – GermainTejos 于 2025-05-17

@MitchBradley sorry , I’m new on this forum.
I usually conect Stepper motors to 6X CNC Controller by @bdring using this schematics

Stepper driver 6X CNC Controller
PUL + —> STP
DIR + —> DIR
ENA + —> ENA
PUL-/DIR-/ENA- —> GND

After using WebUi it works ok

but now, I can’t get wiring properly servomotor to 6X CNC Controller, so I really hope if anyone can help me.


#3 – MitchBradley 于 2025-05-18

Connect STP to PULSE+, DIR to SIGN+. PULSE- and SIGN- to GND.


#4 – GermainTejos 于 2025-06-10

@MitchBradley
Mr could you help me, I need to setup A-axis as a Slave axis from Y-axis.

This is my configuration in YAML file

!Image


#5 – bdring 于 2025-06-10

Do you mean you want a dual motor Y axis?


#6 – GermainTejos 于 2025-06-10

yep that’s the idea,

This is my setup

!Image


#7 – bdring 于 2025-06-10

You need a motor0: and motor1: for the Y axis.

There is an example of a XYYZ config here.

https://github.com/bdring/fluidnc-config-files/blob/main/contributed/6xCNCController/6xxyyzpwm.yaml

You can use any of the motor driver outputs for any axis and motor


#8 – GermainTejos 于 2025-06-11

@bdring your advice works! thanks a lot

Now I just need to invert direction of motor, how can I get that?

this is my YAML file

board: 6x
name: 6x GTC
stepping:
engine: I2S_STREAM
idle_ms: 254
pulse_us: 4
dirdelayus: 1
disabledelayus: 0

axes:
sharedstepperdisablepin: NOPIN
x:
stepspermm: 1600.000
maxratemmpermin: 5000.000
accelerationmmper_sec2: 500.000
maxtravelmm: 600.000
soft_limits: false
homing:
cycle: 2
positive_direction: true
mpos_mm: 150.000
feedmmper_min: 100.000
seekmmper_min: 200.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.2:low:pu
limitpospin: NO_PIN
limitallpin: NO_PIN
hard_limits: false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.2
direction_pin: I2SO.1
disable_pin: I2SO.0

y:
stepspermm: 1600.000
maxratemmpermin: 5000.000
accelerationmmper_sec2: 500.000
maxtravelmm: 300.000
soft_limits: false
homing:
cycle: 2
positive_direction: true
mpos_mm: 150.000
feedmmper_min: 100.000
seekmmper_min: 200.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.26:low:pu
limitpospin: NO_PIN
limitallpin: NO_PIN
hard_limits: false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.5
direction_pin: I2SO.4
disable_pin: I2SO.7

motor1:
limitnegpin: gpio.32:low
limitpospin: NO_PIN
limitallpin: NO_PIN
hard_limits: false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.13
direction_pin: I2SO.12
disable_pin: I2SO.15

z:
stepspermm: 1600.000
maxratemmpermin: 1000.000
accelerationmmper_sec2: 200.000
maxtravelmm: 300.000
soft_limits: false
homing:
cycle: 1
positive_direction: false
mpos_mm: 150.000
feedmmper_min: 100.000
seekmmper_min: 800.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.33:low
limitpospin: NO_PIN
limitallpin: NO_PIN
hard_limits: false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.10
direction_pin: I2SO.9
disable_pin: I2SO.8

b:
stepspermm: 808.000
maxratemmpermin: 5000.000
accelerationmmper_sec2: 100.000
maxtravelmm: 200.000
soft_limits: false
homing:
cycle: 1
positive_direction: false
mpos_mm: 150.000
feedmmper_min: 100.000
seekmmper_min: 800.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.35:low
limitpospin: NO_PIN
limitallpin: NO_PIN
hard_limits: false
pulloff_mm: 3.000
standard_stepper:
step_pin: I2SO.18
direction_pin: I2SO.17
disable_pin: I2SO.16

c:
stepspermm: 808.000
maxratemmpermin: 5000.000
accelerationmmper_sec2: 100.000
maxtravelmm: 200.000
soft_limits: false
homing:
cycle: 1
positive_direction: false
mpos_mm: 150.000
feedmmper_min: 100.000
seekmmper_min: 800.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.34:low
limitpospin: NO_PIN
limitallpin: NO_PIN
hard_limits: false
pulloff_mm: 3.000
standard_stepper:
step_pin: I2SO.21
direction_pin: I2SO.20
disable_pin: I2SO.23

i2so:
bck_pin: gpio.22
data_pin: gpio.21
ws_pin: gpio.17

spi:
miso_pin: gpio.19
mosi_pin: gpio.23
sck_pin: gpio.18

sdcard:
carddetectpin: NO_PIN
cs_pin: gpio.5

probe:
pin: gpio.39:low
toolsetter_pin: gpio.36:low

Using MOSFETs (Check Spindle Pin Usage

coolant:
flood_pin: gpio.12
mist_pin: gpio.4
delay_ms: 0

start:
must_home: false

Begin Huanyang

uart1:

# txd_pin: gpio.15
# rxd_pin: gpio.16
# rts_pin: gpio.14
# baud: 9600
# mode: 8N1

Huanyang:

# uart_num: 1
# modbus_id: 1
# tool_num: 0
# speed_map: 0=0% 0=25% 6000=25% 24000=100%
# offonalarm: false

#begin PWM

pwm:
pwm_hz: 5000
directionpin: NOPIN
output_pin: gpio.13
enable_pin: gpio.14
disablewiths0: false
s0withdisable: true
spinup_ms: 0
spindown_ms: 0
tool_num: 0
speed_map: 0=0.000% 10000=100.000%
offonalarm: false

#begin Laser

Laser:

# pwm_hz: 5000
# output_pin: gpio.4
# enable_pin: gpio.12
# disablewiths0: false
# s0withdisable: true
# tool_num: 1
# speed_map: 0=0.000% 255=100.000%
# offonalarm: true

#begin 10V

10V:

# forward_pin: gpio.15
# reverse_pin: gpio.14
# pwm_hz: 5000
# output_pin: gpio.13
# enablepin: NOPIN
# directionpin: NOPIN
# disablewiths0: false
# s0withdisable: true
# spinup_ms: 0
# spindown_ms: 0
# tool_num: 0
# speed_map: 0=0.000% 1000=0.000% 24000=100.000%
# offonalarm: false


#9 – MitchBradley 于 2025-06-11

Did you search the wiki for “invert”?



原始Issue: https://github.com/bdring/FluidNC/issues/1502

喜欢 (0)