23 (38)
7
WEB-PLC Editor
The WEB-PLC firmware provides an editor to edit the PLC program. The editor consists of two
components: a diagram to connect, view and modify the inputs and outputs of the device via
function blocks and I/O mapping to map inputs and outputs directly.
7.1
Creating an Application
The following example application of a timer shows how to create an application in the WEB-PLC
editor. For descriptions of all available units see
WEB-PLC Online Help — WEB-PLC Editor —
Diagram — Units
.
Fig. 9
Example application
►
Click button
Editor
.
→
Tab
Diagram
is opened.
►
To add a timer, click
Add unit
and select
Timing — Timer
.
→
Timer unit is added to the diagram.
►
To add a counter, click
Add unit
and select
Numerical — Counter
.
→
Counter unit is added to the diagram.
►
To add a constant, click
Add constant
.
→
Window
Define constant
is opened.
►
Enter the desired value, select a data type and click button
OK
.
→
Constant unit is added to the diagram.
►
To add a variable, click
Add variable
.
►
Select
As output — portalvar0
.
→
Variable unit is added to the diagram.
►
Rearrange units via drag and drop. The units should not overlap.
►
To connect the units, click and hold the left mouse button when the cursor is over the port
and drag the line that appears to the desired port.
SG-basic User Manual
4.01.0401.20001 1.1 en-US