Hallo Patrik,
thanks for using gmoccapy.
No, it is not normal to get the mentioned message. Last time I was informed about the same behavior, the user used a HB04 Pendant. The configuration used a button to toggle cooling and another one to toggle spindle on and off and that ones at connecting the pin in hal, causing the error. So I am pretty sure, you have also a connection in your hal causing that.
I used a easy fix to solve the message problem like this:
Code:
########################################################
# olli.hal file from Norbert #
# pushing one momentary button allows switching #
# the coolant on and off #
########################################################
# first way to load realtime components with names
# the second line connects the component to a thread,
# other wise it will no be updated automatically
loadrt toggle names=cool,spindle
addf cool servo-thread
addf spindle servo-thread
# and here the solution loading them with the amount of numbers to load
loadrt not count=2
addf not.0 servo-thread
addf not.1 servo-thread
# we do need two and componends, to that ones we connect
# pin motion.motion-enabled , this pin is only hight,
# if the machine is switched on
loadrt and2 names=and_cool,and_spindle
addf and_cool servo-thread
addf and_spindle servo-thread
# connect the pin to IN0 of the and componends
net enabled and_cool.in0 <= motion.motion-enabled
net enabled and_spindle.in0
# The net command
# net = the command to connect thinks together
# toggle_coolant = the signal name, just think it is a cable and the name is the color
# pendant.button = The hal pin name of the button to use
# => = the direction the signal should flow
# halui.flood.on = the pin you want to change
# you can connect several hal pin to one signal (see coolant-on)
# we need to make some changes to previous connections
net coolant_in v_buttonlist.v_button_0 => cool.in
net coolant-on cool.out => halui.flood.on
net coolant-on not.0.in
net coolant-in not.0.out => and_cool.in1
net coolant-out and_cool.out => halui.flood.off
# same to toggle the spindle
net spindle_in v_buttonlist.v_button_1 => spindle.in
net spindle-on spindle.out => halui.spindle.start
net spindle-on not.1.in
net spindle-off not.1.out => and_spindle.in1
net spindle-out and_spindle.out => halui.spindle.stop
Is it clear? Otherwise post your config.
Norbert