机床与液压
機床與液壓
궤상여액압
MACHINE TOOL & HYDRAULICS
2011年
15期
59-62
,共4页
电机%参数采集%串口
電機%參數採集%串口
전궤%삼수채집%천구
以三菱电机测试平台为基础,利用Visual C++实现电机参数的在线显示和存储.通过串口和MSComm控件,完成了工控机和伺服放大器之间的通信和参数采集;采用窗口切分方法设计界面,并利用MsChart控件完成了对多个参数实时曲线的绘制;介绍了Access数据库的连接方法,利用ADO和DataGrid控件显示数据库表中的记录.实际运行情况表明:该设计能够实现对电机参数的自动在线采集、显示、存储等功能,达到了设计的目的和要求.
以三蔆電機測試平檯為基礎,利用Visual C++實現電機參數的在線顯示和存儲.通過串口和MSComm控件,完成瞭工控機和伺服放大器之間的通信和參數採集;採用窗口切分方法設計界麵,併利用MsChart控件完成瞭對多箇參數實時麯線的繪製;介紹瞭Access數據庫的連接方法,利用ADO和DataGrid控件顯示數據庫錶中的記錄.實際運行情況錶明:該設計能夠實現對電機參數的自動在線採集、顯示、存儲等功能,達到瞭設計的目的和要求.
이삼릉전궤측시평태위기출,이용Visual C++실현전궤삼수적재선현시화존저.통과천구화MSComm공건,완성료공공궤화사복방대기지간적통신화삼수채집;채용창구절분방법설계계면,병이용MsChart공건완성료대다개삼수실시곡선적회제;개소료Access수거고적련접방법,이용ADO화DataGrid공건현시수거고표중적기록.실제운행정황표명:해설계능구실현대전궤삼수적자동재선채집、현시、존저등공능,체도료설계적목적화요구.