자유게시판

How To Learn RS485 Standard

작성자 정보

  • Gilbert Sherrif… 작성
  • 작성일

본문

The RS-485 hardware generally receives on the receiver every byte that was transmitted by every device on the shared medium, including the local transmitter. This scheme will automatically take control of the network when a byte is transmitted, but there will not be any guaranteed marking time so bias resistors may be required. RS-485 is used as the physical layer underlying many standard and proprietary automation protocols used to implement industrial control systems, RS485 standard including the most common versions of Modbus and Profibus. Modbus RTU RS485 interface is similar, but different, from RS-232. Most newer consumer electronics comes with an USB, Firewire or other high-speed communication port, however a lot of industrial and commercial equipment, both old and new, is made only with a RS485 or RS422 serial communications port. RS-485 is used for low-speed data communications in commercial aircraft cabins' vehicle bus. Systems of this type (4-wire, half-duplex) are often constructed to avoid "data collision" (bus contention) problems on a multi-drop network (more about solving this problem on a two-wire network in a moment). The recommended arrangement of the wires is as a connected series of point-to-point nodes, a line or bus.



The CAT-5 cable allows you to relatively quickly switch -- to half-duplex RS-485, or the 3 wires of RS-232, or a variety of other communication protocols -- without pulling any new cables. In RS-232, single-ended lines or unbalanced signaling is used and this lowers the noise immunity of the standard against interferences such as ground loops. Single-ended lines can quickly corrupt the data they carry when used over very long distances. A couple of disadvantages are that the network is being driven without data on it so contention is more likely, and software complexity increases. Dedicated serial lines are tough (and expensive!) to maintain. Although this is your domain, it's always helpful to have a little starting point, so we've put together a couple of short articles on using the PC Serial Com. The master can instruct a single slave to go into transmit mode, and then the master can put itself into receive mode, thereby allowing the master to retrieve data from the slave. Similarly, when establishing the transmit mode, the application software is responsible for ensuring that the RS485 receiver is not disabled until all expected characters have been received. RS422 can have only one Commander and multiple Listeners.



When a "bad message" shows up on the cable, it is more difficult (but not impossible) to figure out which node(s) transmitted that message when you have a shared-medium with a dozen nodes connected to the same single cable, compared to a point-to-point medium with only 2 nodes connected to any particular cable. RS-485 typically uses a linear network with bidirectional signal wires: There are typically many devices along a RS-485 shared cable. RS-232 uses point-to-point unidirectional signal wires: There are only two devices connected to a RS-232 cable. It is a bi-directional multi-drop interface so it is not limited to connecting only two devices like RS-232. A RS-485 interface will usually use pins 7 and 8 for the two data lines, since they comprise a twisted pair. LocalTalk only connects to the next-outermost pair of wires (the "outer pair" on a standard 4-wire cable). The LocalTalk network uses RS-485-compatible differential signaling on standard 4-wire RJ11 telephone connectors and cable. The Philips Dynalite DNG485 Network Bridge converts DyNet into 64xchannels of DMX512 signals. Each RS422 driver transmits a differential pair of output signals at 0 and 5 volts.



The innermost pair of wires is ignored by LocalTalk, so the inner pair is often used for standard analog telephones. Some RS-485 implementations (in particular, some Ethernet configurations) (also some Macintosh GPIO socket) use 4 wires (2 pairs) for point-to-point communication. Several DPS clients use Generac, Caterpillar, Kohler, and other generators. A Modbus master can communicate with up to 247 Modbus Remote Telemetry Units (RTUs) or Intelligent Electronic Devices (IEDs). Modbus Remote Monitoring and Control traditionally uses RS-232 and RS-485 Modbus communication protocols for collecting data from Modbus slaves. As you can see, Modbus projects tend to involve a lot of other protocols and equipment. As well as control and status reflection of the lighting system, alarm events such circuit breaker trips and lamp failures can be automatically forwarded to the BMS. Now being used commonly in the pro audio industry to control digital audio and signal processors such as the DBX driverack and other manufacturers equivalent products. In theatre and performance venues, RS-485 networks are used to control lighting and other systems using the DMX512 protocol.

관련자료

댓글 0
등록된 댓글이 없습니다.