Input Description

../_images/3a6912d6e38ae3ee0a33139000eba54e

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_SLOT

Data_Type Default_Value Range Unit
WORD - - -

The output DEV_SLOT provides the device slot which sent the alarm.

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-##