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

More
08 Sep 2017 11:40 #98665 by tecno

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


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

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

More
08 Sep 2017 11:58 #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 or Create an account to join the conversation.

More
08 Sep 2017 12:07 #98671 by tecno
No I am not saying that, both counts/position are counting up or down

spindle revs does NOT

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

More
08 Sep 2017 12:11 #98672 by tecno

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


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

More
08 Sep 2017 12:35 - 08 Sep 2017 12:35 #98676 by andypugh

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




You have
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:
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.
Last edit: 08 Sep 2017 12:35 by andypugh.

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

More
08 Sep 2017 12:43 #98678 by tecno

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

More
08 Sep 2017 12:49 #98679 by andypugh

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

More
08 Sep 2017 12:50 #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 or Create an account to join the conversation.

More
08 Sep 2017 13:24 #98683 by tecno
setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Now error at above line = empty variable name

File Attachment:

File Name: combimillx.ini
File Size:5 KB

File Attachment:

File Name: combimillx.hal
File Size:18 KB
Attachments:

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

More
08 Sep 2017 14:07 #98687 by andypugh

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

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