FUNCTION_BLOCK TEST_ADP_PLG

This composite function block type is a provider for an adapter connection of type TEST_ADP, that is, it contains a plug of type TEST_ADP. It contains GUI (graphic user interface) elements that enable it to function as a server for the testing of the adapter connection. Additional event and data inputs (REQ_EVT WITH QI) and outputs (CNF_EVT WITH QO) are provided to illustrate a separate event/data "pass-through" functionality, independent of the plug interface.
See the TEST_ADP_SYS configuration for an example of the use of an instance of this type.
An instance of this type can be launched in a test window with the Run button of the FBDK, with the results shown below.
1. The initial situation. 2. The INIT event creates the GUI elements. 3. Entering data and clicking CNF has no effect, since there is no socket to receive this event and data. 4. Changing the state of QI and clicking REQ_EVT passes the value through to QO, independent of the plug interface.
Last updated: 2011-01-08.
©2011 Holobloc Inc.
Licensed under the Academic Free License version 3.0.