devices_scripting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devices_scripting [2020/05/12 22:15] – wikiadmin | devices_scripting [2025/01/03 11:02] (current) – wikiadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **Scripting with TransSECS Devices** | + | ====Scripting with TransSECS Devices==== |
| - | To write a value to a server in the devices the format is: | + | [[Scripting for PLC Servers]] |
| + | (Read/Write values | ||
| + | [[" | ||
| + | (Setting Server outputs and values) | ||
| - | ''/ | + | [[Checking Quality on an incomingValue Triggering a Script]] |
| + | [[devices_databases|Scripting for Databases]] | ||
| + | (Recipe Management) | ||
| - | For example, | + | [[Scripting |
| - | <code javascript> | + | |
| - | /Devices/ | + | |
| - | </ | + | |
| - | TransSECS is thread safe and so you can create threads in a script. | + | [[Setting |
| - | <code javascript> | + | [[Storing Reports and Events to a Log File]] |
| - | var Thread = Java.type(" | + | |
| - | var Runnable = Java.type(" | + | |
| - | // declare our thread | + | [[FTP File Upload Example]] |
| - | this.thread = new Thread(new Runnable(){ | + | |
| - | run: function () { | + | |
| - | / | + | |
| - | print(" | + | |
| - | } | + | |
| - | }); | + | |
| - | + | ||
| - | // start our thread | + | |
| - | this.thread.start(); | + | |
| - | </ | + | |
devices_scripting.1589336136.txt.gz · Last modified: by wikiadmin
