Jetter AG
517
JC-120MC
Programming
STX function: CanOpenAddPDORx()
The function
CanOpenAddPDORx()
lets you specify which process data, sent
by other CANopen® devices, must be received.
Process data can be received only when a CANopen® device is sending
them.
Only if the CANopen® devices on the bus are in state
operational
, the
PDO telegram is transmitted.
The smallest time unit for the event time is 1 ms.
The smallest time unit for the inhibit time is 1 ms.
Function
CanOpenAddPDORx(
CANNo:Int,
// Number of the bus line
CANID:Int,
// CAN identifier
// Starting position of data to be received
BytePos:Int,
DataType:Int,
// Data type of the data to be received
// Data length of the global variable VarAddr
DataLength:Int,
// Global variable into which the received value is entered
const ref
VarAddr,
// Cycle time for receiving a telegram
// Event time
EventTime: Int,
// Minimum interval between two received messages
// Inhibit time
InhibitTime: Int,
Paramset: Int,
// Bit-coded parameter
) :Int;
The
CanOpenAddPDORx()
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
received
0 ... 7
DataType
Data type of data to be received 2 ... 13, 15 ... 27
DataLength
Data length of the global variable
VarAddr
VarAddr
Global variable into which the
received value is entered
EventTime
Time lag between two telegrams
(> InhibitTime)
Introduction
Notes
Function declaration
Function parameters
Summary of Contents for JC-120MC
Page 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Page 18: ......
Page 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Page 160: ......
Page 186: ......
Page 196: ......
Page 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Page 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Page 586: ......
Page 604: ......
Page 633: ......