Re:pncconf - feature requests

More
10 years 1 month ago #79952 by calvin.d
Replied by calvin.d on topic pncconf - feature requests
request for allowing usb devices to be configured for gs2-vfd setup

they are going to be dev/ttyUSB# where # starts at 0

also in the gs2-vfd config that is generated

the line

net spindle-on => spindle-vfd.spindle-on

need to be changed to

net spindle-enable => spindle-vfd.spindle-on

for it to work for me

Thank You
Calvin

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

More
10 years 1 month ago #79956 by cmorley
Replied by cmorley on topic pncconf - feature requests
ok I pushed a change for the ability to set the device name for the gs2 vfd.
And fixed the signal name spindle-on

next release of 2.7 series should have it.

Chris M
The following user(s) said Thank You: tommylight

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

More
10 years 1 month ago #80102 by calvin.d
Replied by calvin.d on topic pncconf - feature requests
ok found 2 more issues

7i76 encoder mode 2 is not being set properly in the hal file

loadrt hm2_pci config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"

should be

loadrt hm2_pci config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=20xxxx"


and I had an interesting error


net joint-selected-count <= hm2_5i25.0.7i76.0.0.enc0.count

should be

net joint-selected-count <= hm2_5i25.encoder.00.count

i have attached the config it generated

Thank You
Calvin
Attachments:

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

More
10 years 1 month ago - 10 years 1 month ago #80104 by PCW
Replied by PCW on topic pncconf - feature requests

and I had an interesting error


net joint-selected-count <= hm2_5i25.0.7i76.0.0.enc0.count

should be

net joint-selected-count <= hm2_5i25.encoder.00.count


I dont think that's an error

(the 5i25 encoder is used for the spindle while the 7i76 MPG encoder is used for jogging)
Last edit: 10 years 1 month ago by PCW.

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

More
10 years 1 month ago #80106 by calvin.d
Replied by calvin.d on topic pncconf - feature requests
i see, so it is still wrong, just not in the way I thought it was :)

let me change it to your way and see what happens

C

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

More
10 years 1 month ago #80107 by calvin.d
Replied by calvin.d on topic pncconf - feature requests
ok still not quite right

this works
net joint-selected-count <= hm2_5i25.0.encoder.00.count

my mpg is still not working but it at least loads nows

also is the mode 2 change issue a known problem ?

C

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

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