Fatal Error when going online from ControlBuilder Professional
800xA 5.1 FP3.
Something happened with ControlBuilder project. Message is appeared
"Fatal Call to ErrorHandler, see log file" and we can't go online. Log files and
screenshots of error messages are attached.
What could be a reason for this error? Could it be resolved? Or I have to go with system's full backup?
Voted best answer
22.214.171.124 is a hardware channel somewhere. You should be able to find it in the hardware tree. The channel number is quite high (66) so I guess this is some user defined profibus device, not an IO module.
The compiler is trying to resolve the variable connection from that channel to something in your application and crashing at that point. I guess the problem is it cannot identify the correct application - hence "unknown" and this is why it crashes.
If you check your SessionLog you can also see there is a warning in compiling your Siemens _DP_DP_Coupler hardware definition ...
I 2014-11-19 15:08:26.342 Reading hardware library Siemens_DP_DP_Coupler_v104_bit 1.0-0
I 2014-11-19 15:08:26.479 Start parsing HWD files ...
Warning in input file at line 45
SubUnits, LogicalNumbers and DiscreteNumbers are mutually exclusive.
W 2014-11-19 15:08:26.525 1 parse warning(s) for "DP_DP Coupler Release 2 KCKA.hwd"
Maybe this is related ?
In the ControlBuilderPro log file ......
Error during compilation of variable connections, 1:st
printouts: LogFiles/HWDistrOLT.txt, LogFiles/HWLocalOLT.txt
control system: MainPLC
channel adress: 126.96.36.199
OLT index: 628
E 2014-11-19 14:18:48.499 E 2014-11-19 14:18:48.499 Assertion: Couldn't set OLT index for online hashelement
Try looking for something around here. Its likely that this is the last change that you made to the PLC program. Try backing it out and see if that fixes it.