Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW - SMC motor driver interface

Hello,

I'm pretty new to LabVIEW, so bear with me.

I've been using a PLC to control an SMC electric actuator, and have recently decided to change my setup to include LabVIEW for its more intuitive use. My system is starting to demand more sensors and actuators, and I'd like to take the load off of my PLC and control the actuators directly usin LabVIEW.

 

This is the driver being used:

https://www.smcpneumatics.com/pdfs_smc_instructional/LEC-OM00603_E.pdf

 

I started looking into Modbus and have downloaded the Modbus Library, bit I haven't been able to set up a connection with the driver.

I opened the Modbus Master Example VI, but whenever I try to connect (Comm port is definitely correct) I get the following error message:

 

"Disconnected
Error 63 occurred at TCP Open Connection in TCP Master.lvclass:Initialize Master.vi->Modbus Master.lvclass:Initialize.vi->API Main.lvlib:Create TCP Master.vi->Modbus Master Example.vi"

 

If anyone could help me in any way, be it directly or by pointing me in the right direction, I would appreciate it very much.

Message 1 of 2
(2,815 Views)

Hello, easyBreather

could you provide your VIs? It is slightly hard to say why is that error occurred without taking a look to VIs

0 Kudos
Message 2 of 2
(2,555 Views)