Hi there,
I am programming a TMS320F2837xD with Plecs. I am sending/receiving CAN messages using the CAN Tx/Rx blocks.
I have implemented some logic in order to propagate an emergency stop state across the three devices we have. See code attached.
The problem is the following:
- My three devices are idle (in an ok state)
- My code raises EStop (which is wrong)
- I connect a PC with PCAN-View on the bus ==> EStop drops
- I disconnect PCAN-View ==> EStop raises
It gets weirder:
- I remove any CAN block in
II Grid CAN
and restart ==> problem is gone (i.e: EStop is down)
Any idea ?
Main_II_Grid_GFMI.plecs (523.4 KB)