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

More
16 Feb 2016 00:41 #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 or Create an account to join the conversation.

More
16 Feb 2016 00:59 #70205 by djs14

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 or Create an account to join the conversation.

More
16 Feb 2016 01:06 #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 or Create an account to join the conversation.

More
16 Feb 2016 01:42 #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.


File Attachment:

File Name: MiyanoLatheTwo.hal
File Size:10 KB
Attachments:

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

More
16 Feb 2016 01:43 #70210 by djs14

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

Chris M



File Attachment:

File Name: MiyanoLatheTwo.txt
File Size:307 KB
Attachments:

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

More
16 Feb 2016 02:20 #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 or Create an account to join the conversation.

More
16 Feb 2016 03:02 #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 or Create an account to join the conversation.

More
16 Feb 2016 03:39 - 16 Feb 2016 03:40 #70213 by djs14

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
Last edit: 16 Feb 2016 03:40 by djs14.

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

More
16 Feb 2016 15:07 - 16 Feb 2016 15:08 #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
Last edit: 16 Feb 2016 15:08 by PCW.
The following user(s) said Thank You: djs14

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

More
16 Feb 2016 16:03 #70241 by djs14

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 or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.082 seconds
Powered by Kunena Forum