What is RS485 and How it's used in Industrial Control Systems?

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 326

  • @realpars
    @realpars  7 місяців тому +1

    Want to learn about industrial automation? Go here: www.realpars.com/individual-pricing
    Want to train your team in industrial automation? Go here: www.realpars.com/pricing-team

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 4 роки тому +42

    Resistance to electrical noise isn't only because of cable shielding, but also thanks to the fact it uses a differential signal rather than a common ground, as with CAN bus. This also allows compensation against interference.

  • @RupinChheda
    @RupinChheda 5 років тому +91

    The range of the bus is higher and it can support faster speeds because of Differential Signalling. The signal sent across the bus is not referenced to ground, but to each other. The difference in signal levels between the bus wires determines a 1 or a 0. Noise if present pushes both the wires up or down in the same magnitude, thereby maintaining the difference in signal levels. USB is a faster bus partly because of differential signalling.

    • @dethdai447
      @dethdai447 4 роки тому +4

      In fewer words, a balanced signal.

    • @BenGras
      @BenGras 3 роки тому

      great summary, thank you.

    • @UserName-cb6jz
      @UserName-cb6jz 2 роки тому

      Sadly, the USB bus until version 3.0 used a single twisted/balanced pair of wire, unlike the FireWire which used one for transmitting and one for receiving, causing significant delays and slow-downs on USB.

  • @drorharari
    @drorharari 3 роки тому +4

    Thanks for the information. It left many basic questions unanswered (like what are the wiring and signals used and how are the basic protocols over RS-485 work).
    Hoping to see a more in-depth video on those in future

    • @realpars
      @realpars  3 роки тому

      Thanks for the suggestion and feedback! Will happily pass this on to our course developers.
      Happy learning!

    • @alfredobadillo2280
      @alfredobadillo2280 2 роки тому +1

      You can use Modbus Rtu is the most common case.

  • @Metallizombie
    @Metallizombie 3 роки тому +3

    Brushing up for an interview to go from a technician to controls engineer so thanks for all the help preparing. Fingers crossed.

    • @realpars
      @realpars  3 роки тому +1

      Glad to hear that our course video helped! Best of luck on your interview!

    • @Kazshmir
      @Kazshmir 10 місяців тому

      How did it go for you?

    • @Metallizombie
      @Metallizombie 10 місяців тому +1

      @@Kazshmir so not exactly how I intended 😂. The position ended up in the air for a while. I’m current in maintenance management and enjoying it.

    • @Kazshmir
      @Kazshmir 10 місяців тому

      @@Metallizombie glad to hear you're enjoying it!

  • @matthachireth4976
    @matthachireth4976 4 роки тому +1

    We used to instal high end Point of sale network with RS 485 cables. This is highly reliable. Terminal to terminal ( IRC) and Kitchen printers commonly used. All systems on embedded platform. Master / slave configuration and programs done.

  • @brencostigan
    @brencostigan 5 років тому +24

    RS-485 is more accurately described as the grown up big brother of RS-422. It’s not fair to compare it directly to RS-232. The reason RS-485 still enjoys massive usage in industrial applications is due to the range of physical layer implementations. As stated in the video it supports multi-drop as opposed to just point-to-point like RS-232. However, it can be used in full or half duplex modes. This means that a station on a RS-485 bus can simultaneously transmit and receive data at the same time.
    RS-485 can be transmitted over both optical and copper physical layers. The optical implementations support dual redundant optical rings which are very robust. Both optical and copper layer repeaters mean that each copper segment can be extended to then support up to 255 node addresses (0 to 254) for the overall network. The actual protocols that run over this RS-485 physical layer are also very lean and efficient in data throughput. Profibus-DP is one example, but please note that Profibus does make a number of changes to the underlying RS-485 physical layer rules (capacitance and inductance limits, etc). Profibus-DP can run up to 12Mbps. Unfortunately, RS-485 is probably the single most misunderstood transmission technique due to a lack of understanding about bus termination requirements and correct screen connections.

    • @davidmoran4471
      @davidmoran4471 5 років тому +3

      Very good, RS 232, in most configurations, is point to point Where RS 422 is point to multi-point and RS 485 is multi point to multi-point. Where I once worked we made counter rotating, self healing, multi-master ring modems capable of translation from 485 to/from 232 to/from 422.

    • @brencostigan
      @brencostigan 5 років тому +4

      David Moran
      This flexibility and ability to in effect cascade these different physical layers has also contributed to its longevity and success. RS-485 devices can also be used to replace failed stations in older RS-422 architectures with very little difficulty, although the reverse isn’t always possible. However, you can drop an RS-485 master into an existing RS-422 slave network with no problems.

    • @AYMANERHATOUS
      @AYMANERHATOUS 11 місяців тому

      Hi ! how can we use the RS-485 or RS-232 like does it have a relationship with the devices or cablee

  • @airlanggabhumintaraamitaba8363
    @airlanggabhumintaraamitaba8363 2 роки тому

    Thank you, your video helps me to understand RS 232 and RS 485

    • @realpars
      @realpars  2 роки тому +1

      You are most welcome! Great to hear that

  • @刘同学-i7k
    @刘同学-i7k Рік тому

    the conculsion part of this video is really good!

    • @realpars
      @realpars  Рік тому

      Glad to hear that! Thank you

  • @scowell
    @scowell 4 роки тому +4

    The 485 systems I work with can address 255 devices... 32 devices is the minimum unit load supported. 10Mbit is the fastest speed possible... you can't go as far in distance at that speed.

    • @dontimberman5493
      @dontimberman5493 4 роки тому

      Right we do 99 just because we only have 2 addresses dial’s. Also 1000’ is about as long as we can go without a repeater. With networks way way over 4000’ total length.

  • @asifnadeem4520
    @asifnadeem4520 2 роки тому

    Appreciated your explanation in a very simple way. Thanks

    • @realpars
      @realpars  2 роки тому

      Glad it was helpful!

  • @Totogita
    @Totogita 5 років тому +4

    You may need a termination resistor of 50 ohm. Avoid running the wires outside it become damaged by lightning. As a field service engineer I found that electricians are used to wire electricity a and electronic, make sure they know that black is ground and red is high in electronics. Rs485 wiring is very sensitive that way.

  • @jani140
    @jani140 6 років тому +18

    In the case of controlling a vfd, that also could have been achieved by a current loop.
    You could have pointed out more benefits.
    Ability to push firmware updates, remote configure device, receive status information etc.

    • @rakhymzhansatemir73
      @rakhymzhansatemir73 5 років тому

      Can I use RS 485 cable with DB 9 pin head, instead rs 232 cable with the same head?

    • @piratenu1
      @piratenu1 5 років тому

      You can use a DB9 connector but what do you mean by RS485 cable? Any twisted pair shielded cable can be used.

    • @vladosedlak83
      @vladosedlak83 4 роки тому +1

      @@piratenu1 Lust night I have fixed...Thanks for help

    • @luishumbertoruizbetanzos4261
      @luishumbertoruizbetanzos4261 3 роки тому

      welcome to another informative video brought to you by real pars today you will learn about rs-485 if you're familiar with rs-232 then you may already know a little bit about it if not check out our other video what is rs-232 the link will be provided below [Music] before we get started on today's video if you love our videos be sure to click the like button below then make sure to click Subscribe and the little bell to receive notifications of new real Parrs videos this way you never miss another one just like its older brother rs-232 rs-485 is a form of serial communication think of rs-485 as the younger faster brother of rs-232 what made it such an advancement over rs-232 was the fact that it could transmit not only a single device to device transmission but also a communications bus to connect multiple devices at once the configuration and specifications of rs-485 make it faster and extend the range of data transmission you aren't limited to 50 feet of cable like with rs-232 the maximum cable length for rs-485 is typically listed as 1,200 meters or about 4000 feet much like rs-232 rs-485 doesn't have an actual standard connector many times the old db9 connector is used in some applications terminal strips were used in place of a connector this helped rs-485 become a widely used and very versatile form of serial communication another advantage over rs-232 that I mentioned earlier is the number of connectable devices rs-485 can handle up to 32 connected devices rs-232 could only handle one this allowed users and manufacturing facilities to connect larger applications and whole machines with one protocol another +4 rs-485 is that it is less susceptible to noise issues Electric noise can cause all kinds of problems for electronics rs-232 reference ground to decipher the data it was transmitting this allowed for electrical noise to cause interference rs-485 avoids this issue which also allows for shielding of the cables to prevent noise you may be wondering what can I do with serial communications especially rs-485 one very common example in the automation world is remote control of VFDs or variable frequency drives many people just call them motor drives a simple network of a PLC VFD and an HMI allows remote control of motors in an industrial setting let's say you were monitoring a water pump filling a vessel you decide that the water is not filling fast enough to keep up with demand with your rs-485 network you can remotely monitor and control that pump from a control center this is possible since the HMI is connected to your PLC via rs-485 the plc is also connected to the VFD via rs-485 the PLC is programmed to monitor the level of the water in the vessel it also allows manual flow control if needed all of this allows you to speed up the VFD that controls the speed of that water pump problem solved thanks to rs-485 communications about what we now know about rs-485 it is faster and much more versatile than the older rs-232 users can utilize a longer cable up to 1200 meters or about 4,000 feet the greatest feature of rs-485 is the fact that you can connect up to 32 devices on one system rs-232 could only handle one at a time there is no standard connector for the protocol most manufacturers still utilize a db9 connector you can also still simply use a terminal strip this makes utilizing rs-485 simple all-in-all rs485 really allowed full automation possible with its ability to connect so many devices at once I truly hope this video is helpful please don't forget to check back later for more real Parrs videos make sure that you head over to real parse comm to find even more training material for all of your plc programming needs we offer many videos to assist you in learning plc programming and landing that job in the high-paying highly sought after field of automation and controls engineering go to real parse comm and subscribe to our highly effective training series now [Music]

  • @shahlalkhan4402
    @shahlalkhan4402 Рік тому

    Nice tutorial regarding RS45 data cable in comparasion RS233

  • @lutzmuller5703
    @lutzmuller5703 2 роки тому +1

    Hello, I have a question about 485 communication.
    Is it possible with a “D1 MINI WEMOS Pro 4M 16M” using “Tasmota” e.g., B. to control a “JUNTEK DPM8624 60V24A Programmable DC/DC Digital Adjustable Step Down Voltage Power Supply Buck Converter 485 Communication”?

    • @realpars
      @realpars  2 роки тому

      The D1 Mini includes WiFi and is compatible with Tasmota. You will need to provide a driver or other firmware facility to allow the D1 mini to communicate via RS-485 to the Juntek unit. This should be a straightforward task, as the Juntek provides serial communication capabilities via TTL, USB, and Modbus-RTU.

  • @Rooth9056
    @Rooth9056 3 роки тому

    You made a Great job in this channel , thanks you to much

    • @realpars
      @realpars  3 роки тому

      Glad you enjoy it!

  • @brahimabdelsadek9534
    @brahimabdelsadek9534 3 роки тому

    Thanks this time and every time.please keep doing the right things👍👍👍👍👍

    • @realpars
      @realpars  3 роки тому

      You're more than welcome, Brahim! Glad to hear that you enjoy our video courses.

  • @TV-oe1rq
    @TV-oe1rq 5 років тому +11

    Wow! This explain is very simple and easy to understand!

    • @realpars
      @realpars  5 років тому

      Great to hear! Happy learning!

  • @danielmiranda1912
    @danielmiranda1912 3 роки тому

    Practically t it is an industrial I2C communication that may work with 12/24 V without a clock (SCL) or a SDA pin. Instead of that uses A and B lines to communicate as if they would be TX or RX, but at the same time works by adresses. If I said something bad, correct me. I never knew about that type of bus before. (But the video gaved me an idea).

  • @ayadsura
    @ayadsura 3 роки тому

    From baghdad ..thank you for this important information

    • @realpars
      @realpars  3 роки тому

      It's our pleasure!

  • @ElJomoL
    @ElJomoL 6 років тому +4

    Very informative and easy to understand. Thanks.

  • @tuaas3157
    @tuaas3157 4 роки тому +2

    Thank you RealPars for making valuable Videos.
    Sir, I have one question: what is the difference between Standard & Protocol in communication? What's the role of a Protocol in data transmission?
    Looking for positive response. Thank you.

  • @ardentdfender4116
    @ardentdfender4116 5 років тому +1

    I find this useful and until earlier today at work I had never heard of RS485, but I’ve heard of and used a RS232 Cable connection. I also maybe think 🤔 something that could of also being elaborated on in the age of where almost all if not many controllers have a Ethernet connection when and where a RS485 cable could be useful? I’m just junior programmer but do O.P.A.C. Engineering - Operation, Process, Automations Control Engineering. Wear many hats in what I’m doing from one week to next. Two weeks ago was on a RO plant water system startup at a plant site. It was SLC PLC with redundant processor chassis and all Ethernet connected to plc network switch with remote I/O’s. To connect directly to the SLC Processor while system was all online had to connect via RS232 on the SLC Card to Primary and Secondary Processor. As the Ethernet port was in use on both cards connected to network. That’s an example I can think of and recent where having my RS232 to USB on laptop Serial cable came in handy and was good to have. Such an example also could of being more in depth explained with the RS485 cable in various situations. However, still excellent video to educate and the more I now know.

    • @realpars
      @realpars  5 років тому

      Thanks for sharing your thoughts with us!

    • @monishonthewestcoast4903
      @monishonthewestcoast4903 4 роки тому

      Is there a list of cables that fall under the category of RS232 and RS485 separately?

  • @majidyousefi2232
    @majidyousefi2232 17 днів тому

    Good video!

    • @realpars
      @realpars  14 днів тому

      Glad you enjoyed it.

  • @paragkolte6556
    @paragkolte6556 4 роки тому

    Explain very simply, thank you

    • @realpars
      @realpars  4 роки тому

      Great to hear that, thanks for sharing!

  • @funnyclips9369
    @funnyclips9369 2 роки тому

    You just explained in a high level. Can you put a video about RS485 with deeper electrical specs and communication data format

    • @realpars
      @realpars  2 роки тому

      Thanks for your topic suggestion, I will happily pass it on to our course developers! Thanks again for sharing and happy learning.

  • @muhammadatif1696
    @muhammadatif1696 6 років тому +2

    thanks for making it so easy to understand :)

  • @hariharan4674
    @hariharan4674 3 роки тому +1

    Thanks for this video.could you make a video for all type of protocol communication (Rs485,IEC,modubus)

    • @realpars
      @realpars  3 роки тому +2

      Hey!
      Thanks for your message and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @GalileosGrid3
    @GalileosGrid3 2 роки тому

    its a very good informative video. Just a little correction, when you say that an that an RS-485 network can only support 32
    nodes. This is not true. Device manufacturers now sell 1/4 UL transceivers (DS1487) and even 1/8 UL parts (MAX1482).
    Assuming each node presents 1/8 UL to the transmission line, an RS-485-compliant network may sport as many as 256 nodes (32 UL × 8 UL/node = 256 nodes).

    • @realpars
      @realpars  2 роки тому +1

      Thank you, Mario! Much appreciated

  • @sergiodjf
    @sergiodjf 3 роки тому

    Nice video! Very didactic! 💯 I think the only missing thing was to mention the 2-wire o 3-wire type of RS-485 and the terminator resistors or voltage bias at each end of the network

    • @realpars
      @realpars  3 роки тому

      Thanks for sharing that, Sergio!

  • @OpenMicReelz
    @OpenMicReelz 4 роки тому +1

    Extremely helpful thank you 🙏🏼

    • @realpars
      @realpars  4 роки тому

      You're very welcome! Happy learning!

  • @Time4yes
    @Time4yes 4 роки тому

    Still learning, pause at 4:00, my question is between those four devices, which one is a master and which is a slave? I would assume the PLC is the master to the VSD, correct?

    • @realpars
      @realpars  4 роки тому

      You are correct; the PLC is the RS-485 master the VSD and the HMI station are slave nodes.

    • @Time4yes
      @Time4yes 4 роки тому

      @@realpars thank you so much.

  • @olejnizak
    @olejnizak 3 роки тому

    nice video!. Thanks for teaching us all the time!

    • @realpars
      @realpars  3 роки тому

      You're very welcome, Javier!

  • @snozcocram
    @snozcocram Рік тому

    My new residential heat pump uses rs 485 for thermostat and communication between the air handler and the compressor condenser. To bad Honeywell and others stick to the 5 wire c configuration…

  • @azztereris
    @azztereris 3 роки тому

    thanks, my right ear got it!

  • @SuperMoha86
    @SuperMoha86 Рік тому

    Great educational tutorial from RealPars, many thanks.

  • @rousbelljuarez1807
    @rousbelljuarez1807 5 років тому

    LO MÁS INTERESANTE QUE VI EN LOS VIDEOS DE UA-cam

  • @ivanbratanov8699
    @ivanbratanov8699 3 роки тому

    I'm creating industrial automation projects. Yes, my brand is not Siemens, but those interfaces are still widely used despite the opinion that they are obsolete. That is not true. RS-232 is used for PC program upload/download/online mode in my projects. RS-485 (together with Ethernet) is used as main interface between the devices. On the other hand equipment which supports EtherCAT, CANopen and other modern time interfaces is more expensive. In most cases fast interfaces are not needed, so RS-485 meets the requirements.

    • @realpars
      @realpars  3 роки тому +1

      Thank you for your comments. RS-232 use is gradually fading, but it is still used in man applications, such as with programming terminals and analytical instrumentation (GC, HPLC, etc.). RS-485 (and its precursor, RS-422) are very heavily used as the physical layer for many digital protocols (such as Profibus) and interfaces. So yes, RS-485 meets the needs of many, if not most, interfaces between devices. Little by little, though, Industrial Ethernet protocols are being used for backbone networks due to its speed and ease of connection.

  • @marvtechindustry6375
    @marvtechindustry6375 4 роки тому

    Good lesson and more helpful thanks

  • @jpblitz2104
    @jpblitz2104 9 місяців тому

    Brilliant video!

    • @realpars
      @realpars  9 місяців тому

      Thank you very much!

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 3 роки тому

    2:25 that's not exactly true. Where I work, in building automation, i have seen sometimes over 50 devices on the same RS-485 loop (ok sometimes there are repeaters used). The thing you have to keep in mind is that, first, RS-485 is meant to be daisy-chained and not using the "backbone and stub" topology. Also, RS-485 is just a physical layer. There are a bunch of protocols that use it, like Modbus RTU or Profibus, or BACnet MS/TP in building automation. And the number of devices possible to connect is generally only limited by the addressing method of the protocol itself

    • @realpars
      @realpars  3 роки тому +1

      Thank you for your comment. The TIA/EiA-485-A standard identifies the maximum number of nodes as 32, without repeaters. This is a physical limitation (current and voltage drops), and is set to be "safe" for designing to the limits of the system. There are techniques used to go beyond these limits, and each protocol organization, such as PI North America, publishes the requirements and limitations for the protocols they sponsor.

  • @dawoodiqbal
    @dawoodiqbal 3 роки тому

    Could You Please make video on XY MOD2 humidity & Temperature sensors and its connection with input modules and PLC.

    • @realpars
      @realpars  3 роки тому

      Hey Dawood!
      Thanks for your message and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @montesdeocaf.2797
    @montesdeocaf.2797 2 роки тому

    I like this easy explanation

    • @realpars
      @realpars  2 роки тому

      Glad to hear that!

  • @ya7yaGuitar
    @ya7yaGuitar 6 років тому +3

    So RS485 is a physical connection, and on top of it there is the protocol that makes the nodes communicate and control, like modbus, canbus, SCADA...is this correct?
    Thanks.

    • @realpars
      @realpars  6 років тому +2

      Yes, RS485 is merely a physical (electrical) connection and as you mentioned, some defined protocols such as Modbus, Profibus and so on using it as one of their physical media to make their nodes communicate within the network. Thanks for your question.

  • @nick_UponTheFallen
    @nick_UponTheFallen 6 років тому

    Thank you for the easy to understand flow of this video. It really helped me understand the standard.

    • @realpars
      @realpars  6 років тому +1

      That is perfect Nick! Happy to hear that.

  • @MrJasonwoodrow
    @MrJasonwoodrow 3 роки тому

    Is RS-485 a protocol or an electrical standard? When I use RS-485 in the field, it is usually either security panels or PTZ camera controls, and each of those use different proprietary communications protocols OVER an RS-485 connection. One example is Honeywell panels that use RS-485 and their own communication protocol and so require Honeywell gizmos to interpret their protocol and translate to RS-232 which is then converted to Ethernet to talk to a server and database. It is akin to speaking the same language over a telephone, but someone who doesn't speak that language needs a translator. Another example is a PTZ camera that has an RS-485 2-conductor cable back to a PTZ controller. Just having the cable connection is not enough, they both need to be set to a particular communication protocol (speak the same language over the line) such as Pelco-D, Samsung, Vicon, as well as having the same baud rate.

    • @realpars
      @realpars  3 роки тому

      Jason, you are correct. RS-485 is an electrical specification that protocols written to use RS-485 must follow. In OSI stack terms, RS-485 resides at the Physical layer (Layer 1) and the protocols that run on top of RS-485 are defined are the Data Link layer (Layer 2). Modbus TCP, Profibus, etc., can all use RS-485 at the Physical layer in addition to those you mentioned.

  • @rakibhasan9225
    @rakibhasan9225 5 років тому

    Special thanks real pars

    • @realpars
      @realpars  5 років тому

      You are very welcome, Rakib!

  • @ahsannaseem1587
    @ahsannaseem1587 4 роки тому

    Very informative and well briefed 🌹

    • @realpars
      @realpars  4 роки тому

      Great to hear that, Ahsan! Thanks for sharing.

  • @signupsignup1648
    @signupsignup1648 2 роки тому

    in your video for Rs-232, you indicated that the maximum cable length is 100 feet. while in this video is 50 feet. which one we should consider?

    • @realpars
      @realpars  2 роки тому

      50 feet is what is given as the maximum length in the EIA232 Standard. The signal could, in many cases, be run 100 feet without issue. The limitation with length is voltage, and the farther the cable is run, the more voltage drop there will be. Once the voltage drops below what is required for the electronics to distinguish the data stream (+/- 13VDC). 50 feet was chosen since it is guaranteed to have sufficient voltage for communication using a compliant RS232 cable.

  • @akpvdensolartv3389
    @akpvdensolartv3389 6 місяців тому

    How is the data in RS485 being handled in the program, specially the floating values? What I mean is if you have multiple devices connected through RS485, with double word, floating values and if you want to apply mathematical operations on those data. How will we going to do that?

    • @realpars
      @realpars  6 місяців тому +1

      Thank you for your question. The RS485 standard defines how communication works for RS485 devices. You will write your program in the specific block for the device you want to control. Each device has an address, and your program will communicate with the device you are addressing. Once you set up your hardware configuration, such as IO cards, VFDs, HMIs, etc., your communication blocks will look at your program and address the devices accordingly.
      RealPars courses offer comprehensive instruction on programming and setting up communications with many popular PLCs. You can sign up for free and start learning today.
      Happy learning

    • @akpvdensolartv3389
      @akpvdensolartv3389 6 місяців тому

      @@realpars How to sign up?

  • @ViperrKsa
    @ViperrKsa 3 роки тому

    Then what are the differences between RS485 and Profibus-DP/PA?
    and why I should prefer PB over RS485 or vice versa.

    • @realpars
      @realpars  3 роки тому

      Hi there,
      Thanks for your comment!
      Good question, that would make for a great video course. I will happily pass this on as a topic suggestion to our course developers.
      Thanks for sharing and happy learning!

  • @changchiaohui
    @changchiaohui 5 років тому

    Useful and easy to understand video, thanks

    • @realpars
      @realpars  5 років тому

      Great to hear that! Thanks a lot for sharing your positive feedback.

  • @mateuszmayjaszczyk7415
    @mateuszmayjaszczyk7415 3 дні тому

    How to connect an inverter that has an RS 485 connection with a heat pump that is controlled by the SMART GRID connector?

  • @habebsabri4288
    @habebsabri4288 Рік тому

    Thank you for the video.
    I have a question, what is the maximum length that can be used for an ethernet cable?

    • @realpars
      @realpars  Рік тому

      A CAT5 or CAT6 Ethernet cable can be run up to 100 meters (300 feet) without loss of signal, at baud rates of 100 Mb/sec or less.

  • @jessekane808
    @jessekane808 Рік тому

    Great video!

  • @ogatechsystem3840
    @ogatechsystem3840 3 роки тому

    I want to convert from RS232 to RS485 (My HMI and PLS ports are RS232) and I am using an Optical Fiber extender with RS85.
    Please which of the pins (from 1-9) do I use as my positive and negative on the serial port pin?

    • @realpars
      @realpars  3 роки тому

      I am not sure you are framing your question properly. Both RS232 and RS485 are serial protocols, so when you ask which pin is "positive and negative on the serial port pin", I am not sure which connector you are asking about. If you are asking about the RS-485 connector, Pin 8 is Transmit (+) and Pin 9 is Transmit (-). In a full RS-485 implementation, there are also (+) and (-) for Received Data, Clear to Send, and Ready to Send. RS-232 is voltage-driven, and all pins are positive with reference to ground (Pin 5).

  • @uditbuch2878
    @uditbuch2878 2 роки тому

    Is RS-485 communication medium only used in Modbus communication protocol? Or is it used by other communication protocol in industries too?

    • @realpars
      @realpars  2 роки тому

      RS-485 is an electrical specification that is implemented at the physical layer of a protocol. Several communication protocols use RS-485 for the physical layer\, most notably Modbus and Profibus-DP,

  • @frosty-ke1xe
    @frosty-ke1xe 2 роки тому

    can you please with the wiring of 360 Visions Predator CCTV System? I have wired it through the Matrix Control Unit16/2 -and the joystick VKXM-0845-EU controller with RS485 cables, all that is coming out of the camera is a bunch of wires that have been chopped off. I have managed to identify all of them, but am unsure as how to wire the 4 wire twisted pairs, i.e., Red & Orange TX/ and Purple & Blue RX From the camera do they go to the matrix or the controller, and which pins on a RJ11 6 wire plug? any help would be very much appreciated as 360 vision diagrams only cater for the special power supply connector board, there seems to be no circuit diagrams available, I can supply pictures...

    • @realpars
      @realpars  2 роки тому

      This is a product I am not familiar with, nor did I find anything useful on the internet. This type of information (wiring or circuits to the board level) is usually available only from the manufacturer.

  • @thaqalain10
    @thaqalain10 5 років тому

    Amazing video, thanks!

  • @الإسلاموالعقل-ج5ح
    @الإسلاموالعقل-ج5ح 6 років тому +6

    Thanks for amazing explain

    • @realpars
      @realpars  6 років тому +1

      Happy to hear!

  • @sunkurt
    @sunkurt 4 роки тому

    Control a VFD is an application of RS485, but it did not explain why... So for serial communication, then why RS232 not chosen? It can do the job too, right?
    Then regarding the noise resilience, it was not explained well. RS232 you explained positive voltage for binary 0 and negative for binary 1, but RS485, you did not mention a threshold of 200mV is used on both sides. Just some wild suggestions.

    • @realpars
      @realpars  4 роки тому

      Thanks for your suggestions, Kurt! I will make sure to forward this to our course developers.

  • @moons1166
    @moons1166 4 роки тому

    Hi newbie to modbus here, so if i'm using usb to rs485 terminal strip i just need to connect A B to transmitter then it will works? do i still need to connect ground terminal and 5V power?

    • @realpars
      @realpars  4 роки тому

      In most cases, you will connect three wires: A and B, and ground (common). Power (5V) is supplied by the USB port (if connected to a computer). There are USB connections that are stand-alone, which will require external power.

  • @Creative_Automation
    @Creative_Automation 6 років тому +1

    Nice and simple information

  • @bharatthapa4829
    @bharatthapa4829 2 роки тому

    Hi RealPars, thanks for such an informative video. I have a question though. You showed in the video that the PLC and VFD are connected via RS-485. But what about the input and output terminals? Are input and output (i/o modules) needed in this system for control? My understanding was that we use the i/o module of the PLC to connect the VFD or any other type of field sensors, but it looks they are not needed once we connect the VFD with PLC via RS-485. Can you please clarify between the difference or relationship between input/outputs and communication standard? How these two work together in a system? Thanks a lot.

    • @realpars
      @realpars  2 роки тому

      There are several ways to connect a PLC to a VFD, and it depends pretty much on the model of VFD you are using. There are two main ways to connect to a VFD: hardwired and communication bus. With hardwired, there is an I/O board on the VFD that allows for wiring of PLC inputs and outputs to control and monitor the VFD. This would include analog signals (speed reference, actual speed, current draw, etc.) and digital signals (start, enable, alarms, etc.). For a communication bus (RS-485 based protocols like ProfibusDP, Industrial Ethernet, etc.) all signals are programmed and provided through a single communication cable.

  • @acmefixer1
    @acmefixer1 5 років тому +2

    This video about RS-485 is limited to the industrial control and it doesn't discuss any of the limitations of RS-485. RS-232 and RS-485 are electrical and mechanical interfaces and do not specify how many devices or what speed the data is sent. The video states there is no standard RS-485 connector but the true RS-485 specifications state the type of connector and the number of pins, and anything that does not conform to the specifications is not RS-485. IIRC the original specifications did *not* use a DB-9 connector. So this video leaves out a lot of information that may be needed for an accurate explanation of the RS-485 interface. Thanks for the limited video.

    • @davidmoran4471
      @davidmoran4471 5 років тому +1

      You forget that the RS in RS-x is 'Recommended' Standard and there is no connector specification. Additionally you as well as the content provider stated DB 9 what was shown is a DE 9. Unfortunately the content provider did not comment on the most often forgotten ground, 2 wire, as shown, is actually 2 wire plus ground, and the 4 wire systems are actually 4 wire plus ground. On smaller systems as shown, were the equipment shares the same earth connection, although there is more noise, will generally function as intended. When doing camera and control over large areas requiring fiber optic transmission between nodes, this becomes very relevant, I used to design networks that covered entire states, as well as border protection for other countries.

  • @mohamedenan2722
    @mohamedenan2722 6 років тому +1

    can you make a video explaining how to link the vfd with plc to control the speed of a 3 phase induction motor and how to program this process

    • @realpars
      @realpars  6 років тому

      Hi there, I will pass your request on to our creator team.

  • @andreaaguilar6073
    @andreaaguilar6073 4 роки тому

    Hello!, do i have to put a resistance of RS485 half duplex at the end of the connection?

    • @realpars
      @realpars  4 роки тому

      If the data rate is low or cables are short, termination may be unnecessary. As data rates and/or cable lengths increase, which is in most cases, termination becomes mandatory. Use of a 120-ohm resistor at each end of the segment will take care of communication signal issues due to impedance mismatches between devices. RS-485 is an electrical specification, and 2-wire protocols, like Profibus, which uses RS-485 as a communication medium, are half-duplex. In general, RS-485 installations will require terminating resistors. Full duplex RS-485 requires four wires, and is not very common in industrial control systems.

  • @samibatel156
    @samibatel156 4 роки тому

    Thank you Realpars ,I have question Can i control VFD via RS-485 although the communication between the plc and hmi Via ETHERNET?

    • @realpars
      @realpars  4 роки тому

      Yes, as long as the controller and the VFD have an R-485 communication option installed (interface cards). I designed a system not too long ago that had 5 different communication protocols (Ethernet, Profibus DP, Profibus PA, ASi, and IOLink) installed for communicating with different devices and components.

  • @tamilarasanmarimuthu4900
    @tamilarasanmarimuthu4900 6 років тому +3

    Please explain about memory bits,Data blocks ,functional blocks,sfc in simatic manager...
    Specify how to use them ?
    Thank you

    • @realpars
      @realpars  6 років тому +3

      Hi there, I will pass your request on to our creator team.

    • @dwightgoad1270
      @dwightgoad1270 6 років тому

      Yes, I've been looking for the same thing.

  • @venkat4137
    @venkat4137 4 роки тому

    Nice and clear explanation 👌 I want to subscribe your channel

    • @realpars
      @realpars  4 роки тому

      Happy to hear that! Thanks for sharing.

  • @SafeAndEffectiveTheySaid
    @SafeAndEffectiveTheySaid 5 років тому +1

    Very helpful, Thank you very much Sir.

    • @realpars
      @realpars  5 років тому

      Great to hear! You are very welcome.

  • @nayan78panchal33
    @nayan78panchal33 5 років тому

    Thanks a lot for sharing knowledge, good job sir...💐🙏

    • @realpars
      @realpars  5 років тому

      You are very welcome! Great to hear that.

  • @_iLLuSiv3_
    @_iLLuSiv3_ 5 років тому

    RS485 is defunct in many newer systems, Bacnet MS/TP or Bacnet over IP is the way to go now... We used RS485 for many years, I hardly see it anymore.

    • @newqf403
      @newqf403 5 років тому

      in china rs485 依然是低成本的主力军

    • @chickenz4604
      @chickenz4604 4 роки тому

      @@newqf403 is it?

  • @longbeachboy57
    @longbeachboy57 5 років тому +4

    You forgot to mention that Interbus, DeviceNet, ProfiBus etc are all clones of RS485 with some extra features...

    • @GInKaStMiN
      @GInKaStMiN 5 років тому

      lol, this is supposed to be an introductory video. You just can't mention everything on the first go

    • @longbeachboy57
      @longbeachboy57 5 років тому

      @@GInKaStMiN OK. I apologize for commenting. Thanks for your feedback!!!

    • @martinb.770
      @martinb.770 4 роки тому

      not to forget controlling lights and effect devices via DMX

  • @praveenstomp2471
    @praveenstomp2471 5 років тому

    One doubt. In your example at the end, you used two RS485 cables. One to connect PLC to HMI and another one from PLC to VFD. But earlier you mentioned RS485 can connect to multiple terminals. If that's the case, is it possible to use a single RS485 cable from PLC and a divider to divide the signal to VFD and HMI ?

    • @realpars
      @realpars  5 років тому

      Up to 32
      transmitter/receiver pairs may be present on a RS485 network at one time. RS-485 is generally a 2-wire half-duplex system connected in a daisy-chained manner with single twisted pair cable. Many vendors also offer RS-485 multiplexers that allow for star configuration of the network.

    • @drorharari
      @drorharari 3 роки тому

      @@realpars I had just the same question. The answer given seems to suggest that every device on the chain needs to either consume the data or otherwise forward it from one connector to the other if it is not addressed to itself. Is that the case?

  • @mtokkan
    @mtokkan 6 років тому

    Brief and useful information about RS-485. Thank you.

    • @realpars
      @realpars  6 років тому

      Great! You're very welcome.

  • @muhammadatif1696
    @muhammadatif1696 6 років тому +19

    waiting for the PID course

  • @RalfsBalodis
    @RalfsBalodis 2 роки тому

    Where the limit of 32 devices comes from? I have electricity meters connected to rs485. It uses mbus and there is lot more devices than 32 and everything works. I'm confused.

    • @realpars
      @realpars  2 роки тому

      Modbus is based on RS-485 but extends the capabilities of the original network limitations. RA-485 is an electrical specification, whereas Modbus is a protocol that can run on the RS-485 device layer. In general, the maximum number of nodes that can reside on a network is usually determined by the organization that governs that protocol. There are limits to baud rate, cable lengths, number of drops, etc., that stem from how much power is available on the bus and how stable the communication is over the length of cable that can be used.

  • @mbilukhelebeni1365
    @mbilukhelebeni1365 5 років тому

    Wonderful I really enjoyed it

    • @realpars
      @realpars  5 років тому

      Great to hear hat, Mbilu!

  • @angelitocortez4738
    @angelitocortez4738 2 роки тому

    Thanks a lot.and more power.

  • @spunkyprep
    @spunkyprep 5 років тому

    If RS-485 can handle up to 32 connected devices, why does the RS-485 port on the Easytouch automation system for a pool freak out when you connect 3 or more???

    • @realpars
      @realpars  5 років тому +1

      Many consumer devices are capable of communications using modern protocols, but because they are limited in scope, the processors are not always set up to take full advantage of the power of those protocols. Many times, these consumer products, have artificial limits to their capabilities, such as 2 nodes on RW-485 or other limitations. They figure beyond the main controller, the user would only have two other nodes, such as an automatic chlorinator or a lighting controller. Even in an industrial system, a 32-node configuration would likely bring a controller to its knees from a timing and loading standpoint.

  • @marcol5374
    @marcol5374 3 роки тому

    So it is correct say that Profibus is based on Rs485 protocol ?
    Thanks a lot for the video

    • @realpars
      @realpars  3 роки тому +1

      Yes, RW-485 is the electrical specification for the physical layer on top of which the Profibus protocol operates.

  • @prashantverma1200
    @prashantverma1200 3 роки тому

    how to check Furness temperature by Temperature indicator & HMI?

    • @realpars
      @realpars  3 роки тому

      Hi Prashant! Thanks for your question. Unfortunately, it's beyond the scope of this video as we focus solely on RS485. we do have many other videos on temperature measurement and HMI. Please feel free to scan through our many videos to find what you need.

    • @realpars
      @realpars  3 роки тому

      Hi Prashant! Thanks for your question. Unfortunately, it's beyond the scope of this video as we focus solely on RS485. we do have many other videos on temperature measurement and HMI. Please feel free to scan through our many videos to find what you need.

  • @saitarak1824
    @saitarak1824 5 років тому

    Can you give some more practical examples and working principle of the devices used here like HMI,VFD, etc

    • @realpars
      @realpars  5 років тому

      Hey!
      Thanks for your comment and feedback! I will make sure to pass this on to our creator team.
      Thanks for sharing!
      Happy learning!

  • @khaderm.mohammed2598
    @khaderm.mohammed2598 2 роки тому

    What will be the gauge of the rs485 which allow 1200m

    • @realpars
      @realpars  2 роки тому

      20AWG (0.5176 mm2) to 16AWG (1.3087 mm2) is recommended. I would use 16AWG to be sure there are no significant signal losses, especially for RE-485 based networks, like BACNet or Modbus.

  • @civilyard2495
    @civilyard2495 6 років тому

    Plz, what's the benefits of RS485 for controlling a servo motor with arduino? ?

  • @rahimspearfishing2732
    @rahimspearfishing2732 4 роки тому

    Thanks for your effort understanding

    • @realpars
      @realpars  4 роки тому

      You're very welcome, Rahim!

  • @ananthavarunan6310
    @ananthavarunan6310 8 місяців тому

    Sir can you make home automation programming related videos

    • @realpars
      @realpars  8 місяців тому

      Thank you for your topic suggestion! I will happily go ahead and forward that to our course developers.

  • @richardparra6965
    @richardparra6965 4 роки тому

    Is this the protocol used in profibus? Thanks!

    • @realpars
      @realpars  4 роки тому

      Profibus, at the physical layer of the OSI communication model. You could say Profibus was built on top of RS-485. However, they are not the same. Profibus requires a more stringent cable specification (including termination resistance) so that speeds of up to 12Mbaud can be achieved. RS-485 tops out at 1Mbaud. Profibus has a very much more complex set of layers at the Data Link layer and above. Instead of a primitive UART (universal asynchronous receiver/transmitter) function at the Data Link layer, Profibus uses the more flexible Fieldbus Data Link function. Significant additional functionality is stacked above the Data Link layer in Profibus, where R-485 only has a node addressing function and a limited set of commands and responses.

  • @chickenz4604
    @chickenz4604 3 роки тому

    Nice video, btw what is the differences between using RS485 vs analog input output for communication between PLC and VFD? THX

    • @realpars
      @realpars  3 роки тому +2

      An analog input card has several channels, with each channel supporting one 4-20ma or 0-10VDC sensor input. RS485 is a communication protocol that is the foundation of digital bus data transfer (such as ProfiBus PA), which allows many sensors to be connected to one PLC communication port. For RS485 communication to a VFD, Profibus DP is often used, which supports digital and word data. To drive a VFD with PLC I/O cards, you would need DI, DO, AO, and possibly AI cards as well. So the bus-type interfaces allow the VFD to be controlled using a single cable.

    • @chickenz4604
      @chickenz4604 3 роки тому

      @@realpars Ohh icic, thats why rs485 is used to make it easier, cuz it only uses 1 cable. How about let say pH Meter? currently im using analog input 4-20mA and plan to use more ph meter for water treatment plant. Should i use RS485 or just analog input current? thx real pars!💯

  • @Gersberms
    @Gersberms 3 роки тому

    I did not know that the connector wasn't standardized, I thought that all DB9 serial connectors were wired the same. It turns out this is not the case, every device may be wired differently even if they have matching DB9 connectors.

  • @karanpoojary3263
    @karanpoojary3263 5 років тому

    can we interface RS485 and arduino. for eg:- here i have a sesnor which gives data through RS485 cable so can i interface it with arduino ?????

    • @AutomationSpot
      @AutomationSpot 5 років тому

      yes you can interface arduino.. with rs-485...

  • @user-yhhAO
    @user-yhhAO 2 роки тому

    thank you really I like that. 👍🏻

    • @realpars
      @realpars  2 роки тому

      I'm glad you like it!

  • @HardeepSingh-wq5ff
    @HardeepSingh-wq5ff 5 років тому

    Thanks for your valuable information. can u please tell us about cable drawing?

    • @realpars
      @realpars  5 років тому

      Hey Hardeep!
      Thanks for your comment and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

    • @sassclass6467
      @sassclass6467 4 роки тому

      RealPars Greetings, speaking of drawings can you elaborate what program that is being utilized to generate these spectacular illustrations. Secondly, I’m late to the party but certainly enthralled that I’ve made it. Can you offer insight as well on courses for seeking certification, please or a POC (person of contact), much appreciated!

  • @sharifskijr.1257
    @sharifskijr.1257 3 роки тому

    Thanks a million #RealPars

    • @realpars
      @realpars  3 роки тому

      You're very welcome!

  • @Mr-vk3bm
    @Mr-vk3bm 3 роки тому

    A communication bus that is easier to use than RS-485. The bus can provide power 20A

  • @Jashu_24
    @Jashu_24 6 років тому

    As always superb😇

  • @misolutions628
    @misolutions628 5 років тому

    Thanks for the stuff.

    • @realpars
      @realpars  5 років тому

      You are very welcome!

  • @mohammedabdullahkhan4264
    @mohammedabdullahkhan4264 Рік тому

    Max, how many devices you can connect in RS 485

    • @realpars
      @realpars  Рік тому

      Per the EIA-485 standard, the maximum number of nodes is 32. Variants of this communication standard, such as Profibus DP, can handle many more (128 for Profibus DP).

    • @mohammedabdullahkhan4264
      @mohammedabdullahkhan4264 Рік тому

      @@realpars in RS485 without repeater we can connect max 32 device and with repeater how many devices we can connect max..?

  • @satyendrakumargautam1821
    @satyendrakumargautam1821 5 років тому

    Thnx so much sir for providing good knowledge. I request 🙏 sir please make video on advance mcc panel. Semocode working

    • @realpars
      @realpars  5 років тому

      Thanks for the topic suggestion, I will definitely go ahead and forward this to our creator team.
      Happy learning!