New in the Community? Get started here

Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Building Automation Knowledge Base
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PSST, your community homepage is getting a new face - stay tuned and experience the change in few days

Using the OPT Block with a StruxureWare Time Schedule Object.


Using the OPT Block with a StruxureWare Time Schedule Object.


Function Block Editor


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


  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)
100% helpful (1/1)