Fans to turn on when starting program

More
16 Feb 2022 19:49 #235070 by remon_v
I still get the same error:
Pin ' pyvcp.fans-button.disable' does not exisst

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

More
16 Feb 2022 20:01 #235072 by MaHa
I get this error because missing
<disable_pin>True</disable_pin> 
in the .xml file. I tested it in the sim and it was working as i expected.
 

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

More
16 Feb 2022 20:07 #235073 by remon_v
Yes, I did add that line in the XML:

 

Am I doing something wrong?
Attachments:

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

More
16 Feb 2022 21:44 #235082 by MaHa
Is  20-stepper_cooling.hal   loaded as postgui?

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

More
16 Feb 2022 22:00 #235085 by remon_v
Do you mean in the INI file?

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

More
17 Feb 2022 06:41 #235101 by remon_v
Here are all the files
Attachments:

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

More
17 Feb 2022 13:26 - 17 Feb 2022 13:32 #235130 by MaHa
You have this entry in the MPCNC.ini file. All the content of '20-stepper_cooling.hal' should be moved to this POSTGUI_HALFILE (99-postgui.hal), because this loads after axis is started.



POSTGUI_HALFILE = 99-postgui.hal



and this entry removed or commented
'HALFILE = 20-stepper_cooling.hal'
Last edit: 17 Feb 2022 13:32 by MaHa.

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

More
17 Feb 2022 14:08 - 17 Feb 2022 14:16 #235135 by MaHa
I checked in the simulation again, and I prepared the  '99-postgui.hal' for you, as some modification was necessary, to control the fan icon. As on my system it is running, thats all i can do.

Here is program running
 


 All idle
 

Controlled by button
 
Attachments:
Last edit: 17 Feb 2022 14:16 by MaHa.
The following user(s) said Thank You: remon_v

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

More
17 Feb 2022 14:24 #235136 by remon_v
Thanks! That looks cool… I will check it when I get home

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

More
17 Feb 2022 20:20 #235160 by remon_v
Thanks MaHa!
It works exactly as expected

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

Time to create page: 0.195 seconds
Powered by Kunena Forum