FUNCTION_BLOCK E_TRAIN
This is the E_TRAIN function block type for generation of a finite train of events as defined in Annex A of IEC 61499-1.
  • The normal_operation sequence illustrates the operation of an instance of this FB type when N=3. The increment operation adds 1 to the iteration count CV, and the computeDelay operation converts the DT value to an internal representation that will support the microsecond resolution of the TIME data type.
  • The no_restart sequence illustrates that the occurrence of a START event has no effect during operation of the cycle.
  • The cycle_canceled sequence illustrates the cancellation of the cycle by a STOP event after two iterations.
Test Procedure
  1. Open and run events/E_TRAIN in the FBDK.
  2. Enter data for the input variables, for example DT=t#1.5s and N=4.
  3. Exercise the FB by clicking on the event inputs.
  4. Use the SERVICE E_TRAIN/resource sequences documented at left and below for guidance in testing.

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