Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Labview VI's for contorlling a Yaskawa SMC-4040?

Hello All!
 
Just wondering if any has or knows where there might be any Labview VI's for a Yaskawa SMC-4040 controller using the serial port?
 
Thanks,
 
Greg Newsome
Test Engineer
0 Kudos
Message 1 of 3
(3,748 Views)
Greg--

      I just want to verify, this motion device doesn't need a controller.  It is essentially a stand-alone instrument where you'll just send commands for whatever motion you need it to preform. Is this correct?
      If so, the driver that will allow you to send commands to your ports is NI-VISA.  I think what you are looking for, or the best option, would be if there is an "Instument Driver" for this device. Instrument drivers are packages of all the commands you would send using VISA.  I've looked and cannot see one on our website.  If we do not have it, your best bet is to contact the manufacturer and see if they have anything.
      If you cannot find an instrument driver, you will still be able to communicate to the instrument manually using the VISA VI's and the command set for your instrument.  The best way to see how to do this is to open an example from the NI Example Finder in LabVIEW.  Go to "Help>>Find Examples"  then Navigate to "Hardware Input and Output>>Serial"  folder. I would suggest looking at the code for "Basic Serial Write and Read".  If you have any questions let me know.

Regards,

John H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,732 Views)

John,

Thanks for the advise.  I was allready using a the serial vi's to talk to the controller and it was working great. 

I was trying to see if anyone had any canned vi's for this controller so I wouldn't have to write any code.

But if I have to, its not a problem.

Thanks,

Greg

0 Kudos
Message 3 of 3
(3,722 Views)