Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
Yesterday 16:14
Replied by Aciera on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

The tool path needs to be plotted relative to the work piece. (tool -> world -> work)

The problem is that your tool position is plotted in World coordinates (tool -> world) which works if only the tool moves because the Work coordinate system remains identical to the World coordinates.
However on a machine like yours where the tool AND the work move in space the plotter needs to track both the tool tip as well as the work piece.
This is why the 'vismach' tool needs the capture() function for the tooltip as well as for work.

Not sure but maybe the backplot in ProbeBasic only plots tool position in world coordinates instead of plotting tool position in Work coordinates?
  • Artur_1617
  • Artur_1617's Avatar
Yesterday 16:04
Replied by Artur_1617 on topic DynexHobby impulse 2 for sale

DynexHobby impulse 2 for sale

Category: User Exchange

Hi, What piece You need?
  • PCW
  • PCW's Avatar
Yesterday 15:43
Replied by PCW on topic Two Mesa 5I20

Two Mesa 5I20

Category: Driver Boards

If you don't mind updating LinuxCNC, you might be better off with more current replacements for the 5I20:

PCIE --> 6I24-16
Ethernet --> 7I80HDT

The 5I20 is a 20 year old card...
  • PCW
  • PCW's Avatar
Yesterday 15:40 - Yesterday 15:47
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Do you have the step/dir pinout information for the drive?

It does look like it may be single ended from the pictures of the
step/dir modes.

Also in your .ini file, you have the PID P term set to 0.
This should be 1000 (for a 1 ms servo thread period)
A 0 P term will cause position drift
  • amanker
  • amanker
Yesterday 15:38
Replied by amanker on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

See GIF file I have uploaded. The tool marker from view port is moving in opposite direction. I want it should be below spindle tooltip. As it moves while jogging in X or Z direction. But Y jogging time, table is moving correctly. But tool marker is moving in opposite direction.
  • amanker
  • amanker
Yesterday 15:34
Replied by amanker on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

How can I resolve this?
  • Aciera
  • Aciera's Avatar
Yesterday 15:28
Replied by Aciera on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

The problem is that the backplot needs to move with the table.
  • my1987toyota
  • my1987toyota's Avatar
Yesterday 15:16
Replied by my1987toyota on topic Just When You Couldn't Hate Government More

Just When You Couldn't Hate Government More

Category: Off Topic and Test Posts

I suspect that is already in the works. 
  • Lcvette
  • Lcvette's Avatar
Yesterday 14:59
Replied by Lcvette on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

its not wrong, which direction is the "TOOL" moving through the work?
  • Lcvette
  • Lcvette's Avatar
Yesterday 14:57
Replied by Lcvette on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

great! glad you got everything setup! now ONLY use the apt install for the rest of the probe basic install!
  • amanker
  • amanker
Yesterday 14:31
Replied by amanker on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

   


As per your instructions I have made vismach file for my small cnc.But CNC movement if GUI is correct. But Tool movement in Y direction is wrong.My yaml file.

File Attachment:

File Name: cnc.yaml.txt
File Size:1 KB
 
  • Jensner
  • Jensner
Yesterday 12:24
Replied by Jensner on topic ATC Tool Rack implementation gesucht

ATC Tool Rack implementation gesucht

Category: Deutsch

Hallo Leute,

da dieses Thema bei mir in Kürze ansteht (ebenfalls unter Probe Basic), versuche ich mich hier schon mal schlau zu machen.
Soweit meine Suche aktuell ergeben hat, gibt es zum Thema ATC mit Rack keine wirkliche Anleitung?

Ich finde leider irgendwie immer nur Schnippsel z.B. zum Thema Remap.
Woanders habe ich dann die benötigten Variablen gefunden.
Dein Toolchange-ngc - Skript scheint auch sehr interessant zu sein.

Was mir jedoch fehlt, ist hier einfach mal eine Art roter Faden wie man sich hier strukturiert durcharbeiten soll.
Was muss ich in der HAL wohin mappen (MESA 7i96s) um die Steuersignale raus und die Sensoren rein zu bekommen.
Was in der INI (gut den Tab habe ich aktiviert), wo passe ich z.B. die Anzahl der Pockets an ....

Hat hier evtl. jemand einen Info, Link, Anleitung oder finde ich das einfach nur nicht?

Danke Euch schon mal
  • jblanscett
  • jblanscett
Yesterday 12:09 - Yesterday 12:13
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Hi PCW,

I hope this is what you are talking about. We have our pn200 setting set at 5. Let me know if there is anything else I'm missing. Thank you for your time.

 
  • Marcos DC
  • Marcos DC's Avatar
Yesterday 11:56 - Yesterday 12:16

Separating CiA402 Logic from EtherCAT (lcec): Modular Adapter + Drive Stub Valid

Category: EtherCAT

I’m currently restructuring my CiA402 integration to make it more modular and deterministic before going back to real EtherCAT hardware.
Instead of debugging everything at once (LinuxCNC motion + EtherCAT + CiA402 + drive behavior), I decided to isolate the CiA402 logic layer and validate it independently inside AXIS SIM.
Overall Structure (3 Layers)
I’m organizing the system into three logical layers:
1) Motion Layer (LinuxCNC)
Standard LinuxCNC motion/joint layer. No changes here.
2) CiA402 Adapter Layer (custom HAL component)
This is a dedicated HAL component responsible for:
  • Mode request (6060), e.g. Homing = 6, CSP = 8
  • Waiting for 6061 (opmode_display) confirmation before proceeding
  • Generating controlword transitions (6040), including homing start (bit 4)
  • Mask/value-based evaluation of statusword (6041) for homing done
  • Optional mask/value error detection
  • Slaving pos_cmd to pos_fb during internal drive homing
This layer does not know about EtherCAT transport.
It only works with abstract CiA402 objects (6040, 6041, 6060, 6061, 6064).The idea is that this logic should work identically whether the transport is:
  • lcec (EtherCAT)
  • some other fieldbus
  • or a simulated drive
3) Drive Stub (Simulated CiA402 Drive in HAL)
Since I don’t have EtherCAT hardware connected right now, I implemented a simple CiA402 drive stub as a HAL component.
It simulates:
  • Opmode request → opmode_display with delay
  • Rising edge detection of controlword bit 4
  • Homing runtime (configurable cycles)
  • Statusword “homing done” pattern (e.g. 0x1400 by default)
  • Actual position feedback
This allows me to validate:
  • Proper gating on 6061
  • Correct controlword sequencing
  • Deterministic servo-thread behavior
  • Statusword mask handling
  • HAL wiring correctness
All running inside AXIS SIM.

Relation to Existing Work (rodw, dbraun, EL8)I’ve reviewed:
  • dbraun’s hal-cia402 implementation
  • rodw’s cia402 component used with lcec
  • The Leadshine EL8 integration example
All of them are valid and functional in their intended context.However, my goal here is slightly different:I want a clearly separated CiA402 logic layer that:
  • Can be tested without EtherCAT
  • Is not tightly coupled to lcec internals
  • Can support both internal drive homing and CSP cleanly
  • Can later be extended for tandem gantry supervision (Y/Y0 squaring)
This isolation makes debugging much more controlled and avoids mixing transport issues with state-machine issues.

Why Mask-Based Statusword Evaluation?
Instead of hard-coding something like “bit 12 = homing done”, I’m using:(statusword & mask) == valueExample:0x1400 (bits 10 + 12)The reason is simple:CiA402 allows vendor-specific interpretation and combination of bits.
Different drives report homing completion differently (sometimes bit 12 only, sometimes 10+12, sometimes additional bits).A mask/value approach allows:
  • Drive-specific configuration
  • Future-proofing
  • Cleaner abstraction
If mask = 0, the adapter falls back to default CiA402-style bit interpretation.

Long-Term GoalThe final architecture should support:
  • CSP as primary motion mode
  • Internal drive homing
  • Tandem gantry (Y/Y0) with squaring
  • Optional gantry delta supervision during homing
  • Clear separation between CiA402 state logic and EtherCAT transport
So conceptually:Motion → CiA402 Adapter → Transport (lcec) → DriveAnd currently:Motion → CiA402 Adapter → HAL Drive StubOnce validated, I’ll replace the stub with real lcec + cia402.If anyone has feedback regarding:
  • Best practices for controlword sequencing in CSP
  • Clean homing mode transitions
  • Gantry homing supervision patterns
  • Mask-based statusword handling
I’d appreciate technical input.
  • Marcos DC
  • Marcos DC's Avatar
Yesterday 11:46

Technical questions about CIA402 and homecomp.comp on A6

Category: EtherCAT

@Andrax
I’m currently restructuring my CiA402 integration to make it more modular and deterministic before going back to real EtherCAT hardware. My goal is to formalize the state handling and timing assumptions first, instead of patching behavior incrementally.

I think studying industrial PLC CiA402 homing FBs is a good idea conceptually. Even if the source code is compiled, the documented state diagrams and the Execute/Busy/Done/Error behavior usually define the real logic contract.

If you have access to an EtherCAT PLC with CiA402 homing FBs, could you share the documented state diagram or the Execute/Busy/Done/Error sequence? That would help us model a proper state machine for LinuxCNC.

I plan to open a separate thread focused specifically on formalizing the homing state machine. If you're interested in contributing your PLC perspective there, I think that would be very valuable.
Displaying 61 - 75 out of 18581 results.
Time to create page: 0.219 seconds
Powered by Kunena Forum