| 自动控制 | 三菱plc | 西门子plc | 欧姆龙plc | 台达plc | 松下plc | plc技术 | 变频器技术 | 传感器设计 | 仪器仪表 | 电机原理 | 数控机床 | 人机界面 | 数据采集 | 电源设计 |
|
上篇: :孔板流量计问题 |
|
问 定义如下: IO_4 output bit ioUsartCon=0; // 用于控制通信芯片75176的输入输出 IO_8 input serial baud (4800) ioACDriverInput; IO_10 output serial baud (4800) ioACDriverOutput; 那我怎么样可以收到设备返回的数据呢? 请版主或是其它高手给一个最好的实现方式,谢谢 答 1: 详细见 motorola数据手册 样例 答 2: 哪里有这样的data book? 我不知道用什么方式来检测串口有数据到达 when(??) { num_chars = io_in(ioACDriverInput, in_buffer, 20); } ???? 答 3: 同外部串口设备同步,建立握手信号。 详细见数据手册(代码样例)或者echelon美国网站有关下载文档。 答 4: http://www.echelon.com/support/documentation/Bulletin/ EIA-232C Serial Interfacing with the Neuron Chip |
|
工控产品网 | 工控方案网 | 工控企业网 | 联系我们 Copyright © 2005 - 2007 中国工业自动化信息网 |