-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang=en class="js csstransforms3d"><head><meta charset=utf-8><meta name=description content><link rel=icon href=./images/favicon.png type=image/png><title>404 Page not found</title><link href=./css/nucleus.css?1726132216 rel=stylesheet><link href=./css/fontawesome-all.min.css?1726132216 rel=stylesheet><link href=./css/hybrid.css?1726132216 rel=stylesheet><link href=./css/featherlight.min.css?1726132216 rel=stylesheet><link href=./css/perfect-scrollbar.min.css?1726132216 rel=stylesheet><link href=./css/theme.css?1726132216 rel=stylesheet><link href=./css/hugo-theme.css?1726132216 rel=stylesheet><link href=./css/theme-green.css?1726132216 rel=stylesheet><style>:root #header+#content>#left>#rlblock_left{display:none!important}p,li,ul{text-align:center}ul{list-style-type:none}</style></head><body data-url=./><section id=body style=margin-left:0><div id=overlay></div><div id=chapter><div id=body-inner><h1>Error</h1><p></p><p>Woops. Looks like this page doesn't exist ¯\_(ツ)_/¯.</p><p></p><p><a href=./>Go to homepage</a></p><p><img src=./images/gopher-404.jpg style=width:50% alt="Page not found!"></p></div></div></section></body></html> | ||
<!doctype html><html lang=en class="js csstransforms3d"><head><meta charset=utf-8><meta name=description content><link rel=icon href=./images/favicon.png type=image/png><title>404 Page not found</title><link href=./css/nucleus.css?1726134222 rel=stylesheet><link href=./css/fontawesome-all.min.css?1726134222 rel=stylesheet><link href=./css/hybrid.css?1726134222 rel=stylesheet><link href=./css/featherlight.min.css?1726134222 rel=stylesheet><link href=./css/perfect-scrollbar.min.css?1726134222 rel=stylesheet><link href=./css/theme.css?1726134222 rel=stylesheet><link href=./css/hugo-theme.css?1726134222 rel=stylesheet><link href=./css/theme-green.css?1726134222 rel=stylesheet><style>:root #header+#content>#left>#rlblock_left{display:none!important}p,li,ul{text-align:center}ul{list-style-type:none}</style></head><body data-url=./><section id=body style=margin-left:0><div id=overlay></div><div id=chapter><div id=body-inner><h1>Error</h1><p></p><p>Woops. Looks like this page doesn't exist ¯\_(ツ)_/¯.</p><p></p><p><a href=./>Go to homepage</a></p><p><img src=./images/gopher-404.jpg style=width:50% alt="Page not found!"></p></div></div></section></body></html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PLC on ecmccfg</title><link>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/</link><description>Recent content in PLC on ecmccfg</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/index.xml" rel="self" type="application/rss+xml"/><item><title>syntax</title><link>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/plcsyntax/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/plcsyntax/</guid><description>In ECMC, PLCs are based on the exprtk expression evaluation library. For detailed syntax help please visit the exprtk website | ||
common errors, misconceptions and info operators :=: assignment = or ==: equal comparison functions PLC do not immediately write to the bus! The PLC will excecute synchronous to the cycle, or at an integer fraction of it. The prcessed data will be send to the bus with the next cycle.</description></item><item><title>function libs</title><link>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/function_libs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/function_libs/</guid><description>PLC function libs: Function libs can be loaded into ecmc-PLCs | ||
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}loadPLCLib.cmd, &quot;FILE=./plc/test.plc_lib, PLC_MACROS='OFFSET=3'&quot; The functions must be defined accordning to template: | ||
function &lt;name&gt;(&lt;param1&gt;,...&lt;param5&gt;) { &lt;code body&gt;; } also without param is allowed: function &lt;name&gt;() { &lt;code body&gt;; } For syntax of the &ldquo;code body&rdquo;, check the exprtk website. Several functions can be defined in the same file. The parameters aswell as the return value must be scalars, however, local vectors can be defined and used in calculations (initiations of vector can be done with MACROS, constants or parameters).</description></item><item><title>best practice</title><link>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/best_practice/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/best_practice/</guid><description>best practice Here you can find some best practice configurations for common usecases. | ||
common errors, misconceptions and info operators :=: assignment = or ==: equal comparison functions PLC do not immediately write to the bus! The PLC will excecute synchronous to the cycle, or at an integer fraction of it. The prcessed data will be send to the bus with the next cycle.</description></item><item><title>function libs</title><link>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/function_libs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/function_libs/</guid><description>Function libraries can be loaded into ecmc PLCs by loadPLCLib.cmd: | ||
# \brief Script for loading a PLC from lib from file. # \details Adds a PLC defined in FILE. Also adds PLC specific EPICS PVs, i.e. for enable/disable. # \author Anders Sandström # \file # \param FILE PLC definition file, i.e. ./plc/homeSlit.plc # \param PLC_ID (optional) PLC number, default last loaded PLC # \param PLC_MACROS (optional) Substitution macros for PLC code.</description></item><item><title>best practice</title><link>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/best_practice/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://paulscherrerinstitute.github.io/ecmccfg/manual/plc_cfg/best_practice/</guid><description>best practice Here you can find some best practice configurations for common usecases. | ||
Macros MSI include, substitute Printouts The complete examples with starup files can be found here | ||
macros Use of macros makes the code more generic. When loading a PLC file with &ldquo;loadPLCFile.cmd&rdquo;, custom macros can be defined in &ldquo;PLC_MACROS&rdquo;: | ||
${SCRIPTEXEC} ${ecmccfg_DIR}loadPLCFile.cmd, &#34;FILE=./cfg/main.plc, INC=.:./cfg/, SAMPLE_RATE_MS=1000, PLC_MACROS=&#39;BO_S_ID=${ECMC_EC_SLAVE_NUM}&#39;&#34; NOTE: ECMC_EC_SLAVE_NUM expands to the ID of the last added slave.</description></item></channel></rss> |