Advanced Search

Search Results (Searched for: )

  • Mecanix
  • Mecanix
18 Nov 2024 08:40 - 18 Nov 2024 08:51

Strange motion offsets in one direction on one axis

Category: General LinuxCNC Questions

Good to hear the wiring, solder joints and crimps are all solid. Nasty checks... but had to be done. 

Trying to reproduce would be greatly helpful. Cutting material or air, up to you. If air cutting just ensure you record a reference before for when you pause the machine where it crapped out last time, and meas offsets.

One important asset you forgot to post is your gcode. That also needs to be ruled out. Not doubting your skills here, but I'd be happy to spare a few minutes to validate it inside an industrial ISV/sim running a proven Lcnc postprocessor for you. That'll reveal if or not.

Nice machine-tool. You'd obviously know from half a mile away if indeed hardware related already (you built-it, it's in the blood line).
  • timo
  • timo
18 Nov 2024 08:28
Replied by timo on topic LinuxCNC for lathe questions

LinuxCNC for lathe questions

Category: General LinuxCNC Questions

Small mini PCs and Rpi appear to be almost same price. (when housing and power supply are added to the purchase)
The Mini PCs have only a volume of roughly 0.5 - 1 liter.
Seems neither space nor $ is a valid argument anymore, considering that the rest of the electrics will take up some space too.

My go to would be the Ethernet based card and one of the mini PCs.
  • meister
  • meister
18 Nov 2024 07:28

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

That reminds me, is there a way to configure minimum delay time between a DIR change and a movement command? some steppers are more picky about that. I also need to flip the action of the EN pin, my steppers are enable-low and it's currently outputting high when enabled.
 


you can config modifier's to each pin, there are functions like invert, debounce, ...

 

to add an delay between step and dir, you can add a debounce modifier to the step pin, than you have a delayed step signal


 
  • 7strideR
  • 7strideR's Avatar
18 Nov 2024 05:46 - 18 Nov 2024 07:06
Replied by 7strideR on topic Linux CNC powered Ethercat Mill Retrofit

Linux CNC powered Ethercat Mill Retrofit

Category: EtherCAT

Hi thanks,

I am trying to get a quote on the EL-8, which is a more expensive/new version but I have seen them work on LinuxCNC through a Raspberry Pi.



I am a little scared to set these up though as there is not much info on doing this from what I've seen. As I also don't have much experience here especially when it comes to the setting up the drives addresses and communication.
  • phillc54
  • phillc54's Avatar
18 Nov 2024 04:28
Replied by phillc54 on topic Defaults in QTplasmac

Defaults in QTplasmac

Category: Plasmac

I use the attached post processor to do the same (you will need to remove the .txt from the end)

I have a material number 0 in SheetCam and when the post processor sees material 0 it removes any material change and when the G-code is first run it pauses and prompts that the correct material is selected in QtPlasmaC.
 
  • PCW
  • PCW's Avatar
18 Nov 2024 03:20 - 18 Nov 2024 03:36
Replied by PCW on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

Did you verify that the feedback is in the correct direction?
it does look like a runaway which would be expected if the feedback is reversed

Also for the orient PID I would set FF1 to 0 and P to say 10
so its easier to see whats happening and you don't get immediate
uncontrolled motion.

This loss of control/runaway may also be because orient PID output sign
does not change the spindle direction (that I can see)
 
  • rajsekhar
  • rajsekhar
18 Nov 2024 03:18
Replied by rajsekhar on topic 10 or 11 stepgen

10 or 11 stepgen

Category: General LinuxCNC Questions

Well, I have attached the brochure for 5 axis BOB.

I have used such board earlier.

Now, can I use it through a parallel port of the computer for stepgen while having Mesa 7i92+daughter cards ?
  • Philip Lydin
  • Philip Lydin
18 Nov 2024 02:15
Replied by Philip Lydin on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

when i try to orient ( m19 r0 ) it speeds up to 1300 rpm which is the same rpm as when i command m3 s1000 and it doesnt do anything.


 

File Attachment:

File Name: orient.txt
File Size:7 KB
  • shaying526
  • shaying526
18 Nov 2024 01:23
Replied by shaying526 on topic How to move a variable value with G-code

How to move a variable value with G-code

Category: G&M Codes

Thank you for your reply. It's very clear and I will read it carefully
  • smc.collins
  • smc.collins
18 Nov 2024 01:15 - 18 Nov 2024 01:16
Replied by smc.collins on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

the faster the pulse count, and the smaller the unit of measure, at a fixed frequency, the bigger the problem becomes. I am referring to a edge case but it is something to beware of. 
  • dbtayl
  • dbtayl
18 Nov 2024 01:01 - 18 Nov 2024 01:05

Strange motion offsets in one direction on one axis

Category: General LinuxCNC Questions

Oh, it is a little baby machine by many measures- 1 kW spindle, 12x6x10" XYZ travel or so, etc. Weighs, I dunno, maybe 500 lbs? I built it with a welded steel frame filled with epoxy granite, with proper linear bearings and ballscrews (to be fair, I got nice THK linear bearings, cheaped out on the ballscrews), so hobby bench mill sized, but with way more rigidity. The BT30 spindle is probably overkill, but it was available, and there's a lot of tooling options. TTS didn't seem like a great option, and ISO20 seemed too small.

Aside from this issue popping up, it's been a great experience coming from the gantry-style machine I'd been tweaking for years. The rigidity, Z height, and toolholders are the huge upgrades, but the MPG, touch probe, covered ways, coolant control, spindle/axis stall-detection, and servos are very nice as well. Having a spindle with enough torque at reasonable RPMs to actually handle (small) drills is still blowing my mind.

Sorry for the crappy picture- literally just walked over to snap it, so you can see it's a bit disassembled for debugging (and with random scrap taped over the t-slots so I didn't have to clean them out). That's a Kurt 4" DX4 vise for scale.
  • PCW
  • PCW's Avatar
18 Nov 2024 00:04
Replied by PCW on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

May need someone familiar with spindle orientation
to debug this but the orient P and FF1 terms do seem
very high.

What happens when orient is attempted?

dumping all orient related pins/signals may help

So when you do an orient operation, run this command:

halcmd show all  | grep orient

 (in a terminal)

or

halcmd show all  | grep orient > orient.txt

and post orient.txt here



 
  • Philip Lydin
  • Philip Lydin
17 Nov 2024 23:45
Replied by Philip Lydin on topic mesa 7i96s analog spindle

mesa 7i96s analog spindle

Category: Driver Boards

im trying to do orientation but cant get nothing to work. the encoder is working but still it isnt closed loop and no orientation what so ever. hopefully you can see something wrong in my files haha.

File Attachment:

File Name: 7i96s_2024-11-17.hal
File Size:12 KB

File Attachment:

File Name: 7i96s_2024-11-17.ini
File Size:5 KB
  • PCW
  • PCW's Avatar
17 Nov 2024 23:34

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

You need to also set the FANUC interface timer to  timer you  have setup
(like timer 1) I don't know the name of the pin off hand but listing
all the fanuc pins should find it. Do you have a oscilloscope available?

With the AA64 setup you should get a 8 usec request pulse (+ to REQ+ and - to REQ-)
at the servo thread rate, The encoder should respond with 77 bits of data on the +/-
DATA lines

Note that the default AA64 setup is for a 64K count/turn encoder so wont be right
but should show some data. The correct setup for your 1m count/turn encoder
would need the appropriate setup string

 
  • bnet
  • bnet's Avatar
17 Nov 2024 23:10

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

Thanks, I have experimented with the polarity of the data and request lines with no changes. Here's where I left off in the .hal based on what I could find here on the forum. I think I have added the initialization of DPLL but not sure about setting the timer.
# Fanuc Encoder Test .hal

# kinematics
loadrt [KINS](KINEMATICS)

# motion controller
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS)

# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_dplls=-1 fanuc_chan_0=AA64 sserial_port_0=00000000"

setp hm2_[MESA](BOARD).0.watchdog.timeout_ns 5000000

setp hm2_7i97.0.dpll.01.timer-us -100

loadrt pid names=pid.x

# THREADS
addf hm2_[MESA](BOARD).0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf hm2_[MESA](BOARD).0.write servo-thread

# amp enable
net motion-enable <= motion.motion-enabled

# Global PWM setup
setp hm2_[MESA](BOARD).0.pwmgen.pwm_frequency 48000

# Board: 7i97

# Axis: X Joint: 0 Output: 0
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True

# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable
net joint-0-index-enable <=> hm2_[MESA](BOARD).0.encoder.00.index-enable

net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable
net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable

# PWM Generator setup
setp hm2_[MESA](BOARD).0.pwmgen.00.output-type 1 #PWM pin0
setp hm2_[MESA](BOARD).0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0
setp hm2_[MESA](BOARD).0.pwmgen.00.scale [JOINT_0]SCALE

# ---Encoder feedback signals/setup---
setp hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp hm2_[MESA](BOARD).0.encoder.00.filter 1
setp hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.scale  [JOINT_0]ENCODER_SCALE

# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command

net joint-0-pos-fb <= hm2_[MESA](BOARD).0.encoder.00.position
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback

# PID Output
net joint.0.output <= pid.x.output
net joint.0.output => hm2_[MESA](BOARD).0.pwmgen.00.value

# Encoder Setup
setp hm2_[MESA](BOARD).0.encoder.00.scale  [JOINT_0](ENCODER_SCALE)
setp hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp hm2_[MESA](BOARD).0.encoder.00.filter 1
setp hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask-invert 0

# Standard I/O Block - EStop, Etc
# create a signal for the estop loopback
net estop-loopback iocontrol.0.emc-enable-in <= iocontrol.0.user-enable-out

Thanks!
Displaying 22081 - 22095 out of 22423 results.
Time to create page: 0.662 seconds
Powered by Kunena Forum