Input DescriptionΒΆ
EN (enable)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
In order to enable the function block processing, input EN has to be continuously set to TRUE. The function block is not processed if input EN = FALSE. While input is set to TRUE, the inputs are continuously checked for validity and plausibility. If this is not the case, processing is aborted and an error is displayed.
SLOT
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BYTE | 0 | - | - |
The input parameter SLOT chooses the ETHERCAT Communication Module to be queried. The slots are numbered from right to left. Slot number 1 is the one beside the CPU.
NODE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | 0 | - | - |
NODE represents the ETHERCAT address of the slave.
IDX (index)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | 0 | 0-65535 (depending on the ETHERCAT slave) | - |
Index of the object which should be read/written.
SUBIDX (subindex)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BYTE | 0 | 0-255 (depending on the ETHERCAT slave) | - |
Subindex of the object, which should be read/written.
LEN (length)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | 0 | depending on the ETHERCAT slave | - |
LEN represents the length of the data buffer.
DATA (object \ data)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| POINTER_TO_ARRAY_OF_BYTE | 0 | - | - |
Address of the data buffer where the value of the object (Index:Subindex) should be read. The needed buffer depends on the queried object.
TOUT (timeout)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| UINT | 0 | 0-65535 | ms |
Timeout constraint for the function block. If this is exceeded, the function block returns with ERR set to TRUE.