Hi,
I would like to control the motor through CAN open in my simulation software.
1) May I know what is the reponse of the motor in terms of communication? For example, If I want to read the current position of the motor, How many data I can get in 1 sec?
What is the fastest we can achieve?
Thanks
Regards,
Lai
You can set the CAN port to 1Meg. You may be able to get s response every few msec... but you risk flooding your CAN network. This is something you must determine based on your application.
The SmartMotor has encoder output that can be used for "real time" position... if you can take a high speed input.
I am sorry I can't give a better answer.
Hi,
Thanks for the quick response. Do you have any data on hands which having information on how fast the Motor will response once CAN message send out?
What is the worst response time?
Thanks
The worst response time... is infinity. I have seen some networks flooded for no good reason. 😉
Questions I often ask myself...
1. What bit rate are you running?
2. Are there any other devices on the network?
3. Are you sending any other commands besides a request for position?
4. What is your simulation software making the motor do? Should you be using SMIEngine? 😉
The motor will probably start a response within 62usec... the completion time depends on what you ask for... but it will have Very high priority. We use SMIEngine as our CAN interface to our SMNC software.
Hi,
1) 500Kbits/s
2) only Smart Motors in the network.
3) Besides reading the Current position, changing the Torque value depends on the simulation software computed torque.
4) They could use SMI engine, do you have any recommended PCI/USB CAN master card?
If I increment a variable in smart motor using a 1ms interrupt, am i able to capture each count over CAN bus if I running 500KBits/s CAN Bus Speed?
Thanks
Regards,
Lai
Hi Lai,
The SMIEngine examples were developed using a CAN device made by Kvaser. I use a Kvaser Leaf Light HS. It's a USB to 9-pin Male D-Sub... and works well.
I'm not sure about the 1ms interrupt and capturing each count. I haven't tried that. 😉
Regards,
Chuck