Top.Mail.Ru
GRBL_ESP32- ошибка.
 
Уведомления
Очистить все

GRBL_ESP32- ошибка.

Страница 2 / 2
Aveal
(@aveal)
Top level Admin

@aleksagolik а при выполнении какого скрипта ошибка?

ОтветитьЦитата
Размещено : 01.08.2024 11:58
(@aleksagolik)
Level 1

В конфиге : miso,mosi,sck ,cs-указал NO_PIN добавил на x2 dir и y2 dir освободившиеся пины.

$G
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok
[MSG:VRB: Cannot open file /littlefs/macrocfg.json]
[MSG:VRB: Cannot open file /littlefs/macrocfg.json.gz]
[MSG:DBG: /macrocfg.json not found]
[MSG:VRB: Cannot open file /littlefs/preferences2.json]
[MSG:VRB: Cannot open file /littlefs/preferences2.json.gz]
[MSG:DBG: /preferences2.json not found]
$SS
<Alarm|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZRHS>
[MSG:INFO: FluidNC v3.8.0  https://github.com/bdring/FluidNC ]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:INFO: Configuration file:9FLnc_1pV2.YAML]
[MSG:DBG: Running after-parse tasks]
[MSG:DBG: Checking configuration]
[MSG:INFO: Machine MPCNC_V1P2]
[MSG:INFO: Board ESP_32]
[MSG:DBG: SPI not defined]
[MSG:DBG: See  http://wiki.fluidnc.com/en/config/sd_card#sdfallbackcs-access-sd-without-a-config-file ]
[MSG:INFO: Stepping:RMT Pulse:3us Dsbl Delay:0us Dir Delay:0us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Shared stepper disable gpio.13]
[MSG:INFO: Axis X (-500.000,0.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     stepstick Step:gpio.12 Dir:gpio.26 Disable:NO_PIN]
[MSG:INFO:  X All Limit gpio.17:low]
[MSG:INFO:   Motor1]
[MSG:INFO:     stepstick Step:gpio.22 Dir:gpio.19 Disable:NO_PIN]
[MSG:INFO: Axis Y (-500.000,0.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     stepstick Step:gpio.14 Dir:gpio.25 Disable:NO_PIN]
[MSG:INFO:  Y All Limit gpio.4:low]
[MSG:INFO:   Motor1]
[MSG:INFO:     stepstick Step:gpio.21 Dir:gpio.23 Disable:NO_PIN]
[MSG:INFO: Axis Z (0.000,80.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     stepstick Step:gpio.27 Dir:gpio.33 Disable:NO_PIN]
[MSG:INFO:  Z All Limit gpio.15:low]
[MSG:INFO:   Motor1]
[MSG:INFO: reset_pin gpio.34:low]
[MSG:INFO: feed_hold_pin gpio.36:low]
[MSG:INFO: cycle_start_pin gpio.39:low]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: PWM Spindle Ena:gpio.32 Out:gpio.16 Dir:NO_PIN Freq:5000Hz Period:8191]
[MSG:INFO: Using spindle PWM]
[MSG:INFO: Probe gpio.35]
[MSG:INFO: STA SSID is not set]
[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]
[MSG:INFO: AP started]
[MSG:INFO: WiFi on]
[MSG:INFO: Captive Portal Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]
ok
<Alarm|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZRHS>
[MSG:VRB: Cannot open file /littlefs/connecttest.txt]
[MSG:VRB: Cannot open file /littlefs/connecttest.txt.gz]
[MSG:DBG: /connecttest.txt not found]
$J=G91 G21 F1000 X10
ERROR:8
Grbl '$' command cannot be used unless Grbl is IDLE. Ensures smooth operation during a job.
Error : undefined :undefined
[MSG:VRB: Cannot open file /littlefs/connecttest.txt]
[MSG:VRB: Cannot open file /littlefs/connecttest.txt.gz]
[MSG:DBG: /connecttest.txt not found]
$X
[MSG:INFO: Control pins:RHS]
ERROR:40
error:40
Error : undefined :undefined
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
ALARM:11
[MSG:VRB: Cannot open file /littlefs/connecttest.txt]
[MSG:VRB: Cannot open file /littlefs/connecttest.txt.gz]
[MSG:DBG: /connecttest.txt not found]
[MSG:VRB: Cannot open file /littlefs/connecttest.txt]
[MSG:VRB: Cannot open file /littlefs/connecttest.txt.gz]
[MSG:DBG: /connecttest.txt not found]
ОтветитьЦитата
Создатель темы Размещено : 01.08.2024 14:41
(@aleksagolik)
Level 1
[CTRL+X] < Grbl 3.8 [FluidNC v3.8.0 (wifi) '$' for help]
[MSG:WARN: Active limit switch on X axis motor 0]
[MSG:WARN: Active limit switch on X axis motor 1]
[MSG:WARN: Active limit switch on Y axis motor 0]
[MSG:WARN: Active limit switch on Y axis motor 1]
[MSG:WARN: Active limit switch on Z axis motor 0]
[MSG:ERR: reset_pin is active at startup]
[MSG:ERR: feed_hold_pin is active at startup]
[MSG:ERR: cycle_start_pin is active at startup]
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
S10000 < error:9
[CTRL+X] < Grbl 3.8 [FluidNC v3.8.0 (wifi) '$' for help]
[MSG:WARN: Active limit switch on X axis motor 0]
[MSG:WARN: Active limit switch on X axis motor 1]
[MSG:WARN: Active limit switch on Y axis motor 0]
[MSG:WARN: Active limit switch on Y axis motor 1]
[MSG:WARN: Active limit switch on Z axis motor 0]
[MSG:ERR: reset_pin is active at startup]
[MSG:ERR: feed_hold_pin is active at startup]
[MSG:ERR: cycle_start_pin is active at startup]
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
S10000 < error:9
$X < [MSG:INFO: Control pins:RHS]
error:40
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
S10000 < error:9
[CTRL+X] < Grbl 3.8 [FluidNC v3.8.0 (wifi) '$' for help]
[MSG:WARN: Active limit switch on X axis motor 0]
[MSG:WARN: Active limit switch on X axis motor 1]
[MSG:WARN: Active limit switch on Y axis motor 0]
[MSG:WARN: Active limit switch on Y axis motor 1]
[MSG:WARN: Active limit switch on Z axis motor 0]
[MSG:ERR: reset_pin is active at startup]
[MSG:ERR: feed_hold_pin is active at startup]
[MSG:ERR: cycle_start_pin is active at startup]
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
$X < [MSG:INFO: Control pins:RHS]
error:40
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
S10000 < error:9
$CD < board: ESP_32
name: MPCNC_V1P2
meta:
stepping:
engine: RMT
idle_ms: 255
pulse_us: 3
dir_delay_us: 0
disable_delay_us: 0
segments: 12
spi:
miso_pin: NO_PIN
mosi_pin: NO_PIN
sck_pin: NO_PIN
sdcard:
cs_pin: NO_PIN
card_detect_pin: NO_PIN
frequency_hz: 8000000
kinematics:
Cartesian:
axes:
shared_stepper_disable_pin: gpio.13
shared_stepper_reset_pin: NO_PIN
homing_runs: 2
x:
steps_per_mm: 200.000000
max_rate_mm_per_min: 8000.000000
acceleration_mm_per_sec2: 200.000000
max_travel_mm: 500.000000
soft_limits: false
homing:
cycle: 2
allow_single_axis: true
positive_direction: true
mpos_mm: 0.000000
feed_mm_per_min: 100.000000
seek_mm_per_min: 200.000000
settle_ms: 250
seek_scaler: 1.100000
feed_scaler: 5.000000
motor0:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: gpio.17:low
hard_limits: false
pulloff_mm: 1.000000
stepstick:
step_pin: gpio.12
direction_pin: gpio.26
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
reset_pin: NO_PIN
motor1:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: false
pulloff_mm: 1.000000
stepstick:
step_pin: gpio.22
direction_pin: gpio.19
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
reset_pin: NO_PIN
y:
steps_per_mm: 200.000000
max_rate_mm_per_min: 8000.000000
acceleration_mm_per_sec2: 200.000000
max_travel_mm: 500.000000
soft_limits: false
homing:
cycle: 2
allow_single_axis: true
positive_direction: true
mpos_mm: 0.000000
feed_mm_per_min: 100.000000
seek_mm_per_min: 200.000000
settle_ms: 250
seek_scaler: 1.100000
feed_scaler: 5.000000
motor0:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: gpio.4:low
hard_limits: false
pulloff_mm: 1.000000
stepstick:
step_pin: gpio.14
direction_pin: gpio.25
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
reset_pin: NO_PIN
motor1:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: false
pulloff_mm: 1.000000
stepstick:
step_pin: gpio.21
direction_pin: gpio.23
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
reset_pin: NO_PIN
z:
steps_per_mm: 800.000000
max_rate_mm_per_min: 3000.000000
acceleration_mm_per_sec2: 100.000000
max_travel_mm: 80.000000
soft_limits: false
homing:
cycle: 1
allow_single_axis: true
positive_direction: false
mpos_mm: 0.000000
feed_mm_per_min: 100.000000
seek_mm_per_min: 200.000000
settle_ms: 250
seek_scaler: 1.100000
feed_scaler: 5.000000
motor0:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: gpio.15:low
hard_limits: false
pulloff_mm: 1.000000
stepstick:
step_pin: gpio.27
direction_pin: gpio.33
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
reset_pin: NO_PIN
motor1:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: false
pulloff_mm: 1.000000
null_motor:
control:
safety_door_pin: NO_PIN
reset_pin: gpio.34:low
feed_hold_pin: gpio.36:low
cycle_start_pin: gpio.39:low
macro0_pin: NO_PIN
macro1_pin: NO_PIN
macro2_pin: NO_PIN
macro3_pin: NO_PIN
fault_pin: NO_PIN
estop_pin: NO_PIN
coolant:
flood_pin: NO_PIN
mist_pin: NO_PIN
delay_ms: 1000
probe:
pin: gpio.35
toolsetter_pin: NO_PIN
check_mode_start: false
hard_stop: false
macros:
startup_line0:
startup_line1:
Macro0:
Macro1:
Macro2:
Macro3:
after_homing:
after_reset:
after_unlock:
start:
must_home: true
deactivate_parking: false
check_limits: true
parking:
enable: false
axis: Z
target_mpos_mm: -5.000000
rate_mm_per_min: 800.000000
pullout_distance_mm: 5.000000
pullout_rate_mm_per_min: 250.000000
user_outputs:
analog0_pin: NO_PIN
analog1_pin: NO_PIN
analog2_pin: NO_PIN
analog3_pin: NO_PIN
analog0_hz: 5000
analog1_hz: 5000
analog2_hz: 5000
analog3_hz: 5000
digital0_pin: NO_PIN
digital1_pin: NO_PIN
digital2_pin: NO_PIN
digital3_pin: NO_PIN
digital4_pin: NO_PIN
digital5_pin: NO_PIN
digital6_pin: NO_PIN
digital7_pin: NO_PIN
PWM:
pwm_hz: 5000
direction_pin: NO_PIN
output_pin: gpio.16
enable_pin: gpio.32
disable_with_s0: false
s0_with_disable: false
spinup_ms: 0
spindown_ms: 0
tool_num: 0
speed_map: 0=0.00% 1000=100.00%
off_on_alarm: false
arc_tolerance_mm: 0.002000
junction_deviation_mm: 0.010000
verbose_errors: false
report_inches: false
enable_parking_override_control: false
use_line_numbers: false
planner_blocks: 16
ok
ОтветитьЦитата
Создатель темы Размещено : 01.08.2024 14:52
Aveal
(@aveal)
Top level Admin

@aleksagolik доброго времени суток! так по итогу все завелось?

ОтветитьЦитата
Размещено : 05.08.2024 11:31
(@aleksagolik)
Level 1

@aveal Нет. Ничего не получилось, писал на GitHab-е комментарий по моему поводу , ответили :

"

aleksagolik прокомментировал 4 дня назад

Здравствуйте. Пины gpio.25 gpio26 повторяются и программа на это ругается. Как с этим бороться?

@MitchBradley
 
Соавтор
MitchBradley прокомментировал 4 дня назад

Похоже, вы пытаетесь совместно использовать направляющие пины для двух двигателей с разными шаговыми пинами. FluidNC этого не поддерживает. Вам нужно либо использовать 8 пинов для 4 двигателей, чтобы у каждого двигателя были свои отдельные шаговые и направляющие пины, либо соединить пары драйверов двигателей параллельно, чтобы каждая пара получила одинаковый шаговый пин и пин направления. В первой ситуации квадратное самонаведение было бы возможно, но у вас может не хватить пинов в целом. Во второй ситуации используется меньше пинов, но квадратное самонаведение не допускается.

 

"

Вот такие вот дела-неважные. MitchBradley на сколько я знаю соавтор Fluidnc. 

ОтветитьЦитата
Создатель темы Размещено : 05.08.2024 14:51
(@aleksagolik)
Level 1

@aveal Здравствуйте. Наконец то мне удалось прошить GRBL_ESP32 через VScode и PlatformIO , почему я раньше этого не сделал. Все , буду плату проектировать под свою прошивку. Спасибо за помощь !

ОтветитьЦитата
Создатель темы Размещено : 07.08.2024 14:12
Aveal
(@aveal)
Top level Admin

@aleksagolik Пропустил предыдущее сообщение... Отлично, что получилось по итогу!

ОтветитьЦитата
Размещено : 07.08.2024 16:13
Страница 2 / 2
Поделиться: