![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I tried to drive dc motor with H-bridge,,, I used mesa's pwm as signal to dc motor,, but the motor didn't move,, when I check the signal voltage of PWM with oscilloscope,, It's pick value is around 3.6 Volt,,I suspect that the signal is too low to drive the motor,, I wonder,,,what must I do to get the signal with 5 volt pick value?? Do I need additional circuit to do that?? |
|
#2
| |||
| |||
open drain mode is a HostMot2 HAL setup option (man hostmot2) |
|
#4
| |||
| |||
|
Its not a PWM option, its a I/O pin option (it is selectable individually on all I/O pins) So the first step is to determine which I/O pins you need to change, you can determine this by reading the .PIN file or dmesg, these will show you which I/O pins the PWM outputs are connected to. Once you know which I/O pins to change you set the is_opendrain parameter for each selected pin. |
|
#5
| |||
| |||
I have another question,,, when I run EMC2 with Mesa 5i20, sometimes there is an error. It says "hm2-servo.hal:46 arameter or pin 'hm2_5i20.0.pwmgen.pwm_frequency' not found 8091". but sometimes, it doesn't occur. why is this error happen?? |
| Sponsored Links |
|
#6
| |||
| |||
| Reasons for occasional firmware misloads that we've seen: 1. Dirty edge connector --> Clean MB edge connector and 5I20 edge connector with with 99% isopropal alcohol 2. Bad or damaged 5I20 --> call us for a replacement, its probably under warranty. 3. External overload on multiple I/O pins --> remove overload 4. Flaky motherboard --> (replace) 5. Flaky software (most likely if you are compiling EMC yourself and some bug has been introduced) --> use standard distribution |
|
#7
| |||
| |||
| if we configure the EMC2 for position control with hal net motor.00.pos-fb hm2_5i20.0.encoder.00.posistion => pid.0.feedback net motor.00.pos-fb => axis.0.motor-pos-fb net emcmot.00.pos-cmd axis.0.motor-pos-cmd => pid.0.command net motor.00.command pid.0.output => hm2_5i20.0.pwmgen.00.value how does EMC2 differ two Gcodes with different feed rate? for example : G01 X5.0 F5 and G01 X5.0 F2 |
|
#8
| |||
| |||
The commanded position: emcmot.00.pos-cmd axis.0.motor-pos-cmd is what controls the actual axis movement. It comes from EMCs trajectory generator, and so is controlled by your feed rates |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EMC2+mesa 5i20+automatic tool changer | visky | LinuxCNC (formerly EMC2) | 6 | 06-12-2010 03:01 PM |
| Mesa 5i20 PCI card | karl1 | General Electronics Discussion | 0 | 03-06-2010 11:17 AM |
| Mesa 5i20 + Boot Up Sequence | TZak | LinuxCNC (formerly EMC2) | 2 | 12-10-2008 11:55 PM |
| Spindle Encoder to Mesa 5i20 | RogerN | LinuxCNC (formerly EMC2) | 3 | 10-17-2008 07:55 AM |
| Mesa 5i20 and EMC | daedalus | LinuxCNC (formerly EMC2) | 6 | 06-27-2007 02:19 PM |