Logic Engine Overview
The ABLE™ Logic Engine (the "LE" in "ABLE") is a windows service which reads a configuration file sent to it from the ABLE™ or PEER™ IoT Configuration Utility, and performs actions based thereon:
Subscribes all the OPC items for all assets in the OPC Server
Scans through all conditions of every asset in the plant
Determines which condition should catch based on the evaluation of each of its logic elements, and the values of all the OPC items referenced therein
If a new condition is detected, creates a new event based on it
Evaluates the delta of any counter tags to incremement their value for the current event
Communicates the current state, reason, totalized counter value, etc to FactoryView for display and storage in the database
Fires any actions which evaluate to true based on their own logic (i.e. setting values in the PLC, creating or updating PEER™ tickets, etc)
Buffers all of the event data if there is a disconnection from the MQTT Broker, and waits to forward all the stored data when the connection is re-established