I have a PLC (Programmable Logic Controller) system with external input output modules. the link between CPU and I/O Modules is canbus. this plc in addition to Io modules are controlling a boiler process.
I'm planning to design a PC simulator for the process that could communicate to the plc system and send/receive data from PLC. In fact, the simulator is substituted the boiler process and PLC should be able to communicate to this simulated process. I'm wondering how should i collect data from canbus and send it to PC and how should i extract data from canbus for using in my simulator?