Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
06 Mar 2025 12:35 - 06 Mar 2025 12:48
Replied by unknown on topic Byte2Bot Homing Question

Byte2Bot Homing Question

Category: General LinuxCNC Questions

I'm basing the following on the 2.9.4 image. either Rpi4 or Rpi5

If you read the man page for hal_gpio you will notice there is an issue with the way the module is loaded.

loadrt hal_gpio inputs=GPIO5,GPIO6,GPIO12,GPIO13,GPIO16,GPIO17,GPIO18,GPIO19 \
outputs=GPIO20,GPIO21,GPIO22,GPIO23,GPIO24,GPIO25,GPIO26,GPIO27 \
invert=GPIO20,GPIO27 \
reset=GPIO21,GPIO22
Other info:
forum.linuxcnc.org/9-installing-linuxcnc...sberry-pi-4-5#320852

In the config below you will have to change the GPIO assignments to match the Byte2Bot board.
forum.linuxcnc.org/9-installing-linuxcnc...-4-5?start=10#321296

Finally it also helps if you stated the type of Pi you are using and the image.

A word of warning if you are using a RPi5 I would pay very close attention to the temperatures, as the Byte2Bot board would inhibit the cooling. I've never run my RPi5 without the cooler.

If you are using an RPi4 you may not get the stepper speeds you want.In either case it looks like they have used a very slow base period of 100000ns. Most parallel port setups on a PC aim for around 25000ns.
  • unknown
  • unknown
06 Mar 2025 12:29 - 06 Mar 2025 12:54
Replied by unknown on topic Byte2Bot Homing Question

Byte2Bot Homing Question

Category: General LinuxCNC Questions

For a read & write to occur the hal_gpio read & write functions need to be connected to a thread.
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html#_functions

What I would do is run a basic config for your machine, then use halshow from axis or whatever you are using to monitor the input you need to.
  • unknown
  • unknown
06 Mar 2025 12:21
Replied by unknown on topic Inputs as outputs 7i95t

Inputs as outputs 7i95t

Category: Driver Boards

Those Serial connectors are for Mesa's SmartSerial cards, which is different to ModBus.

There are some remote smart serial I\O cards that will be just plug and play, ie all the messy voltage translation stuff is on the board. Depends on how much you want to pay ;) eg 7i84 which will give an extra 32 inputs & 16 outputs. Maybe over kill.
store.mesanet.com/index.php?route=produc...69_70&product_id=123

As mentioned before a chinese bob will work but then you'll have to deal with 5v > 24v stuff.
  • timo
  • timo
06 Mar 2025 11:34
Replied by timo on topic Inputs as outputs 7i95t

Inputs as outputs 7i95t

Category: Driver Boards

As far as I understand you can hook up one of those DB25 daughter cards to the P1 expansion connector.
Just look if something is suitable? I guess the bitfile needs to be changed. I was not able to figure that out. (so far pre-configured ones that were provided by Mesa worked for me)

store.mesanet.com/index.php?route=product/category&path=69_71

Some people used Modbus I/O expansion, I think that goes on the RS485 pins of the card. No idea how it works. :-)
  • Sternfox
  • Sternfox
06 Mar 2025 11:03
Inputs as outputs 7i95t was created by Sternfox

Inputs as outputs 7i95t

Category: Driver Boards

Hey chaps,

So I'm running out of outputs on my mesa 7i95t I have loads of inputs free. 

So my question is can the input pins be used as outputs?  If so how.

I have 6 ssr outputs on the card all are used for loads such as solenoids and relays.

I now need outputs (24v) for my drivers enable/alarm clearing functions.

I have ordered a 5 axis bob but it seems they are all inputs not outputs.

Any suggestions on how to get more 24v outputs? 
  • aikiaviator
  • aikiaviator
06 Mar 2025 09:28

Move Machine to inside soft limits when Probe Basic on

Category: QtPyVCP

Thanks. Yes. This is what I have. Thank you. :-)
  • aikiaviator
  • aikiaviator
06 Mar 2025 09:24

Best approach to upgrade Probe Basic to latest version

Category: QtPyVCP

Version Linux:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="www.debian.org/"
SUPPORT_URL="www.debian.org/support"
BUG_REPORT_URL="bugs.debian.org/"

Probe_Basic Version:
Stable Install: 1.1
2024-12-24 13:27:40,363 - qtpyvcp - INFO - QtPyVCP Version: 0+unknown
2024-12-24 13:27:40,390 - qtpyvcp - DEBUG - Qt Version: 5.15.8
2024-12-24 13:27:40,391 - qtpyvcp - DEBUG - Qt API: QT_API
2024-12-24 13:27:40,391 - qtpyvcp - DEBUG - QtPy Version: 2.3.0

Is this enough?
  • Clive S
  • Clive S
06 Mar 2025 08:26
Replied by Clive S on topic Byte2Bot Homing Question

Byte2Bot Homing Question

Category: General LinuxCNC Questions

For that board to work with the inputs you will have to connect a 12-24V supply to the terminals on the relay side of the board.
  • Chia
  • Chia
06 Mar 2025 08:14
Byte2Bot Homing Question was created by Chia

Byte2Bot Homing Question

Category: General LinuxCNC Questions

 I am using byte2bot and currently trying to use homing. I pressed the limit switch, but it still doesn’t trigger the homing. 
Regardless of whether I press the limit switch or not, it always returns TRUE.(Like the attached picture.)
Here are my HAL and INI files.
  • meister
  • meister
06 Mar 2025 08:07

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Hi Kam,
thanks :)

the warning and BadWindow stuff can be ignored

Cheers
Olli
  • rodw
  • rodw's Avatar
06 Mar 2025 06:58

New ethercat / probe basic control for minimonster

Category: CNC Machines

controlword and statusword are part of the cia402 standard. We write to control word and read the results in status word. Just look at the examples and make sure you have the ones that connect to cia402.comp.

Use AI to get a tutorial on cia402 state machine. your manual is saying there is a 32 bit value (2 x 16 bit values) and it rx (receives a value) so it is an S32 in pin in hal
 
  • ihavenofish
  • ihavenofish
06 Mar 2025 06:37
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

cool entered those. no change. (which i assume is expected)

I am looking at these hex things. where do i find the values? in the drive manual it lists them and then says the range.

eample:

<pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>
<pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>

 
  • rodw
  • rodw's Avatar
06 Mar 2025 06:07

New ethercat / probe basic control for minimonster

Category: CNC Machines

yeh these
Vendor Id: 0x00000083
Product code: 0x00000006
  • konrad
  • konrad
06 Mar 2025 05:52 - 06 Mar 2025 06:27
Replied by konrad on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

I actually registered here to say: Wow, really impressive work with the trajectory planner! looking forward to see it evolve.

We put the clothoid fitting algo in a seperate thread.

Creating a lockless, thread-save producer-consumer queue has a lot of pitfalls, I would recommend looking at this implementation  Lock-Free Single-Producer - Single Consumer Circular Queue    or in C  

 Besides that can I ask if the points raised by hmnijp ( smoothed polyline segmentation causing deviations, page 3) are addressed with the use of clothoid-curves? I guess to really have jerk limiting you not only need to be smooth in the time domain but also in the path, thus the use of clothoid(?)
  • jtrantow
  • jtrantow
06 Mar 2025 05:41 - 06 Mar 2025 05:47
Replied by jtrantow on topic Lathe spindle index only?

Lathe spindle index only?

Category: Basic Configuration

For my 9x20 spindle, I used optical sensors and cut 65 teeth into a thin disk. With two carefully offset sensors I get 260 quadrature counts and haven't had any problems threading 120-150 rpm. A third optical sensor provides the index from a deeper tooth.

I ordered an omron encoder off eBay ($20) that will be a lot cleaner. When I get around to installing it I will probably 3d print gears for a small belt running around spindle and encoder. If you go this route don't go over board on pulses per revolution. 1024 ppr will be more than enough for threading.

The most difficult part of my 9x20 conversion was the modifications to fit a small ball screw under the cross slide good luck!
Displaying 8911 - 8925 out of 24529 results.
Time to create page: 0.668 seconds
Powered by Kunena Forum