Please Log in or Create an account to join the conversation.
BigJohnT post=16332 userid=405
Seems like you have a lot of fun ahead of you.
To connect a motion digital output to a parallel port pin you will have to modify a .hal file. If you use Stepconf Wizard to create your configuration then do the modifications in custom.hal. To "connect" motion digital output pin 0 to the parallel port pin 17 you could create a line like the following.
[/code]Code:net digital-out-0 motion.digital-out-00 => parport.0.pin-17-out Now to use the digital out pin you need the following in your g code file [code]M64 P0 (turn on digital out pin 0) G4 P10 (pause for 10 seconds, just so you can see the pin turn on) M65 P0 (turn off digital out pin 0) Notice after reading the manual for digital I/O pins [url=http://linuxcnc.org/docview/2.5/html/gcode/m-code.html#_m62_to_m65_output_control_a_id_sec_m62_m65_a]here that the above code will not work for M62/M63. John[/url]
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.