I-7530, I-7530A, I-7565, I-7530-FT, tM-7530, tM-7530A, tM-7565 User Manual Version 1.6
Page:
60
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
4.6 S[CHK]<CR>
Description:
Read the CAN baud rate and error message of the CAN converter.
Syntax: S[CHK]<CR>
S
Command character.
Response:
Valid Command: !CFFTTRRO[CHK]<CR>
Invalid command: ?<Error Code>[CHK]<CR>
!
Delimiter for valid command
C
current baud rate setting of CAN
FF
CAN control register, expressed as bits.
TT
CAN transmit error counter, expressed as a value
RR
CAN receive error counter, expressed as a value
O
CAN or RS-232/RS-485/RS-422/USB overload warning, expressed as bits
Note
:
In order to communicate with the computer to receive error information, the user must
enable the "Error Response" function in the CAN converter software. In addition, all
returned results are in ASCII format, so the user must convert ASCII to hexadecimal as
beolw table.
Table: CAN baud rate
AsciiToHex(C)
Description
0
10K CAN
baud rate
1
20K CAN
baud rate
2
50K CAN
baud rate
3
100K CAN
baud rate
4
125K CAN
baud rate
5
250K CAN
baud rate, I-7530-FT not supported
6
500K CAN
baud rate, I-7530-FT not supported
7
800K CAN
baud rate, I-7530-FT not supported