09-05-2014 10:19 AM
Hello,
I would like to communicate with SCON controler (from IAI Corporation) using Labview through "Modbus Serial" protocol. I would like to move my linear actuator from IAI (RCS2-SA6C). I'm new in this domain. Can you give me some hints or examples about how to proceed?
Best regards
Aleksandar G.
09-05-2014 10:30 AM
09-10-2014 02:57 AM
Hi,
I couldn't find the solution to communicate with my SCON controller through the library. I tried to send a string with NI VISA but I don't receive an answer. I tried to send my command Servo ON in ascii ( :01050403FF00F4). Can I send an ascii data through this program? I attached you the front panel and diagram.
Thanks
09-10-2014 03:02 AM
09-10-2014 03:25 AM
I try to use the example Master and Slave (from library). And I have many errors when I want to run it. After that I tried to make my program and I couldn't find where and how to write an ascii data.
09-10-2014 07:58 AM - edited 09-10-2014 08:02 AM
The first part is to connect to the actuator. You will need the Modbus Library that Dennis has linked you too. Check page 15 of the manual "PCON, ACON, SCON, ERC2, ERC3 Serial Communication [Modbus Version] Operation Manual, Seventh Edition" for more information on this.
The unit ID may need to be 2 instead of 1 if you controller switch is set to zero. I think it says in the book "address + 1" but i am not sure. I do not have the controller set up in front of me to check. You may need to connect with the IAI PC software first to make it work, but i am not sure.
The next block is a pretty simple one, it is total moving count and total moving distance. See page 31 of this manual to see what address it is and how to make it work if you are using RTU or ASCII commands. Also a helpful hint is to change the representation of the starting address to display in hex, since this is what the book gives you.
Hopefully this will help you a bit in getting started with these linear actuators.
{Edit: first part of post got deleted}