Input Description

../_images/aed30247e38ad8d70a33139000eba54e1

EN (enable)

Data type: BOOL

If a FALSE to TRUE edge is applied to input EN, all further inputs are read in.

If the input values are valid, a corresponding request message is sent to the Communication Module. While this request message is processed, output DONE is set to FALSE.

If at least one input value is invalid, an error is indicated at output ERR. Additionally, the termination of the request processing is indicated by DONE = TRUE. While the request is processed, state changes at input EN are recognized but not evaluated.

SLOT (slot)

Data type: BYTE

At input SLOT the Communication Module slot (module number) is selected which should be used by the Function Block.

The internal Communication Module SLOT always has the module number 0. All external Communication Modules are serially numbered from right to left, starting with module number 1.

SLV (slave)

Data type: BYTE

At input SLV the bus address of the DP slave is specified, to which the user parameters shall be sent.

Valid addresses are values between 0 and 126.

DATA (data)

Data type: DWORD

At input DATA the address of the variable from which onwards the parameters to be sent are stored, is specified via the address operator ADR.

The data format and the length of the variable must correspond to the structure of the user parameters of the slave. It is recommended to first define a STRUCT data type which represents an image of the slave’s structure, and then to declare a variable of this type.

Please note that only the user parameters are to be specified at this point. The standard parameters cannot be modified during runtime. The standard parameter settings specified during configuration are automatically completed by the Function Block.

DATA_LEN (data length)

Data type: BYTE

The input DATA_LEN informs the Function Block about the length (number of bytes) of the user parameters to be transmitted.

The maximum length is 237 bytes.