Advanced Search

Search Results (Searched for: )

  • tuxcnc
  • tuxcnc
Today 16:26
Replied by tuxcnc on topic Jogwheels won´t jog

Jogwheels won´t jog

Category: Basic Configuration

I corrected and tested it. A few words of explanation:
The 7i92 inputs are controlled by a short to ground. If none of the axis selection inputs is shorted to ground, then none of the axis moves, if one or several, the selected axes move.
I added the line "setp mux4.0.in3" 0
If both coefficient selection signals are shorted to ground, the axis will move, but at zero speed, so the effect will be the same as if no axis was selected. (You can change it to "setp mux4.0.in0 0", then there will be no movement when no selection input is shorted to ground).
I did this to have a wider selection of supported switches. It is possible that someone will have, for example, four axes and a four-position switch, then they would not be able to select the "no axis" option, which is necessary.
It is also worth mentioning how to control two inputs with a single-section switch.
You need to use diodes (anode for the input of the mesa, cathode for the switch). Then, a short circuit to ground of one input does not affect the status of the other inputs. I won't describe it in detail, if someone needs it, they will find it.
loadrt mux4
addf mux4.0 servo-thread

# For velocity mode, set to 1
# In velocity mode the axis stops when the dial is stopped
# even if that means the commanded motion is not completed,
# For position mode (the default), set to 0
# In position mode the axis will move exactly jog-scale
# units for each count, regardless of how long that might take,
setp axis.x.jog-vel-mode 1
setp axis.y.jog-vel-mode 1
setp axis.z.jog-vel-mode 0
setp joint.0.jog-vel-mode 1
setp joint.1.jog-vel-mode 1
setp joint.2.jog-vel-mode 0

# The Axis select inputs
#setp axis.x.jog-enable 1
#setp joint.0.jog-enable 1
net mpg-x joint.0.jog-enable axis.x.jog-enable <= hm2_7i92.0.gpio.033.in_not
net mpg-y joint.1.jog-enable axis.y.jog-enable <= hm2_7i92.0.gpio.032.in_not
net mpg-z joint.2.jog-enable axis.z.jog-enable <= hm2_7i92.0.gpio.031.in_not

# The inputs to the mux4 component
net scale1 mux4.0.sel0 <= hm2_7i92.0.gpio.030.in_not
net scale2 mux4.0.sel1 <= hm2_7i92.0.gpio.029.in_not

# This sets the scale that will be used based on the input to the mux4
setp mux4.0.in0 0.025
setp mux4.0.in1 0.0025
setp mux4.0.in2 0.00025
setp mux4.0.in3 0

# The output from the mux4 is sent to each axis jog scale
net mpg-scale mux4.0.out => axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale
net mpg-scale => joint.0.jog-scale joint.1.jog-scale joint.2.jog-scale

# The encoder output counts to the axis. Only the selected axis will move.
net encoder-counts hm2_7i92.0.encoder.00.count => axis.x.jog-counts axis.y.jog-counts axis.z.jog-counts
net encoder-counts => joint.0.jog-counts joint.1.jog-counts joint.2.jog-counts
  • reboots
  • reboots
Today 16:11
Replied by reboots on topic STMBL Driver DC Bus Options

STMBL Driver DC Bus Options

Category: Milling Machines

I went for the skookum SMPS on my Deckel FP2NC. 240VAC input, 160VDC 5KW output to match the existing Siemens servos. I found this item as cheap surplus, and bought two for insurance.

For the spindle I used a no-name import 220V-to-380V inverting VFD. Name-brand examples from ATO below:

www.ato.com/220v-to-380v-vfd
  • PCW
  • PCW's Avatar
Today 16:00
Replied by PCW on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

"-not" works for inputs, but not outputs
(without some fairly micky-mouse logic)
  • Aciera
  • Aciera's Avatar
Today 14:36

The machine tool coordinate system shifts before and after RTCP is turned on

Category: General LinuxCNC Questions

Make sure you test your kinematics for A=0 , C=0 first so you can confirm that the kinematic model returns proper results. Also make sure that the coordinate values switch between the same values when you change between trivial and RTCP kinematics.
  • Aciera
  • Aciera's Avatar
Today 14:30

Kinematic model for a 5axis mill with universal (nutating) head

Category: Show Your Stuff

have a look at the millturn simulation configuration:
github.com/LinuxCNC/linuxcnc/tree/master...xis/vismach/millturn

The limits are switched between two sets configured in the ini file.
See 'mcodes' for the switching scripts and the files in 'remap_subs' that actually call them.
  • kanesl
  • kanesl
Today 11:59

Kinematic model for a 5axis mill with universal (nutating) head

Category: Show Your Stuff

Hello, I've encountered a similar problem. Where can I find an example of a milling machine with switchable soft limits?
  • kanesl
  • kanesl
Today 11:33

The machine tool coordinate system shifts before and after RTCP is turned on

Category: General LinuxCNC Questions

Hello everyone, I'm a DIY enthusiast. My English isn't great, but I'll try my best to explain clearly. I'm encountering a problem while using LinuxCNC as the operating system for my machine tool. When I replace the existing kinematics system with my own custom-built five-axis kinematics system, the machine tool coordinate values ​​change when I switch to RTCP mode at the current position, causing a system alarm because the machine tool coordinate system has exceeded its limits. My understanding is that enabling RTCP changes the workpiece coordinate system values, not the machine tool coordinate system values. I haven't been able to solve this problem yet.

Additionally, my machine tool structure is A (head), C (table), with the distance from the C rotation center to the machine tool zero point being (Xrc, Yrc, Zrc). The tool length is set to dt, and there is an offset between the two rotary axes with offset values ​​of (Xos, Yos, Zos).
  • grandixximo
  • grandixximo's Avatar
Today 10:10
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Please share zipped configuration folder, or whatever you are willing to share to shed light on the issue.
  • rodw
  • rodw's Avatar
Today 09:37
Replied by rodw on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

I'm not sure on this but I thought there was a change to support 64 bit floats for instanceslike this that managed the wrap but I have no experience. There is a big body of work pending in master branch around 64 bit pins. Message Grandixximo on Discord.
  • ihavenofish
  • ihavenofish
Today 09:09
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Alright, the 4th axis joint error inverting is 32 bit count roll over.

I am getting confusing info in my searches, but there seems like there is a hall function to manage this? Anyone have some insight as how you implement it?

thanks!
  • ihavenofish
  • ihavenofish
Today 08:17
Replied by ihavenofish on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

ok, the joint error is something else. it happens at 912.45 ALWAYS. it must and over run of something. we have like 800 million counts per turn of the axis, so its inverting at 2 billion encoder counts.

Ill put this in my other thread as it i dont think has to do with the ethercat jitter problem.
  • ihavenofish
  • ihavenofish
Today 07:57
Replied by ihavenofish on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT


can try for now to do

loadrt lcec
...
initf lcec.activate servo-thread
addf lcec.read-all servo-thread


thats already in my hal

I did find something interesting. at least specifically on the 4th. when it give a joint error, the encoder position INVERTS, as does the display. And it STAYS inverted. so ill be jogging at 900 degrees on the A... and then joint error and it become -900 degrees.

I dont know if the other axis joint errors are also inverting, i cant "see" them yet. If they are they are returning back to position the next frame. The rotary axis for some reason doesn't return, it just flips sign.
  • ihavenofish
  • ihavenofish
Today 07:51
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

thanks, ill look it all over in the morning.
  • rodw
  • rodw's Avatar
Today 07:07
Replied by rodw on topic jerking on zero position

jerking on zero position

Category: Forum Questions

i am controlling drive by using modbus 485, my controller is teensy 4.1 with wavetec RS485 module between drive and controller. the drive is being controlled in PR/velocity mode.. the PR mode is being used for homing and velocity for normal 360 degree rotations. i am facing issue in the end when the arm reaches to zero/home position.
 

Update your machine to use LinuxCNC and we might be able to help.
  • rodw
  • rodw's Avatar
Today 07:04
Replied by rodw on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

4th axis!



So, in redoing linuxcnc and adding this new leadshine L6 servo, ethercat is not totally ferked. I am getting random limit and joint errors during program runs, during jogging, sitting idle. I managed to see one of these errors with the scope and it is a one frame spike of ferror that's seemingly infinite value.

What the heck is going on. Ill upload my config files shortly. Every camera cut in the video is a random joint error on a random axis.

I have the jitter fix build, and not a whooole lot else really changed from the last build. HALP! :)

there have been big changes.
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
follow the updated process and also the added Hal file command mentioned in response to your other post
 
Displaying 1 - 15 out of 287333 results.
Time to create page: 5.988 seconds
Powered by Kunena Forum