Jetter AG
127
JVM-407B
CANopen® STX API
Use 29-bit identifier
Default: 11-bit identifier
Result := CanOpenAddPDORx(
0
,
// CANNo
662
,
// CANID
0
,
// BytePos
CANOPEN_DWORD,
// DataType
sizeof
(var_Data_1_of_Node_1),
// DataLength
var_Data_1_of_Node_1,
// VarAddr
1000
,
// Event time
10
,
// Inhibit-Zeit
CANOPEN_ASYNCPDO | CANOPEN_NORTR);
// Paramset
JVM-407B with node ID 10 wants to receive a PDO from two CANopen®
devices with node ID 64 and 102. The function
CanOpenAddPDORx()
is
called up for this purpose. After running the program, the JVM-407B receives
cyclic PDO telegrams.
120 Ohm
120 Ohm
CAN-Bus
CAN 0
NodeID_Node_0
NodeID_Node_2
NodeID_Node_1
Controller/HMI
Device/Module
Device/Module
Const
CANNo =
0
;
// Number of the bus line
NodeID_Node_0 =
10
;
// Device ID of node 1
NodeID_Node_1 =
64
;
// Device ID of node 2
NodeID_Node_2 =
102
;
// Device ID of node 3
Event_Time =
1000
;
// Event time in ms
Inhibit_Time =
10
;
// Inhibit time in ms
End_Const
;
How to use this function
JetSym STX program
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: ......