As shown above, an instance of this composite function block
type serves as an acceptor for an adapter connection of type
TEST_ADP
, that is, it
contains a socket of type TEST_ADP
. It contains
GUI (graphic user interface) elements that enable it to function as
a client 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 and tested, with the results shown below.
- The initial situation.
- The INIT event creates the GUI elements.
- Entering data and clicking REQ has no effect, since there is no socket to receive this event and data.
- Changing the state of QI and clicking REQ_EVT passes the value through to QO, independent of the plug interface.