Hey Oiltronic,
It sounds you got the same case I got. The MC050 is powered from a different source than the Display and there is the problem. The MC050 is kill by the emergency switch but the display. so it keeps its current state
I have a timer based on the flag of the CAN bus message received so that it triggers another state of my inputs (a state that will reset my variables) if the CAN message does not get updated after some time however for some reason it just do not work as expected.
Right now my firmware is quite long becuase the display is capable to control/monitor 3 different equipments, so depending on the firmware controller It enables some screens to control a diesel hydraulic powerpack, or an electric hydraulic powerpack or to interact with a display from another manufacturer, I guess is something in my logic that is not all ok when the reset of variables should be done at a given state.
So far the solution was to power up both the display and the controller from the same source and everything works fine but I still wonder why the flag from the CAN message receiver is not working as expected.
I appreciate your inputs on this.
Regards
Antonio