With the HOOC Soft-PLC, data point values can be processed in the simplest way. Thus, both simple and complex control tasks can be solved with the HOOC Soft-PLC. The Soft-PLC works cycle-oriented with an interval of one second and processes all data with the type Float64.
Description | Shortcut | |
---|---|---|
Import program | - | |
Export program | - | |
Download program as image | - | |
Reset changes in the editor | - | |
Undo | Control+z | |
Redo | Control+y | |
Apply program changes | Control+s | |
Start PLC program | F5 | |
Stop PLC program (reset origin) | Shift+F5 | |
Pause PLC program | F5 | |
Run a program cycle | F10 |
For the creation of the Soft-PLC program, a standard library is available as well as the data points in the sidebar. An element can be dragged into the program window using drag and drop.
In the tab the standard library is listed. The key combination Control+1 can be used to switch to this tab.
Group | Functions |
---|---|
Common | Kommentar |
Local IO\’s | Constants, local variables, sampled local variables |
Logical operators | AND, NAND, NOR, NOT, OR, XNOR, XOR |
Relational operator | EQ, GE, GT, LE, LT, NE |
Arithmetic operators | ADD, DIV, LIMIT, MAX, MIN, MODULO, MUL, SUB, TRUNC |
Bit/Byte Functions | AND_BITWISE, EXTRACT, NOT_BITWISE, OR_BITWISE, PACK, PUTBIT, SHL, SHR |
Stateful | MOVE, SR |
Multiplexer | MUX, SEL |
Counter | CTD, CTU, CTUD |
Edge detection | E_TRIG, F_TRIG, R_TRIG |
Timer | BLINK, TIME, TOF, TON, WEEKLY_TIMER |
An optional help display of a standard library block can be shown by double-clicking on it.
In the tab the collected data points are listed. You can switch to this tab by pressing the key combination Control+2.
Typ | Beschreibung |
---|---|
Read data point value. The input block can be extended. This means that in addition to the data point value, the flags read error and transient value are also available. | |
Write data point value |
When using a datapoint with the conversion Weekly Timer (U32 of a virtual device) the single values are led out separately to use for example directly with the standard library block WEEKLY_TIMER.