Unable to send "Go"...
 
Notifications
Clear all

Unable to send "Go"-command?

9 Posts
1 Users
0 Reactions
18.3 K Views
(@DavidofSweden)
Posts: 6
Active Member Guest
Topic starter
 

Hi!

I just recieved 2 smart motors model SM34165DT, which are supposed to be used on separate applications.

When I built the RS232-RS485 link I connected pins 3, 4 and 5 on the RS485 with pins 2,3 and 5 on the RS232. When using the cable I'm able to recieve information from the motors, although with a red shiny led on the motor. But the motor won't "start". I'm able to "clear flags" (which indicates that the motor is "off"), which results in a flashing green light, until I try to execute a command, after which the led goes back to shine red.

Question: Is pins 1 and 2 on the RS485 supposed to be connected to the RS232? If not, why won't the motors execute the "Go"-command?

I'm in a bit of a hurry, as usual..

Thanks for any help!

 
Posted : 18/06/2014 6:14 am
(@csearcy)
Posts: 316
Reputable Member Guest
 

Make sure you have the over travel inputs disabled.
EIGN(2)
EIGN(3)
ZS

Then try the G command again. Let me know if it works.

 
Posted : 18/06/2014 8:39 am
(@DavidofSweden)
Posts: 6
Active Member Guest
Topic starter
 

It worked all right! Thank you!

Have another problem though. After loading any of the described "test programs" (I have currently loaded the "DMX Packet test example", without errors), I can't get the motor to respond to any of the DMX channels. Been over the instruction a hundred times and can't find any obvious faults.

Can I send the motor DMX commands while having it connected to my computer?

 
Posted : 19/06/2014 3:57 am
(@DavidofSweden)
Posts: 6
Active Member Guest
Topic starter
 

I guess what I realy need is a simple program that admits my smart motors to spinn without the aid of a computer when I raise the channel 1 (or 2, or 3 etc.) fader. A "this demonstrates the basic function"-program. The idea is to test a concept on tour beginning next week.

 
Posted : 19/06/2014 5:03 am
(@hsummer)
Posts: 7
Active Member Guest
 

Make sure you have DMX wired into the 485 channel and not 232. RS485 is on pins 5 and 6 of the DB-15 connector.
Try the test program that is int he DMX guide with just one motor and use SMI to monitor the variables for data as is listed in the DMX guide to see if sending data works.
And to answer the question about RS232 and SMI running at the same time as DMX, yes, you can do that.

 
Posted : 19/06/2014 11:00 am
(@DavidofSweden)
Posts: 6
Active Member Guest
Topic starter
 

I have now checked the complete signal chain and tested the equipment with a high quality dmx signal, connected to pins 5 and 6 on the 15 pin connector. It doesn't react at all. More over, it seems it doesn't recieve status bit 2 on status word 12.
Have also tried to turn ECHO off since it caused fault messagesn (have only one motor connected in the chain).

My theory is that the motors DMX channel isn't open at all, though the program includes the "OCHN(DMX,1,N,250000,2,8,D)"-command.

 
Posted : 22/06/2014 11:36 pm
(@DavidofSweden)
Posts: 6
Active Member Guest
Topic starter
 

Status bits 0 and 1 are lit red, and when I break the DMX connection, status bit 0 grays out. Does this mean I the motor gets the dmx package? Status bit 2 occasionally flickers. Motor does not respond at all.

 
Posted : 23/06/2014 3:50 am
(@csearcy)
Posts: 316
Reputable Member Guest
 

I would try working with one channel to verify communications. If you run the DMX Packet Test Example on page 40 of the manual, and change n=3 to n=1, you should be able to see the variable pp change when you change channel one on your DMX board.

 
Posted : 23/06/2014 7:10 am
(@DavidofSweden)
Posts: 6
Active Member Guest
Topic starter
 

Managed to sort it out. Problem was that there was a hickup-loop with the "home to hard stop"-routine. Removing the subroutine made the motors answer to commands. It would be a great help to customers in the future to have a working downloadable DMX program (such as the 5 chan DMX in the guide). Just a tip. Most of us in the entertainment industri know a lot about DMX, and pretty much nothing about anything else 😉

 
Posted : 23/06/2014 11:19 pm
Share: