====== MOACON - Modular Programmable Automation Controller (PAC) ====== [[product_warning:index|Warning]] The MOACON is a C-programmable modular industrial controller. Its modular design enables customers to purchase just the modules needed, and aggregate them in a way that customizes the MOACON precisely for a product's specific requirements, and provides adaptability should those requirements change. **The MOACON's Primary Features** * Modular Design * C Programmable * 32 bit ARM Processor * USB Downloading and Debugging * MOACON Studio - Free Integrated Development Environment (IDE) Software The MOACON boasts a 32-bit ARM CPU Module for fast and complex computation and data processing. Individual modules include features for Digital I/O, Relay Output, Analog-to-Digital and Digital-to- Analog Conversion, Motor control, Temperature Monitoring, RS-232 Communication, Ethernet, and the potential for more. The free integrated development environment, MOACON Studio, features a C compiler, source editor, flash programming and debugging via USB, and more. The source editor features syntax highlighting, command completion, and context sensitive help making learning, developing, and testing MOACON software projects a productive experience. [[https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers|Download the MOACON USB Drivers]] * [[.:Frequently Asked Questions]] * [[.:MOACON Studio]] * [[.:Data types and Memory]] * [[.:Debugging feature]] ---- ===== Modules ===== * [[.:DP-CPU500:]] - CPU Module ==== Digital I/O Modules ==== * [[.:CF-DOSO8]] - 8-Pin DC Source Output Module * [[.:CF-DOSI8]] - 8-Pin DC Sink Output Module * [[.:CF-DORL8]] - 8-Pin Relay Output Module * [[.:CF-DIDC8]] - 8-Pin Digital Input Module * [[.:I2-EDI16]] - 16-Pin Digital Input Expansion Module * [[.:RS-EDOR8:]] - 8 Channel Relay Output Expansion Module ==== Analog I/O Modules ==== * [[.:RS-ADIN4:]] - 4 Channel Analog Input Module * [[.:RS-ADIN4:|RS-HADIN4]] - 4 Channel High Resolution Analog Input Module * [[.:RS-SADIN6:]] - 6 Channel High Resolution Analog Input Module * [[.:RS-DAOUT2:]] - 2 Channel Digital-to-Analog Voltage Output * [[.:RS-DAOUT2B:]] - 2 Channel Digital-to-Analog Current Output * [[.:RS-THRT4:]] - 4 Channel Temperature Input Module ==== Special-Purpose Modules ==== * [[.:DP-COMM2:]] - Serial Communication Module * [[.:DP-HCNT:]] - High-speed Counter and PWM Module * [[.:DP-ETHER:]] - Ethernet Module * [[.:RS-MOT2:]] - Motor Control Module ---- ===== System Library ===== ==== -C- ==== * [[.:clcdBlit:]] \\ * [[.:clcdCls:]] \\ * [[.:clcdCmd:]] \\ * [[.:clcdCsr:]] \\ * [[.:clcdI2cInit:]] \\ * [[.:clcdLocate:]] \\ * [[.:clcdPower:]] \\ * [[.:clcdPrint:]] \\ * [[.:clcdUartInit:]] \\ * [[.:comFlush:]] \\ * [[.:comGet:]] \\ * [[.:comGetInterval:]] \\ * [[.:comGets:]] \\ * [[.:comLen:]] \\ * [[.:comPrint:]] \\ * [[.:comPut:]] \\ * [[.:comPuts:]] \\ * [[.:comxEvent:]] \\ * [[.:comxUntilEvent:]] \\ * [[.:connect:]] \\ * [[.:count:]] \\ * [[.:countMode:]] \\ * [[.:countPrescaler:]] \\ * [[.:countReset:]] \\ * [[.:csgNput:]] \\ * [[.:csgPrint:]] \\ * [[.:csgPrintDot:]] \\ * [[.:csgXput:]] \\ ==== -D- ==== * [[.:dacOut:]] \\ * [[.:dacOut2:]] \\ * [[.:delay:]] \\ * [[.:disConnect:]] \\ ==== -E- ==== * [[.:eportBlockIn:]] \\ * [[.:eportIn:]] \\ * [[.:eRelay:]] \\ * [[.:eRelayBlock:]] \\ * [[.:extIntEvent:]] \\ ==== -F- ==== * [[.:framRead:]] \\ * [[.:framWrite:]] \\ * [[.:freqOut:]] \\ ==== -G- ==== * [[.:getAdc:]] \\ * [[.:getCrc:]] \\ * [[.:getHadc:]] \\ * [[.:getMotorPos:]] \\ * [[.:getSadc:]] \\ * [[.:getTemp:]] \\ ==== -L- ==== * [[.:listen:]] \\ ==== -M- ==== * [[.:motorMove:]] \\ * [[.:motorSetup:]] \\ * [[.:motorStat:]] \\ * [[.:motorStop:]] \\ ==== -N- ==== * [[.:netBegin:]] \\ * [[.:netPrint:]] \\ * [[.:netRecv:]] \\ * [[.:netRxLen:]] \\ * [[.:netSend:]] \\ * [[.:netStatus:]] \\ * [[.:netTxFree:]] \\ ==== -O- ==== * [[.:openCom:]] \\ ==== -P- ==== * [[.:portBlockIn:]] \\ * [[.:portBlockOut:]] \\ * [[.:portIn:]] \\ * [[.:portInit:]] \\ * [[.:portOff:]] \\ * [[.:portOn:]] \\ * [[.:portOut:]] \\ * [[.:portOutStat:]] \\ * [[.:portReverse:]] \\ * [[.:pwm:]] \\ * [[.:pwmOff:]] \\ ==== -R- ==== * [[.:rtcRead:]] \\ * [[.:rtcWrite:]] \\ * [[.:RTU_readCoils:]] \\ * [[.:RTU_readInRegs:]] \\ * [[.:RTU_readRegs:]] \\ * [[.:RTU_writeCoil:]] \\ * [[.:RTU_writeCoils:]] \\ * [[.:RTU_writeReg:]] \\ ==== -S- ==== * [[.:setMotorPos:]] \\ * [[.:socketClose:]] \\ * [[.:socketOpen:]] \\ * [[.:startComxEvent:]] \\ * [[.:startComxUntilEvent:]] \\ * [[.:startExtIntEvent:]] \\ * [[.:startModbusRtu:]] \\ * [[.:startTimerEvent:]] \\ * [[.:statusLed:]] \\ * [[.:stopComxEvent:]] \\ * [[.:stopComxUntilEvent:]] \\ * [[.:stopExtIntEvent:]] \\ * [[.:stopTimerEvent:]] \\ ==== -T- ==== * [[.:timerEvent:]] \\ ==== -W- ==== * [[.:wdtClear:]] \\ * [[.:wdtOn:]] \\ ---- ===== Sample Programs & Additional Information ===== * [[.:Network sample program:]] * [[.:CLCD sample program:]] * [[.:About MODBUS:]] * [[.:Modbus Master:|Modbus RTU Master]] * [[:comfilehmi:hmi_connection_moacon:index|Interfacing with the ComfileHMI]] * [[http://www.comfiletech.com/content/display/Moacon_MDisplayLibrary.zip|M Display Library]] - A library for interfacing the MOACON to Comfile Technology's [[http://www.comfiletech.com/search.php?search_query=MDP|color serial displays]]. * [[http://www.comfiletech.com/content/moacon/Moacon_Modbus_TCP_Server.zip|MODBUS TCP Server]] - An implementation of the Modbus TCP protocol enabling the MOACON to be used as a Modbus TCP server. [[http://www.comfiletech.com/content/moacon/moacon_manual.pdf|MOACON uses's manual PDF file]] - This is the MOACON manual as it existed before publishing the COMFILE Technology Documentation Library. It is no longer maintained, but remains here as a historical record. [[:index|COMFILE Technology's Documentation Library]]