Lenze PLC Designer PLC Designer (R2-x) CANopen for Runtime Systems User Manual
Page 41
![background image](/manuals/566298/41/background.png)
L-force | PLC Designer - CANopen for Runtime Systems
CanDevice
40
DMS 2.0 EN 05/2009 TD29
byHeartbeatConsumerID : BYTE;
ID on which heartbeat messages are expected. Always
only one ID is guarded at a time.
bCurPDOChanged: BOOL; Internal.
bTransmitCyclic: BOOL;
Internal.
dwSynchCobId : DWORD;
COBId, on which the sync message is expected.
dwSynchWinLen : DWORD;
Configured syncWindowLength.
dwSynComCycle: DWORD;
Configured sync interval.
diHelp : DINT;
Internal.
dwHelp : DWORD;
Internal.
MsgBuffer : CAN_Message;
Buffer for received messages.
a: INT;
Counter, incremented with each cycle in order to get
monitored the number of calls.
dwCobIdPDOMin,dwCobIdPDOMax,dwAcceptance:DWORD; These values are passed to the
driver to enable it to set an acceptance mask.
bInitiateRspSend : BOOL;
Internal.
bInitiateWrReqSend : BOOL;
Internal.
iActiveSegSDORead:INT := -1;
Internal, for the segmented SDO transfer.
pActiveSegSDORead:POINTER TO BYTE; Internal, for the segmented SDO transfer.
wSegSDOReadSendOffs : WORD;
Internal, for the segmented SDO transfer.
wSegSDOReadSendLen : WORD;
Internal, for the segmented SDO transfer.
iActiveSegSDOWrite:INT := -1;
Internal, for the segmented SDO transfer.
pActiveSegSDOWrite:POINTER TO BYTE;
Internal, for the segmented SDO transfer.
wSegSDOWriteRecvOffs : WORD;
Internal, for the segmented SDO transfer.
wSegSDOWriteRecvLen : WORD;
Internal, for the segmented SDO transfer.
wSwapCheck : WORD := 16#55AA;
Internal, must remain unmodified.
bErrCodeNot0: BOOL;
Check, whether the driver has set a fatal error
(BusOff).
dwEmergCobId : DWORD;
COBId, used for sending emergency messages.
iSDOWriteLen : INT;
Internal.
iSDOReadLen : INT;
Internal.
bGuardingStarted: BOOL;
Set as soon as the first guard message has arrived.
bFirstHeartbeatRecv: BOOL;
Set as soon as the first heartbeat message has
arrived.
bSub0NotFound: BOOL;
Internally used in order to distinguish the abort codes
„Index not found“ and „SubIndex not found“.