Input Description

../_images/d04cdc02e38ae2680a33139000eba54e1

EN

Data_Type Default_Value Range Unit
BOOL FALSE TRUE/FALSE -

The input EN has to be driven in edge triggered mode.

The execution of the Function Block is started with a positive edge on the input EN.

In the first call it evaluates its inputs and creates a local copy of them. Afterwards it starts its internal algorithm. It may take several PLC task cycles until it is executed.

Once the execution is completed DONE and its other outputs are set. To start the Function Block again a new positive edge on the input EN has to be applied.

SLOT

Data_Type Default_Value Range Unit
BYTE - 1 … 6 -

The SLOT input selects the Communication Module serving the PROFINET IO-Device described by DEV_NAME. Valid values are 1…6, counting from right to left, starting with 1 as the first Communication Module left to the CPU.

For PM595 Processor Modules, internal PROFINET Communication Module with connector ETH3 is slot 5, ETH4 is slot 6.

DEV_NAME

Data_Type Default_Value Range Unit
STRING - - -

The input DEV_NAME describes the PROFINET IO Device to be queried. The string may have a maximum length of 240 characters, including the zero terminating char. In conjunction with the SLOT value this string selects the target IO Device of this request.

Valid values are (examples for the ABB devices, where the hash marks # are place holders for the address selected by the rotary switch at the front of the device):

ci501-pn-##

ci502-pn-##

DATA

Data_Type Default_Value Range Unit
BYTE - - -

Input DATA specifies via the ADR address operator the address of the variable where the received data block shall be stored. The size of the variable must be big enough to store the complete data block (e.g. BYTE array). And the format (BYTE, WORD etc.) of the data must be considered.