Fans to turn on when starting program

More
4 years 8 months ago #235070 by remon_v
I still get the same error:
Pin ' pyvcp.fans-button.disable' does not exisst

Please Log in to join the conversation.

More
4 years 8 months ago #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 to join the conversation.

More
4 years 8 months ago #235073 by remon_v
Yes, I did add that line in the XML:

 

Attachment not found



Am I doing something wrong?

Please Log in to join the conversation.

More
4 years 8 months ago #235082 by MaHa
Is  20-stepper_cooling.hal   loaded as postgui?

Please Log in to join the conversation.

More
4 years 8 months ago #235085 by remon_v
Do you mean in the INI file?

Please Log in to join the conversation.

More
4 years 8 months ago #235101 by remon_v
Here are all the files

Please Log in to join the conversation.

More
4 years 8 months ago #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.



Code:
POSTGUI_HALFILE = 99-postgui.hal and this entry removed or commented 'HALFILE = 20-stepper_cooling.hal'

Please Log in to join the conversation.

More
4 years 8 months ago #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
 

Attachment not found




 All idle
 

Attachment not found



Controlled by button
 

Attachment not found

Please Log in to join the conversation.

More
4 years 8 months ago #235136 by remon_v
Thanks! That looks cool… I will check it when I get home

Please Log in to join the conversation.

More
4 years 8 months ago #235160 by remon_v
Thanks MaHa!
It works exactly as expected

Please Log in to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum