Recieve CAN BUS signal from M150
Posted: Sat Feb 25, 2023 12:08 am
Hello, I'm trying to send Torque data from Arduino to M150. Arduino is sending the data via CAN BUS by a CAN module. The data is 16 bits and sent as 2*8 bits chunks. In order to recieve the data in M150, I've created a DBC file in vector CANdb as below:
https://ibb.co/wNVM1Sf
https://ibb.co/Tkrm2VN
https://ibb.co/R7c517y
https://ibb.co/9qnBgyt
Then I exported the DBC to motec:
https://ibb.co/smJQB6Q
On the objects tab, I've created channel, functions and parameter:
https://ibb.co/N7qR37n
I don't know what to write in the scheduled function in order to recieve CAN BUS data. Can anyone guide me?
Thank you.
https://ibb.co/wNVM1Sf
https://ibb.co/Tkrm2VN
https://ibb.co/R7c517y
https://ibb.co/9qnBgyt
Then I exported the DBC to motec:
https://ibb.co/smJQB6Q
On the objects tab, I've created channel, functions and parameter:
https://ibb.co/N7qR37n
I don't know what to write in the scheduled function in order to recieve CAN BUS data. Can anyone guide me?
Thank you.