Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
Today 22:13 - Today 22:29
Replied by PCW on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Can you check the output of the module with an ohmmeter?

If the PC817 module needs 5V drive you would have to connect it in sinking
mode to the 7I92. ( +5V to PC817 module IN+ 7I92 output to
PC817 module IN-  and active low output )

Is there some other issue with reverse in the hal file
( like PWM connections if you have spindle speed control )
  • tommylight
  • tommylight's Avatar
Today 22:02
Replied by tommylight on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

The LED on the PC817 module lights up when REV is on, but the spindle doesn't reverse.

  • PCW
  • PCW's Avatar
Today 21:58 - Today 21:59
Replied by PCW on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Is it a hal setup error?

For Mesa FPGA cards you need to know the GPIO pin number
for the pin and to set that GPIO pin into output mode.
  • tommylight
  • tommylight's Avatar
Today 21:51 - Today 21:52
Replied by tommylight on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Do i understand correctly, you have a BOB attached to Mesa, and then from BOB to PC817?
That seems redundant as you already have the GND's wired together, so might want to get rid of the PC817 as it is not isolating anything.
Is there any resistor on the input side of the PC817?
There must be one, probably a 47-100 ohm should work.
also, might want to try the pull down version, so the pin 9 to the other input of PC817, and the input that was on pin 9 to +5V. This might also require inverting the pin in hal.
  • tommylight
  • tommylight's Avatar
Today 21:43
Replied by tommylight on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

Does the machine have a physical e-stop?
What comms between RPI and control board?
  • galmiklos
  • galmiklos
Today 21:34
Cannot get out of Estop was created by galmiklos

Cannot get out of Estop

Category: General LinuxCNC Questions

Hi,

I have a PrintNC machine with a Flexi-HAL board, and installed the customized Expatria LinuxCNC image (github.com/Expatria-Technologies/Flexi-Pi) on a Pi5, then upgraded LinuxCNC to 2.9.8. It all works fine.
I have the Pi5 with an SSD as well as an SD card, so I can kind of multiboot, and the above mentioned setup is on the SSD. I wanted to move from bookworm to trixie, so imaged the SD card with the latest trixie based LinuxCNC image (github.com/LinuxCNC/linuxcnc/releases/do...9.8_arm64_trixie.deb), and copied all the linuxcnc configuration over from the SSD.

LinuxCNC starts with the same configuration, but I cannot get out of ESTOP. I click the big red ESTOP button (using qtdragon_hd), but nothing happens.

Any advise what I can look at?

Thank you in advance!
  • Ismacr63
  • Ismacr63
Today 21:26
I can't reverse the spindle rotation. was created by Ismacr63

I can't reverse the spindle rotation.

Category: Basic Configuration

Hey everyone,

I'm stuck with a weird problem and could use some advice.

I've got a 3-axis mill with a 1.8kW AC servo on the spindle. It used to run perfectly from a parallel port and a Chinese BOB. I'm now upgrading to a Mesa 7i92, still using the same BOB.

To reverse the spindle I've always used a PC817 optocoupler module. When the REV signal is active, the module pulls the servo driver's DI4 pin to GND, and the spindle reverses. Simple.

Now with the 7i92, everything else works (motion, outputs, etc.), but the spindle reversal doesn't. The LED on the PC817 module lights up when REV is on, but the spindle doesn't reverse. If I take a piece of wire and manually jumper DI4 to GND, it reverses instantly. I've even tried a brand new PC817 module – same behavior.

Wiring of the PC817:

Input side: IN → pin 9 of the BOB, GND → BOB GND

Output side: V (collector/output) → DI4 on the servo driver, GND → servo driver GND

The BOB GND and the servo driver GND are common.

What puzzles me is that this exact setup worked fine with the parallel port. Why would the 7i92 cause a problem with the same BOB and wiring? Is there something different about the 7i92 outputs that could mess with the PC817?

 Is there a better or more reliable alternative to these PC817 modules for this kind of level shifting?

Thanks in advance
  • tommylight
  • tommylight's Avatar
Today 20:45
Replied by tommylight on topic one job, multiple files, one directory

one job, multiple files, one directory

Category: General LinuxCNC Questions

There are many ways of doing things in Linux and LinuxCNC, so i'll just throw this out there:
-you can have many configs for the same machine-in your case you can have PyVCP panels for chairs in one config, for beds on another config, etc, etc, as many as you care to make
-each of those configs can have it's own working directory to read files and/or MDI/O calls, etc
-each of those configs can also have it's own limits and/or speeds and/or accelerations and/or ... whatever you need
Any many more options, frankly hard to recall all at once here so i am sure i might find more later.
  • MaHa
  • MaHa
Today 20:31
Replied by MaHa on topic one job, multiple files, one directory

one job, multiple files, one directory

Category: General LinuxCNC Questions

You can call offsets and subroutines with a variable:
Just some example

;select G54
#<ucs> = 54
G#<ucs>

;select from G54 to G57
#<job> = 0
o100 REPEAT[4]
#<job> = [#<job> + 1]
#<ucs> = [53 + #<job>]
G#<ucs>
o100 ENDREPEAT

and you can call numbered subroutines

#<job> = 1
#1234 = #<job>
o#1234 call

and the subroutine would be
1.ngc

o<1> sub

your code

o<1> endsub
M2

It should be possible to assign offset and call the required subroutines with variables
  • djdelorie
  • djdelorie
Today 19:56
Replied by djdelorie on topic one job, multiple files, one directory

one job, multiple files, one directory

Category: General LinuxCNC Questions

No, it's more like I have a production run for a customer and I'd like to batch up 4 jobs at a time on the bed, but each job has its own gcode file.  So I need a script that runs each gcode file with the right work offset for each of the 4 setups.

(in this case, it's two parts for a chair, each part is different on both sides, and each pair of parts is a mirror image of the other, so four gcode files - but two runs produces four finished parts)

I expected to find some easy way of "batching" jobs like this, without mixing files from different jobs together on disk, but didn't.  Also, my memory is not good enough to trust doing any part of this manually, I want all the commands to be in one "project" gcode file that I can just run and it does the right thing.

And yes, I could have each setup be a different G54 et al (assuming few enough jobs that there are enough G5*) but I still need a way to run all four of them without having to go to the machine and remember which one is next.
 
  • Aciera
  • Aciera's Avatar
Today 18:07 - Today 18:08
Replied by Aciera on topic Plasma CNC Pipe Cutting Machine

Plasma CNC Pipe Cutting Machine

Category: Plasma & Laser

Note that 'genhexkins' is meant for hexapods, which may or may not be what you are using.
linuxcnc.org/docs/html/man/man9/kins.9.h...Hexapod%20Kinematics
 
  • Todd Zuercher
  • Todd Zuercher's Avatar
Today 18:00

Returning to LinuxCNC After 10+ yrs, Questions on Old Mesa Hardware & New Builds

Category: Driver Boards

PS. If I happened to have a 5i22 and daughter/breakout boards to go with it, I would be more inclined to try to use it than to try to sell it. Especially if I were planning a Linuxcnc related project.
  • endian
  • endian's Avatar
Today 17:56

Joint speed tracking - motion in danger

Category: Advanced Configuration

hello gentelmen,

Does somebody have time to help me tested some behaviour of the actual trajectory planner(trapeziodal)? maybe there is bug in the TP and I need more independent observations ... 

Its just regular simulation setup with some precise steps to replicate ... the post the picture of the watched scope please

I need help from you please...

If you are ready, create axis.ini sim OR sim axis_mm.ini trivkins simulation UI ... then
  • Start Lcnc
  • Enable
  • home all
  • hal scope
  • observation time as long as possible but period is fine 40ms
  • add joint.0.vel-cmd.. scale 20
  • add joint.1.vel-cmd.. scale 20
  • split them to they own space
  • Load Gcode program(from attachements but watched behaviour is present everywhere)
  • hit play button alias program run
  • observations the spline created by gcode (nice smooth steady - the first one)
  • wait program end OR stop program by program stop/stop radio button
  • break point 1(only for repeat command)
  • return home G28 or rehome everything
  • I press start button again at same code no change, no position change nothing just return to row 1 of gcode
  • start program with play radio button
  • observations the spline created by gcode (clingy - every other)
  • wait program end OR stop program by program stop/stop radio button
  • go to breakpoint 1(only for repeat command)

Please paste your scopes ... I hope your velocity splines will be exact same at rerun the gcode!!!

My scope is at rerun different each time ... 

many thanks


 
  • Aciera
  • Aciera's Avatar
Today 17:50 - Today 17:56
Replied by Aciera on topic 5 Axis ParPort Stepper Setup with RTCP

5 Axis ParPort Stepper Setup with RTCP

Category: Advanced Configuration

For a simple example of a switchable kinematics component see:
github.com/LinuxCNC/linuxcnc/blob/master...onents/millturn.comp
This is the kinematics used in the simulation config at 'configs/sim/axis/vismach/millturn'

For a more complex but fully documented example that might even cover your use case this might be of interest:
forum.linuxcnc.org/show-your-stuff/49103...-head?start=0#271334
The two kinematic models presented in the zip folder attached to the above post can do a fair bit more than what you need but together with the documentation it will give you an in depth introduction on how to build your own kinematic components.



For documentation on building linuxcnc on your local machine (RIP):
linuxcnc.org/docs/html/code/building-linuxcnc.html
  • andrax
  • andrax's Avatar
Today 17:46
Replied by andrax on topic Tuning Steperonline A6 Servos

Tuning Steperonline A6 Servos

Category: EtherCAT

Hi Stepperonline Thank you very much for the guide, and a warm welcome to the forum. I hope you’ll be able to help us with any questions we have on the forum.
Displaying 1 - 15 out of 14875 results.
Time to create page: 0.504 seconds
Powered by Kunena Forum