![GalileoSky Base Block User Manual Download Page 89](http://html1.mh-extra.com/html/galileosky/base-block/base-block_user-manual_3264514089.webp)
User Manual Galileosky Base Block
89
CAN settings
Command format
CanRegime Mode,BaudRate,TimeOut,DoNotCleanAfterTimeOut
Parameters
Mode – operating mode:
0 – CAN-interface is off and is not used;
1 – CAN-bus scanner (
J1939_SCANNER mode
);
2 – standard FMS filter (
FMS mode
);
3 – J1939 user filter 29 bit (
J1939_USER_29bit mode
);
4 – J1939 user filter 11 bit (
J1939_USER_11bit mode
);
5 – J1979 29bit identifiers (
J1979_29bit mode
);
6 – J1979 11bit identifiers (
J1979_29bit mode
);
7 – J1979 detection of bus parameters (
J1979_SCANNER mode
);
8 - J1979 user filter 29 bit (
J1979_USER_29bit mode
);
9 - J1979 user filter 11 bit (
J1979_USER_11bit mode
);
10 – J1979 search for responded identifiers (
J1979_CHECK_PIDS mode
).
BaudRate – data bus rate. It must be the same as the vehicle data bus rate. It can have the
following values: from 10000 up to 500000. Typical values: 62500, 125000, 250000,
500000.
TimeOut – measured in msec. For CAN_SCANNER mode it is response latency. If it is too
small, not all bus messages will be received. The recommended time for CAN_SCANNER is
2000 msec. For all the rest modes it is time to receive at least one message, otherwise, the
value will be set to zero.
DoNotCleanAfterTimeOut – data should not be set to zero by disconnecting CAN-bus.
Explanation
General CAN-bus control.
Example
Example: switching on scanner for a 250000 b/sec bus with the message (answer) latency,
equal to 2 sec.
Request: CanRegime 1,250000,2000
Reply:CANREG:Mode=1,BaudRate=250000,TimeOut=2000;
DoNotCleanAfterTimeOut=0;