Communicate with 2 ...
 
Notifications
Clear all

Communicate with 2 motors

2 Posts
1 Users
0 Reactions
9,211 Views
 axar
(@axar)
Posts: 1
New Member Guest
Topic starter
 

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

 
Posted : 23/05/2013 5:20 am
(@csearcy)
Posts: 316
Reputable Member Guest
 

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.

 
Posted : 26/05/2013 8:17 pm
Share: