Manufacturer Specific Profile Area
CAN-CBX-COM2
Manual • Doc.-No.: C.3055.21 / Rev. 1.1
Page 97 of 125
8.12.2.3 MaxChar_MinCar
An overview of the communication parameters 2800
h
and 2900
h
is shown on page 95.
Parameter name
MaxChar_MinChar
Object index,
Sub-index
2800
h
, 02
h
(COM A)/
2900
h
, 02
h
(COM B)
Access Mode
rw
Data Type
unsigned 8
Value range
00...FF
h
Unit
n.a.
Default value
11
h
=> every byte is
transmitted
Description:
The nibbles of this parameter contain the number of bytes, from which a transmission
to CAN shall be started and the maximum number of data bytes in a CAN-frame.
The higher nibble (MaxChar) contains the maximum number and the lower nibble
(MinChar) the minimum number.
The default is 11
h
, i.e. every received byte is transmitted separately in a frame.
MaxChar_MinChar
Bit:
7 4
3 0
Parameter:
MaxChar
MinChar
Table 19: Structure of parameter MaxChar_MinChar
Transmission command:
MinChar is only evaluated as described above, if values between 1 and 8 are
specified.
If values between 9
h
and F
h
are specified, the functionality of the parameter changes:
In this case the local software evaluates the entry of characters which have been
specified via user parameter End_Char_1 (2800
h
, A
h
/ 2900
h
, A
h
) oder End_Char_2
(2800
h
, B
h
/ 2900
h
, B
h
) as transmission command.
In default setting of user parameter End_Character these are the flags ‘Carriage
Return’ (0D
h
) or ‘Line Feed’ (0A
h
). As soon as one or both flags are detected, the data
which have been received by the serial interface is transmitted to the CAN. If 8 bytes
have been received before the flags have been received, the transmission starts
automatically.
You can also specify for the transmission, whether the flags are to be transmitted on
the CAN together with the data or not.