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
Summary of Contents for JVM-407B-HMI
Page 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Page 14: ......
Page 26: ...26 Jetter AG 2 Product description and design Rear view...
Page 34: ......
Page 80: ......
Page 106: ......
Page 144: ......
Page 168: ......
Page 178: ......
Page 182: ......
Page 258: ......
Page 268: ......
Page 274: ......
Page 294: ...294 Jetter AG Appendix Rear view...
Page 299: ......