-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
decoupling st1k4 from st3k4 when st3k4 is out and tune im2k0 lag para… #122
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1462,7 +1462,7 @@ Drive Status 4 (manually linked): | |
</Drive> | ||
<Controller Name="Ctrl" CtrType="1"> | ||
<CtrPara PriorControlFactor="1"> | ||
<PosDiffControl Range="0.1"/> | ||
<PosDiffControl Range="0.2"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't noted in the PR text but Tong has mentioned to me previously that this fails to complete a move once in a while with no obvious issues- widening the range here will probably mitigate this. |
||
<Observer BandWidth="20"/> | ||
</CtrPara> | ||
</Controller> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ VAR | |
{attribute 'TcLinkTo' := '.bFlowOk := TIIB[ST1K4-EL1004-E5]^Channel 1^Input'} | ||
fbFlowSwitch: FB_XTES_Flowswitch; | ||
|
||
|
||
END_VAR | ||
|
||
]]></Declaration> | ||
|
@@ -73,12 +74,13 @@ fbStates( | |
|
||
bST3K4_in := PMPS_GVL.stCurrentBeamParameters.aVetoDevices[PMPS.K_Stopper.ST3K4]; | ||
|
||
|
||
IF bST3K4_auto THEN | ||
IF bST3K4_in AND eEnumGet <> E_EpicsInOut.IN THEN | ||
eEnumSet := ENUM_EpicsInOut.IN; | ||
ELSIF NOT bST3K4_in AND eEnumGet <> E_EpicsInOut.OUT THEN | ||
{* ELSIF NOT bST3K4_in AND eEnumGet <> E_EpicsInOut.OUT THEN | ||
eEnumSet := ENUM_EpicsInOut.OUT; | ||
END_IF | ||
*} END_IF | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As always, it's ok to just delete these lines (we have version control to bring them back) |
||
END_IF | ||
|
||
fbFlowSwitch(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which parameter is this? Position lag monitoring time, changing from "default" to 0.1s?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it was 0.02s, now it is 0.1s