Advanced Search

Search Results (Searched for: )

  • cmorley
  • cmorley
Today 16:37
Replied by cmorley on topic I hate the 7i97T

I hate the 7i97T

Category: Configuration Tools

I added the 7i97t code to pncconf in master now.
  • tuxcnc
  • tuxcnc
Today 15:57 - Today 16:03
Replied by tuxcnc on topic I hate the 7i97T

I hate the 7i97T

Category: Configuration Tools

Pnconfig wizard doesn´t work for it. (....)  that config with linuxcnc it doesn´t even find the card and exits with an error that the network isn´t reachable. 
 


I tried pncconf once and only wasted time... But always when I found config similar to my needs I can change those as I want. 
This is Windows Philosophies contra Linux Philosophies...
In Linux you can do anything in terminal. You must know some magic words, but always you can find solution.
In Windows you use mouse and click on icons. You can nothing when no icons for click...
BTW. Read carefully error messages. Not always, but mostly they gives solution.
  • dm17ry
  • dm17ry's Avatar
Today 15:56

Seeking Guidance on Mitsubishi MR-J3 Serial Encoder Protocol (J-A22/J-A24) for M

Category: General LinuxCNC Questions

i believe all amps start with 0x92, then 0x7a, then you can continuously poll it with 0xa2. the answer to 0xa2 is straight-forward:
int16_t abs1 = rxbuf[5] + (rxbuf[6]<<8);
uint32_t cyc1 = rxbuf[2] + (rxbuf[3]<<8) + (rxbuf[4]<<16);
abs1 is full rotations counter, cyc if within-rotation position. afair, it is left-justified to 20 bits, so with your OBA18 encoder 2 LSBs may be always 0.
the last byte of a frame is a xor checksum, not a CRC
  • billykid
  • billykid's Avatar
Today 15:35
Replied by billykid on topic I hate the 7i97T

I hate the 7i97T

Category: Configuration Tools

Good! I need it too, I just ordered one from Europe to replace my DC servos with Sanyo RS2 ac
  • cmorley
  • cmorley
Today 15:32

Recommended way to implement spindle enable conditions?

Category: HAL

There is also:
spindle.N.inhibit - (bit, in) When this bit is TRUE, the spindle speed is set to 0.
  • cmorley
  • cmorley
Today 15:24

qtDragon: Auto Return to Manual Mode After an MDI Command so MPG works

Category: Qtvcp

Ok if you are using Master branch, I just pushed work to return to the original mode for most things I could find, probing, MDI convince buttons, etc.

Please check it out and let me know what you think or what I missed.

Chris
  • PCW
  • PCW's Avatar
Today 15:00
Replied by PCW on topic I hate the 7i97T

I hate the 7i97T

Category: Configuration Tools

Here is a sample 7I97/7I97T hal/ini configuration:

 

File Attachment:

File Name: basic7i97_...7-11.zip
File Size:4 KB


There's also an experimental pncconf version that supports the 7I97 you might try:

forum.linuxcnc.org/plasmac/55286-servo-d...ofit?start=10#331289

 
  • Aciera
  • Aciera's Avatar
Today 12:46

Very small 4 axis mill for cutting plastic materials

Category: Show Your Stuff

Yes of course, already set and configured ( i think), but a bit fuzzy on G53 vs G54 values, as i have G54 X0Y0 at the center of the C axis, but G53 are far from it.


trt-kinematics have parameters to compensate for offsets between the machine reference point and the rotation-point of the table rotary:

See for example 'xyzac-trt.ini':
# not currently supported by xyzac-trt-gui:
HALCMD = setp xyzac-trt-kins.x-rot-point 0
HALCMD = setp xyzac-trt-kins.y-rot-point 0
HALCMD = setp xyzac-trt-kins.z-rot-point 0

Note though that, as indicated, the vismach simulation does not support these.

Yup, know of any good open source one?


I do not.
  • Aciera
  • Aciera's Avatar
Today 12:13
Replied by Aciera on topic Hurco BMC 30 AP

Hurco BMC 30 AP

Category: CNC Machines

Try this:

1. in your config folder create a new folder named 'python' and put the two attached files 'remap.py' and 'toplevel.py' into this new folder

2.  replace the entries in your  [PYTHON] section of your ini file with this:
PATH_PREPEND= ./python
PATH_APPEND= /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue
TOPLEVEL= ./python/toplevel.py
LOG_LEVEL = 0 

 
  • vanlap02
  • vanlap02
Today 12:03 - Today 13:45

Seeking Guidance on Mitsubishi MR-J3 Serial Encoder Protocol (J-A22/J-A24) for M

Category: General LinuxCNC Questions

Hi everyone,I am a Master's student currently working on my thesis, which involves designing a custom, low-voltage FOC Servo Driver to control a Mitsubishi MR-J3 motor (equipped with the 18-bit absolute encoder, model J-A22/J-A24).My goal is to achieve full closed-loop control (current, speed, and position) using a custom control board. I am determined to implement the encoder decoder myself rather than using commercial converter modules, as the academic board requires a deep dive into the firmware.What I have done so far:
  1. Hardware Interface: I designed a custom PCB utilizing a high-speed RS-485 transceiver (MAX3485) connected to the USART peripheral of an STM32G4 MCU. The differential lines (MR/MRR) are properly terminated with a 120-ohm resistor.
  2. Signal Capture: I have configured the MCU's USART to run at 2.5 Mbps (8N1), utilizing DMA to handle the high-speed RX buffer without blocking the CPU.
  3. Prior Research: I have deeply analyzed open-source projects like STMBL and various threads on the LinuxCNC forum regarding the "Mit-A/Mit-B" protocols.
The Roadblock: While I can physically capture the serial stream, I am currently struggling with the deterministic behavior of the protocol:
  • The Request Command: I am trying to identify the exact initialization/request byte sequence that the Master needs to send to "wake up" or poll the encoder continuously. I tried sending
    0x02
    and
    0x1A
    based on some older J2S documentation, but the encoder response is inconsistent.
  • Frame Parsing & CRC: Once the encoder responds, I receive an 7-to-9 byte packet. I am trying to figure out how the 18-bit position data is packed across these bytes (Little-Endian shifting vs. Scrambled bits), and what specific CRC-8 polynomial (and initial value) is used to validate the frame.
I am not looking for ready-made code or copy-paste libraries. I want to understand the underlying data structure and state machine of this specific encoder protocol so I can write my own robust driver.If anyone has any documentation, logic analyzer captures, or insights regarding the J-A22/J-A24 protocol frame format, your guidance would be an absolute lifesaver for my thesis progress.Thank you so much for your time and expertise!Best regards,
lap
 Master's Student in Mechatronics Engineering
  • Aciera
  • Aciera's Avatar
Today 11:21 - Today 11:34

Very small 4 axis mill for cutting plastic materials

Category: Show Your Stuff

  


Modified filter script:
 

File Attachment:

File Name: LinuxCNC_p..._axis.py
File Size:4 KB


Tested with /sim/axis/vismach/5axis/table-rotary-tilting/xyzac-trt.ini with the following modifications to the ini file:

[DISPLAY]
            GEOMETRY = XYZ-CA

NOTE that trt-kins and trt-vismach simulations uses unconventional rotational directions so the tool cone in the preview is on the opposite side of the path. 

[FILTER]
PROGRAM_EXTENSION = .pts points file
pts = ./LinuxCNC_pts_filter_4_axis.py

A axis max limits need to be expanded to be able to tilt the table to 90° for the vismach simulation
[AXIS_A]
       MAX_LIMIT =   90


[JOINT_3]
       MAX_LIMIT =   90
  • tuxcnc
  • tuxcnc
Today 11:19
Replied by tuxcnc on topic I hate the 7i97T

I hate the 7i97T

Category: Configuration Tools

A bad workman blames his tools ...
  • Onkelmat
  • Onkelmat's Avatar
Today 10:24
I hate the 7i97T was created by Onkelmat

I hate the 7i97T

Category: Configuration Tools

Just a short rant how hard it is to setup this freaking card. Pnconfig wizard doesn´t work for it. You have to go the full manual way and it´s already a pain to get Mesa CT running and working. Some python needs to be installed, but thats a chapter by itself already. If you went through all the steps to finally get it recognized by Mesa CT and try to run that config with linuxcnc it doesn´t even find the card and exits with an error that the network isn´t reachable. I hate it so much i´ll throw it in the trash and go back to my 5i25 + 7i77. I´ll get a 5i26 for compability.
  • 5_Zylinder
  • 5_Zylinder
Today 09:07
Replied by 5_Zylinder on topic Hurco BMC 30 AP

Hurco BMC 30 AP

Category: CNC Machines

Hi, thanks for your help. Unfortunately, I misunderstood something last time. I have uploaded my complete LinuxCNC folder as an attachment.
  • xin
  • xin
Today 07:17

Every time I boot LinuxCNC, the Xg54 position reading increase 256

Category: General LinuxCNC Questions

LinuxCNC is 3.4.9.
I am using the gmoccapy interface with EtherCAT bus-controlled drives equipped with absolute encoders. The values HOME_OFFSET = 0 and HOME = 0 are set in my INI file. The zero point has already been configured on the drive, yet every time I boot LinuxCNC, the Xg54 position reading increases by 256 compared to the previous session.  why?
Displaying 1 - 15 out of 287162 results.
Time to create page: 2.925 seconds
Powered by Kunena Forum