Plasmac 7i96 and thcad setup

More
02 Apr 2020 15:27 - 02 Apr 2020 15:29 #162453 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
here is what i'm getting

LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/jay1st/linuxcnc/configs/plasma'
Machine configuration file is 'plasma.ini'
Starting LinuxCNC...
twopass:invoked with <> options
twopass:found ./plasma.hal
twopass:found ./plasmac.tcl
twopass:found ./plasma_connections.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:16:01:49
hm2_eth: discovered 7I96
hm2/hm2_7i96.0: Smart Serial Firmware Version 43
hm2/hm2_7i96.0: 51 I/O Pins used:
hm2/hm2_7i96.0: IO Pin 000 (TB3-01): IOPort
hm2/hm2_7i96.0: IO Pin 001 (TB3-02): IOPort
hm2/hm2_7i96.0: IO Pin 002 (TB3-03): IOPort
hm2/hm2_7i96.0: IO Pin 003 (TB3-04): IOPort
hm2/hm2_7i96.0: IO Pin 004 (TB3-05): IOPort
hm2/hm2_7i96.0: IO Pin 005 (TB3-06): IOPort
hm2/hm2_7i96.0: IO Pin 006 (TB3-07): IOPort
hm2/hm2_7i96.0: IO Pin 007 (TB3-08): IOPort
hm2/hm2_7i96.0: IO Pin 008 (TB3-09): IOPort
hm2/hm2_7i96.0: IO Pin 009 (TB3-10): IOPort
hm2/hm2_7i96.0: IO Pin 010 (TB3-11): IOPort
hm2/hm2_7i96.0: IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i96.0: IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i96.0: IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i96.0: IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i96.0: IO Pin 015 (TB3-21/TB3-22): SSR #0, pin Out-04 (Output)
hm2/hm2_7i96.0: IO Pin 016 (TB3-23/TB3-24): SSR #0, pin Out-05 (Output)
hm2/hm2_7i96.0: IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step (Output)
hm2/hm2_7i96.0: IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction (Output)
hm2/hm2_7i96.0: IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step (Output)
hm2/hm2_7i96.0: IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction (Output)
hm2/hm2_7i96.0: IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step (Output)
hm2/hm2_7i96.0: IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction (Output)
hm2/hm2_7i96.0: IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step (Output)
hm2/hm2_7i96.0: IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction (Output)
hm2/hm2_7i96.0: IO Pin 025 (TB2-01/TB2-03): StepGen #4, pin Step (Output)
hm2/hm2_7i96.0: IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i96.0: IO Pin 027 (TB2-07/TB2-08): Encoder #0, pin A (Input)
hm2/hm2_7i96.0: IO Pin 028 (TB2-10/TB2-11): Encoder #0, pin B (Input)
hm2/hm2_7i96.0: IO Pin 029 (TB2-13/TB2-14): Encoder #0, pin Index (Input)
hm2/hm2_7i96.0: IO Pin 030 (TB2-16/TB2-17): IOPort
hm2/hm2_7i96.0: IO Pin 031 (TB2-18/TB2-19): IOPort
hm2/hm2_7i96.0: IO Pin 032 (internal): IOPort
hm2/hm2_7i96.0: IO Pin 033 (internal): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i96.0: IO Pin 034 (P1-01): IOPort
hm2/hm2_7i96.0: IO Pin 035 (P1-02): IOPort
hm2/hm2_7i96.0: IO Pin 036 (P1-03): IOPort
hm2/hm2_7i96.0: IO Pin 037 (P1-04): IOPort
hm2/hm2_7i96.0: IO Pin 038 (P1-05): IOPort
hm2/hm2_7i96.0: IO Pin 039 (P1-06): IOPort
hm2/hm2_7i96.0: IO Pin 040 (P1-07): IOPort
hm2/hm2_7i96.0: IO Pin 041 (P1-08): IOPort
hm2/hm2_7i96.0: IO Pin 042 (P1-09): IOPort
hm2/hm2_7i96.0: IO Pin 043 (P1-11): IOPort
hm2/hm2_7i96.0: IO Pin 044 (P1-13): IOPort
hm2/hm2_7i96.0: IO Pin 045 (P1-15): IOPort
hm2/hm2_7i96.0: IO Pin 046 (P1-17): IOPort
hm2/hm2_7i96.0: IO Pin 047 (P1-19): IOPort
hm2/hm2_7i96.0: IO Pin 048 (P1-21): IOPort
hm2/hm2_7i96.0: IO Pin 049 (P1-23): IOPort
hm2/hm2_7i96.0: IO Pin 050 (P1-25): IOPort
hm2/hm2_7i96.0: registered
twopass: Error in file ./plasma_connections.hal:
Pin 'hm2_7i76e.0.encoder.00' does not exist
Shutting down and cleaning up LinuxCNC...
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime

Last edit: 02 Apr 2020 15:29 by jay1st.

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

More
02 Apr 2020 15:31 #162454 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
LOL i think i saw 7i76 instead of 7i96.................trying to correct that

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

More
02 Apr 2020 15:51 #162457 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
i replaced the 7i76 with 7i96 and same problem, so i started looking in the Plasma_connections.HAL file and i think the line hm2_7i96e.0.encoder.00.velocity is wrong

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

More
02 Apr 2020 15:58 #162459 by PCW
Replied by PCW on topic Plasmac 7i96 and thcad setup
right, the 7i96 has no 'e'
The following user(s) said Thank You: jay1st

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

More
02 Apr 2020 16:38 - 02 Apr 2020 16:41 #162464 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
ok so after reading again and again the user guide, i xchecked all and i get this :
EDIT /

removed the "e"

and now i get this :

twopass: Error in file ./machine_connections.hal:
Pin 'hm2_7i96.0.gpio.003.in_not' was already linked to signal 'probe-in'



i'm progressing slowly
Last edit: 02 Apr 2020 16:41 by jay1st.

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

More
02 Apr 2020 16:48 #162466 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
ok again :)

So in the machine.HAL i "#" the lines net coolant and net probe in
Now i have the PlasmaC GUI..............victory for the moment

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

More
02 Apr 2020 19:10 #162479 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
Now it's frequency to voltage conversion and calibration time :)

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

More
02 Apr 2020 22:13 - 02 Apr 2020 22:31 #162502 by phillc54

ok, so all is connected, opened the plasma cutter,added a resistor to the THCAD10, and a relay to replace the trigger
I can start stop the plasma from AXIS

Now the shitty bit
I'm following the PlasmaC userguide, running the PlasmaC configuration and when i launch it there is an error about the encoder, and it seems other stuff as well
Had a look at the HAL file, and there is still
_ FLOOD instead of the Plasma ON, so i replaced/renamed it
_Put the extra text for the THCAD input/divider ratio
_Probe instead of FLOAT etc......

So when i make a working configuration with the PNC_Conf wizard for MESA cards as it runs AXIS, i choose FLOOD for enabling the pinout for the plasma ON, used Probe for the FLOAT switch input, and the SPINDLE encoder for the THCAD10 encoder input.........is that correct as it states "Base machine configuration means a complete working system without the Plasmac configuration. All axes should be working and tuned for best performance and all home and limit switches if installed should be operating correctly." ??

When looking in the original HAL file i could not find anything related to the ENCA+/ENCA- inputs used for the SPINDLE encoder...???

Attached are the original HAL and the one created by the PlasmaC configurator (original untouched), as for the encoder input i used hm2_7i96e.0.encoder.00 and cant find it in the HAL file..........and no idea if it's correct as THCAD used ENCA+ and ENCA- so 2 pins


As stated in the manual you should not set up any plasma related pins in Pncconf, only the pins require for the base machine. All plasma related pins are set up by the configurator.
linuxcnc.org/docs/devel/html/plasma/plas...achine_configuration
"Do NOT add any plasma specific connections here, these will be added later."


EDIT:
comment out these lines in the halfile, the top one especially, the bottom three don't matter but are not needed. These pins if required should be connected in the connection.hal
net coolant-flood  =>     hm2_7i96.0.ssr.00.out-00
net coolant-mist      <=  iocontrol.0.coolant-mist
net coolant-flood     <=  iocontrol.0.coolant-flood
net probe-in     =>  motion.probe-input
Last edit: 02 Apr 2020 22:31 by phillc54.
The following user(s) said Thank You: jay1st

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

More
04 Apr 2020 08:58 #162656 by jay1st
Replied by jay1st on topic Plasmac 7i96 and thcad setup
So, finally, i got all of it, almost all, running, doing some cuts to try it out.

But now i have a THCAD problem, i already searched the forum and i can relate to this thread : forum.linuxcnc.org/plasma-laser/38636-va...mac-override?start=0

What ever i do there is around 15-30v lingering between the nozzle and the ground plane.

I'm going to open a new topic.

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

Moderators: snowgoer540
Time to create page: 0.156 seconds
Powered by Kunena Forum