Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
comfilepi:comfilepinetenvironment:modport_example:index [2026/02/15 22:25] – [예제2) ADIn/Temp] admincomfilepi:comfilepinetenvironment:modport_example:index [2026/02/15 22:46] (current) – [Modport를 이용한 ComfilePi 어플리케이션] admin
Line 3: Line 3:
 본 장에서는 ComfilePi를 이용하여 MODPORT의 모듈 사용법, 제어, 상태값을 표시하는 내용을 다루고 있습니다.  본 장에서는 ComfilePi를 이용하여 MODPORT의 모듈 사용법, 제어, 상태값을 표시하는 내용을 다루고 있습니다. 
  
-{{ :comfilepi:comfilepinetenvironment:modport_example:modport.png?nolink |}}+{{ :comfilepi:comfilepinetenvironment:modport_example:modport_front.png?nolink |}}
  
 [[:fieldio:modport:index|산업용 필드 I/O MODPORT 사용설명서]]\\ [[:fieldio:modport:index|산업용 필드 I/O MODPORT 사용설명서]]\\
Line 23: Line 23:
   * 예제프로그램 다운로드 {{ :comfilepi:modport_example:ex1_modport_io_example.zip |}}   * 예제프로그램 다운로드 {{ :comfilepi:modport_example:ex1_modport_io_example.zip |}}
  
-** 위 소스는 참고용으로 배포합니다. 저희 회사는 이에 대한 전화 기술지원은 제공하고 있지 않은점 양해부탁드립니다. **+** 위 소스는 참고용으로 배포합니다. 저희 회사는 이에 대한 기술지원은 제공하고 있지 않은점 양해부탁드립니다. **
  
 {{ :comfilepi:comfilepinetenvironment:modport_example:example1.png |}} {{ :comfilepi:comfilepinetenvironment:modport_example:example1.png |}}
Line 50: Line 50:
   * MD-ADIN4 : SlaveID -> 1, StartAddress -> 40101 ~ 40104   * MD-ADIN4 : SlaveID -> 1, StartAddress -> 40101 ~ 40104
   * MD-THRT4 : SlaveID -> 1, StartAddress -> 40301 ~ 40304   * MD-THRT4 : SlaveID -> 1, StartAddress -> 40301 ~ 40304
-  * 예제프로그램 다운로드. {{ :comfilepi:modport_example:modport_adin_temp_example.zip |}}+  * 예제프로그램 다운로드. {{ :comfilepi:comfilepinetenvironment:modport_example:modport_adin_temp_example.zip |}}
  
 {{ :comfilepi:comfilepinetenvironment:modport_example:adin_temp.png |}} {{ :comfilepi:comfilepinetenvironment:modport_example:adin_temp.png |}}
Line 62: Line 62:
 MD-THRT4 온도값을 소수 1자리와 영하(-)의 값으로 읽어옵니다.. MD-THRT4 온도값을 소수 1자리와 영하(-)의 값으로 읽어옵니다..
 <code xbasic>  <code xbasic> 
- var TEMP_CH = master.ReadHoldingRegisters(1, 300, 4);+var TEMP_CH = master.ReadHoldingRegisters(1, 300, 4);
 double[] Ftemp = new double[4]; double[] Ftemp = new double[4];
       for (int i = 0; i < 4; i++){       for (int i = 0; i < 4; i++){
Line 74: Line 74:
       }       }
  </code>  </code>
-[[..:comfilepinetenvironment:index|.NET (닷넷) 개발환경]]+ 
 +[[..:index|.NET (닷넷) 개발환경]]