Input DescriptionΒΆ
EN
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The Function Block is activated (EN = TRUE) or deactivated (EN = FALSE) via input EN. If the Function Block is active, the current values are available at the outputs. If the Function Block detects a CAN Communication Module with a configured CAN 2.0A protocol at the specified SLOT, this is indicated by DONE = TRUE and ERR = FALSE. The corresponding status information is then available at the Function Block outputs.
SLOT
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
At input SLOT, the Communication Module slot (module number) is selected to used by the Function Block.
The internal Communication Module always has the module number 0. All external Communication Modules are serially numbered from right to left, starting with module number 1.
NODE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
At input NODE the node address of the slave is specified the operating condition of which shall be changed. By applying a value of 1 to 127 to input NODE, one specific slave can be called with the corresponding node address. If NODE = 0, the command is sent to all slaves.
OBJ_IDX
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | - | - |
Input OBJ_IDX is used to specify the object index of the object to be read from the slave object directory (compare to entry Obj. Idx. listed in SYCON.net when using the option Device configuration / SDO table).
SUB_IDX
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Input SUB_IDX is used to specify the sub index of the object to be read from the slave object directory (compare to entry Sub. Idx. listed in SYCON.net when using the option Device configuration / SDO table).
DATA
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | - | - | - |
Input DATA is used to specify the address starting from which the received CAN 2.0A telegrams should be written. Usually, this specification is done via the ADR operator and should point to variables of the type CAN2A_MESSAGE_TYPE or CANOpen_MESSAGE_TYPE.
DATA_LEN
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
DATA_LEN outputs the length of the received object data (in bytes), after the procedure has been completed successfully. Since Function Block execution requires bus access, the data are available in the next cycle after activating the Function Block at the earliest. The output value is only valid, if DONE = TRUE and ERR = FALSE.