RS485 connection

Moderator: Moderator Group

RS485 connection

Postby jsukjin » Mon Nov 16, 2015 10:53 am

Hello!!
I am planning to use WD to control a motor that controls a screen.
so I am thinking of using Arudino between the motor and WD to enable serial communication between the devices.
Due to the fact taht the motor only supports RS485 connection, I fee like I have to follow it. Additionally
I am a beginner when it comes to serial communication.
In order to make the system that I mentioned , I am wondering if WD supports RS458 serial.0
The manual only mentions RS232/422 not 485. I might be worried about it too much.
It is possible to make the system?
If so, What command or node should I use to send signal to an Arduino ??
Any help would be helpful to me.
thanks in advance.


-Kurt-
jsukjin
 
Posts: 10
Joined: Thu Mar 05, 2015 4:24 pm

Re: RS485 connection

Postby Dennis Kuypers » Mon Nov 16, 2015 3:29 pm

Hello Kurt,

I honestly don't know about RS485 but a quick google search later it turns out that they don't seem to be compatible out of the box. From what I undestand RS485 has a more complex structure that allows multiple devices to talk and there doesn't seem to be compatible portions. Maybe you can ask in the arduino community instead? Alternatively you could use a Network protocol like TCP or UDP.

Regards
Dennis
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm

Re: RS485 connection

Postby Daniel Kaminski » Mon Nov 16, 2015 11:55 pm

Hi Kurt,

it should actually be fairly simple.
Just get a USB to RS485 or Network Device Server
for example from https://www.perle.com/products/device-server.shtml
or ask amazon or google.

The RS485 Port will show up as a regular COM Port.

You than need to look into the protocol of the screen to know which commands to send.
All this can be done right out of the WD.
Just creat a serial connection to that port and send command via TCPSend or using a Node.

Daniel
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1071
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany

Re: RS485 connection

Postby malkuth23 » Tue Nov 17, 2015 6:04 am

A regular Arduino Uno USB shows up as a serial connection and is very stable.
I have several installations running with them.
What you do with the Arduino is up to you and there is plenty of support for it. I recommend the Arduino subreddit.

You can't update the Arduino code while the WD serial connection is in place. You will have to stop it first. Also the serial monitor in the Arduino software will conflict.

You will want to include a start and stop phrase in your communication to widget if you are sending constant updates. The serial node supports this.
Matthew Newman-Saul
Theatrical Concepts
mattns@theatrical.com
User avatar
malkuth23
 
Posts: 354
Joined: Tue Apr 20, 2010 7:14 pm
Location: New Orleans, LA

Re: RS485 connection

Postby jsukjin » Fri Nov 20, 2015 3:11 am

thank all of you for helping me.
Even though I was stuck with Arudino that conflicted very often
i was able to send signals through 485 connection from WD to the motor.
as you guys mentioned above, it is simpler to use USB to RS485 cable than Arduino
1. connect the cable. 2. set the COMport on the connection manager. 4. Use COMsned,receive commends !!!
that is that simple.!!

thank you again

-Kurt-
jsukjin
 
Posts: 10
Joined: Thu Mar 05, 2015 4:24 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 18 guests