forked from epics_driver_modules/motorBase
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
NewFocus PicoMotor Controler (8750)
|
|
===================================
|
|
|
|
|
|
**** EXAMPLE CONFIGURATION FOR VXWORKS TARGETS ****
|
|
|
|
xxxApp/src/Makefile
|
|
-------------------
|
|
xxx_vxWorks_LIBS += NewFocus
|
|
|
|
xxxApp/src/xxxCommonInclude.dbd
|
|
--------------------------------
|
|
include "devNewFocus.dbd"
|
|
|
|
|
|
iocBoot/iocxxx/serial.cmd
|
|
---------------------------
|
|
tyGSAsynInit("serial1", "UART_0", 1, 19200,'N',1,8,'N',"\n","\r") /* NewFocus Pico Motor */
|
|
|
|
.
|
|
.
|
|
.
|
|
|
|
# New Focus Picomotor Network Controller (model 8750) (setup parameters:
|
|
# (1) maximum number of controllers in system
|
|
# (2) maximum number of drivers per controller (1 - 3)
|
|
# (3) motor task polling rate (min=1Hz,max=60Hz)
|
|
#drvPMNC8750debug=0
|
|
PMNC8750Setup(1, 2, 10)
|
|
|
|
# New Focuc Picomotor Network Controller (model 8750) configuration parameters:
|
|
# (1) controller# being configured,
|
|
# (2) asyn port name (string)
|
|
PMNC8750Config(0, "serial2")
|
|
|
|
|
|
iocBoot/iocxxx/motor.substitutions
|
|
----------------------------------
|
|
{xxx:, 1, m$(N), "PMNC8750", 0, 0, "motor $(N)", degrees, Pos, 10, 0., 1., 0, 1, .2, 1e-3, 3, 100, -100, ""}
|
|
{xxx:, 2 m$(N), "PMNC8750", 0, 1, "motor $(N)", degrees, Pos, 60, 0., 1.5, 0, 1, .2, 1e-3, 3, 100, -100, ""}
|
|
{xxx:, 3, m$(N), "PMNC8750", 0, 2, "motor $(N)", degrees, Pos, 60, 0., 1., 0, 1, .2, 1e-3, 3, 100, -100, ""}
|
|
|