@vitormnm/node-red-instructions-ladder-iec-61131-3 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
RESET: { srcA: false, srcB: false, dest: true, category: 'Coil' }
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
RED.nodes.registerType('instructions-ladder-
|
|
27
|
+
RED.nodes.registerType('instructions-ladder-iec-61131-3', {
|
|
28
28
|
category: 'function',
|
|
29
29
|
color: '#C0392B',
|
|
30
30
|
defaults: {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<!-- ═══════════════════════════════════════════════════════════════════════
|
|
92
92
|
Edit Dialog
|
|
93
93
|
═══════════════════════════════════════════════════════════════════════ -->
|
|
94
|
-
<script type="text/html" data-template-name="instructions-ladder-
|
|
94
|
+
<script type="text/html" data-template-name="instructions-ladder-iec-61131-3">
|
|
95
95
|
|
|
96
96
|
<div class="form-row">
|
|
97
97
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
<!-- ═══════════════════════════════════════════════════════════════════════
|
|
168
168
|
Help Panel
|
|
169
169
|
═══════════════════════════════════════════════════════════════════════ -->
|
|
170
|
-
<script type="text/html" data-help-name="instructions-ladder-
|
|
170
|
+
<script type="text/html" data-help-name="instructions-ladder-iec-61131-3">
|
|
171
171
|
<p>
|
|
172
172
|
Simulates <strong>Ladder Logic</strong> instructions from
|
|
173
173
|
<em>Studio 5000 Logix Designer</em> (Rockwell Automation) inside Node-RED.
|
|
@@ -201,7 +201,7 @@ module.exports = function (RED) {
|
|
|
201
201
|
const ladderFunc = config.ladderFunc;
|
|
202
202
|
const dest = config.dest;
|
|
203
203
|
const destType = config.destType;
|
|
204
|
-
|
|
204
|
+
|
|
205
205
|
switch (destType) {
|
|
206
206
|
case 'msg':
|
|
207
207
|
if (resultOperation) {
|
|
@@ -251,5 +251,5 @@ module.exports = function (RED) {
|
|
|
251
251
|
node.on('close', function () { node.status({}); });
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
RED.nodes.registerType('instructions-ladder-
|
|
254
|
+
RED.nodes.registerType('instructions-ladder-iec-61131-3', instructions_ladder_IEC_61131_3);
|
|
255
255
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitormnm/node-red-instructions-ladder-iec-61131-3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"codesys"
|
|
14
14
|
],
|
|
15
15
|
"node-red": {
|
|
16
|
-
"nodes": {
|
|
17
16
|
"version": ">=2.0.0",
|
|
18
|
-
|
|
17
|
+
"nodes": {
|
|
18
|
+
"instructions-ladder-iec-61131-3": "instructions_ladder_IEC_61131_3.js"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"author": {
|