News:

  • June 09, 2026, 11:54:39 AM

Login with username, password and session length

Author Topic: RS 485 two wire communication for dl06 port2 (15pin)  (Read 12372 times)

Liviu

  • Newbie
  • *
  • Posts: 1
RS 485 two wire communication for dl06 port2 (15pin)
« on: April 07, 2010, 09:32:11 PM »
Which kind of protocol need to use to programming stations with individual binary adress,for example 50 stations,connections in paralel with length of cable 5 meters between stations

One station include 4 inputs and 7 outputs ,leds,buttons etc

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: RS 485 two wire communication for dl06 port2 (15pin)
« Reply #1 on: April 08, 2010, 12:51:51 AM »
I don't believe that the programming package can work over RS485. I think only Modbus is usable by that and it's only for data gathering. You will have to connect individually to the program ports or install Ethernet modules and switches to connect them all.
An output is a PLC's way of getting its inputs to change.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: RS 485 two wire communication for dl06 port2 (15pin)
« Reply #2 on: April 08, 2010, 01:46:19 PM »
Are you sure you can't use 485 for programming, Bernie?  I believe DSLaunch allows you to specify node addresses when creating a DirectSoft comm link, and I can't imagine why they would do that unless DirectSoft could be used in a multi-drop topology.  Maybe the PLC's don't support programming over the 485 and you have to have a 485-232 converter at each PLC.  I'm even a little skeptical of that theory, because I think in a lot of the PLC's, it's just 485 and 232 connections to the same comm channel, so obviously if you could program over the 232 version of the port, the 485 connection shouldn't mind.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: RS 485 two wire communication for dl06 port2 (15pin)
« Reply #3 on: April 08, 2010, 02:03:14 PM »
I was basing this on K-Sequence and Directnet can't be used as protocols going OUT of the PLC on RS485. I could be wrong about the programming though.
An output is a PLC's way of getting its inputs to change.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: RS 485 two wire communication for dl06 port2 (15pin)
« Reply #4 on: April 10, 2010, 12:28:23 PM »
DirectNet can definitely be multi-dropped, although I think it uses RS422, not RS485. My very first programming task at TI, about 122 years ago, was to write some networking tools for DirectNet. I have since forgotten everything I knew about it, but it definitely can be done.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: RS 485 two wire communication for dl06 port2 (15pin)
« Reply #5 on: April 10, 2010, 12:55:30 PM »
I haven't written a communication package but it doesn't take much to realize that you can't take communication programming that allows for simultaneous send/receive operation (RS232, RS422 - 4 wire) and connect it up to a one way at a time (RS-485) connection. For one thing it is going to get its own transmission back into the receive port. It has to ignore that (or possibly use it as a collision indicator) and factor in turn-around times. All I mentioned is I don't think the protocol used by DirectSoft when going through the serial port can use RS-485. Does someone know otherwise?
An output is a PLC's way of getting its inputs to change.