Input Description

../_images/9826cf73e3899f510a33139000eba54e1

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 0 0 … 4 (6) -

At input SLOT, the Communication Module slot is specified which should be used by the Function Block.

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

NODE

Data_Type Default_Value Range Unit
BYTE - 1…127 -

The Input NODE specifies the node ID of the slave.

OBJ_IDX

Data_Type Default_Value Range Unit
WORD - - -

Input OBJ_IDX is used to specify the object index of the object which is to be written.

SUB_IDX

Data_Type Default_Value Range Unit
BYTE - - -

Input SUB_IDX is used to specify the sub index of the object which is to be written.

DATA

Data_Type Default_Value Range Unit
DWORD - - -

The input DATA is used to provide the pointer to data structure of the object which is to be written.

DATA_LEN

Data_Type Default_Value Range Unit
BYTE - - -

Input DATA_LEN is used to specify the size of the data structure which is provided at Input DATA.