본문 바로가기

자동제어

모드버스 통신이란?

Modbus는 응용 프로그램 계층에서 사용되는 클라이언트/서버 데이터 통신 프로토콜입니다. 이 프로토콜은 원래 Modicon (현재 Schneider Electric)에서 1979년에 자사의 프로그래밍 가능한 논리 컨트롤러(PLC)와 함께 사용하기 위해 발행되었습니다Modbus는 다양한 버스와 네트워크에서 산업용 전자 장치 간의 통신을 위한 사실상의 표준 통신 프로토콜이 되었습니다
Modbus는 산업 환경에서 인기가 있으며, 이는 공개적으로 발행되고 무료이기 때문입니다. 다른 표준에 비해 배포 및 유지 관리가 상대적으로 쉽고 데이터 형식에 대한 제약이 적습니다. Modbus 프로토콜은 직렬 통신 라인이더넷 또는 인터넷 프로토콜 스위트를 전송 계층으로 사용합니다. Modbus 네트워크는 동일한 케이블이나 이더넷 네트워크에 연결된 여러 장치 간의 통신을 지원합니다. 예를 들어, 같은 케이블에 온도를 측정하는 장치와 습도를 측정하는 장치가 연결되어 Modbus를 통해 동일한 컴퓨터로 측정 값을 전송할 수 있습니다Modbus는 종종 시스템 감독 컴퓨터와 원격 단말 장치(RTU)를 연결하는 데 사용됩니다
Modbus는 클라이언트/서버 관계를 기반으로 하며, 트랜잭션을 시작할 수 있는 유일한 마스터 장치가 있습니다. Modbus 네트워크는 하나의 마스터 장치만 지원합니다. 대부분의 통합에서는 원격 호스트가 마스터 장치로 작동하며 다른 장치는 Modbus 슬레이브로 작동합니다. Modbus는 modbusSlave 또는 modbusTcpSlave와 같은 두 가지 슬레이브 구성 요소를 제공하며, 이러한 구성 요소의 사용은 드물 것으로 예상됩니다. 사용되는 경우 기본 Modbus 원칙은 동일합니다Modbus 드라이버는 프록시 포인트를 사용하여 모니터링 및 제어를 제공하며, Framework 구성 요소에 특정한 항목을 설명하는 데 도움이 됩니다

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

원문

Architecture

The driver provides four Modbus modules that support five Modbus network types. Three networks serve as clients, where the host (controller and station) act as a Modbus master device. In the other two networks, the controller and station serve as servers (slaves), where the station exposes Modbus data and responds to Modbus queries. All Modbus networks use the standard Framework network architecture. For more information, refer to the Niagara Drivers Guide.

The Modbus protocol defines the message structure and format used in communication transactions. Modbus devices communicate using a master-slave relationship in which only the master device can initiate a communication transaction. A Modbus network supports only one master device. For most integrations (modbusAsyncmodbusTcp), the remote host serves as the master device. Other devices function as Modbus slaves.

Modbus provides two slave components: modbusSlave or modbusTcpSlave. Either slave station can act as a server. Usage of these components is expected to be infrequent. When used, basic Modbus principles remain the same.

Similar to other Framework integrations, the Modbus driver uses proxy points to provide monitoring and control. To help clarify station configuration, this document describes items specific to Framework components.