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

More
9 years 1 month ago #98665 by tecno

rodw wrote: To see signals in real time, read up on halscope, Linuxcnc's own software Oscilloscope. Very powerful, I only just started to use it.


OK, here comes HALSCOPE for encoder 04 with A/B and Index

Attachment not found



Looks like there is a Index pulse. So what can be wrong here?

Please Log in to join the conversation.

More
9 years 1 month ago #98669 by andypugh
moton.spindle-index-enable will only be set true once at the start of the G33.1 move.

Are you saying that encoder.04.counts is increasing but encoder.04.position is not increasing?
That might happen if the encoder.04.scale parameter is set to a very wrong number.

Please Log in to join the conversation.

More
9 years 1 month ago #98671 by tecno
No I am not saying that, both counts/position are counting up or down

spindle revs does NOT

Please Log in to join the conversation.

More
9 years 1 month ago #98672 by tecno

tecno wrote:

rodw wrote: To see signals in real time, read up on halscope, Linuxcnc's own software Oscilloscope. Very powerful, I only just started to use it.


OK, here comes HALSCOPE for encoder 04 with A/B and Index

Attachment not found



Looks like there is a Index pulse. So what can be wrong here?



Is above levels OK, looks to be very low. The encoder has open collector NPN output = Omron E6C2-CWZ6C

Please Log in to join the conversation.

More
9 years 1 month ago #98676 by andypugh

tecno wrote: No I am not saying that, both counts/position are counting up or down
spindle revs does NOT




You have
Code:
net spindle-pos hm2_7i76e.0.encoder.04.position => motion.spindle-revs

I don't see how it is possible for that not to work, unless you are not using the HAL file you think you are using.

If you add, to the HAL file, after that line:
Code:
loadusr halmeter sig spindle-pos
Then you A) Can be sure that the line is being executed (a halmeter window will pop up) and B.) You can see if the signal is receiving the value.

Please Log in to join the conversation.

More
9 years 1 month ago #98678 by tecno

Please Log in to join the conversation.

More
9 years 1 month ago #98679 by andypugh

tecno wrote: Nothing pops up!



Interesting,

Check the HAL files names in the [HAL] Section of the INI, make sure that the HAL file you are editing appears there.
(Are you using a separate spindle.hal file, for example?)

Please Log in to join the conversation.

More
9 years 1 month ago #98680 by Todd Zuercher
That would seem to imply that the hal file you are editing is not the one that you are executing. (double check your paths, file names and file locations)

Please Log in to join the conversation.

More
9 years 1 month ago #98683 by tecno
setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Now error at above line = empty variable name

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
9 years 1 month ago #98687 by andypugh

Please Log in to join the conversation.

Time to create page: 1.335 seconds
Powered by Kunena Forum