Download Moacon manual - Comfile Technology
Transcript
MOACON User’s Manual freqOut....................................................................................................................................91 Using the PWM Output..................................................................................................................92 Chapter 7 Communication Module................................................................................................ 94 Communication Module.................................................................................................................95 Communication Module Library.......................................................................................................97 openCom..................................................................................................................................97 comPut....................................................................................................................................99 comPrint.................................................................................................................................100 comGet..................................................................................................................................101 comGetInterval.......................................................................................................................102 comFlush................................................................................................................................103 comGets.................................................................................................................................103 comPuts.................................................................................................................................104 comPower...............................................................................................................................104 Chapter 8 Motion Control Module............................................................................................... 106 2-Axis Motion Control Module.......................................................................................................107 Open-Loop System.............................................................................................................108 2-Axis Motion Control Library.......................................................................................................109 motorSetup.............................................................................................................................109 motorMove.............................................................................................................................109 setMotorPos............................................................................................................................110 getMotorPos............................................................................................................................110 motorStop..............................................................................................................................110 motorStat...............................................................................................................................111 Chapter 9 Analog Modules.......................................................................................................... 112 AD Input Module.........................................................................................................................113 RS-ADIN4, RS-HADIN4 Specifications....................................................................................113 RS-SADIN6 Specifications....................................................................................................113 RS-ADIN4, RS-HADIN4 Analog Input Module..................................................................................114 RS-SADIN6 6-Channel 12-bit Analog Input Module..........................................................................115 AD Input Module Library..............................................................................................................116 getAdc....................................................................................................................................116 getHadc..................................................................................................................................116 getSadc..................................................................................................................................117 DA Voltage Output Module..........................................................................................................119 RS-DAOUT2 Specifications...................................................................................................119 dacOut...................................................................................................................................120 DA Current Output Module...........................................................................................................121 RS-DAOUT2B Specifications.................................................................................................121 dacOut2.................................................................................................................................122 Temperature Input Module...........................................................................................................123 Temperature Input Module Library................................................................................................124 getTemp.................................................................................................................................124 Chapter 10 Ethernet Module........................................................................................................ 126 Ethernet Module.........................................................................................................................127 LED Descriptions................................................................................................................127 Network Connectivity..................................................................................................................127 TCP Client-Server Communication.................................................................................................128 Ethernet Module Library...............................................................................................................129 Comfile Technology MOACON – User's Manual 8 of 162