-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
60 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
drvAsynSerialPortConfigure("serial1", "/dev/ttyS0", 0, 0, 0) | ||
|
||
dbLoadTemplate("PMNC87xx.substitutions") | ||
|
||
# New Focus Picomotor Network Controller (model 8750/2) (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) | ||
PMNC87xxSetup(1, 2, 10) | ||
|
||
# New Focuc Picomotor Network Controller (model 8750/2) configuration parameters: | ||
# (1) controller# being configured, | ||
# (2) asyn port name (string) | ||
PMNC87xxConfig(0, "serial1") | ||
#!drvPMNC87xxdebug=4 |
11 changes: 11 additions & 0 deletions
11
iocs/newFocusIOC/iocBoot/iocNewFocus/PMNC87xx.substitutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
file "$(MOTOR)/db/motor.db" | ||
{ | ||
pattern | ||
{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} | ||
{newFocus:, 1, "m$(N)", "PMNC87xx", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} | ||
{newFocus:, 2, "m$(N)", "PMNC87xx", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} | ||
{newFocus:, 3, "m$(N)", "PMNC87xx", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} | ||
{newFocus:, 4, "m$(N)", "PMNC87xx", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} | ||
{newFocus:, 5, "m$(N)", "PMNC87xx", 0, 4, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} | ||
{newFocus:, 6, "m$(N)", "PMNC87xx", 0, 5, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} | ||
} |
6 changes: 3 additions & 3 deletions
6
iocs/newFocusIOC/iocBoot/iocNewFocus/newfocus8742.asyn.motor.substitutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
file "$(MOTOR)/db/basic_asyn_motor.db" | ||
{ | ||
pattern | ||
{P, N, M, DTYP, PORT, ADDR, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} | ||
{IOC:, 1, "X", "asynMotor", M0, 1, 0, 0, "X", counts, Pos, 100, 25, 1, 0, 0, 50, 1, 0, 0, 0, ""} | ||
{IOC:, 2, "Y", "asynMotor", M0, 2, 0, 0, "Y", counts, Pos, 100, 25, 1, 0, 0, 50, 1, 0, 0, 0, ""} | ||
{P, N, M, DTYP, PORT, ADDR, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} | ||
{newFocus:, 1, "X", "asynMotor", M0, 1, 0, 0, "X", counts, Pos, 100, 25, 1, 0, 0, 50, 1, 0, 0, 0, ""} | ||
{newFocus:, 2, "Y", "asynMotor", M0, 2, 0, 0, "Y", counts, Pos, 100, 25, 1, 0, 0, 50, 1, 0, 0, 0, ""} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters