Chapter 5
53
The graphical user interface
5.6.1
Exercise for using the logic editor
In the
Hardware configuration
view combine a CPU module, at least one
WS0-XTIO module and one element.
Switch to the
Logic editor
by clicking the tab of the same name.
In the selection window for
Inputs
,
Function block
and
Outputs
, click
Inputs
and
drag an input from the list onto the worksheet. You can mark several inputs if you
click them while holding down the Ctrl key or if you click the first and last in a
series while holding down the Shift key. Then you can drag all marked inputs to
the worksheet simultaneously.
In the selection window for
Inputs
,
Function block
and
Outputs
, click
Function
block
and drag an application-specific or logic function block from the list onto the
worksheet. The function block will be displayed orange while not all of its inputs
have been connected.
In the selection window for
Inputs
,
Function block
and
Outputs
click
Outputs
and
drag an output from the list onto the worksheet.
The inputs and outputs are marked in color in the logic editor depending on their
function:
– gray: non-safe
– yellow: safe
– blue: diagnostics
Connect the node of the input with an input field of the function block (node) and an
output (node) of the function block with the node of the output. To do so, click one
node with the left mouse button, hold the left mouse button pressed and drag the
cursor to the node with which the first node is to be connected. Once all inputs of
the function block have been connected, the function block is displayed yellow.
Alternatively it is possible to place and connect inputs or outputs in one step. Drag
an input or output while keeping the left mouse button pressed to the desired
function block input or output node. If the mouse pointer hovers over the node it will
be highlighted. Then drag the input or output to the place on the worksheet where it
shall be positioned and release the left mouse button.
While holding down the Ctrl key you can drag and drop the end of an already
existing connection line from one node to another. This is useful to reassign a
connection without having to delete it first.
Mark the input, function block, output and the connections by clicking them or by
dragging with the left mouse button pressed and then position as desired.
In the selection window for
Inputs
,
Function block
and
Outputs
, click
FB preview
.
A preview of the respective element or the details of a function block are displayed
in the
FB preview
window when you move the cursor over it.
To replace one function block with another function block, drag the required function
block from the selection list over a function block already positioned until the
existing function block is highlighted green, and then release the left mouse button.
You are prompted as to whether you want to replace the function block positioned
previously with the new function block.
Using the right mouse button, click an input or output element in the logic editor to
show the logic pages on which the element clicked is used.
In order to delete an element from the worksheet, right-click it and select the
Delete
command from the context menu.
Exercise
Note
Summary of Contents for SW1DNN-WS0ADR-B
Page 2: ......
Page 288: ...Chapter 15 285 Annex ...
Page 289: ...Chapter 15 286 Annex ...
Page 290: ...Chapter 15 287 Annex ...
Page 291: ...Chapter 15 288 Annex ...
Page 292: ...Chapter 15 289 Annex ...
Page 293: ...Chapter 15 290 Annex ...
Page 294: ...Chapter 15 291 Annex ...
Page 295: ...Chapter 15 292 Annex ...
Page 296: ...Chapter 15 293 Annex ...
Page 297: ...Chapter 15 294 Annex ...
Page 298: ...Chapter 15 295 Annex 15 1 2 Example application Wood scanner ...
Page 299: ...Chapter 15 296 Annex ...
Page 300: ...Chapter 15 297 Annex ...
Page 301: ...Chapter 15 298 Annex ...
Page 302: ...Chapter 15 299 Annex ...
Page 303: ...Chapter 15 300 Annex ...
Page 304: ...Chapter 15 301 Annex ...
Page 305: ...Chapter 15 302 Annex ...
Page 306: ...Chapter 15 303 Annex ...
Page 307: ...Chapter 15 304 Annex 15 1 3 Example application Ramp down detection ...
Page 308: ...Chapter 15 305 Annex ...
Page 309: ...Chapter 15 306 Annex ...
Page 310: ...Chapter 15 307 Annex ...
Page 311: ...Chapter 15 308 Annex ...
Page 312: ...Chapter 15 309 Annex ...
Page 313: ...Chapter 15 310 Annex ...
Page 314: ...Chapter 15 311 Annex ...
Page 321: ......