Additional Inputs

More
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?

Please Log in to join the conversation.

More
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.

Please Log in to join the conversation.

More
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.

More
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

Please Log in to join the conversation.

More
1 year 9 months ago #318232 by tommylight
Replied by tommylight on topic Additional Inputs

How can i switch parallel to input mode?
loadrt hal_parport cfg="0x378 out"
to
loadrt hal_parport cfg="0x378 in"

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum