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 21c55ce (refs/heads/master)
  • Loading branch information
github-actions committed May 23, 2024
1 parent 9ea6e2c commit 8a17adc
Show file tree
Hide file tree
Showing 21 changed files with 191 additions and 192 deletions.
2 changes: 1 addition & 1 deletion master/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8bf3e96b7cbf85216e18756266d10e8e
config: aed5d0e1bb7997703554d9b921ba1159
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion master/L2SIVacuumLib_L2SIVacuum_epics.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down
83 changes: 31 additions & 52 deletions master/L2SIVacuumLib_L2SIVacuum_source.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions master/L2SIVacuumLib_L2SIVacuum_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down Expand Up @@ -140,7 +140,7 @@ <h1>Settings<a class="headerlink" href="#settings" title="Link to this heading">
</section>
<section id="pragmas">
<span id="l2sivacuum-pragmas"></span><h1>Pragmas<a class="headerlink" href="#pragmas" title="Link to this heading"></a></h1>
<p>Total pragmas found: 388
<p>Total pragmas found: 385
Total linter errors: 0</p>
</section>
<section id="libraries">
Expand Down Expand Up @@ -2477,7 +2477,7 @@ <h2>TC_EVENTS<a class="headerlink" href="#tc-events" title="Link to this heading
<tbody>
<tr class="row-even"><td><p>TC_EVENTS.LCLSGeneralEventClass</p></td>
<td><p>LCLSGeneralEventClass</p></td>
<td><p>526825024 (960)</p></td>
<td><p>526840768 (960)</p></td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion master/L2SIVacuumLib_boxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion master/L2SIVacuumLib_ethercat.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion master/L2SIVacuumLib_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion master/L2SIVacuumLib_nc.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions master/L2SIVacuumLib_pragmas.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/docs-versions-menu.js?v=3d6a1aea"></script>
<script src="_static/js/theme.js"></script>
Expand Down Expand Up @@ -106,14 +106,14 @@ <h1>Pragmas<a class="headerlink" href="#pragmas" title="Link to this heading">
</thead>
<tbody>
<tr class="row-even"><td><p><a class="reference internal" href="#l2sivacuum-overview-pragmas"><span class="std std-ref">L2SIVacuum</span></a></p></td>
<td><p>388</p></td>
<td><p>385</p></td>
<td><p>0</p></td>
</tr>
</tbody>
</table>
<section id="l2sivacuum">
<span id="l2sivacuum-overview-pragmas"></span><h2>L2SIVacuum<a class="headerlink" href="#l2sivacuum" title="Link to this heading"></a></h2>
<p>Total pragmas found: 388
<p>Total pragmas found: 385
Total linter errors: 0</p>
</section>
</section>
Expand Down
84 changes: 30 additions & 54 deletions master/_sources/L2SIVacuumLib_L2SIVacuum_source.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,23 +196,6 @@ E_VAT590_PID_CTRL



E_VAT590_PressureSensor
^^^^^^^^^^^^^^^^^^^^^^^

::

{attribute 'qualified_only'}
{attribute 'strict'}
TYPE E_VAT590_PressureSensor :
(
NOT_DEFINED := 0,
MKS500 := 1
) USINT := MKS500;
END_TYPE




E_VCN
^^^^^

Expand Down Expand Up @@ -2129,11 +2112,6 @@ ST_VCN_VAT590
'}
stValveStatus : ST_VAT590_STATUS; //All Valve status readbacks
{attribute 'pytmc' := '
pv: PRES_SENS
io: io
'}
ePressureSensor : E_VAT590_PressureSensor; //Select pressure sensor
{attribute 'pytmc' := '
pv: REM_CTRL
io: io
'}
Expand Down Expand Up @@ -2176,7 +2154,6 @@ ST_VCN_VAT590

Related:
* `E_VAT590_AccessMode`_
* `E_VAT590_PressureSensor`_
* `E_VCN_VAT590`_
* `ST_VAT590_COE`_
* `ST_VAT590_STATUS`_
Expand Down Expand Up @@ -11019,6 +10996,12 @@ FB_VCN_VAT590
cClosePosition : REAL := 0.0; // Default position setpoint lower scale value
cPresSPUpLim : REAL := 1E+6; // Default pressure setpoint upper scale value
cPresSPLowLim : REAL := 0; // Default pressure setpoint lower scale value
cMinPress : REAL := 1e-11; // Default Min. pressure in Torr that can be used and requested
cMaxPress : REAL := 1e-2; // Default Max. pressure in Torr that can be used and requested
cBasePress : REAL := 1E-11; // Pressure sensor base value
cPressRawSlope : REAL := 1E+5; // Slope (in Units per decade) used for conversion of pressure in Torr to valve External Digital pressure sensor 1 input raw value (0-1000000)
cPressRawBase : REAL := 1E+5; // Valve analog output base(in Units per decade) defined for how much the curve is shifted

cPressCtrl : ST_CoEIndSub := (nIndex := 16#2199, nSubIndex := 0); // Selected pressure controller CoE register
cSensorDelay_AD : ST_CoEIndSub := (nIndex := 16#219A, nSubIndex := 0); // Adaptive DS controller Sensor Delay CoE register
cRampTime_AD : ST_CoEIndSub := (nIndex := 16#219B, nSubIndex := 0); // Adaptive DS controller Ramp Time CoE register
Expand All @@ -11043,12 +11026,11 @@ FB_VCN_VAT590
VAR
fCalcPosSP : REAL := 0;
fCalcPresSP : REAL := 0;
eValveModeSP : E_ControlModeSP;
fPressRaw : REAL := 0; // Ranges 0 to 1000000 (or 0.0 to 10V) (1E-12 to 1E-2)
eValveModeSP : E_ControlModeSP; // Control Mode setpoint internal variable
fReqPos : REAL; // Requested position internal variable
fReqPres : REAL; // Requested pressure internal variable
fPresLowLim : REAL := 1E-10; // Pressure sensor lower scale value
fSlope : REAL := 1E+5; // Slope (Units per decade) used for conversion from Torr units
fVbase : REAL := 1E+5; // Vbase (Units per decade) defined for how much the curve is shifted

bRemAcsToggle : BOOL; // Remote access control bit
//timer for zero function
tZeroTogg : TON := (PT := T#1S);
Expand Down Expand Up @@ -11086,6 +11068,7 @@ FB_VCN_VAT590
// Ethercat Interface Outputs
o_nRawPositionSP AT %Q* : DINT; // Position setpoint
o_nRawPressureSP AT %Q* : DINT; // Pressure setpoint
o_nRawPressure AT %Q* : DINT; // Raw pressure output, eliminate need for external connection of AI, ranges 0 to 1000000 (or 0.0 to 10V) (1E-12 Torr to 1E-2 Torr)
o_eCtrlModeSP AT %Q* : E_ControlModeSP; // Valve control mode setpoint
o_stGenCtrlSP AT %Q* : ST_GeneralControlSP;// General Control setpoint
(*Ethercat Interface Status Check*)
Expand All @@ -11105,7 +11088,7 @@ FB_VCN_VAT590
It provides:
Valve position ceiling
Interlock
CoE Interface
CoE Interface R/W

It could be used for:
Valve position/flow linearization
Expand Down Expand Up @@ -11157,35 +11140,28 @@ FB_VCN_VAT590
stVcnVat590.eValveControl := E_VCN_VAT590.CloseValve;
END_IF

(*Requested Position calculation*)
(*Position SP calculation*)
fReqPos := LIMIT(0, fReqPos, fUpperLimit);
fCalcPosSP := fReqPos * (cOpenPosition-cClosePosition)/100 + cClosePosition;
fCalcPosSP := LIMIT(cClosePosition, fCalcPosSP, cOpenPosition); //The requested position SP should remain within this range

(*Pressure calculation*)
(*Pressure SP calculation*)
//Limit the input from EPICS between upper and lower limit defined for seleceted pressure sensor
fReqPres := LIMIT(fPresLowLim, fReqPres, fPresMaxLim);

// Calculate pressure readback and pressure setpoint according to selected pressure gauge
CASE stVcnVat590.ePressureSensor OF
E_VAT590_PressureSensor.MKS500:
fPresLowLim := 1.0E-10;
fSlope := 1E+5;
fVbase := 1E+5;
//Calcuate pressure setpoint
fCalcPresSP := fSlope * LOG(fReqPres/fPresLowLim) + fVbase;
fCalcPresSP := LIMIT(cPresSPLowLim, fCalcPresSP, cPresSPUpLim); //The requested pressure SP should remain within this range
//Calculate pressure readback in Torr units
stVcnVat590.fPressure := LREAL_TO_REAL(EXPT(10,((DINT_TO_REAL(stVcnVat590.nRawPressure)-fVbase)/fSlope + LOG(fPresLowLim))));
ELSE
fCalcPresSP := 0;
stVcnVat590.fPressure := 0;
END_CASE

(*Calculated Pressure SP and Pressure readback is 0 if Pressure sensor is not working*)
IF NOT (IG.xPRESS_OK AND IG.rPRESS < fPresRbMaxLim ) THEN
fReqPres := LIMIT(cMinPress, fReqPres, fPresMaxLim);
//Calcuate pressure setpoint
fCalcPresSP := cPressRawSlope * LOG(fReqPres/cBasePress) + cPressRawBase;
fCalcPresSP := LIMIT(cPresSPLowLim, fCalcPresSP, cPresSPUpLim); //The requested pressure SP should remain within this range

(*Calculated Pressure SP, Pressure readback and PressureRaw output value are 0 if Pressure sensor is not working*)
//Calculate PressureRaw value linked to the Valve's External Digital pressure sensor 1 input
//Pressure information from IG input is linked to stVcnVat590.fPressure
IF IG.xPRESS_OK THEN
stVcnVat590.fPressure := IG.rPRESS;
fPressRaw := cPressRawSlope * LOG(IG.rPRESS/cBasePress) + cPressRawBase;
ELSE
fCalcPresSP := 0;
stVcnVat590.fPressure := 0;
fPressRaw := 0;
END_IF

(*Zero function*)
Expand Down Expand Up @@ -11426,10 +11402,10 @@ FB_VCN_VAT590
ACTION ReadFromInput:
(*Read from EPICS*)
fUpperLimit := LIMIT(0, stVcnVat590.fPosSetLimit, 100);
fPresMaxLim := LIMIT(1.0E-10, stVcnVat590.fPresSetLimit, 1.0E-2);
fPresRbMaxLim := LIMIT(1.0E-10, stVcnVat590.fPresRdbkLimit, 1.0E-2);
fPresMaxLim := LIMIT(cMinPress, stVcnVat590.fPresSetLimit, cMaxPress);
fPresRbMaxLim := LIMIT(cMinPress, stVcnVat590.fPresRdbkLimit, cMaxPress);
fReqPos := LIMIT(0, stVcnVat590.fReqPosition, 100);
fReqPres := LIMIT(1.0E-10, stVcnVat590.fReqPressure, 1.0E-2);
fReqPres := LIMIT(cMinPress, stVcnVat590.fReqPressure, cMaxPress);

(*Read from VAT valve*)
stVcnVat590.stValveStatus.eControlMode := i_eControlMode;
Expand Down Expand Up @@ -11628,6 +11604,7 @@ FB_VCN_VAT590
o_eCtrlModeSP := eValveModeSP;
o_nRawPositionSP := REAL_TO_DINT(fCalcPosSP);
o_nRawPressureSP := REAL_TO_DINT(fCalcPresSP);
o_nRawPressure := REAL_TO_DINT(fPressRaw);
o_stGenCtrlSP.Bit0ExecuteZero := stVcnVat590.bZero;
o_stGenCtrlSP.Bit4AccessMode := bRemAcsToggle;
END_ACTION
Expand All @@ -11651,7 +11628,6 @@ Related:
* `E_ControlMode`_
* `E_ControlModeSP`_
* `E_FatalErrors`_
* `E_VAT590_PressureSensor`_
* `E_VCN_VAT590`_
* `FB_Valve`_
* `ST_CoEIndSub`_
Expand Down
4 changes: 2 additions & 2 deletions master/_sources/L2SIVacuumLib_L2SIVacuum_summary.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Settings
Pragmas
-------

Total pragmas found: 388
Total pragmas found: 385
Total linter errors: 0


Expand Down Expand Up @@ -781,7 +781,7 @@ TC_EVENTS
:header: Symbol, Type, Offset/Size
:align: center

TC_EVENTS.LCLSGeneralEventClass, LCLSGeneralEventClass, 526825024 (960)
TC_EVENTS.LCLSGeneralEventClass, LCLSGeneralEventClass, 526840768 (960)


TwinCAT_SystemInfoVarList
Expand Down
4 changes: 2 additions & 2 deletions master/_sources/L2SIVacuumLib_pragmas.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pragmas
:header: PLC Name, Total Pragmas, Errors
:align: center

:ref:`L2SIVacuum <L2SIVacuum_overview_pragmas>`, 388, 0
:ref:`L2SIVacuum <L2SIVacuum_overview_pragmas>`, 385, 0


.. _L2SIVacuum_overview_pragmas:
Expand All @@ -15,7 +15,7 @@ Pragmas
L2SIVacuum
^^^^^^^^^^

Total pragmas found: 388
Total pragmas found: 385
Total linter errors: 0


2 changes: 1 addition & 1 deletion master/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion master/_static/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
4 changes: 2 additions & 2 deletions master/_static/language_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];


/* Non-minified version is copied as a separate JS file, is available */
/* Non-minified version is copied as a separate JS file, if available */

/**
* Porter Stemmer
Expand Down
Loading

0 comments on commit 8a17adc

Please sign in to comment.