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: Communicate with 2 motors

Communicate with 2 motors 3 years, 4 months ago #854

  • axar
  • OFFLINE
  • Posts: 1
  • Karma: 0
hey!

I have two motors (SM2340D-E1K, FM 415c). I want to control these motors via labview, but I already have some troubles using SMI. The address of each motor is saved on its internal memory (SADDR1 END).
If I'm using the terminal I can control each motor using the address in front of the command (1MV 2MP) but if I write a program (1A=100 1V=100000 1MV G)and send it to global both motors are turning.
And, although SMI says the program won't be saved on the EEPROM, it's safed there (I checked it with Upload program from Motor).

Thanks for your help,
alex

Re: Communicate with 2 motors 3 years, 4 months ago #859

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
Use the Serial Data Analyzer(Sniffer) in the SMI2 software to see what is actually being transmitted. The 1 that you are prefixing to command in the SmartMotor Terminal isn't actually being sent as an ASCII 1. It is actually 0x81(hex). Global commands are sent to 0x80... Motor1 is 0x81... Motor2 is 0x82... etc.
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.38 seconds