42  Computer Interfacing 
 
The USB Flash Drive contains communication drivers and software for operating 
the controller/driver. 
5.3.1  USB Command Termination  
Commands and queries sent to the 8742 Controller/Driver through the USB port 
must be terminated by a <LF> (line feed).  
All responses sent by the 8742 Controller/Driver are terminated with a <LF> (line 
feed).  
 
5.4  Ethernet Communication 
The default Ethernet configuration should work for most users.  Simply connect the 
8742 controller to your Ethernet router, install and run the Picomotor application 
software that came with the product.  After a few seconds, mostly depending on 
network TCP/IP negotiation with router and/or computer, the software should 
automatically ‘discover’ the controller on the network and Picomotor control may 
begin. Be aware the computer will not be able to discover the controller if the 
network does not have a DHCP server (included in most routers) because the 8742 
does not support auto-negotiation of IP addresses. If the network lacks a DHCP 
server, the 8742 must be configured for static IP addressing.  
This controller supports the following network protocols: IP, TCP, UDP, ICMP, 
DHCP, PPP, ARP.  Additionally, Sockets interfacing is supported. 
 
The 8742 provides various commands to help setup and tailor Ethernet 
communication to most needs.  (See below)  
COMMAND  DESCRIPTION 
GATEWAY  Default gateway address 
GATEWAY?  Default gateway address 
query 
HOSTNAME  Hostname 
HOSTNAME?  Hostname query 
IPADDR  IP address 
IPADDR?  IP address query 
IPMODE  IP mode 
IPMODE?  IP mode query 
MACADDR?  MAC address query 
NETMASK  Network mask address 
NETMASK?  Network mask address query 
Table 2   Ethernet Related Commands