ICP DAS USA CAN-8823 User Manual page 111

Canopen slave device
Table of Contents

Advertisement

Step 3. In order to output 5V to the AO0 of the I-8024, users must send the
PDO message by using the 2nd RxPDO.
11-bit COB-ID (bit)
Func Code
10
9
8
7
6
5
0
1
1
0
0
0
PDO
producer
COB-ID
:
0x301
L
:
8
PDO-msg
:
FF 3F 00 00 00 00 00 00
The first two bytes are for AO channel 0, and the others are for AO
channel 1, 2 and 3. Users need to transfer the float value to hex
format because only the CAN-8123/CAN-8223/CAN-8423 supports
the hex format. The output range of the I-8024 is -10V~10V.
According to the transformation table stored in the appendix table ,
the mapping hex-format range is from 0x8000 (-32768) to 0x7FFF
(32767). Therefore, the 5V is mapped to the 0x3FFF by applying
following equation.
HexValue
The first two bytes of the PDO message will be filled with "FF" and
"3F". All the other AI channels are set to 0V. Then, the value "00 00"
will be given for these channels. For more details about how to
transfer the value between the hex and float, please refer to the
section 6.3.
CAN-8x23 user's manual (Revision 3.20, Mar/08/2012) ------
Node ID
RTR
4
3
2
1
0
0
0
0
0
1
0
5
V
(
10
 
10
V
(
10
16383
.
25
Data
Length
0
1
8
FF
3F
V
)
  
32767
(
32768
V
)
16383
0
x
3
FFF
8-byte Data (byte)
2
3
4
5
00
00
00
00
PDO consumer
(CAN-8x23)
)
(
32768
)
6
7
00
00
111

Advertisement

Table of Contents
loading

Table of Contents