22
8.3.4
Setting CAN Bitrate (Advanced)
A more user defined bus bitrate can be configured with the command
sXXXXXXXXX[CR]. As with the standard bus timing command above, you can only use
this command when the CAN bus channel is closed.
sXXXXXXXXX [CR] sets the bitrate registers of the CAN controller. Users can set
non-
standard bitrates
which are not supported by the "SX" command.
The USB to CAN adapter provides a CAN Bitrate Calculator program to calculate the
value of CAN bitrate registers for setting
non-standard bitrates
. Follow these steps to
calculate and set
non-standard bitrates
for the USB to CAN adapter:
1.
Open the CAN Bitrate Calculator program.
2.
Enter CAN Bitrate (“150” for 150Kbps CAN Bitrate) in the field “Desired bitrate:”.
3.
Click “Calculate” to calculate the value of CAN bitrate registers.
4.
Remember the topmost value of CAN bitrate registers.
5.
e.g. Command: s013070603
for 150 kbps CAN Bitrate.
6.
Click “Quit” to exit the CAN Bitrate Calculator program.
Example: s013070603[CR] will be set the bitrate to 150Kbps.
Содержание USB-2CAN-M
Страница 1: ...Titan Electronics Inc Web www titan tw USB 2CAN M USB CAN SI M USER S MANUAL 2019 Edition ...
Страница 5: ...4 9 6 13 Using the API in Python 70 9 6 14 Using the API in LabVIEW 71 ...
Страница 36: ...35 Connected to XXX kbits s firmware version VXXXX and operation mode at the bottom of the main panel ...
Страница 43: ...42 ...
Страница 62: ...61 Sample Command CAN_Status 2508 Checks the status bits of device connected to channel with the handle 2508 ...
Страница 66: ...65 break Status CAN_Close Handle printf Test finish n return 0 ...