4 Protocol description
Example
// Read adapter serial number: NodeId=0; Index=0x4040; Subindex=0:
// Data Type= visual string
0 r 0x4040 0 vs
// SDO Read Response: serial number= B123456 21/10-0123
"B123456 21/10-0123"
4.1.5 Initializing gateway
Syntax:
"[sequence] init <baudrate>"
Determines the baud rate at which the CAN gateway server operates. The baud rate can be specified as a
value or as a table index of the standard CANopen table.
Index
Baud rate
-1
Stop Bus
0
1000
1
800
2
500
3
250
4
125
5
100
6
50
7
20
8
10
NOTE
Autobaud is not supported.
Example
// Request: Initialize CAN-Baudrate 1000 Kbits
init 0
// Response: “OK”
OK
4.1.6 Command set: node ID, network, timeout
You use these commands to set the node ID, network and SDO timeout:
1. Syntax:
"[sequence] [net] set node <value>"
Sets the default node ID to be sent with each command, if no other node ID is included in the command.
Example
// Request: Set CAN-NodeId = 127
set node 127
// Response: “OK”
Version: 1.0.0
12