Skip to content

Commit

Permalink
Auto-update from Github Actions Workflow
Browse files Browse the repository at this point in the history
Deployed from commit 534ceab (refs/heads/master)
  • Loading branch information
github-actions committed Sep 20, 2023
1 parent 111b43f commit 33569a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions master/_sources/lcls-twincat-motion_Library_source.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11383,6 +11383,11 @@ FB_PositionStateND_Core
END_VAR
stEpicsToPlc.nSetValue := eEnumSet;

fbInternal(
astMotionStage:=astMotionStageMax,
astPositionState:=astPositionStateMax,
);

fbRead(
astMotionStage:=astMotionStageMax,
astPositionState:=astPositionStateMax,
Expand All @@ -11401,11 +11406,6 @@ FB_PositionStateND_Core
bResetMove=>,
);

fbInternal(
astMotionStage:=astMotionStageMax,
astPositionState:=astPositionStateMax,
);

FOR nIterMotor := 1 TO MotionConstants.MAX_STATE_MOTORS DO
IF nCurrGoal > 0 THEN
astMoveGoals[nIterMotor] := astPositionStateMax[nIterMotor][nCurrGoal];
Expand Down
10 changes: 5 additions & 5 deletions master/lcls-twincat-motion_Library_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -11514,6 +11514,11 @@ <h2>FB_PositionStateND_Core<a class="headerlink" href="#fb-positionstatend-core"
<span class="n">END_VAR</span>
<span class="n">stEpicsToPlc</span><span class="o">.</span><span class="n">nSetValue</span> <span class="o">:=</span> <span class="n">eEnumSet</span><span class="p">;</span>

<span class="n">fbInternal</span><span class="p">(</span>
<span class="n">astMotionStage</span><span class="o">:=</span><span class="n">astMotionStageMax</span><span class="p">,</span>
<span class="n">astPositionState</span><span class="o">:=</span><span class="n">astPositionStateMax</span><span class="p">,</span>
<span class="p">);</span>

<span class="n">fbRead</span><span class="p">(</span>
<span class="n">astMotionStage</span><span class="o">:=</span><span class="n">astMotionStageMax</span><span class="p">,</span>
<span class="n">astPositionState</span><span class="o">:=</span><span class="n">astPositionStateMax</span><span class="p">,</span>
Expand All @@ -11532,11 +11537,6 @@ <h2>FB_PositionStateND_Core<a class="headerlink" href="#fb-positionstatend-core"
<span class="n">bResetMove</span><span class="o">=&gt;</span><span class="p">,</span>
<span class="p">);</span>

<span class="n">fbInternal</span><span class="p">(</span>
<span class="n">astMotionStage</span><span class="o">:=</span><span class="n">astMotionStageMax</span><span class="p">,</span>
<span class="n">astPositionState</span><span class="o">:=</span><span class="n">astPositionStateMax</span><span class="p">,</span>
<span class="p">);</span>

<span class="n">FOR</span> <span class="n">nIterMotor</span> <span class="o">:=</span> <span class="mi">1</span> <span class="n">TO</span> <span class="n">MotionConstants</span><span class="o">.</span><span class="n">MAX_STATE_MOTORS</span> <span class="n">DO</span>
<span class="n">IF</span> <span class="n">nCurrGoal</span> <span class="o">&gt;</span> <span class="mi">0</span> <span class="n">THEN</span>
<span class="n">astMoveGoals</span><span class="p">[</span><span class="n">nIterMotor</span><span class="p">]</span> <span class="o">:=</span> <span class="n">astPositionStateMax</span><span class="p">[</span><span class="n">nIterMotor</span><span class="p">][</span><span class="n">nCurrGoal</span><span class="p">];</span>
Expand Down

0 comments on commit 33569a7

Please sign in to comment.