Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
Today 23:45

hm2_modbus pktuart, probably a firmware request?

Category: General LinuxCNC Questions

Here's the wiring information:  (just added to 7I96 manual)

RS-485 OPERATION

For 2 wire RS-485 applications, TX+ must be connected to RX+ and TX- must be
connected to RX-. RS-485 pair wiring is TX-/RX- to A and TX+/RX+ to B.

For RS-485 applications, 7I96 cards require two biasing resistors to establish the
non-driven state of RS-485 interfaces (MODBUS etc). The first resistor should connect
between +5V and RX- and the second between GND and RX+. Suggested resistor value
is 330 Ohms.
  • AlessandroEmm
  • AlessandroEmm
Today 22:03
Replied by AlessandroEmm on topic Cannot clear E-STOP, without error

Cannot clear E-STOP, without error

Category: Basic Configuration

Sorry, I dont follow, what Syntax error are you referring to?
  • Ferra
  • Ferra
Today 22:01

Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen

Category: General LinuxCNC Questions

Hello everyone,I hope this is not a trivial question — I am still learning the Linux input stack and QtVCP internals, so please excuse any misunderstanding on my side.I am running LinuxCNC with QtDragon HD (QtVCP) on Debian RT.
My touchscreen hardware supports 15-point multi-touch (confirmed on Windows).
On Linux, the device is detected as
wch.cn TouchScreen
.What I would like to achieve is:
  • Two-finger pinch for zoom in the 3D preview
  • Possibly two-finger rotation/pan gestures
​​​​​​​Any guidance, even high-level direction, would be greatly appreciated.​​​​​​​Thank you for your patience and for the excellent work on LinuxCNC.​​​​​​​​​​​
  • jtrantow
  • jtrantow
Today 21:59 - Today 22:35

hm2_modbus pktuart, probably a firmware request?

Category: General LinuxCNC Questions

Connected CommanderSK VFD RS485 to 7i96 connector.

Docs at linuxcnc.org/docs/2.9/html/drivers/mesa_modbus.html state:6. Hardware ConnectionThe Mesa serial ports have separate pins for Tx and Tx pairs. For RS422 Modbus RTU communications these should be connected at the Mesa card Tx+ to Rx+ and Tx- to Rx-.Note that there are differing naming standards for Modbus pins. Typically Rx+ and TX+ will connect to the B- pin on the modbus device and Rx- and Tx- will connect to the A+ pin, i.e., +/- will appear reversed.

Is RS485 wired the same way?
 

My working USB/485 dongle solution connects:
RJ45                 USB Dongle
2 EIA485+          A+
3 0V                  GND
7 EIA485-          B-

So I have connected EIA485 to Mesa TX- and RX-, EIA485- to Mesa TX+ and RX+, 0V to Mesa GND.
​​​​​
I set up CommanderSK.mbccs to simply read the software version from the vfd. This fails with a "Received PDU too small, size=4"
I have tried hal_types HAL_FLOAT, HAL_U32 with the same result.

Any hints before I bring out the scope?
  • HansU
  • HansU's Avatar
Today 21:56 - Today 21:58
Replied by HansU on topic G-code wizard für Gmoccapy

G-code wizard für Gmoccapy

Category: Gmoccapy

Hast du dir mal PyNGCGUI angeschaut? Es gibt eine Beispiel-Sim-Config "gmoccapy_pyngcgui"
  • AlessandroEmm
  • AlessandroEmm
Today 21:47 - Today 22:03
Replied by AlessandroEmm on topic Cannot clear E-STOP, without error

Cannot clear E-STOP, without error

Category: Basic Configuration

Thanks Tuxcnc - I tried to replicate this with the SPI-fields of remora-spi. (minus the external pin) Unfortunately the behaviour stays the same. Besides looping in the external e-stop does it do something different in terms of iocontrol states?

  • liutas4x4
  • liutas4x4
Today 21:29 - Today 21:30
Replied by liutas4x4 on topic M codes for a second spindle?

M codes for a second spindle?

Category: General LinuxCNC Questions

Sounds good. I will try it. Thank you.
  • tommylight
  • tommylight's Avatar
Today 21:07
Replied by tommylight on topic Mesa 7i73 auf analog in + encoder mode stellen

Mesa 7i73 auf analog in + encoder mode stellen

Category: HAL

Das ist fuhr die Mesa 7i77,
# Include your custom HAL commands here
# This file will not be overwritten when you run PNCconf again
######################################################
## Feed-Override
## mit Poti
######################################################
loadrt mux_generic config=fs2
addf   mux-gen.00 servo-thread

setp [HMOT](CARD0).7i77.0.0.analogin0-scalemax 350
setp halui.feed-override.direct-value true
setp halui.feed-override.count-enable true
setp halui.feed-override.scale 0.01
setp mux-gen.00.in-float-00 100
    
net feedpot-raw    mux-gen.00.in-float-01  [HMOT](CARD0).7i77.0.0.analogin0
net machine-is-on  mux-gen.00.sel-bit-00
net feedpot-mux    mux-gen.00.out-s32      halui.feed-override.counts
  • Hakan
  • Hakan
Today 20:38
Replied by Hakan on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Had a milling session, not very long. XHC didn't crash. Doesn't say much, so I'll continue using libusb_fill_interrupt_transfer().

Ok no testing. Interesting to see how it goes, and if the firmware in the dongle is to blame.
  • tommylight
  • tommylight's Avatar
Today 20:36
Replied by tommylight on topic M codes for a second spindle?

M codes for a second spindle?

Category: General LinuxCNC Questions

Try
M3 $1 S1000
Since LinuxCNC 2.8 (i think) there is built in support for multiple spindles, the $n should be the G-code controlling the spindle number where n is the spindle number starting from 0 (zero), so $0 is the default first spindle, then $1 is the second spindle, etc.
linuxcnc.org/docs/html/examples/spindle.html
linuxcnc.org/docs/stable/html/gcode/othe...ec:set-spindle-speed
  • tommylight
  • tommylight's Avatar
Today 20:28
Replied by tommylight on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

... I prefer to call the USB part the dongle and the actual handheld device the pendant.

That is the usual naming since the dawn of "security dongles" started by software companies to prevent copying software and later adopted by some banks, and naming them something else... forgot what exactly, but dongle prevailed.
  • Finngineering
  • Finngineering
Today 19:54
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Yes, unless somebody have better terms, I prefer to call the USB part the dongle and the actual handheld device the pendant. In case of the wired version, I would presume all logic is in the pendant and the "USB part" is only a connector.

The problem for everybody else than myself is that you might have different hardware/firmware version. And if you overwrite the factory firmware with this new firmware, you can no longer go back, because you don't have the factory firmware. I could give you the factory firmware that was in my dongle, but it could be different than what is in yours. The firmware can be extracted (like I have done), but its tedious.

Anyway, I think its a little bit early for public beta testing. I will make some improvements and see if it appears stable over time. Maybe there could be some way to do at least a partial readout/verification of the factory firmware through USB.
  • NT4Boy
  • NT4Boy
Today 19:53
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Missing file
  • liutas4x4
  • liutas4x4
Today 19:52
Replied by liutas4x4 on topic M codes for a second spindle?

M codes for a second spindle?

Category: General LinuxCNC Questions

Checked. It was about relays and laser, nothing about rotation of the motor with preset speed, like M3 S1000.
  • NT4Boy
  • NT4Boy
Today 19:49 - Today 19:51
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

I fought the non existent pin in my spindle control hal until I found out that 
hm2_7i92.0.encoder.N.index‑enable isn’t just a plain input pin. Not realy sure what I mean by that, but I cannot use 'normal' signal and pin logic, but I can set it with a setp halcmd which for now is a start.
The top trace shows the index enable being set, then encountering the index pulse, which unsets it, meanwhile the orient.0.poserr also gets reset and increases until the next manual reset, but the poserr values are not making much sense to me. The bottom of the sawtooth is -5398 and as time passes this figure increases towards zero and in fact eventually into positive, Can anyone explain these values please?  [attachment=74653]poserr.png[/attachment]
Displaying 1 - 15 out of 283066 results.
Time to create page: 2.483 seconds
Powered by Kunena Forum