Jetter AG
109
JVM-407B
CANopen® STX API
STX function CanOpenInit()
The function
CanOpenInit()
lets you initialize one of the CAN busses. The
JVM-407B then automatically sends the heartbeat message every second
with the following communication object identifier (COB-ID): Node ID + 0x700.
Function CanOpenInit(
CANNo:Int,
NodeID:Int,
const ref
SWVersion:String,
) :Int;
The function
CanOpenInit()
has got the following parameters.
Parameter
Description
Value
CANNo
CAN bus number
0 ... CANMAX
NodeID
Node ID of the given device
1 ... 127
SWVersion
Reference to own software
version
This software version is entered
into the index 0x100A in the
object directory.
String up to 255
characters
This function transfers the following return values to the higher-level program.
Return value
0
OK
-1
Error when checking parameters
-3
Initialization has not worked
This parameter specifies the number of the CAN interface. CANNo = 0 is
assigned to the first interface. The number of CAN interfaces depends on the
device. For information on the maximum number of CAN interfaces
(CANMAX) refer to the chapters
Technical Specifications
and
Quick
Reference
in the corresponding manual.
Introduction
Function declaration
Function parameters
Return value
Parameter CANNo
Содержание 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: ......