I think plasmac calls that file by a different name. but yes when setting up a machine it can get stuffed up so deleting it is the solution but now I finished setting up my machine I've never had to deleted it for several years. ANd yes LCNC saves its values in that file.
Sorry for late respond just to confirm that:
Delete var.bak file fix the problem with remember G54.. Offsets
And this two lines in postgui Hal file makes this input pins to work.
net cycle-start halui.program.run
net abort halui.program.stop
I have one weird problem with G54. When i start the LCNC and i execute in MDI G55 and hit back G54 it show on DRO First G55 than give back G54. But when i run one program and If i hit in MDI G55 And than G54 didnt show G54 stay in G55 DRO. I dont now how to fix this problem.