Welcome! Log In Create A New Profile

Advanced

Problème de connection entre servodriver et Duet

Posted by Julien30 
Problème de connection entre servodriver et Duet
February 13, 2023 11:32AM
Bonjour à tous.
Après plusieurs semaines sur le même problème, je me décide enfin à demander de l'aide.
Je cherche à rétrofiter une vieille Stratasys TITAN FDM à laquelle il manque les moteurs ainsi que la carte.
Pour ce faire, j'ai en ma possession:
- 1 carte mère Duet3 6HC
- 3 carte Duet Expansion 1XD
- 3 switchs servants d'endstops
- 2 servomoteurs 90ST-M03520 (sans frein, plaque moteurtongue sticking out smileyn: 0,73 Kw In: 3A Tn: 3,5 N.m Un: 220V)
- 1 servomoteur 90ST-M03520Z1 (avec frein, plaque moteur: Pn: 0,73 Kw In: 3A Tn: 3,5 N.m Un: 220V)
- 3 AC servo-driver A1-SVD15 Réf: A1JK12V63X7926 AC220V / 50-60Hz
- 2 moteurs d'extrusion ainsi que les corps de chauffe

Je me suis fais une paillasse pour pouvoir tester tout avant l'installation dans l'imprimante.
J'ai pu paramétrer les petits extrudeurs ainsi que les corps de chauffe et les capteurs de températures. Jusque là tout fonctionne.

Seulement, paramétrer et câbler les gros servos, c'est une autre affaire.
Mon problème:
J'arrive à faire tourner le moteur quand je rentre les commandes JoG directement depuis les servodrivers mais quand je veux piloter le moteur depuis DuetWebControl, absolument rien ne se passe.
Je cherche donc à savoir si j'ai bien configurer et câbler l'ensemble.
Je tiens à préciser que il y a encore 2 mois, ce monde m'était complétement inconnu et, de ce fait je suis novice dans ce domaine; il y a du vocabulaire que je ne comprends pas encore. Mais je compte sur votre bienveillance.

Voici la config g que j'avais modifié

; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.15 on Fri Dec 16 2022 13:46:14 GMT+0100 (heure normale d’Europe centrale)

; General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Titan FDM" ; set printer name
M669 K1 ; select CoreXY mode

; Wait a moment for the CAN expansion boards to start
G4 S2

; Network
M552 Pxxx.xxx.x.xx S1 ; enable network and acquire dynamic address via DHCP
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet

; Drives
M569 P40.0 S1 R1 T5:5:10:10 ; physical drive 40.0 goes forwards
M569 P41.0 S1 R1 T5:5:10:10 ; physical drive 41.0 goes forwards
M569 P42.0 S1 R1 T5:5:10:10 ; physical drive 42.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M584 X40.0 Y41.0 Z42.0 E0.1:0.2 ; set drive mapping
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E110.00:110.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E1300:1300 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X406 Y355 Z406 S0 ; set axis maxima

; Endstops
M574 X1 S1 P"40.io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin 40.io1.in
M574 Y1 S1 P"41.io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin 41.io1.in
M574 Z1 S1 P"42.io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin 42.io1.in

; Z-Probe
M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
M558 P9 C"io3.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters
M557 X15:215 Y15:195 S20 ; define mesh grid

; Heaters
M308 S2 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp0
M950 H2 C"out1" T0 ; create nozzle heater output on out1 and map it to sensor 0
M307 H2 B0 S0.2 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S300 ; set temperature limit for heater 0 to 300C
M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
M307 H1 B0 S0.2 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 300C
M308 S0 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp2
M950 H0 C"out4" T2 ; create chamber heater output on out4 and map it to sensor 2
M307 H0 B0 S0.2 ; disable bang-bang mode for the chamber heater and set PWM limit
M140 H0 ; map bed to heater 0
M143 H0 S200 ; set temperature limit for heater 0 to 200C
M308 S0 P"temp2" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp2
M950 H3 C"out3" T2 ; create chamber heater output on out3 and map it to sensor 2
M307 H3 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit
M141 H3 ; map chamber to heater 3
M143 H3 S100 ; set temperature limit for heater 3 to 100C

; Fans
M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
M106 P0 S0 H T45 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
M106 P1 S1 H1:2:2 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency
M106 P2 S1 H0:1 T45 ; set fan 2 value. Thermostatic control is turned on

; Tools
M563 P1 S"Extrudeur supports" D0 H2 F0 ; define tool 0
G10 P1 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P1 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M563 P0 S"Extrudeur fil" D1 H1 F1 ; define tool 1
G10 P0 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P0 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

; Custom settings are not defined

; Miscellaneous
M501 ; load saved parameters from non-volatile memory
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
T0 ; select first tool



Pour ce qui est du câblage entre le servodriver et la carte EXP 1 XD,

J'ai un câble composé de 3 sections Rouge, Vert, Noir.

Il est branché au Servodriver (capture écran)
Rouge sur pin 2 (PV) du CAN2
Vert sur pin 5 (PD-) du CAN2
Noir sur pin 14 (PP-) du CAN2

Puis à la Duet EXP1XD (capture écran)
Rouge sur 5V DRIVER OUT
Vert sur D0_DIR (-) DRIVER OUT
Noir sur D0_STEP (-) DRIVER OUT

Voilà voilà. Je ne suis pas plus avancé que ca.
Merci d'avance pour toute l'aide que vous m'apporterez. smileys with beer
Attachments:
open | download - 1676300222068-72f1c514-c95f-4e00-821a-bb34c5500e2b-image.png (271.9 KB)
open | download - 1676300290133-2d97c407-59f7-4cdc-bc76-0a42ce9727fe-image.png (403.3 KB)
Sorry, only registered users may post in this forum.

Click here to login