52 lines
1.4 KiB
HTML
52 lines
1.4 KiB
HTML
<script type="text/javascript">
|
|
RED.nodes.registerType('s7briqwrite', {
|
|
category: 'plc',
|
|
color: '#aaaaaa',
|
|
defaults: {
|
|
name: { value: "" }
|
|
},
|
|
inputs: 1,
|
|
outputs: 1,
|
|
icon: "serial.png",
|
|
label: function () {
|
|
return this.name || "s7 write";
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script type="text/html" data-template-name="s7briqwrite">
|
|
<div class="form-row">
|
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/html" data-help-name="s7briqread">
|
|
<p>Scrive variabile su s7</p>
|
|
</script>
|
|
<script type="text/javascript">
|
|
RED.nodes.registerType('s7briqread', {
|
|
category: 'plc',
|
|
color: '#aaaaaa',
|
|
defaults: {
|
|
name: { value: "" }
|
|
},
|
|
inputs: 1,
|
|
outputs: 1,
|
|
icon: "serial.png",
|
|
label: function () {
|
|
return this.name || "s7 read";
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script type="text/html" data-template-name="s7briqread">
|
|
<div class="form-row">
|
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/html" data-help-name="s7briqread">
|
|
<p>Scrive variabile su s7</p>
|
|
</script> |