Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxx-R6-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
synApps_6_1_Working
xxx-R6-1
Commits
f7e8b98b
Commit
f7e8b98b
authored
18 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
new file
parent
9a6d64b4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iocBoot/iocCygwin/motorSim.cmd
+9
-0
9 additions, 0 deletions
iocBoot/iocCygwin/motorSim.cmd
iocBoot/iocCygwin/motorSim.substitutions
+13
-0
13 additions, 0 deletions
iocBoot/iocCygwin/motorSim.substitutions
with
22 additions
and
0 deletions
iocBoot/iocCygwin/motorSim.cmd
0 → 100644
+
9
−
0
View file @
f7e8b98b
#
The
is
the
ASYN
example
for
communication
to
4
simulated
motors
#
"#
!
"
marks
lines
that
can
be
uncommented
.
dbLoadTemplate
(
"motorSim.substitutions"
)
#
Create
simulated
motors
:
(
start
card
,
start
axis
,
low
limit
,
high
limit
,
home
posn
,
#
cards
,
#
axes
to
setup
)
motorSimCreate
(
0
,
0
,
-
32000
,
32000
,
0
,
1
,
4
)
#
Setup
the
Asyn
layer
(
portname
,
low
-level
driver
drvet
name
,
card
,
number
of
axes
on
card
)
drvAsynMotorConfigure
(
"motorSim1"
,
"motorSim"
,
0
,
4
)
This diff is collapsed.
Click to expand it.
iocBoot/iocCygwin/motorSim.substitutions
0 → 100644
+
13
−
0
View file @
f7e8b98b
file "$(MOTOR)/db/basic_asyn_motor.db"
{
pattern
{P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
{xxx:, 1, "m$(N)", "asynMotor", motorSim1, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 2, "m$(N)", "asynMotor", motorSim1, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 3, "m$(N)", "asynMotor", motorSim1, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 4, "m$(N)", "asynMotor", motorSim1, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 5, "m$(N)", "asynMotor", motorSim1, 4, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 6, "m$(N)", "asynMotor", motorSim1, 5, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 7, "m$(N)", "asynMotor", motorSim1, 6, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
{xxx:, 8, "m$(N)", "asynMotor", motorSim1, 7, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment