Advanced Search

Search Results (Searched for: )

  • 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!
  • Pahegi
  • Pahegi
17 Nov 2024 23:09
Replied by Pahegi on topic IMA quadroform C80/480

IMA quadroform C80/480

Category: Milling Machines

Hi there!
I'm also running an IMA quadroform c80/280! We are still using the NUM1060 controller, but we are still adding new features. We have already created an open source Estlcam 12 post processor to create IMAWOP FMC files.
git.makerspace-darmstadt.de/ima-baz/ima-bima-cad-converter
We have integrated our machine into the network to read the src files via NetBeui, we have understood and edited some of the internal macros and we have documented many steps from beginner tutorials to advanced calibration of the machine.
If you're interested in further exchanges, just write me an e-mail: This email address is being protected from spambots. You need JavaScript enabled to view it. .
I am very interested in meeting other owners of the same machine to discuss some specific problems and share some documentation!
Regards
Paul
  • tommylight
  • tommylight's Avatar
17 Nov 2024 22:59
Replied by tommylight on topic PC for Mesa 5i25T

PC for Mesa 5i25T

Category: Driver Boards

Ahoj pane :)
Had this issue once a few years back, try another slot.
If that does not work, remove the card, start the PC, enter the BIOS, find something like "resources" or " IRQ" or ... i forgot, but basically the part that sets the IRQ for everything is usually set to auto, so set to manually, save, power off, insert the card, it should boot OK but in some cases might have sluggish response on the desktop, and if that happens, reboot, enter BIOS, go again there and assign manually an IRQ for the Mesa, whatever just not the same one with the graphic card.
  • PCW
  • PCW's Avatar
17 Nov 2024 22:45
Replied by PCW on topic PC for Mesa 5i25T

PC for Mesa 5i25T

Category: Driver Boards

Sometimes updating the PC BIOS can help the issue.
Card testing is done on a H97 or D525 motherboard and I
don't think we have any motherboards that don't work
but I can get a HP 8200 SFF to see if there is a workaround

 
  • tommylight
  • tommylight's Avatar
17 Nov 2024 22:43

Strange motion offsets in one direction on one axis

Category: General LinuxCNC Questions

2. from what ? Aliens? :)
3. damn, that is a big machine, i thought it was some small hobby thing.
Does it use ballscrews?
If yes, try machining the same part with the same gcode but in another place on the table. Might be a broken ball.
Or might be a broken ball in linear rails, so decoupling the motor and spinning the screw by hand slowly might find a bump.
  • lukin1156
  • lukin1156
17 Nov 2024 22:38
PC for Mesa 5i25T was created by lukin1156

PC for Mesa 5i25T

Category: Driver Boards

Hello everyone!
I have a problem with installing the Mesa 5i25T card. I have an HP Compaq dc7900 computer. I installed Linux CNC from the official website on my computer, it was without any problems, it works. However, after inserting the card into the PCI slot, the computer will not start, it remains stuck in the bios. After removing the card, the computer works again without any problems. I also tried an HP Compaq 8200, but the same problem. I also tried putting the card in my large computer for drawing, I used a hard drive with the system from previous computers, and the card works. However, when performing Mesaflash, it writes an error: Unauthorized memory access (SIGSEGV). I assume that this is caused by the fact that I installed the system on the hard drive on another computer. The jumpers on the card are set to default. Do you have a tested PC setup on which this card works? Thanks for the advice and greetings from the Czech Republic!
  • dbtayl
  • dbtayl
17 Nov 2024 22:34 - 17 Nov 2024 22:39

Strange motion offsets in one direction on one axis

Category: General LinuxCNC Questions

1. Entirely plausible

2. Yes. The point of those was to highlight the noise seen is very high frequency, and seemingly unlikely to cause steps

3. Spindle is a BT30 taper with a manual drawbar- no ATC/belleville washers/pull studs/etc. End mill is held in a Nikken SK10 collet holder torqued to 35~40 ft-lbs, which is the recommended value. Tools are changed with an impact driver on the drawbar.

4. I should definitely re-run the code and see if I can reproduce. Haven't wanted to spend the time/material doing so, but I've wasted enough other time on this to dwarf both costs. I'll rerun both with the same tools originally used and also with a different one. May or may not have time to do that today.

5. I put an indicator on the tool and pushed on it. I can get it to deflect ~0.0005 (5 tenths) before I don't really want to push on it any harder. Seems to apply going any direction.

6. So climb vs conventional? I've thought about this, but the pocket was roughed with an adaptive/HSM toolpath, which started in the center of the pocket- so the cutter is roughing -Y to +Y on the +X side of the pocket, and +Y to -Y on the -X side. Correct me if my logic is wrong here, but if cut direction were the problem, wouldn't you expect to see issues in (eg) the +X+Y and -X-Y quadrants instead of the -Y half?


Grounding: One ground loop snuck in (shielded cable with shield connected at both ends), though disconnecting that has no impact on noise I can see. Will fix it anyway.

Beyond that, I wouldn't rule ground issues out, but am not seeing an obvious issue. The entire cabinet is aluminum and grounded. It's not a single point due to eg the filters, PSUs, and spindle drive all grounding through their chassis. The axis motors have a completely isolated supply (transformer-based)- as far as they're concerned, the world is the isolated 65V and a couple opto-couplers. The 24V and 5V negatives are all tied to a single bus bar- which is NOT ground. A multimeter shows an open circuit between 24V negative and the enclosure. The machine body has no dedicated ground, but is grounded indirectly via the spindle motor. The axis motor bodies are electrically connected to the machine, but that's isolated from their power supply.

Spindle drive has all the recommended filtering. I deviated slightly from the recommendations by omitting fuses on the logic power, replacing the contactor with an SSR, and placing said SSR before all the filtering, though I don't see an issue with that. Pictures show datasheet drawing and the schematic of how my machine is wired.

Noise is much better when motors are disabled- got it on my to-do list to see what's the root causes there. Guess is the spindle drive, but need to verify. No ferrites on anything at the moment- and no mention of them in the DYN4 (spindle) nor ClearPath (axis) manuals. Not to say they wouldn't help, just that the manuals don't call them out as important. The PSUs are MeanWell units, so at least not no-name. SOP is to not buy dubious PSUs- they can cause too many problems and take out too much valuable hardware to be worth the risk. Not to mention noise, as you say.
  • royka
  • royka
17 Nov 2024 21:51 - 17 Nov 2024 21:55

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

The ping latency seems to be good, mine (with mesa) gives 0.2ms. If your latency won't get higher after a longer time of testing it should be good enough.
You could try to increase the servo_period to 2000000

With an Optiplex 3040m I had good results with these parameters:
isolcpus=3 intel_pstate=disable processor.max_cstate=0 idle=poll cpufreq.default_governor=performance i915.enable_dc=0 ahci.mobile_lpm_policy=1 irqaffinity=0 nomodeset quiet

From 1x8gb to 2x2gb (of the same brand/speed) for dual channel also improved the latency
forum.linuxcnc.org/18-computer/39371-res...cnc?start=330#271127

In your case it should be isolcpus=1

If the error still appears it might be helpfull to upload your ini file.
  • MaHa
  • MaHa
17 Nov 2024 21:22

Linear move exceeds joints positive limit

Category: General LinuxCNC Questions

This setting gives an error, when going G0 G53 Z0, because max limit reached
Its better to have MAX_LIMIT = 0.1
MAX_LIMIT = 0

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
  • f3nix
  • f3nix
17 Nov 2024 21:21
Replied by f3nix on topic Spindle delay

Spindle delay

Category: Basic Configuration

Thank you @Aciera.

It does work as expected now.

Have a nice one.

Cheers,
Mateusz
  • tommylight
  • tommylight's Avatar
17 Nov 2024 21:06
Replied by tommylight on topic Linux CNC powered Ethercat Mill Retrofit

Linux CNC powered Ethercat Mill Retrofit

Category: EtherCAT

Just make sure those EtherCAT devices work with LinuxCNC, otherwise you might need a to do some reading and editing, and some might just not work.
I am not the one to give a definitive answer as i have no EtherCAT to play with, yet.
  • tommylight
  • tommylight's Avatar
17 Nov 2024 21:03
Replied by tommylight on topic Unrecognized error -1

Unrecognized error -1

Category: General LinuxCNC Questions

A solution to what?
We do not know what python script you are using, what does it do, how does it do it, etc.
Post the script here so we can have a look.
  • tommylight
  • tommylight's Avatar
17 Nov 2024 20:55
Replied by tommylight on topic Latency on a Lenovo M715q

Latency on a Lenovo M715q

Category: General LinuxCNC Questions


Why is probe_basic used on AMD processors only?

It is not only AMD, it runs on Intel and ARM also, just the naming has stuck as AMD64 as AMD was the first to market with a 64 bit processor back in the days.
More info would be helpful, like parallel or or Mesa or Pico setup?
70000 might still be usable to a certain point for parallel port, it should be OK for Mesa, no idea about Pico as i never used them.
  • tommylight
  • tommylight's Avatar
Displaying 21736 - 21750 out of 22561 results.
Time to create page: 0.417 seconds
Powered by Kunena Forum