touyi100

Omron and Smart Motor

2 posts in this topic

Hi,

I am fairly new to PLC's and have been given quite the task by my group members. For our project we are using an omron cs1g, and trying to get the smart motor similar to the link below

http://www.animatics.com/products/animatics/nema-34-3400-series/sm34405d.html

from moog animatics to communicate with each other. The smart motor comes with the smart motor interface software which is sends the commands to the motor, similar to how omron has cx-programmer. The motor uses an rs232 port to connect to the computer, and we have a serial communications board for the omron with an rs232 port available. We noticed there was a built in sniffer in the smart motor interface program and when we sent commands, they came out as hex. Would it be possible to send hex directly from the PLC to the motor via the TXD instruction? I have not looked into too much because I am not sure if this is possible or not. The TXD instruction has a source word, a control word and bits to send which I am not too familiar with. For example 47 in hex would come out as G in as ASCII which starts the motor.

https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&ved=0ahUKEwjUheqpharSAhWl5IMKHTSQBIoQFghAMAY&url=https%3A%2F%2Fwww.animatics.com%2Findex.php%2Fdownload-center%2Fcategory%2F20-user-s-manual.html%3Fdownload%3D4%253Auser-s-manual&usg=AFQjCNEhF0wln71-XJcXYLL9HMmQ3TnYhQ&sig2=zU0kcIkobaVvMmrXh8cZtg&bvm=bv.148073327,d.amc

The manual linked here states on page 64 under "getting data rs232 port using data mode", in data mode the motor will simply respond to arriving commands it recognizes.  

Would anyone here be familiar with smart motor and omron plc? I apologize if my post is all over the place there was a lot to explain.

Thank You

Share this post


Link to post
Share on other sites
12 hours ago, touyi100 said:

Would it be possible to send hex directly from the PLC to the motor via the TXD instruction?

Yes. In CX Programmer, make sure you Monitor in Hex. It will send exactly what you see.

I have dealt with the Animatics but not in the method that you suggest. We would use the 'Basic like' Animatics programming to create a series of moves in the Smart Motor, then execute them using digital I/O from the PLC.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now