MAIC V2 CAN solution
Posted: Thu Jul 31, 2014 2:38 pm
Good afternoon,
Since a few months I am using Flowcode and at the moment Version 6 in combination with a MIAC V2.
About the MAIC and the CAN fuctionality I have a question.
- To control an engine I have to send every 10 ms a CAN message.
This is not a problem, the MAIC is doing this perfect. I send a direction and a throttle signal in this message.
Throttle is an analog input, the direction a switch.
Is it possible to make a fixed CAN message every 10 ms, and doing something else with the MAIC / with the PIC 18F4455.
Now I make a simple flowchart, but every 10 ms there has to be a "sendbuffer".
When I check other incoming CAN messages or something this take to much time to send te next CAN message at the correct time.
The timing will go up to 15 to 20 ms and than the engine will give a error.
Is there a solution for this?
And an other question:
- Are there plans to make a new model MIAC, maybe with for example 16-bit PIC or two CAN lines?
Thanks in advance!
Kind regards,
Alwin
Since a few months I am using Flowcode and at the moment Version 6 in combination with a MIAC V2.
About the MAIC and the CAN fuctionality I have a question.
- To control an engine I have to send every 10 ms a CAN message.
This is not a problem, the MAIC is doing this perfect. I send a direction and a throttle signal in this message.
Throttle is an analog input, the direction a switch.
Is it possible to make a fixed CAN message every 10 ms, and doing something else with the MAIC / with the PIC 18F4455.
Now I make a simple flowchart, but every 10 ms there has to be a "sendbuffer".
When I check other incoming CAN messages or something this take to much time to send te next CAN message at the correct time.
The timing will go up to 15 to 20 ms and than the engine will give a error.
Is there a solution for this?
And an other question:
- Are there plans to make a new model MIAC, maybe with for example 16-bit PIC or two CAN lines?
Thanks in advance!
Kind regards,
Alwin