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
moacon:index [2026/02/09 00:55] – removed - external edit (Unknown date) 127.0.0.1moacon:index [2026/02/16 19:25] (current) admin
Line 1: Line 1:
 +++++[AI metadata]|
 +CF-DOSI8 is a MOACON digital output module providing 8 DC sink-type outputs. Operating voltage range: DC 3.3 to 27 V. Output current: up to 1 A per channel. Designed for switching external loads in industrial automation systems. Status: Available.
  
 +CF-DOSO8 is a MOACON digital output module providing 8 DC source-type outputs. Operating voltage range: DC 12 to 24 V. Output current: up to 1 A per channel. Suitable for source-driven load control in distributed I/O systems. Status: Available.
 +
 +CF-DORL8 is a MOACON relay output module providing 8 relay channels. Switching capacity: DC 6 to 27 V up to 4 A, or AC 6 to 240 V up to 4 A. Intended for isolation and control of AC or DC loads. Status: Available.
 +
 +CF-DIDC8 is a MOACON digital input module with 8 DC input channels supporting 12 to 24 V signals. Designed for general industrial sensor and switch inputs. Status: Available.
 +
 +I2-EDI16 is a MOACON expansion digital input module with 16 DC input channels supporting 12 to 24 V signals for higher-density input applications. Status: Available.
 +
 +RS-EDOR8 is a MOACON expansion relay output module providing 8 relay channels with switching ratings of DC 6 to 27 V up to 4 A or AC 6 to 240 V up to 4 A. Status: Available.
 +
 +RS-SADIN6 is a MOACON high-speed analog input module with 6 channels of 12-bit A/D conversion supporting 0–5 V or 0–20 mA signals with ±1% accuracy. Status: Available.
 +
 +RS-ADIN4 is a MOACON analog input module with 4 channels and 13.3-bit A/D conversion supporting 0–10 V, 1–5 V, or 4–20 mA inputs with ±0.1% accuracy. Status: Available.
 +
 +RS-HADIN4 is a MOACON high-resolution analog input module with 4 channels and 16.6-bit A/D conversion supporting 0–10 V, 1–5 V, or 4–20 mA inputs with ±0.1% accuracy. Status: Available.
 +
 +RS-THRT4 is a MOACON temperature input module supporting 4 PT100 sensor channels with a measurement range of −100 to 500 °C and ±0.5% accuracy. Status: Available.
 +
 +RS-DAOUT2 is a MOACON analog voltage output module providing 2 channels of 16-bit D/A conversion with output ranges of 0–10 V or 0–5 V and ±1% accuracy. Status: Available.
 +
 +RS-DAOUT2B is a MOACON analog current output module providing 2 channels of 16-bit D/A conversion with output ranges of 0–20 mA or 4–20 mA and ±1% accuracy. Status: Available.
 +
 +DP-COMM2 is a MOACON communication module offering either two RS-232 ports or one RS-232 and one RS-485 port for serial device integration. Status: Available.
 +
 +DP-HCNT is a MOACON high-speed counter module supporting 2 high-speed counter or encoder input channels and up to 8 PWM output channels for motion and position applications. Status: Available.
 +
 +DP-ETHER is a MOACON Ethernet communication module providing a network interface for industrial Ethernet connectivity. Status: Available.
 +
 +RS-MOT2 is a MOACON 2-axis motion control module generating pulse outputs for stepper motor control on two independent axes. Status: Available.
 +++++
 +
 +====== MOACON ======
 +
 +모아콘은 C언어로 프로그래밍하는 모듈조합방식의 산업용 컨트롤러입니다.
 +
 +모아콘에 대한 구체적인 설명은 [[https://downloads.comfiletech.com/MOACON/moacon_manual.pdf|PDF사용설명서]]를 참조하시기 바랍니다. 
 +
 +
 +===== CPU모듈 설명 =====
 +
 +[[.:cpu_module:|CPU 모듈]] \\ 
 +
 +===== DIO모듈 (디지털 입출력 모듈) =====
 +
 +자세한 설명을 보려면 아래 모델명 (녹색) 클릭하세요.
 +
 +^모델명 ^모듈종류 ^설명 ^사용전압 / 전류 ^
 +|[[.:io_module:CF-DOSI8:]] |DC 싱크 출력 8점 |8개의 DC출력  (싱크방식) |DC 3.3V  ~ 27V    1A|
 +|[[.:io_module:CF-DOSO8:]] |DC 소스 출력  8점 |8개의 DC출력  (소스방식) |DC 12V ~ 24V   1A|
 +|[[.:io_module:CF-DORL8:]] |RELAY 출력 8 점 |8개의 릴레이 출력    |DC 6 ~ 27V  4A, AC 6 ~ 240V 4A|
 +|[[.:io_module:CF-DIDC8:]] |DC입력 8점 |8개의 DC 입력 (12V~24V) |DC 12V ~ 24V|
 +|[[.:io_module:I2-EDI16:]] |확장 디지털 입력 16점 |16개의 DC 입력 (12V~24V) |DC 12V ~ 24V|
 +|[[.:io_module:RS-EDOR8:]] |확장 릴레이 출력 8점 |8개의 릴레이 출력 |DC 6 ~ 27V  4A, AC 6 ~ 240V 4A|
 +
 +===== 아날로그 모듈 =====
 +
 +^모델명 ^모듈종류 ^설명 ^사양^  오차범위  ^
 +|[[.:io_module:RS-SADIN6:]] |고속AD입력 6채널 |12 비트 AD변환 6점 |0~5V,   0~20mA|  +/- 1%  |
 +|[[.:io_module:RS-ADIN4:]] |AD입력 4채널 |13.3 비트 AD변환 4점 |0~10V,  1~5V,   4~20mA|  +/- 0.1%  |
 +|[[.:io_module:RS-HADIN4:]] |고해상도AD입력 4 채널 |16.6 비트 AD변환 4점 |0~10V,  1~5V,   4~20mA|  +/- 0.1%  |
 +|[[.:io_module:RS-THRT4:]] |온도입력 4채널 |PT100옴  온도센서 4점 |-100 ~ 500도|  +/- 0.5%  |
 +|[[.:io_module:RS-DAOUT2:]] |DA전압 출력 2채널 |16비트 DA변환 2점 |0~10V,  0~5V|  +/- 1%  |
 +|[[.:io_module:RS-DAOUT2B:]] |DA전류 출력 2채널 |16비트 DA변환 2점 |0~20mA, 4~20mA|  +/- 1%  |
 +
 +
 +===== 특수기능 모듈 =====
 +
 +^모델명 ^모듈종류 ^설명 ^
 +|[[.:io_module:DP-COMM2:]] |통신모듈 |2개의 RS232  또는1개의 RS232,  1개의 RS485 포트|
 +|[[.:io_module:DP-HCNT:]] |고속카운터모듈 |고속카운터입력 2채널 또는 엔코더입력 2채널그리고 PWM출력 8채널|
 +|[[.:io_module:DP-ETHER:]] |이더넷 통신모듈 |이더넷통신 포트|
 +|[[.:io_module:RS-MOT2:]] |2축 모션제어 모듈 |스탭모터 제어용 펄스출력  2축 |
 +
 +===== 모아콘 라이브러리 =====
 +
 +==== -C- ====
 +  * [[.:clcdBlit:]] - CLCD백라이트 켜기\\ 
 +  * [[.:clcdCls:]] - CLCD화면 지우기\\ 
 +  * [[.:clcdCmd:]] - CLCD코멘드 송신\\ 
 +  * [[.:clcdCsr:]] - CLCD커서 on/off\\ 
 +  * [[.:clcdI2cInit:]] - CLCD를 I2C모드로 초기화\\ 
 +  * [[.:clcdLocate:]] - CLCD 커서위치지정\\ 
 +  * [[.:clcdPower:]] - CLCD파워 on/off\\ 
 +  * [[.:clcdPrint:]] - CLCD전용 print\\ 
 +  * [[.:comFlush:]] - 수신버퍼 지움\\ 
 +  * [[.:comGet:]] - 수신버퍼에서 읽기\\ 
 +  * [[.:comGetInterval:]] - 수신데이터 간격 읽기\\ 
 +  * [[.:comGets:]] - 수신버퍼에서 여러개 동시에 읽기 \\ 
 +  * [[.:comLen:]] - 수신버퍼에 있는 데이터 수 \\ 
 +  * [[.:comPrint:]] - 문자열 송신\\ 
 +  * [[.:comPut:]] - 1바이트 송신\\ 
 +  * [[.:comPuts:]] - 여러 바이트 송신\\ 
 +  * [[.:comxEvent:]] - 수신 이벤트 처리\\ 
 +  * [[.:comxUntilEvent:]] - Until수신 이벤트 처리\\ 
 +  * [[.:connect:]] - 소켓 연결\\ 
 +  * [[.:count:]] - 카운터 저장값 읽기\\ 
 +  * [[.:countMode:]] - 카운터 모드 결정\\ 
 +  * [[.:countPrescaler:]] - 카운터 프리스케일 설정\\ 
 +  * [[.:countReset:]] - 카운트 값 초기화\\ 
 +  * [[.:csgNput:]] - CSG모듈에 출력\\ 
 +  * [[.:csgPrint:]] - CSG모듈에 문자열 출력\\ 
 +  * [[.:csgPrintDot:]] - CSG모듈에 점 표시\\ 
 +  * [[.:csgXput:]] - CSG모듈에 임의문자 출력\\ 
 +
 +==== -D- ====
 +
 +  * [[.:dacOut:]] - 전압 DA 출력\\ 
 +  * [[.:dacOut2:]] - 전류 DA 출력\\ 
 +  * [[.:delay:]] - 시간지연\\ 
 +  * [[.:disableTimerEvent:]] - 타이머 이벤트 일시정지
 +  * [[.:disConnect:]] - 소켓연결 해제\\ 
 +
 +==== -E- ====
 +
 +  * [[.:enableTimerEvent:]] - 타이머 이벤트 재가동
 +  * [[.:eportBlockIn:]] - 확장포트 블록 입력\\ 
 +  * [[.:eportIn:]] - 확장포트 입력\\ 
 +  * [[.:eRelay:]] - 확장 릴레이 출력\\ 
 +  * [[.:eRelayBlock:]] - 확장 릴레이 블록 출력\\ 
 +  * [[.:extIntEvent:]] - 외부 입력 이벤트\\ 
 +
 +==== -F- ====
 +
 +  * [[.:framRead:]] - FRAM 읽기\\ 
 +  * [[.:framWrite:]] - FRAM 쓰기\\ 
 +  * [[.:freqOut:]] - 주파수 파형출력\\ 
 +
 +==== -G- ====
 +  * [[.:getAdc:]] - 저해상도 AD변환\\ 
 +  * [[.:getCrc:]] - CRC16 값 계산\\ 
 +  * [[.:getHadc:]] - 고해상도 AD변환\\ 
 +  * [[.:getMotorPos:]] - 현재 모터위치 읽기\\ 
 +  * [[.:getSadc:]] - 고속 AD변환\\ 
 +  * [[.:getTemp:]] - 온도 읽기\\ 
 +
 +==== -L- ====
 +  * [[.:listen:]] - 소켓을 서버모드로 만듦\\ 
 +
 +==== -M- ====
 +  * [[.:motorMove:]] - 모터 동작지시\\ 
 +  * [[.:motorSetup:]] - 모터 파라메터 설정\\ 
 +  * [[.:motorStat:]] - 출력중인 펄스갯수 반환\\ 
 +  * [[.:motorStop:]] - 모터 정지\\ 
 +
 +==== -N- ====
 +  * [[.:netBegin:]] - 이더넷 초기화\\ 
 +  * [[.:netPrint:]] - 이더넷 문자열 출력\\ 
 +  * [[.:netRecv:]] - 이더넷 수신\\ 
 +  * [[.:netRxLen:]] - 이더넷 수신버퍼 갯수반환\\ 
 +  * [[.:netSend:]] - 이더넷 데이처 송신\\ 
 +  * [[.:netStatus:]] - 소켓상태 확인\\ 
 +  * [[.:netTxFree:]] - 이더넷 송신버퍼 갯수반환\\ 
 +
 +==== -O- ====
 +  * [[.:openCom:]] - RS232/RS485 통신포트 OPEN\\ 
 +
 +==== -P- ====
 +  * [[.:portBlockIn:]] - 포트 블록입력\\ 
 +  * [[.:portBlockOut:]] - 포트 블록출력\\ 
 +  * [[.:portIn:]] - 포트입력\\ 
 +  * [[.:portInit:]] - 포트 입출력 방향결정\\ 
 +  * [[.:portOff:]] - 포트 OFF\\ 
 +  * [[.:portOn:]] - 포트 ON\\ 
 +  * [[.:portOut:]] - 포트출력\\ 
 +  * [[.:portOutStat:]] - 포트 출력상태 읽기\\ 
 +  * [[.:portReverse:]] - 포트 반전\\ 
 +  * [[.:printf:]] - 디버그 출력\\ 
 +  * [[.:pwm:]] - PWM 파형 출력\\ 
 +  * [[.:pwmoff:]] - PWM 파형 출력 중지\\ 
 +
 +==== -R- ====
 +  * [[.:rtcRead:]] - RTC읽기\\ 
 +  * [[.:rtcWrite:]] - RTC쓰기\\ 
 +  * [[.:RTU_readCoils:]] - MODBUS RTU 비트읽기\\ 
 +  * [[.:RTU_readInRegs:]] - MODBUS RTU Input 레지스터 읽기 \\ 
 +  * [[.:RTU_readRegs:]] - MODBUS RTU 레지스터 읽기\\ 
 +  * [[.:RTU_writeCoil:]] - MODBUS RTU 비트 쓰기\\ 
 +  * [[.:RTU_writeCoils:]] - MODBUS RTU 여러개의 비트 쓰기\\ 
 +  * [[.:RTU_writeReg:]] - MODBUS RTU 레지스터 쓰기\\ 
 +
 +==== -S- ====
 +  * [[.:setMotorPos:]] - 모터 위치 셋팅\\ 
 +  * [[.:socketClose:]] - 소켓 클로즈\\ 
 +  * [[.:socketOpen:]] - 소켓 오픈\\ 
 +  * [[.:startComxEvent:]] - 수신이벤트 시작\\ 
 +  * [[.:startComxUntilEvent:]] - Until 수신이벤트 시작\\ 
 +  * [[.:startExtIntEvent:]] - 외부 인터럽트 이벤트 시작\\ 
 +  * [[.:startModbusRtu:]] - MODBUS RTU 슬레이브 개시\\ 
 +  * [[.:startTimerEvent:]] - 타이머 이벤트 시작\\ 
 +  * [[.:statusLed:]] - Status led 제어\\ 
 +  * [[.:stopComxEvent:]] - 수신 이벤트 종료\\ 
 +  * [[.:stopComxUntilEvent:]] - Until 수신 이벤트 종료\\ 
 +  * [[.:stopExtIntEvent:]] - 외부 인터럽트 이벤트 종료\\ 
 +  * [[.:stopTimerEvent:]] - 타이머 이벤트 종료\\ 
 +
 +==== -T- ====
 +  * [[.:timerEvent:]] - 타이머 이벤트 처리\\ 
 +
 +==== -W- ====
 +  * [[.:wdtClear:]] - 와치독 타이머 클리어 \\ 
 +  * [[.:wdtOn:]] - 와치독 타이머 개시\\ 
 +
 +===== 모아콘 예제모음 ======
 +
 +  * [[:moacon:moaconapp:an41001:index|입력과 출력 (기초응용)]]
 +  * [[:moacon:moaconapp:an41002:index|타임루프 프로그래밍 기법 소개]]
 +  * [[:moacon:moaconapp:an41003:index|타임루프 프로그래밍 기법 응용 (채터링 제거 입력)]]
 +  * [[:moacon:moaconapp:an41004:index|모아콘과 온습도센서 연결하기 (SHT7X 시리즈)]]
 +  * [[:moacon:moaconapp:an41005:index|UIF5K와 연결]]
 +  * [[:moacon:moaconapp:an41006:index|웹서버 구현]]
 +  * [[:moacon:moaconapp:an41007:index|모아콘끼리 상호 통신]]
 +  * [[:moacon:moaconapp:an41008:index|Tact(Push) 스위치를 이용한 출력on/off 유지]]
 +  * [[:moacon:moaconapp:an41009:index|엔코더 타입별 결설방법 및 사용법]]
 +  * [[:moacon:moaconapp:an41010:index|근접센서 타입별 결설방법 및 사용법]]
 +  * [[:moacon:moaconapp:an61007:index|ComfileHMI와 연결시 실수 처리방법]]
 +
 +
 +[[:index|Comfile Technology's Document Library]]