From 9c5b48d80f0000344d661b39cb0d4d4c1ceebb2b Mon Sep 17 00:00:00 2001 From: jsullivan-anl Date: Fri, 22 Sep 2006 16:31:19 +0000 Subject: [PATCH] update readme file - include ethernet setup info --- motorApp/NewFocusSrc/README | 74 +++++++++++++++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 3 deletions(-) diff --git a/motorApp/NewFocusSrc/README b/motorApp/NewFocusSrc/README index f1f1ef57..4344fe7e 100644 --- a/motorApp/NewFocusSrc/README +++ b/motorApp/NewFocusSrc/README @@ -1,12 +1,76 @@ NewFocus PicoMotor Controller (87xx) =================================== -This driver is compatable with the 8750 and 8752 PicoMotor -Controllers. +This motorRecord driver supports the NewFocus 8750 and 8752 +PicoMotor Network Controllers. + 8750 - RS232 @ 19200Baud (8data, No Parity, 1stop) + 8752 - RS232 @ 19200Baud or Ethernet (port 23) + +Support Motor Drivers (daisychained) + 8753 - 3 Channel Open-loop + 8751 - 1 Channel Closed-loop + +Motor Resolution: + Standard Picomotor - ~30nm + Tiny Picomotor - ~100nm + + +Serial Port Config +=================== +DB9: Male + Tx - Pin 2 + Rx - Pin 3 + + Null-Modem (swap 2-3) required for IP-Octal breakout module + +Baud: 19200 (eight data bits, one stop bit, and no parity) **** EXAMPLE CONFIGURATION FOR VXWORKS TARGETS **** +Ethernet Config (8752 Only) +============================ +Commands sent using RS232 port + +EHCO ComA ON Turn echo on RS232 port (Computer) + +IPMODE (STAT, DHCP) - IP Mode (Static IP, Use DHCP Server) +IPADDR IP Setting +NETMASK Network Mask +MACADDR MAC Address +GATEWAY Network Gateway +SAV Save Configuration Settings + +After setting up ethernet parameters and SAV(ing) reset the controller. +The IPMODE and IPADDR do not take effect untill after a reboot. + +Example: +>IPMODE=STAT +>IPADDR=164.54.9.33 +>NETMASK=255.255.252.0 +>GATEWAY=164.54.8.1 +>SAV + + + +Other Info +=================================== +Test Versions: + VER + 8750 - Version 1.0.13 + 8752 - Version 1.5.0, 1.6.0 + +Detect driver types + DRT Driver Type (8752 Only) + 1 = 3 channel open loop (8753) + 2 = 1 channel closed loop (8751) + + + +EPICS SETUP +============ + + xxxApp/src/Makefile ------------------- xxx_vxWorks_LIBS += NewFocus @@ -18,9 +82,13 @@ include "devNewFocus.dbd" iocBoot/iocxxx/serial.cmd --------------------------- -tyGSAsynInit("serial1", "UART_0", 1, 19200,'N',1,8,'N',"\n","\r") /* NewFocus Pico Motor */ +tyGSAsynInit("serial1", "UART_0", 1, 19200,'N',1,8,'N',">","\r") /* NewFocus Pico Motor */ . +# Setup IP port for 8752 +drvAsynIPPortConfigure("serial3", "164.54.9.33:23", 0, 0, 0) +asynOctetSetInputEos("serial3",0,">") +asynOctetSetOutputEos("serial3",0,"\r") . .