FUNCTION_BLOCK E_TOGGLE
  • When an event occurs at the REQ input of an instance of this Function Block type, the output value OUT is toggled (complemented), and an event is then issued at the CNF output.
  • Although the implementation of this FB type is modeled by the network shown below, the actual implementation uses optimized Java™ code.

Test Procedure
  1. Open and run events/E_TOGGLE in the FBDK.
  2. Exercise the FB by clicking on the REQ event input.
Last updated: 2016-04-23.
©2016 Holobloc Inc.
Reuse is permitted under the Academic Free License version 3.0
with attribution to http://www.holobloc.com/doc/navigator.htm
Java™ is a registered trademark of Oracle Corporation and/or its affiliates.