thcad-300

More
15 Feb 2021 19:17 - 15 Feb 2021 19:21 #198962 by crowloy
thcad-300 was created by crowloy
I have a hypertherm powermax 900 with machine torch. I do not have the module for divided voltage. So far I've made a Arc-OK switch from a magnetic reed switch, and found the torch enable pins. My current issue though is the voltage my thcad seems to like to generate random numbers. The hm2_7i92.0.encoder.01.velocity pin is a constant random number when the device is powered up. Inside my hypertherm I mounted the device in the place the machine torch board would be. I also mounted a 5v ac power supply. I've gone so far as to take +5v/12v from my control box, power the thcad from +5 and put +12 into the sense terminals. The velocity is all over the place instead of being a nice stable number and this is with the noisy plasma cutter powered off. So Right now I'm at a loss as to what I need to try next.

Jumpers are 1/32 and unipolar. if set to 1/1 then I get a 0 for velocity
Last edit: 15 Feb 2021 19:21 by crowloy.

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

More
15 Feb 2021 19:35 #198964 by PCW
Replied by PCW on topic thcad-300
1. Do you get these random numbers when the THCAD input is unconnected?
2. Are you using differential signalling (that is FOUT+ to ENCA+ and FOUT- to ENCA-)
3. The THCAD should be powered by the encoder 5V power

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

More
15 Feb 2021 20:14 #198969 by crowloy
Replied by crowloy on topic thcad-300
1) yes. completely disconnected from the hypertherm output, I get random numbers
2) yes. differential signalling. I believe this is used to prevent noise. I've also taken the an encoder input and grounded it. swapping wires fout+ fout- wires to see if that helps. with and enc signal grounded, I get 0 for a reading and no response at all to a torch on.
3) I've tried running a cable with +5/0 from my control panel into the hypertherm. Same results

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

More
15 Feb 2021 20:20 #198970 by PCW
Replied by PCW on topic thcad-300
Can you plot the output in halscope?
When I mean disconnected I mean P2 unplugged
What encoder pin are you grounding?

What daughtercard are you using with the 7I92?

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

More
15 Feb 2021 20:35 #198976 by crowloy
Replied by crowloy on topic thcad-300
I just disconnected the output wires. I can unplug p2 is necessary
encb I believe. I'm using a cnc4pc C10 board of recent manufacture. It's on P1. P2 is hooked to a G540 so I don't have the option to use the encoder on that port.

a copy of the plot in halscope.

File Attachment:

File Name: halscope.zip
File Size:80 KB
Attachments:

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

More
15 Feb 2021 20:38 #198977 by crowloy
Replied by crowloy on topic thcad-300
#hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort
#hm2/hm2_7i92.0: IO Pin 018 (P1-14): IOPort
#hm2/hm2_7i92.0: IO Pin 019 (P1-02): IOPort
#hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort
#hm2/hm2_7i92.0: IO Pin 021 (P1-03): IOPort
#hm2/hm2_7i92.0: IO Pin 022 (P1-16): IOPort
#hm2/hm2_7i92.0: IO Pin 023 (P1-04): IOPort
#hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort
#hm2/hm2_7i92.0: IO Pin 025 (P1-05): IOPort
#hm2/hm2_7i92.0: IO Pin 026 (P1-06): IOPort
#hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort
#hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort
#hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort
#hm2/hm2_7i92.0: IO Pin 030 (P1-10): Encoder #1, pin A (Input)
#hm2/hm2_7i92.0: IO Pin 031 (P1-11): Encoder #1, pin B (Input)
#hm2/hm2_7i92.0: IO Pin 032 (P1-12): Encoder #1, pin Index (Input)
#hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort

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

More
15 Feb 2021 20:50 #198979 by PCW
Replied by PCW on topic thcad-300
OK so with a C10 you don't have a differential input. so that may be an issue
For single ended signals you should only connect FOUT+ or FOUT-
to the ENCA signal on the C10 and the unused FOUT pin must be left
unconnected. You should also tie the encoder B input on the C10 to ground.

If you have a digital signal noise issue it may be fixible by setting the
encoder input digital filtering so be slower than the default

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

More
15 Feb 2021 21:08 #198981 by crowloy
Replied by crowloy on topic thcad-300
ok. that's what I currently have connected. Fout to ENCA (C10 Pin10) and ENCB (C10 Pin 11) to GND. I've got plasmac.lowpass-frequency set to 15

With this setup, I get a 0 reading with absolutely no change in the 0 value for encoder.01.velocity. I'm really at a loss here. Last weekend is the first time I've plugged in the plasma power supply and had everything doing it's thing.

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

More
15 Feb 2021 21:18 #198983 by PCW
Replied by PCW on topic thcad-300
Do you have encoder 01 set to "count" mode

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

More
15 Feb 2021 21:26 #198986 by tommylight
Replied by tommylight on topic thcad-300

crowloy wrote: ok. that's what I currently have connected. Fout to ENCA (C10 Pin10) and ENCB (C10 Pin 11) to GND.

Gnd should go to gnd on the C11, not pin 11, leave pin 11 unconnected.

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

Moderators: phillc54
Time to create page: 0.101 seconds
Powered by Kunena Forum