522
Jetter AG
10 Programming
STX function: CanOpenAddPDOTx()
By calling up the
CanOpenAddPDOTx()
function, process data can be
deposited on the bus.
However, that should not mean that other CANopen® devices on the bus can
also read this process data.
Only if the CANopen® devices on the bus are in state
operational
, the
PDO telegram is transmitted.
As soon as there are any changes to the process data, another PDO
telegram is transmitted immediately.
The smallest time unit for the event time is 1 ms.
The smallest time unit for the inhibit time is 1 ms.
Any unused bytes of a telegram are sent as null.
Function
CanOpenAddPDOTx(
CANNo:Int,
// Number of the bus line
CANID:Int,
// CAN identifier
BytePos:Int,
// Starting position of the data to be sent
DataType:Int,
// Data type of the data to be sent
// Data length of the global variable VarAddr
DataLength:Int,
// Global variable holding the value to be sent
const ref
VarAddr,
// Cycle time for sending a telegram
// Event time
EventTime: Int,
// Minimum interval between two transmitted messages
// Inhibit time
InhibitTime: Int,
Paramset: Int,
// Bit-coded parameter
) :Int;
The
CanOpenAddPDOTx()
function has got the following parameters:
Parameter
Description
Value
CANNo
CAN bus number
0 ... CANMAX
CANID
CAN identifier 11-bit
CAN identifier 29-bit
0 ... 0x7FF
0 ... 0x1FFFFFFF
BytePos
Starting position of data to be
sent
0 ... 7
DataType
Data type of data to be sent
2 ... 13, 15 ... 27
DataLength
Data length of the global variable
VarAddr
VarAddr
Global variable into which the
value to be sent is entered
Introduction
Notes
Function declaration
Function parameters
Содержание JC-120MC
Страница 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Страница 18: ......
Страница 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Страница 160: ......
Страница 186: ......
Страница 196: ......
Страница 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...
Страница 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Страница 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Страница 586: ......
Страница 604: ......
Страница 633: ......