EasyManua.ls Logo

Lenze Drive PLC - Fif_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 Servo PLC & Drive PLC
System blocks
7.4 FIF_CAN_Management
7-13
L
PLC-Systembus EN 1.1
7.4 FIF_CAN_Management
System bus management FIF CAN (module number: 111)
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 can be processed in the PLC program.
the transmission time of FIF-CAN2_OUT and FIF-CAN3_OUT can be influenced.
FIF_CAN_bResetNode_b
FIF_CAN_Management
C2458
FIF-CAN2_OUT
FIF_CAN_bCe2CommErrCanIn2_b
FIF_CAN_ResetNode
FIF_CAN_bTxCan2Synchronized_b
FIF-CAN1_IN
Communication Error
FIF-CAN2_IN
Communication Error
FIF-CAN3_IN
Communication Error
FIF-CAN
Bus Off State
FIF_CAN_bCe1CommErrCanIn1_b
FIF_CAN_bCe3CommErrCanIn3_b
FIF_CAN_bCe4BusOffState_b
FIF_CAN_SYNC
FIF-CAN3_OUT
FIF_CAN_bTxCan3Synchronized_b
FIF_CAN_SYNC
1
Fig. 7-7 System bus management (FIF_CAN_Management)
VariableName
DataType SignalType Address DIS DIS format Note
FIF_CAN_bResetNode_b %QX101.0.0 Execute reset node of the CAN FIF
FIF_CAN_bTxCan2Synchronized_b %QX101.0.1 Transmit FIF-CAN2_OUT with
Sync telegram
FIF_CAN_bTxCan3Synchronized_b
B
l
b
i
%QX101.0.2 Transmit FIF-CAN3_OUT with
Sync telegram
FIF_CAN_bCe1CommErrCanIn1 _b
Bool binary
%IX101.0.0
- -
FIF-CAN1_IN Communication Error
FIF_CAN_bCe2CommErrCanIn1 _b %IX101.0.1 FIF-CAN2_IN Communication Error
FIF_CAN_bCe3CommErrCanIn1 _b %IX101.0.2 FIF-CAN3_IN Communication Error
FIF_CAN_bCe4BusOffState_b %IX101.0.3 FIF CAN bus “Off State” recognised
Function FIF_CAN_bResetNode_b
A reset node is activated by setting C2458 = 1 or
FIF_CAN_bResetNode_b
=TRUE.
Tip!
Even if the FIF_CAN_Management SB has not been assigned to the control configuration, code
C2458 can be used to activate a reset node. (^ 5-7)
Function FIF_CAN_bTxCan2Syncronized_b / FIF_CAN_bTxCan3Syncronized_b
FALSE: Data from FIF-CAN2_OUT/FIF-CAN3_OUT are transmitted at the end of the process
image.
TRUE: Data from FIF-CAN2_OUT/FIF-CAN3_OUT are transmitted after Sync.
Via C2467/C2468 you can set the identifiers for the Sync transmit and receive telegram.
The
Sync Tx time
can be set via C2469.
Show/Hide Bookmarks

Table of Contents

Related product manuals