I-7530A-MR Modbus RTU to CAN
Converter User’s Manual (Version 1.08, 07/2019) ------------- 77
5. Change user-defined CAN bus baud rate
This command is used to Change user-defined CAN bus baud rate. After
successfully setting, the module will response a successful setting message,
and then reboots.
Request command:
Field Name
Size
Value Range
Example
Hex rule
Node ID
1 byte
0x01~0xF7
0x01
Function Code
1 byte
0x10
0x10
Start Address
2 bytes
0x0100
0x0100
Word Count
2 bytes
0x0003
0x0003
Byte Count
1 byte
0x06
0x06
Data-1
2 bytes
0x0005 (Note1)
0x0005
Data-2
2 bytes
(Note2)
0x0001
Data-3
2 bytes
(Note2)
0x4585
Note1: This value is command field.
Note2: This value is user-defined CAN baud rate.
Example:
If users want to use CAN bus baud rate of 83.333 kbps. They can set CAN bus
baud rate into Data-2 and Data-3 field. Please refer to step 1~3 for details.
Step 1:
Multiply the CAN baud rate value by 1000.
83.333 kbps = 83.333 *1000 = 83333 bps (Decimal)
Step 2:
Change this decimal value to 2 words hexadecimal value.
83333(Decimal) = 0x00014585(Hexadecimal)
Step 3:
Fill Data-2 and Data-3 field with hexadecimal values (0x00014585) by using
Big-endian format.
Response command: