EasyManua.ls Logo

Lenze Drive PLC - Can_Management

Lenze Drive PLC
112 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System bus (CAN) with Ser vo PLC & Drive PLC
System blocks
6.5 CAN_Management
6-18
L
PLC-Systembus EN 1.1
6.5 CAN_Management
System bus management (module number: 101)
The process image for this SB is created in a fixed system task (interval: 1 ms).
With this SB
a Reset Node can be activated to accept, for instance, changes in the baud rate and
address assignments.
a Communication Error and Bus Off State canbeprocessedinthePLC-program.
the transmission time 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
Fig. 6-9 System bus management (CAN_Management)
VariableName DataType SignalType Address DIS DIS format Note
CAN _b R es etNode_b %QX101.0.0 Execute Reset Node of the PLC
CAN_bTxCan2Synchronized_b %QX101.0.1 Transmit CAN2_OUT with
Sync telegram
CAN_bTxCan3Synchronized_b
B
l
b
i
%QX101.0.2 Trans mit CAN3_OUT with
Sync telegram
CAN_bCe1CommE rrCanIn1_b
Bool binary
%IX101.0.0
- -
CAN1_IN Communication Error
CAN_bCe2CommE rrCanIn1_b %IX101.0.1 CAN2_IN Communication Error
CAN_bCe3CommE rrCanIn1_b %IX101.0.2 CAN3_IN Communication Error
CAN _b C e4 B u sO ffState_b %IX101.0.3 CAN bus Off State”
recognised
CAN_bResetNode_b function
A reset node is activated by setting C0358 = 1 or
CAN_bResetNode_b
=TRUE.
Tip!
Even if the CAN_Management SB has not been assigned to the control configuration, code C0358
can be used to activate a reset node.
(^ 3-6)
CAN_bTxCan2Syncronized_b / CAN_bTxCan3Syncronized_b function
FALSE: Data from CAN2_OUT/CAN3_OUT are transmitted at the end of the process image.
TRUE: Data from CAN2_OUT/CAN3_OUT are transmitted after Sync.
Via C0367/C0368 you can set the identifiers for the Sync transmit and receive telegram.
The
Sync Tx Time
can be set via C0369.
Detailed information about this can be found in the description for the
CAN_Synchronization SB.
(^ 6-19)
Show/Hide Bookmarks

Table of Contents

Related product manuals