Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
05 Sep 2018 14:08 #117104 by tecno
So this line is Ok
loadrt GB_2speed

and this should be
addf GB-2speed.0 servo-thread

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

More
05 Sep 2018 14:13 #117105 by andypugh
I think so. The real answer is to try it and then read the error messages

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

More
05 Sep 2018 14:20 #117106 by tecno
Edit all GB_2 to GB-2

./GB_2speed.hal:160: setp requires 2 arguments, 3 given
Shutting down and cleaning up LinuxCNC...

setp motor-high-signal <= GB-2speed.0.motor-high

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

More
05 Sep 2018 14:24 #117107 by andypugh
That setp should be a net

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

More
05 Sep 2018 14:28 #117109 by tecno
Fixed

./GB_2speed.hal:170: Pin 'GB-2speed.0.message.1' does not exist
Shutting down and cleaning up LinuxCNC...

So we have errors probably on all lines below
net m1 GB-2speed.0.message.1 => gear1.trigger
net m2 GB-2speed.0.message.2 => gear2.trigger
net m3 GB-2speed.0.message.3 => gear3.trigger
net m4 GB-2speed.0.message.4 => gear4.trigger
net m5 GB-2speed.0.message.5 => gear5.trigger
net m6 GB-2speed.0.message.6 => gear6.trigger
net m7 GB-2speed.0.message.7 => gear7.trigger
net m8 GB-2speed.0.message.8 => gear8.trigger
net m9 GB-2speed.0.message.9 => gear9.trigger
net m10 GB-2speed.0.message.10 => gear10.trigger
net m11 GB-2speed.0.message.11 => gear11.trigger
net m12 GB-2speed.0.message.12 => gear12.trigger
net m13 GB-2speed.0.message.13 => gear13.trigger

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

More
05 Sep 2018 14:49 - 05 Sep 2018 14:50 #117111 by andypugh
halrun
loadrt GB_2speed
show pin
exit

It's probably message.01
Last edit: 05 Sep 2018 14:50 by andypugh.

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

More
05 Sep 2018 14:55 - 05 Sep 2018 14:57 #117112 by tecno
bengt@CombiMll ~ $ halrun
halcmd: loadrt GB_2speed
Note: Using POSIX realtime
halcmd: show pin
Component Pins:
Owner   Type  Dir         Value  Name
     6  bit   IN          FALSE  GB-2speed.0.gear-A
     6  bit   IN          FALSE  GB-2speed.0.gear-B
     6  bit   IN          FALSE  GB-2speed.0.gear-C
     6  bit   IN          FALSE  GB-2speed.0.gear-D
     6  bit   IN          FALSE  GB-2speed.0.gear-E
     6  bit   IN          FALSE  GB-2speed.0.gear-high
     6  u32   OUT    0x00000000  GB-2speed.0.gear-required
     6  bit   OUT         FALSE  GB-2speed.0.message-00
     6  bit   OUT         FALSE  GB-2speed.0.message-01
     6  bit   OUT         FALSE  GB-2speed.0.message-02
     6  bit   OUT         FALSE  GB-2speed.0.message-03
     6  bit   OUT         FALSE  GB-2speed.0.message-04
     6  bit   OUT         FALSE  GB-2speed.0.message-05
     6  bit   OUT         FALSE  GB-2speed.0.message-06
     6  bit   OUT         FALSE  GB-2speed.0.message-07
     6  bit   OUT         FALSE  GB-2speed.0.message-08
     6  bit   OUT         FALSE  GB-2speed.0.message-09
     6  bit   OUT         FALSE  GB-2speed.0.message-10
     6  bit   OUT         FALSE  GB-2speed.0.message-11
     6  bit   OUT         FALSE  GB-2speed.0.message-12
     6  bit   OUT         FALSE  GB-2speed.0.message-13
     6  bit   IN          FALSE  GB-2speed.0.motor-high
     6  float OUT             0  GB-2speed.0.motor-speed-out
     6  bit   IN          FALSE  GB-2speed.0.spindle-enable-in
     6  bit   OUT         FALSE  GB-2speed.0.spindle-enable-out
     6  float IN              0  GB-2speed.0.spindle-speed-in
     6  s32   OUT             0  GB-2speed.0.time

halcmd: exit
Note: Using POSIX realtime

Message 00 ?
Last edit: 05 Sep 2018 14:57 by tecno. Reason: added text

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

More
05 Sep 2018 15:01 - 05 Sep 2018 15:02 #117114 by tecno
./GB_2speed.hal:170: Pin 'GB-2speed.0.message.01' does not exist
Shutting down and cleaning up LinuxCNC...

Do we need to setp something?
Last edit: 05 Sep 2018 15:02 by tecno.

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

More
05 Sep 2018 16:26 #117116 by Todd Zuercher
it is "GB-2speed.0.message-01" not "GB-2speed.0.message.01"

See the difference? (look at the character before the 01)

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

More
05 Sep 2018 16:42 #117117 by tecno
Thanks Todd!

Will change now test soon.

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

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