Jetter AG
131
JVM-407B
CANopen® STX API
Parameter
Description
Value
EventTime
Time lag between two telegrams
(> InhibitTime)
InhibitTime
Minimum time lag between two
telegrams to be sent
(< EventTime)
Paramset
Bit-coded parameter
This function sends the following return values to the higher-level program.
Return value
0
OK
-1
Error when checking parameters
-3
DataType is greater than DataLength
-4
Insufficient memory
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.
The CANID parameter is used to transfer the CAN identifier. The CAN
identifier is generated with a macro. The CAN identifier depends on the node
ID of the other communicating user and on whether it is a PDO1, PDO2,
PDO3 or PDO4 message.
Macro definitions:
#Define
CANOPEN_PDO1_RX (NodeID) ((NodeID) +
0x180
)
#Define
CANOPEN_PDO2_RX (NodeID) ((NodeID) +
0x280
)
#Define
CANOPEN_PDO3_RX (NodeID) ((NodeID) +
0x380
)
#Define
CANOPEN_PDO4_RX (NodeID) ((NodeID) +
0x480
)
#Define
CANOPEN_PDO1_TX (NodeID) ((NodeID) +
0x200
)
#Define
CANOPEN_PDO2_TX (NodeID) ((NodeID) +
0x300
)
#Define
CANOPEN_PDO3_TX (NodeID) ((NodeID) +
0x400
)
#Define
CANOPEN_PDO4_TX (NodeID) ((NodeID) +
0x500
)
Example for calling up the macro:
CANOPEN_PDO2_RX (64)
The resulting CAN identifier is: 2C0h = 40h + 280h
For CANopen® the following CAN identifier distribution is predefined. In this
case, the node number is embedded in the identifier.
Return value
Parameter CANNo
Parameter CANID
Default CAN identifier
distribution
Содержание 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: ......