Scheduler Expression in 800xA
Pls help me out
Voted best answer
What you asked for is described in chapter 7.2.8 Expression-based Scheduling of the IM Data Access and Reports, 3BUF001094-610 pages 482-483.
The Scheduling Definition aspect has an indicator for your expression that indicates the result of the expression you have entered (true/false).
Example of syntaxes that can be used:
$'UNIQUEOBJECTNAME_OR_PATH:ASPECT:PROPERTY' > 0
The Find Tool is an excellent method to find out if you have managed to find a unique path to an object. If you get one (1) match, the path/object is unique.
For example (using full path):
$'[Control Structure]Root/Control Network/Supportline_24x365/Applications/AlarmTestApp/Control Modules/AlarmTest01:Control Module:Signal'
$'[Control Structure]Root/Control Network/Supportline_24x365/Applications/AlarmTestApp/Control Modules/AlarmTest01:Control Module:CondState' > 2
The property you are trying to connect to the Scheduling Definition has bad quality set by its OPC Server.
Check your OPC Server!
Perhaps it has no connection established with the PLC?
Perhaps the PLC has suffered a power outage and needs to be downloaded again?
Perhaps the 800xA Connectivity Server or OPC DA Connector Service Provider has been shut down?
Perhaps the network to the server is down?
Here below an example (the Matrikon Simulation OPC Server I have used exposes simulated "bad" items as well as "good") of what happens if bad OPC quality is returned: