Jetter AG
113
JVM-407B
CANopen® STX API
STX function: CanOpenUploadSDO()
The function
CanOpenUploadSDO()
lets you access a particular object in the
Object Directory of the message recipient and read the value of the object.
Data is exchanged in accordance with the SDO upload protocol. Supported
transfer types are
segmented
(more than 4 data bytes) and
expedited
(up to
4 data bytes).
Function
CanOpenUploadSDO(
CANNo:Int,
// Number of the bus line
NodeID:Int,
// Device ID
wIndex:Word,
SubIndex:Byte,
DataType:Int,
// Type of the data to be received
// Data length for the global variable DataAddr
DataLength:Int,
// Global variable into which the received value is entered
const ref
DataAddr,
ref
Busy: Int,
// Status of the SDO transmission
) :Int;
The
CanOpenUploadSDO()
function has got the following parameters:
Parameter
Description
Value
CANNo
CAN bus number
0 ... CANMAX
NodeID
Node ID of the message
recipient
1 ... 127
wIndex
Index number of the object
0 ... 0xFFFF
SubIndex
Subindex number of the object
0 ... 255
DataType
Type of data to be received
2 ... 27
DataLength
Data length of the global variable
DataAddr
DataAddr
Global variable into which the
received value is to be entered
Busy
Status of the SDO transmission
Introduction
Function declaration
Function parameters
Содержание JVM-407B-HMI
Страница 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Страница 14: ......
Страница 26: ...26 Jetter AG 2 Product description and design Rear view...
Страница 34: ......
Страница 80: ......
Страница 98: ...98 Jetter AG 5 Initial commissioning Initial commissioning in JetViewSoft see page 86 Related topics...
Страница 106: ......
Страница 144: ......
Страница 168: ......
Страница 178: ......
Страница 182: ......
Страница 196: ...196 Jetter AG 10 Programming If Merker1 Then Inc Status_LEDs Delay T 100ms End_If End_Loop End_Task...
Страница 220: ...220 Jetter AG 10 Programming Topic Page Programming 221 Registers 233 Sample programs 238 Contents...
Страница 258: ......
Страница 268: ......
Страница 274: ......
Страница 294: ...294 Jetter AG Appendix Rear view...
Страница 299: ......