Parameterization of CAN 2.0B

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_0B_29_bit_identifier_ (CAN 2.0B (29 bit identifier)) and select Add device… to open the Add device dialog window.

Double-click on Buffer_for_CAN_2B (Buffer for CAN2B) to open the Buffer for CAN 2B Configuration in the editor window:

../_images/1bfb66f245ffd58a0a33139000eba54e

The following parameters are available:

Parameter

Default

value

Value Meaning
Identifier 0 0…536870911 The value of the CAN 2.0B (29 bits) 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.