20
Programming example (for NN=1)
The sensor is supposed to transmit the X-axis rotation speed and the X-axis
acceleration value via the 2nd PDO�
Step 1
Disable 2nd Transmit PDO
Identifier
DLC Command Index
Sub-
index
Service/process data
NN = 10
Download
Byte 4
Byte 5
Byte 6
Byte 7
60A
8
22
01
18
01
00
00
00
80
Step 2
Disable TPDO2 mapping
Identifier
DLC Command Index
Sub-
index
Service/Process data
NN = 10
Download
Byte 4
Byte 5
Byte 6
Byte 7
60A
8
22
01
1 A
00
00
00
00
80
Step 3
Map gyro X 16 bit value (3400Sub0) to TPDO2 Object 1
Identifier
DLC Command Index
Sub-
index
Service/Process data
NN = 10
Download
Byte 4
Byte 5
Byte 6
Byte 7
60A
8
22
01
1 A
00
10
00
00
34
Step 4
Map acceleration x 16 bit value (3403Sub0) to TPDO2 Object 2
Identifier
DLC Command Index
Sub-
index
Service/Process data
NN = 10
Download
Byte 4
Byte 5
Byte 6
Byte 7
60A
8
22
01
1 A
02
10
00
03
34
Step 5
Enable TPDO mapping parameter again
Identifier
DLC Command Index
Sub-
index
Service/process data
NN = 10
Download
Byte 4
Byte 5
Byte 6
Byte 7
60A
8
22
01
1 A
00
02
00
00
00
Содержание JD
Страница 1: ...Device manual Inclination sensor JD with CANopen interface 80279676 00 12 2020 UK...
Страница 43: ...UK 43...