pncconf with 5i25 and 7i77 and I need analog outs

More
10 years 8 months ago #70204 by cmorley
yes thats the file i need thanks.

pwm outputs are the analog outputs. the 7i77 converts pwg to analog.

Yes the edits were easy, you could add them manually to what ever file you next make:
added:
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
loadrt scale names=scale.spindle

and:
addf abs.spindle servo-thread
addf lowpass.spindle servo-thread
addf scale.spindle servo-thread

Tool turrets are difficult to supply a sample for.
You didn't mention how the turret is indexed.
usually ladder logic is used for tool changes.

Chris M

Please Log in to join the conversation.

More
10 years 8 months ago #70205 by djs14

cmorley wrote: yes thats the file i need thanks.

pwm outputs are the analog outputs. the 7i77 converts pwg to analog.

Yes the edits were easy, you could add them manually to what ever file you next make:
added:
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
loadrt scale names=scale.spindle

and:
addf abs.spindle servo-thread
addf lowpass.spindle servo-thread
addf scale.spindle servo-thread

Tool turrets are difficult to supply a sample for.
You didn't mention how the turret is indexed.
usually ladder logic is used for tool changes.

Chris M


OK thank you.

I've managed to get the classicladder gui to come up when I load linuxcnc with some edits to the custom.hal file so I think I'm on my way. I imagine the ladder that I create will somehow get merged with the HAL file, etc.

Having a great time learning about all this stuff.

Thank you again,

Sean

Please Log in to join the conversation.

More
10 years 8 months ago #70207 by cmorley
sorry could you post the pncconf file again but either change the ending to txt or zip it first?
Thanks

Chris M

Please Log in to join the conversation.

More
10 years 8 months ago #70209 by djs14
I'm getting another error now when I'm trying to assign inputs:

input-oo does not exist

Here's the Hal file ... I commented out the input names I had assigned to see if it had anything to do with it.


Attachment not found

Please Log in to join the conversation.

More
10 years 8 months ago #70210 by djs14

cmorley wrote: sorry could you post the pncconf file again but either change the ending to txt or zip it first?
Thanks

Chris M



Attachment not found

Please Log in to join the conversation.

More
10 years 8 months ago #70211 by cmorley
As a work around if you select a gladvcp panel with spindle speed display the components will be added properly.
then you won't have to edit the file by hand.

On the screen page select 'include custom gladeVCP file' - The default options will be fine.

Chris M

Please Log in to join the conversation.

More
10 years 8 months ago #70212 by cmorley
Thanks for the bug report i have added a fix for this problem for the next release.

Chris M

Please Log in to join the conversation.

More
10 years 8 months ago #70213 by djs14

cmorley wrote: As a work around if you select a gladvcp panel with spindle speed display the components will be added properly.
then you won't have to edit the file by hand.

On the screen page select 'include custom gladeVCP file' - The default options will be fine.

Chris M


Tried this but still getting an error when opening linuxcnc since I've started trying to define inputs:

pin '5i25.0.7i77.0.0.input-00' does not exist ... hal file pretty much the same as the one I posted above.

edit post 70209 above has hal file

Please Log in to join the conversation.

More
10 years 8 months ago #70236 by PCW
pin '5i25.0.7i77.0.0.input-00' does not exist
(or similar)
Is expected if field power is not connected to the 7I77's isolated I/O section

Please Log in to join the conversation.

More
10 years 8 months ago #70241 by djs14

PCW wrote: pin '5i25.0.7i77.0.0.input-00' does not exist
(or similar)
Is expected if field power is not connected to the 7I77's isolated I/O section


Thank you brother! Will hook up some power and hopefully see that message disappear.

Looking forward to playing with the ladder functionality.

Cheers all

Please Log in to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum