Input Description¶
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.
DEV_NAME
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
STRING | - | - | - |
Input DEV_NAME describes the PROFINET IO Device to be queried. The string has 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, the hash marks # are place holders for the address selected by the rotary switch at the front of the device):
ci506-pn-##
NODE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | 1 - 127 | - |
Input NODE describes the target CANOPEN slave node ID for which the NMT command is intended.
OBJ_IDX
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | - | - |
Input OBJ_IDX describes the index of the CANOPEN object in the slave dictionary (refer to the CANOPEN slave EDS file) to be read.
SUB_IDX
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Input OBJ_IDX describes the sub-index of the CANOPEN object in the slave dictionary (refer to the CANOPEN slave EDS file) to be read.
DATA
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORDPOINTER | - | - | - |
Input DATA specifies the address of the variable containing the telegrams to be transmitted. This specification is usually done via the ADR operator. The node diagnostic data have to be of the data type PNIO_CANOM_NODE_DIAG_MESSAGE_TYPE defined in the library.
DATA_LEN
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | - | - |
Input DATA_LEN describes the maximum length of the SDO data to be uploaded in bytes.