Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Contour Mode using SMIEngine and RAD Studio/Delphi

Contour Mode using SMIEngine and RAD Studio/Delphi 3 months ago #2287


I am using the SMIEngine to interact with my Smartmotors. I can get almost all of the functionality to work, except for the contour mode. I followed the example in the help, which is in C++, and does not use the SMIEngine, but rather a generic comm interface.

In the commands to load interpolation data to the motors, the 0xFA command, the C program example makes the first byte of the command string to be the motor address 0x80,0x81,etc. Since I am using the SMIEngine, I am omitting that byte because I assume when I command the motors individually, the address is implied. For example, to load a point value in the motor 1 in C, the command string would be something like 0x81/0xFA/0x25/0x20/0x00/0x00 and when I send the command through SMIEngine it would be Motor1.WriteCommand( WSTR which contains 0xFA/0x25/0x20/0x00/0x00 ). Is this correct?

I am not getting any response from the motor when I execute the Go command after loading the contour values. Any Ideas on how I can debug this? Do you have any RAD Studio/Delphi examples using the SMIEngine?

  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.36 seconds