Advanced Search

Search Results (Searched for: )

  • slowpoke
  • slowpoke
Today 12:51 - Today 12:54
Keyboard key to activate a Mesa output was created by slowpoke

Keyboard key to activate a Mesa output

Category: General LinuxCNC Questions

I'm near complete converting another manual lathe (Standard Modern this time) to LinuxCNC.

These programmable keypads are convenient for commonly used key entries to Axis/MDI. From LinuxCNCs perspective they are just another keyboard.

I have a few spare keys and I would like to use one to activate a Mesa output. I can program the key to any key or even key sequence.

Is there a way to make this happen in HAL?

IIRC there is a file somewhere that either defines or lets you redefine key codes, I'm not sure if that will come into play? I suppose choosing an oddball key for this might be advantageous, so a typing a key on the regular keyboard does not inadvertently activate the Mesa output. 

 
  • JT
  • JT's Avatar
Today 12:02

Ext hard buttons duplicate Power_PB and Reset

Category: Flex GUI

Connect your external power button to halui.machine.on, note the estop must be released before pressing the power button.

JT
  • ihavenofish
  • ihavenofish
Today 11:51
Replied by ihavenofish on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

Er, no. It’s not that simple; LinuxCNC isn’t plug-and-play. If you don’t have any prior knowledge, you should put the A6 aside for now and start with simple stepper motors. You’ll first need to learn how the system works and what each component does. With EtherCAT, you’re moving beyond the hobbyist level, and even professionals sometimes find it frustrating.


I only broke 4 mice from throwing them in anger... its fiiiinnnee.

In seriousness though, I find its less about beginner vs expert in CNC stuff, and more about if you are well versed in linux usage. Most of my troubles setting up were because the instructions just assume you know everything about linux already and leave a lot of critical details out. I am working with one of my customers to trying an make a true step by step guide.

If you do know "nothing", step and direction with a mesa card is generally pretty safe cause its mostly done by a wizard. You aren't mucking in the terminal or doing much editing in HAL.

(also important to note ethercat in linuxcnc has some quirks too, its not quite "final" in my opinion)
  • JT
  • JT's Avatar
Today 10:57
Replied by JT on topic Jog troubles

Jog troubles

Category: Flex GUI

The following is the Python interface so it forces you to use joint number before homing then use index of axis after homing.
    joint_num_or_axis_index

        For joint jog (jjogmode=1)

            joint_number
        For axis Cartesian coordinate jog (jjogmode=0)

            zero-based index of the axis coordinate with respect to the known coordinate letters XYZABCUVW (x=>0,y=>1,z=>2,a=>3,b=>4,c=>5,u=>6,v=>7,w=>8)

JT
  • Hakan
  • Hakan
Today 09:39
Replied by Hakan on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

It's easier to start with a Mesa card for sure.
You have the pncconf utility that will give you a working configuration.
Once you have the Mesa config working, it's not that hard to
replace the motion part with EtherCAT. Cut and paste, though.
  • Spezidrohne
  • Spezidrohne
Today 09:31
Replied by Spezidrohne on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

I should add that i have done simmilar things, and have a good bit of knwoledge near, not specifically with the ethercat stuff, but with Profinet, Profibus, industrual automation, PLCs etc.
  • Spezidrohne
  • Spezidrohne
Today 09:28
Replied by Spezidrohne on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

Thanks. I will try to adopt them. As far as i have seen, the example file is for 3drives, and i right now only have one. The pid and vid i will also have to fill out.
Starting this project, I knew there will be a pretty steep learning curve. But i like challenges. I also have a Mesa Card on its way. Would that be easier to start with?
  • Hakan
  • Hakan
Today 08:09
Replied by Hakan on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

It's easy when you know it.
The problem is to come to know enough.

Anyway, it's not that hard and there is virtually no difference between
setting up stepper drives or servo drives with EtherCAT.
The cia402 layer makes them look the same.

The example I gave is a starting point.
You can copy the files to your installation, change the HALFILE=cia402.hal in the ini file
and give it a try.

But you are going to need to adopt and edit the files to your specific setup.
Number of drives, what number/name they have. And you need to add other
functions like spindle. That's in the sim file. So you need to mix them together
and take the motion part from cia402.hal and the other functions spindle, limits etc
from the sim config.
 
  • Hakan
  • Hakan
Today 08:02
Replied by Hakan on topic Ethercat boards and hardware

Ethercat boards and hardware

Category: Driver Boards

Don't use EtherCAT if you want to use a step/dir driver.
There are advantages to skip the intermediate step with
step/dir for steppers and analog +-10V for servos.
The right way is to have a EtherCAT drive that controls the
motor directly, skipping that middle step.

I have built an EtherCAT board that gives step/dir signals.
But it's not the right way to go.
  • ts
  • ts
Yesterday 03:14
Replied by ts on topic Jog troubles

Jog troubles

Category: Flex GUI

Hi, Rodw! Glad to see you in this topic)

Jog before homing.. hmmm.. for example, edm machine , some emergency, estop pressed or power loss.. and mechanical of the machine stucked. I have to move before homing, because homing may broke everything on the work table
  • ts
  • ts
Yesterday 03:10
Replied by ts on topic Jog troubles

Jog troubles

Category: Flex GUI

Yes, it will work. But only after homing.
Before homing its work as 3rd number (all axus numbers are 0-1-2-3 )
  • ts
  • ts
Yesterday 03:05 - Yesterday 03:08

Ext hard buttons duplicate Power_PB and Reset

Category: Flex GUI

Thanks for your answer.
I will try it

An what about External power button to switch ServoOn? I need separately button to send command the same as power_pb ib flexgui

TS
  • tommylight
  • tommylight's Avatar
Yesterday 02:44
Replied by tommylight on topic Differential encoder hard crashes the PC MESA7i77

Differential encoder hard crashes the PC MESA7i77

Category: Driver Boards

See if you can disable this in BIOS, it is usually enabled by default
www.google.com/search?client=firefox-b-l...ssive+power+managent
Also, if you are using any kind of PCI-E riser or cable, se the PCI-E speed/mode to GEN1
  • NWE
  • NWE's Avatar
Yesterday 02:05
Replied by NWE on topic Ethercat boards and hardware

Ethercat boards and hardware

Category: Driver Boards

here is some info on a cheap ethercat stepper drive. But it is not as cheap as your A4988.
4 axis stepper drive
Displaying 1 - 15 out of 17693 results.
Time to create page: 0.206 seconds
Powered by Kunena Forum