使用串口与计算机进行通讯。编写VB程序来访问串口显示数据。输出为RS-232C标准接口,波特率为300-9600、偶校验、7个数据位、2个停止位。所有字符均发送11位ASCII码,一个起始位。-use serial communication with the computer. VB prepared to access serial display data. Output for the RS-232C standard interface, baud rate for the 300 -9600, dual calibration, data-7, two bits. All characters are sent ASCII 11, a starting place. 下载
|
用VB写的,通过三菱FX1S系列的编程端口与电脑串口进行通讯,可对X、M、Y、D、T、C的寄存器进行读写控制,操作很简单、方便-VB written by Mitsubishi FX1S series of computer programming and serial port communication, the X, M, Y, D, T, C Register for literacy control, operation is very simple, convenient 下载
|
vb 串口通讯调试方法 现有电子秤一台,使用串口与计算机进行通讯。编写VB程序来访问串口,达到读取电子秤上显示的数据。该电子秤为BE01型仪表,输出为RS-232C标准接口,波特率为300-9600、偶校验、7个数据位、2个停止位。所有字符均发送11位ASCII码,一个起始位。在VB中与串口通讯需要引入控件MSComm串口通讯控件(在Microsoft Comm Control 6.0中)-vb serial communications debugging method existing electronic weighing a Taiwan, the use of serial communication with the computer. Preparation of VB to visit serial, electronic scales to read displayed on the data. The electronic scales for BE01-type instrument, the output of RS-232C standard interface, baud rate to 300-9600. Dual-checking, seven data bits, stop at two. All characters are sending ASCII 11, a starting place. In VB serial communications needs with the introduction of MSComm control serial communication controller (in Microsoft Co. Control 6.0 mm) 下载
|
基于VB实现PC机与单片机的串行通讯 随着计算机技术尤其是单片微型机技术的发展,人们已越来越多地采用单片机来对一些工业控制系统中如温度、流量和压力等参数进行检测和控制。PC机具有强大的监控和管理功能,而单片机则具有快速及灵活的控制特点,通过PC机的RS-232串行接口与外部设备进行通信,是许多测控系统中常用的一种通信解决方案。因此如何实现PC机与单片机之间的通讯具有非常重要的现实意义。本文将论述在VB环境下PC机与单片机之间实现串行通讯的软硬件方案。PC机的通讯程序使用Visual Basic编写,VB是Microsoft公司推出的Windows应用程序开发工具,因其具有界面友好,编程简便等优点而受到广泛的使用,而且 Visual Basic 6.0 版本带有专门实现串行通讯的MSCOMM控件。-VB-based PC and SCM serial communication with the computer technology, especially the single-chip microcomputer technology the development, it has been increasingly used to SCM for some industrial control systems such as temperature, flow and pressure parameters detection and control. PC with a powerful monitoring and management capabilities, and SCM has a rapid and flexible control characteristics, PC through the RS-232 serial interface with external communications equipment, many control systems are commonly used in a communications solutions. So how PC and communication between the microcontroller is a very important practical significance. This paper will describe the environment in VB PC and microcontroller serial communication between the hardware and software programs. PC communicat 下载
|