|
PRODUCTS
Design Services
VM-1 Controller
Starter Kit
Application Boards
Interface Hardware
Networking
Programming
Venom IDE
IN ACTION
Applications
Design Gallery
Online Demo
INFORMATION
VM-1 capabilities
Technical Support
Hardware data
Software Information
Software Downloads
FAQ
SALES
Price List
RoHS
Ordering
Terms & Conditions
Software License
|
Networking with the VM-1The VM-1 has a TCP/IP stack built into its programming language. It also has drivers for other networks, such as CAN, I2C, etc.The TCP/IP protocols enable it to communicate with other computers or controllers, over the Internet, or via local area networks (LAN). Because they are open standards and the basis of the Internet, many existing applications already use these protocols. The VM-1 can:
Extra Hardware
For dialup and GPRS communication a VM-1 serial port can be connected
to
a modem or GPRS terminal.
For Local Area Network (LAN) operation an Ethernet interface is
available as a
separate module
or built in to custom designs.
Venom Language Support
All networking is handled by the Protocol object built into the
Venom-SC language on every VM-1 controller.
Protocol makes either direct or implicit use of the following
protocols:
PPPPoint to Point Protocol: connection to an Internet Services provider, by modem or by GPRS terminal, using the VM-1's serial line. Our PPP stack handles:
ETHThe Ethernet Protocol object sets up an interface for sending and receiving IP packets through Ethernet hardware. Support includes routing packets through a LAN gateway to other networks and completely automatic ARP (MAC - IP address resolution).TCPTransmission Control Protocol : A raw TCP service providing a reliable bi-directional connection for sending and receiving streams of character data using any protocol (i.e. compatible with simple serial data).TelnetA simple Telnet service.IPThe IP module includes routing, assignment of a local IP address to outgoing packets and built-in loopback interface on the standard loopback address 127.0.0.1 to simplify testing.The IP object also includes a utility for converting IP adresses between 'dotted quad' strings like "129.168.27.41" and a simple 32 bit integer value. ICMPThe standard ICMP echo service, better known as 'ping', is supported. A VM-1 responds to 'ping' requests and can measure the response time after sending a ping request to another network host.UDPUser Datagram Protocol: a datagram service for times where the overheads of repeatedly opening and closing a TCP connection would be excessive, such as:
DNSOur automatic cached DNS converts domain names to IP addresses and saves time by remembering recent lookupsTimeA clock calendar synchronised to GMT time servers on the Internet, providing time and date information indendently of the VM-1's optional real time clock hardware. This is used e.g. for date-stamping outgoing email (see below)SMTPSimple Mail Transfer Protocol for sending email: our SMTP client enables your Venom program to send email messages anywhere in the world.POP3Post Office Protocol version 3: collects mail from an ISP's mailbox so that you can send an email message to the VM-1. Typical uses might be to send coded commands, or to request data to be sent back by reply email.HTTPThe HTTP Protocol object enables the VM-1 to run a web server so that a system can be remotely monitored and controlled with any commonly available web browser. Full details on the HTTP page.FTPThe VM-1 supports File Transfer Protocol as both client and server.
The Venom Networking guide is now part of the Venom
documentation available in either Windows Help or PDF file
formats - see Software
Manuals page.
The Networking guide includes some simple example applications that can be copied and pasted into your program editor and adapted for your own purposes. |
Top
Top
Top