- Posts: 598
- Thank you received: 0
Additional Inputs
1 year 10 months ago #317581
by vre
Additional Inputs was created by vre
What solution exists for mill front panel button inputs? These are non critical real time inputs
for example extra inputs for front panel buttons like cycle start/stop/pause/ +- x+-y+-z+-a/flood/mist/tool clamp/spindle cw-ccw-stop.
Can i use parallel port for these or something
from usb port like arduino or rs232 or rs485 port?
for example extra inputs for front panel buttons like cycle start/stop/pause/ +- x+-y+-z+-a/flood/mist/tool clamp/spindle cw-ccw-stop.
Can i use parallel port for these or something
from usb port like arduino or rs232 or rs485 port?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
1 year 9 months ago #318070
by tommylight
Replied by tommylight on topic Additional Inputs
Yes, parallel port works for that, normally it has only 5 inputs but it can be st to "input" mode giving you 13 inputs and 4 outputs.
There are also some Arduino projects around here, but i never used them.
There are also some Arduino projects around here, but i never used them.
Please Log in to join the conversation.
1 year 9 months ago #318210
by vre
Replied by vre on topic Additional Inputs
How can i switch parallel to input mode?
Please Log in to join the conversation.
1 year 9 months ago #318231
by jmelson
Replied by jmelson on topic Additional Inputs
You just specify input on the hal command line that instantiates the driver (hal_parport or rtapi_parport), and it will export the needed hal pins.
Jon
Jon
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
1 year 9 months ago #318232
by tommylight
to
loadrt hal_parport cfg="0x378 in"
Replied by tommylight on topic Additional Inputs
loadrt hal_parport cfg="0x378 out"How can i switch parallel to input mode?
to
loadrt hal_parport cfg="0x378 in"
Please Log in to join the conversation.
Time to create page: 0.086 seconds
