Instruction Manual
Table Of Contents
- System bus (CAN) for Lenze PLC devices
- This documentation is valid for ...
- Contents
- 1 Preface and general information
- 2 General information on the system bus (CAN)
- 2.1 Introduction
- 2.2 Interfaces of the Lenze PLCs for system bus connection
- 2.3 Identification of the nodes
- 2.4 Structure of the CAN telegram
- 2.5 Network management (NMT)
- 2.6 Transmission of process data
- 2.7 Transmitting parameter data
- 2.8 Free CAN objects
- 2.9 Application recommendations for the different CAN objects
- 2.10 Monitoring mechanisms
- 3 Configuration (system bus - CAN interface)
- 3.1 CAN baud rate
- 3.2 CAN boot-up
- 3.3 Node address (node ID)
- 3.4 Identifiers of the process data objects
- 3.5 Cycle time (CAN2_OUT/CAN3_OUT)
- 3.6 Delay time (CAN2_OUT/CAN3_OUT)
- 3.7 Synchronisation
- 3.8 Reset node
- 3.9 System bus management
- 3.10 Mapping indexes to codes
- 3.11 Remote parameterisation (gateway function)
- 3.12 Monitoring processes
- 3.13 Diagnostics
- 4 Configuration (AIF interface)
- 5 Configuration (FIF interface)
- 6 Configuration (CAN-AUX system bus interface)
- 7 CAN system blocks
- 8 FIF-CAN system blocks (only Drive PLC)
- 9 CAN-AUX system blocks (only ECSxA)
- 10 LenzeCanDrv.lib function library
- 10.1 Overview
- 10.2 Version identifiers of the function library
- 10.3 L_CanInit - initialising the CAN driver
- 10.4 L_CanClose - deactivating the CAN driver
- 10.5 L_CanGetStatus - querying the driver status
- 10.6 L_CanGetRelocCobId - querying the COB-ID range
- 10.7 L_CanPdoTransmit - transmitting a CAN object
- 10.8 L_CanPdoReceive - receiving a CAN object
- 11 LenzeCanDSxDrv.libfunction library
- 11.1 Overview
- 11.2 Version identifiers of the function library
- 11.3 L_CanDSxInitIndexCode - Configuration of index mapping
- 11.4 L_CanDSxOpen - initialising the CanDSx driver
- 11.5 L_CanDSxClose - deactivating the index mapping
- 11.6 L_CanDSxOpenHeartBeat - initialising a "Heartbeat"
- 11.7 L_CanDSxHeartBeat - carrying out a "Heartbeat"
- 11.8 L_CanDSxCloseHeartBeat - deactivating the "Heartbeat"
- 11.9 L_CanDSxOpenNodeGuarding - initialising the "Node Guarding"
- 11.10 L_CanDSxNodeGuarding - carrying out a "Node guarding"
- 11.11 L_CanDSxCloseNodeGuarding - deactivating the "Node Guarding"
- 12 Index

7.6 CAN_Management (node number: 101)
System bus (CAN) for Lenze PLC devices
CAN system blocks
7−20
L
PLC−Systembus EN 2.0
7.6 CAN_Management (node number: 101)
By using this SB
· a reset node can be activated, e. g. to accept changes with regard to the baud rate and
addressings.
· Communication error, Bus−off state, and further states can be processed in the PLC
program.
· the instant of transmission of CAN2_OUT and CAN3_OUT can be influenced.
CAN_bResetNode_b
CAN_Management
C0358
CAN2_OUT
CAN_bCe2CommErrCanIn2_b
CAN_ResetNode
CAN_bTxCan2Synchronized_b
CAN1_IN
Communication error
CAN2_IN
Communication error
CAN3_IN
Communication error
CAN
Bus off state
CAN_bCe1CommErrCanIn1_b
CAN_bCe3CommErrCanIn3_b
CAN_bCe4BusOffState_b
CAN_SYNC
CAN3_OUT
CAN_bTxCan3Synchronized_b
CAN_SYNC
1
CAN
Node address (C0350)
CAN
State (C0359)
CAN_byNodeAddress
CAN_byState
CAN_bFreePdoTxBufferOverflow_b
Free PDO Tx
buffer overflow
Free PDO Rx
overflow
Overrun life time
CAN_bFreePdoRxOverflow_b
CAN_bOverrunLifeTime_b
Fig. 7−6 CAN_Management system block
Note!
The process image for this SB is generated in a fixed system task (interval: 1 ms).
7.6.1 Inputs_CAN_Management
Variable Data type Signal type Address Display
code
Display
format
Notes
CAN_bCe1CommErrCanIn1_b
Bool Binary
%IX101.0.0
− −
CAN1_IN communication error
CAN_bCe2CommErrCanIn1_b %IX101.0.1 CAN2_IN communication error
CAN_bCe3CommErrCanIn1_b %IX101.0.2 CAN3_IN communication error
CAN_bCe4BusOffState_b %IX101.0.3 CAN bus "off state" recognised
CAN_bFreePdoTxBufferOverflow_b %IX101.0.4 Transmit request memory overflow
CAN_bFreePdoRxOverflow_b %IX101.0.5 Receive memory overflow
CAN_bOverrunLifeTime_b %IX101.0.6 "Node life time" exceeded
CAN_byNodeAddress
Byte −
%IB101.2
C0350 −
CAN mode address
CAN_byState %IB101.3
C0359 −
CAN status