Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.

TOPIC: Communicate with 2 motors

Communicate with 2 motors 7 years 4 months ago #854

  • axar
  • axar's Avatar
  • Fresh Boarder
  • Posts: 1
  • Karma: 0

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,
The administrator has disabled public write access.

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

  • csearcy
  • csearcy's Avatar
  • Moderator
  • Posts: 464
  • Thank you received: 80
  • 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.
The administrator has disabled public write access.
Time to create page: 0.171 seconds
Powered by Kunena Forum