Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Using the OPT Block with a StruxureWare Time Schedule Object.

Issue

Using the OPT Block with a StruxureWare Time Schedule Object.

Environment

Function Block Editor

Cause

The Xenta Time Schedule which the OPT Block has the ability to send a positive or negative minutes till next change. The StruxureWare Time Schedule dose not include this item.

This is the online help article that defines the parts of the OPT Block

Resolution

  1. In the Function Block Editor, create 3 RI blocks.
  2. One will be bound to the Value attribute of the Analog Schedule
  3. One will be bound the ScheduleDefault attribute of the Analog Schedule
  4. One to the TimeToNextTransition attribute of the Analog Schedule
  5. Create an XPB block with the function "A!=B".
  6. Connect the Value RI to A and the ScheduleDefault RI to B.
  7. Label this XPB "Status".
  8. Create an XPI block with the function "a?B*-1:B".
  9. Connect the status XPB block to "a" and the TimeToNextTransition RI to B.
  10. This Block can be connected to the TmL input of the OPT block.

This is an export of the demo application below which shows the bindings. (right click and choose Save link as...)


 

Tags (1)
Labels (1)
Version history
Revision #:
2 of 2
Last update:
a week ago
Updated by:
 
Contributors