Logic tables |
Home Back Next |
Logic tables are reading input data, processes them and are writing the results into output data.
Logic tables are used for calculations, for collecting data, processing data, for accessing databases, for sending e-mails and more. They are using variables and calculations for processing the results. Logic tables are working independently from OPC and other accesses. They can use this services for getting data or offering the results.
For creation of new logic table one of the wizards should be used. This saves time. Later the wizard generated logic table can be changed to normal hand made logic table for changing ore details of it. Use the Wizards if ever possible.
This chapter describes:
Hint: The logic tables will exist in the pure OPC Server for data optimizations only.
Handling The logic tables will be created and edited graphically. Elements can be placed everywhere.
The logic elements can be moved. Select them with mouse or touch, move them with mouse button down or the finger down. The new position will be marked. Release the mouse or tahe your finger lets it save the new position. Connections will be dragged automatically. If an element will be dropped over another the existing element will be moved away.
Delete elements with dragging them over the trashcan. They can be marked and deleted over the context menu or the menu line, too. If an element is marked it can be deleted with the "del" key. Elements can be arranged new with "Beautify Display". Additionally a predefined option "horizontal" and "vertical" exist. Optimizing will be recommended after heavily editing. The layout will be saved. If it is opened later it will be shown equal.
A hint: Moving elements does not affect the logic.
Create or edit the elements as following
An output can drive any number of inputs. An input can have one connection only. Lot of logic elements can have multiple inputs.
A logic table can contain multiple paths. For secure handling that all paths are working correctly they need to be combined logically on end. This can be done with connecting all to the final trigger reset element.
Logic tables can be diagnosed online. All states and variable values are showed. A hint: In subroutines the online diagnostics does not work.
|