I-7530A-MR Modbus RTU to CAN
Converter User’s Manual (Version 1.08, 07/2019) ------------- 107
8.Uart Switch Descption(Uart Switch Mode)
To facilitate the application of custom protocols, the I-7530A-MR provides
Uart Switch mode. In the mode, Users can transfer data in Binary format on the
UART side.
According to the requirements, set the "CAN-ID Offset" and CAN-
ID Length". If the CAN-ID length is not 0, the part of the UART binary data is
extracted as the CAN-ID to send and other convert to CAN data.
When the
CAN message is converted into UART Binary data, it is also can carry CAN-ID.
Note: This function is supported by firmware version v2.10 or later.
8.1 Uart to CAN
Set the "CAN-
ID Offset" and “CAN-ID Length". CAN-ID offset’s range is
form 0 to 7. CAN-ID length
’s range is form 1 to 2
(
2.0A
)
or 1 to 4
(
2.0B
)
.
If
the ID length on the Uart side is less than the standard length of the CAN-ID,
the high bits of the CAN-ID on the CAN side are automatically padded with
zeros. If a CAN packet can't convert all UART data, the same CAN-ID is as
next CAN packet's ID until the UART data conversion are completed.The
maximum length of the UART buffer: 256 Bytes.