AddRequest

AddRequest 1:

Adds a Single/Cyclic Request (FB_S7CommSingleRequest, FB_S7CommCyclicRequest) to an S7 communication connection (FB_S7CommConnection). Read/Write commands can be defined on the respective request type of the added object.

Syntax

METHOD AddRequest : BOOL
VAR_INPUT
    ipRequest : ITF_S7CommRequest;
END_VAR

AddRequest 2: Return value

Name

Type

Description

AddRequest

BOOL

TRUE if the method was carried out correctly. In the event of an error, the error outputs of the function block provide further information on the cause of the fault.

AddRequest 3: Inputs

Name

Type

Description

ipRequest

ITF_S7CommRequest

Single/Cyclic Request Object