step direction spindle also functions as C axis

More
05 Aug 2012 11:49 #22845 by stevestice
Hi Here is what I get can you explain it please.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

steve@steve-cnc-control:~$ halrun
halcmd: loadrt opto_ac5
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
4 bit IN FALSE opto-ac5.0.led0
4 bit IN FALSE opto-ac5.0.led1
4 bit IN FALSE opto-ac5.0.led2
4 bit IN FALSE opto-ac5.0.led3
4 bit OUT FALSE opto-ac5.0.port0.in-00
4 bit OUT TRUE opto-ac5.0.port0.in-00-not
4 bit OUT FALSE opto-ac5.0.port0.in-01
4 bit OUT TRUE opto-ac5.0.port0.in-01-not
4 bit OUT FALSE opto-ac5.0.port0.in-02
4 bit OUT TRUE opto-ac5.0.port0.in-02-not
4 bit OUT FALSE opto-ac5.0.port0.in-03
4 bit OUT TRUE opto-ac5.0.port0.in-03-not
4 bit OUT FALSE opto-ac5.0.port0.in-04
4 bit OUT TRUE opto-ac5.0.port0.in-04-not
4 bit OUT FALSE opto-ac5.0.port0.in-05
4 bit OUT TRUE opto-ac5.0.port0.in-05-not
4 bit OUT FALSE opto-ac5.0.port0.in-06
4 bit OUT TRUE opto-ac5.0.port0.in-06-not
4 bit OUT FALSE opto-ac5.0.port0.in-07
4 bit OUT TRUE opto-ac5.0.port0.in-07-not
4 bit OUT FALSE opto-ac5.0.port0.in-08
4 bit OUT TRUE opto-ac5.0.port0.in-08-not
4 bit OUT FALSE opto-ac5.0.port0.in-09
4 bit OUT TRUE opto-ac5.0.port0.in-09-not
4 bit OUT FALSE opto-ac5.0.port0.in-10
4 bit OUT TRUE opto-ac5.0.port0.in-10-not
4 bit OUT FALSE opto-ac5.0.port0.in-11
4 bit OUT TRUE opto-ac5.0.port0.in-11-not
4 bit IN FALSE opto-ac5.0.port0.out-12
4 bit IN FALSE opto-ac5.0.port0.out-13
4 bit IN FALSE opto-ac5.0.port0.out-14
4 bit IN FALSE opto-ac5.0.port0.out-15
4 bit IN FALSE opto-ac5.0.port0.out-16
4 bit IN FALSE opto-ac5.0.port0.out-17
4 bit IN FALSE opto-ac5.0.port0.out-18
4 bit IN FALSE opto-ac5.0.port0.out-19
4 bit IN FALSE opto-ac5.0.port0.out-20
4 bit IN FALSE opto-ac5.0.port0.out-21
4 bit IN FALSE opto-ac5.0.port0.out-22
4 bit IN FALSE opto-ac5.0.port0.out-23
4 bit OUT FALSE opto-ac5.0.port1.in-00
4 bit OUT TRUE opto-ac5.0.port1.in-00-not
4 bit OUT FALSE opto-ac5.0.port1.in-01
4 bit OUT TRUE opto-ac5.0.port1.in-01-not
4 bit OUT FALSE opto-ac5.0.port1.in-02
4 bit OUT TRUE opto-ac5.0.port1.in-02-not
4 bit OUT FALSE opto-ac5.0.port1.in-03
4 bit OUT TRUE opto-ac5.0.port1.in-03-not
4 bit OUT FALSE opto-ac5.0.port1.in-04
4 bit OUT TRUE opto-ac5.0.port1.in-04-not
4 bit OUT FALSE opto-ac5.0.port1.in-05
4 bit OUT TRUE opto-ac5.0.port1.in-05-not
4 bit OUT FALSE opto-ac5.0.port1.in-06
4 bit OUT TRUE opto-ac5.0.port1.in-06-not
4 bit OUT FALSE opto-ac5.0.port1.in-07
4 bit OUT TRUE opto-ac5.0.port1.in-07-not
4 bit OUT FALSE opto-ac5.0.port1.in-08
4 bit OUT TRUE opto-ac5.0.port1.in-08-not
4 bit OUT FALSE opto-ac5.0.port1.in-09
4 bit OUT TRUE opto-ac5.0.port1.in-09-not
4 bit OUT FALSE opto-ac5.0.port1.in-10
4 bit OUT TRUE opto-ac5.0.port1.in-10-not
4 bit OUT FALSE opto-ac5.0.port1.in-11
4 bit OUT TRUE opto-ac5.0.port1.in-11-not
4 bit IN FALSE opto-ac5.0.port1.out-12
4 bit IN FALSE opto-ac5.0.port1.out-13
4 bit IN FALSE opto-ac5.0.port1.out-14
4 bit IN FALSE opto-ac5.0.port1.out-15
4 bit IN FALSE opto-ac5.0.port1.out-16
4 bit IN FALSE opto-ac5.0.port1.out-17
4 bit IN FALSE opto-ac5.0.port1.out-18
4 bit IN FALSE opto-ac5.0.port1.out-19
4 bit IN FALSE opto-ac5.0.port1.out-20
4 bit IN FALSE opto-ac5.0.port1.out-21
4 bit IN FALSE opto-ac5.0.port1.out-22
4 bit IN FALSE opto-ac5.0.port1.out-23

halcmd:
Thanks Steve

Please Log in or Create an account to join the conversation.

More
05 Aug 2012 12:34 #22847 by andypugh
stevestice wrote:

I get a error that opto_ac5.0.port0.out-12 does not exist.


From the pin-list: 4 bit IN FALSE opto-ac5.0.port0.out-12

The problem is that your HAL file has opto_ac5 and it needs to be opto-ac5

Please Log in or Create an account to join the conversation.

More
05 Aug 2012 16:00 #22849 by cmorley
gee your the first person I know of that has used opto-ac5 besides me ( I wrote it ).
It's always cool when others find your stuff useful!

Chris M

Please Log in or Create an account to join the conversation.

More
05 Aug 2012 17:07 #22850 by stevestice
Hi
That is what is shown in the integrators manual opto_ac5. I will make changes and get things going.
I wish I had seen that. Thanks

The Opto 22 pci_ac5 looks like a good way to add I/O to a PC
Thanks Steve

Please Log in or Create an account to join the conversation.

More
12 Aug 2012 01:25 #23070 by stevestice
Hi
What pins are for machine on / machine off ? I want to connect switches to these signals. Thanks Steve

Please Log in or Create an account to join the conversation.

More
12 Aug 2012 05:07 #23071 by cmorley
motion.machine-enabled follows machine on/off

Please Log in or Create an account to join the conversation.

More
31 Aug 2012 13:46 #23798 by stevestice
Hi The opto 22 works great. I have had to change my spindle design for now. I have changed to a 1/3 hp 3 phase motor with a automation direct gs1 drive.
I am using the inputs on the drive and opto outputs for direction control. I am wanting to add speed control. I have not got into the manuals yet would the gs2 vfd driver be
the way to go or can I add 0 to10 volt output with a opto 22 G4DA5 analog dc output? I know the analog module will not work with the pci-ac5, what interface/board do the
opto analog module work with? Also can some one point me in the right direction I have been working on my manual pulse generator with little success I have found a hal file but have been able to modify it to work. Thanks Steve

Please Log in or Create an account to join the conversation.

Time to create page: 0.190 seconds
Powered by Kunena Forum