사용자 도구

사이트 도구

English

comfilehmi:hmi_connection_mcu:index

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
comfilehmi:hmi_connection_mcu:index [2020/02/22 13:33]
Comfile Technology [HMI의 프로젝트 통신 구성]
comfilehmi:hmi_connection_mcu:index [2023/10/23 01:47]
Comfile Technology [Simple MODBUS 사용예]
줄 1: 줄 1:
 +====== HMI와 MCU ======
  
 +일반적으로 HMI는 PLC와 함께 사용하는 것으로 알려져 있습니다. PLC 대신 MCU (마이크로 콘트롤러칩)보드를 사용한다면 획기적인 비용절감효과를 볼 수 있습니다.
 +
 +이를 위해서, ComfileHMI는 MCU와 연결할 수 있는 Simple MODBUS 라는 프로토콜을 지원하고 있습니다.
 +
 +<​html>​
 +<iframe src="​https://​docs.google.com/​presentation/​d/​e/​2PACX-1vTvMuunCrVK2F264CCzlXrcOIF8Z_vJSdAeyLTWZvAzXYNViFKxTnLmiuK5WiJX75ATHIxt6CUYSmFf/​embed?​start=false&​loop=false&​delayms=30000"​ frameborder="​0"​ width="​960"​ height="​569"​ allowfullscreen="​true"​ mozallowfullscreen="​true"​ webkitallowfullscreen="​true"></​iframe>​
 +</​html>​
 +===== Simple MODBUS ​ =====
 +
 +  * [[..:​simpleMODBUS:​|simple MODBUS 란 무엇인가?​]]
 +  * [[simplemodbus_sourcedownload|simple MODBUS 표준 소스 다운로드 (STM32, AVR)]]
 +
 +===== Simple MODBUS 사용예 ​ =====
 +
 +  * [[http://​blog.naver.com/​cubloc/​221128873740|AVR MCU와 HMI 연결예 (소스 포함)]]
 +  * [[http://​blog.naver.com/​cubloc/​221427153205|마이크로칩 PIC MCU 연결예 (소스포함)]]
 +
 +===== MCU와 RS232로 연결하는 방법 =====
 +
 +MCU는 5V 또는 3.3V 레벨의 신호만을 취급하기 때문에, +/- 12V레벨로 변환한뒤 ComfileHMI와 연결해야 합니다.
 +
 +{{ :​comfilehmi:​hmi_connection_mcu:​connectionmcu.png?​nolink | }}
 +
 +  * 5V 회로에서는 MAX232를 사용해야 합니다.
 +  * 3.3V 회로에서는 MAX3232를 사용해야 합니다.
 +
 +
 +
 +===== HMI의 프로젝트 통신 구성 ======
 +
 +ComfileHMI Editor에서 <​MCU>,​ <SIMPLE MODBUS>​로 하세요.
 +
 +{{ :​comfilehmi:​hmi_connection_mcu:​mcusetting1.png?​nolink |}}
 +
 +===== HMI + MCU 실제 적용 사례 ======
 +
 +{{ :​comfilehmi:​hmi_connection_mcu:​sm1.png?​nolink |}}
 +
 +[[comfilehmi:​index#​ComfileHMI_하드웨어|상위 페이지로 가기]]
comfilehmi/hmi_connection_mcu/index.txt · 마지막으로 수정됨: 2023/10/23 01:47 저자 Comfile Technology