Welcome, Guest
Username Password: Remember me
Messages posted to this category need to be reviewed by the moderator before it gets posted.
  • Page:
  • 1

TOPIC: CAN Open Response

CAN Open Response 1 year, 7 months ago #1742

  • hclai
  • OFFLINE
  • Posts: 4
  • Karma: 0
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

Re: CAN Open Response 1 year, 7 months ago #1744

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
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.

Re: CAN Open Response 1 year, 7 months ago #1745

  • hclai
  • OFFLINE
  • Posts: 4
  • Karma: 0
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

Re: CAN Open Response 1 year, 7 months ago #1746

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
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.

Re: CAN Open Response 1 year, 6 months ago #1747

  • hclai
  • OFFLINE
  • Posts: 4
  • Karma: 0
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

Re: CAN Open Response 1 year, 6 months ago #1748

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
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
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.49 seconds