Parameterization of CAN 2.0A¶
The CAN data transmission requires a buffer for the incoming data that can be read with Function Blocks of library CANopen_AC500_V11.lib.
Right-click on CAN_2_0A_11_bit_identifier_ (CAN 2.0A) and select Add device… to open the Add device dialog window.
Double-click on Buffer_for_CAN_2A (Buffer for CAN2A) to open the Buffer for CAN 2A Configuration in the editor window:
The following parameters are available:
Parameter | Default value | Value | Meaning |
---|---|---|---|
Identifier | 0 | 0…2047 | The value of the CAN 2.0A (11 bit) identifier that is compared with the identifier of the incoming telegrams. The telegrams will be added to the buffer if the identifier matches. |
Number of receive buffers | 1 | 1..16 | The size of the buffer in number of telegrams. |
Behaviour on receive buffer overflow | Overwrite | Overwrite | The oldest telegram in the buffer is overwritten by the incoming telegram. |
Discard | The incoming telegrams are discarded as long as the buffer is full. | ||
Wait | The incoming telegram is stored as soon as a telegram is read out of the buffer. |