Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Accelerator Control System
epics-support
motorPhytron
Commits
81e04256
Commit
81e04256
authored
Aug 15, 2022
by
Kuner, Bernhard
Browse files
Don't reset to keep motor positions after restart of the IOC
parent
993c09da
Changes
1
Hide whitespace changes
Inline
Side-by-side
phytronApp/src/phytronAxisMotor.cpp
View file @
81e04256
...
...
@@ -119,6 +119,7 @@ phytronController::phytronController(const char *phytronPortName, const char *as
//phytronCreateAxis will search for the controller for axis registration
controllers
.
push_back
(
this
);
/* Don't reset to keep motor positions after restart of the IOC
//RESET THE CONTROLLER
sprintf(this->outString_, "CR");
phyStatus = sendPhytronCommand(this->outString_, this->inString_, MAX_CONTROLLER_STRING_SIZE, &response_len);
...
...
@@ -129,7 +130,7 @@ phytronController::phytronController(const char *phytronPortName, const char *as
//Wait for reset to finish
epicsThreadSleep(10.0);
*/
startPoller
(
movingPollPeriod
,
idlePollPeriod
,
5
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment