Information regarding the communications features of specific Vision models is available from your local Unitronics distributor, or [email protected].
Using ActiveXperts Serial Port Component with ASP.NET (C#) ActiveXperts Serial Port Component is a software development kit (SDK) that enables the user to communicate to a device over a serial interface. Such a device can be: a weight indicator, a modem, a scanner, or any other device that is equiped with a serial port. Now that we have created our serial port object and opened the port, we now want to read from the serial port. Here are the basic read functions: (there are several other, but these are the simplest and will work for most applications) int readChar - returns the next char from the input buffer int readByte – returns the next byte from the input buffer string readLine – returns.
- Serial ports, also called communication (COM) ports, are bi-directional. Bi-directional communication allows each device to receive data as well as transmit it.
- In windows, the serial device will display in com port section of device manager with name as COM1, COM2, COM3, COM4. Generally, COM1 and COM2 refer to the hardware serial ports present in the PC and another com port number is export when any serial device or USB to serial device attached to PC.
Below is a general description of Vision communication features. For details, refer to the Vision Communications manual.
Serial Port Communication Asp Net Acces
Com Ports
Serial | All Vision controllers comprise RS232 serial communication ports. RS232/RS485 adaptors are available by separate order. Certain models, such as the Vision120, support both RS232 and RS485. For details on communications hardware settings, refer to the User Guides and documentation supplied with relevant models. |
USB | USB ports support project and OS download only, and are built into ERROR: Variable (USBprogramming) is undefined. controllers. Before you can use it, = 4 && typeof(BSPSPopupOnMouseOver) 'function') BSPSPopupOnMouseOver(event);'>you must install the USB driver to support USB function; this is available from Connection> Communication PC Settings> USB tab. Note that COM port 1 function is suspended when the USB port is physically connected to the PC. |
CANbus | Separate CANbus ports are built into specific controller models. |
Ethernet | Ethernet ports are available by separate order. Note that the Vision700 series includes a built-in Ethernet port. |
Note ♦ | All ports can be used simultaneously, with the exception of the USB port in ERROR: Variable (USBprogramming) is undefined. . For example, a single controller may use one serial port to send messages to a modem via RS232, another port to communicate with a frequency converter, while the controller engages in communications via its CANbus port. |
♦ | Standard programming cables do not provide connection points for pins 1 and 6. |
Initializing COM ports
- Serial and CANbus communication ports must be initialized in your control program using the COM Init FB, located on the FB's menu.
- The Ethernet port must be initialized using the Ethernet Card Init FB, located under Ethernet on the FB's menu.
Data Communications Options
Data Communications include all of the options shown below:
- GPRS
Communication FBs
Serial Port Communication Software
- SMS messaging
- GPRS
- MODBUS (serial)
- MODBUS IP (Ethernet)
- Communications Protocol FB
Serial Port Communication Asp Networks
PC-Vision communications
SD Card Remote Access
SD Card Explorer