Thanks for answer.
the order of call is the correct one if I'm not wrong:
Code:
HALFILE = cnc3040.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
# Single file that is executed after the GUI has started. Only supported by
# AXIS at this time (only AXIS creates a HAL component of its own)
POSTGUI_HALFILE = hmi_postgui.hal
So the postgui is called after.. the order you mean the order inside the ini, right?
I tried your line of code and it works.. incredible because it was the first I try.. or most probably the mistake is
that I tried with:
Code:
net SpindleFreq actual_speed => AG_CncHmi.lblFreq
maybe it is considered differenty.. I got this error:
hmi_postgui.hal:27: Pin 'actual_speed' does not exist
that confused my.. "does not exist" it's not really true. It works just removing SpindleFreq signal..
Perfect! Tanks a lot rodw!