- Posts: 97
- Thank you received: 0
Fans to turn on when starting program
4 years 8 months ago #235070
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
I still get the same error:
Pin ' pyvcp.fans-button.disable' does not exisst
Pin ' pyvcp.fans-button.disable' does not exisst
Please Log in to join the conversation.
4 years 8 months ago #235072
by MaHa
Replied by MaHa on topic Fans to turn on when starting program
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.
<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.
4 years 8 months ago #235073
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
Yes, I did add that line in the XML:
Am I doing something wrong?
Attachment not found
Am I doing something wrong?
Please Log in to join the conversation.
4 years 8 months ago #235082
by MaHa
Replied by MaHa on topic Fans to turn on when starting program
Is 20-stepper_cooling.hal loaded as postgui?
Please Log in to join the conversation.
4 years 8 months ago #235085
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
Do you mean in the INI file?
Please Log in to join the conversation.
4 years 8 months ago #235101
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
Here are all the files
Please Log in to join the conversation.
4 years 8 months ago #235130
by MaHa
Replied by MaHa on topic Fans to turn on when starting program
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.
4 years 8 months ago #235135
by MaHa
Replied by MaHa on topic Fans to turn on when starting program
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
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.
4 years 8 months ago #235136
by remon_v
Replied by remon_v on topic Fans to turn on when starting program
Thanks! That looks cool… I will check it when I get home
Please Log in to join the conversation.
Time to create page: 0.066 seconds
