Bus Interface [Slot] (For Controller Cecx-X-M1) - Festo CECX-X-C1 Series Manual

Controller modular cecx
Table of Contents

Advertisement

CECX modular control system
END_IF
Attention:
This flag must not be set cyclically, since the individual nodes ca no longer be started after a
failure.
Application example for usage of library „BusDiag_Lib":
Declaration of variables:
PROGRAM BusDiag_Lib_CAN
VAR
DiagGBS : DiagGetBusState;
DiagGS : DiagGetState;
Diag : BOOL:= FALSE;
NodeID: DWORD;
CANMaster: INT;
END_VAR
Program code:
DiagGBS(ENABLE := TRUE, DRIVERNAME := 0, DEVICENUMBER := CANMaster);
//
Initial situation: In the case of an error the bus has the state 7.
//
(DiagGBS.EXTENDEDINFO[NodeID] := 7).
//
For requesting the diagnosis information in the case of an error
//
(DiagGBS.EXTENDEDINFO[NodeID] := 7) the variable Diag must be set manually
//
to TRUE.
//
The emergency telegram is displayed in DiagGS.EXTENDEDINFO
IF Diag THEN
DiagGS(ENABLE := TRUE, DRIVERNAME := 0, DEVICENUMBER := CANMaster,
BUSMEMBERID := NodeID);
Diag := FALSE;
END_IF;

Bus interface [SLOT] (for Controller CECX-X-M1)

Configuration entry of a bus interface for SoftMotion drives.
When the bus interface and CAN master are operated simultaneously the following information must be
adhered to:
The bus interface must always be configured first in CoDeSys.
As soon as a CAN master is configured it occupies the first CAN circuit (Onboard CAN) and the bus
interface then occupies the plug-in module CECX-F-CO. The controller number at the AxisGroup
parameterization must in this case be set on 1 (see illustration).
CECX-I 36
//node number of the CAN slaves
//First used CAN master: DEVICENUMBER = 3,
//Second used CAN master: DEVICENUMBER = 4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cecx-x-m1 series

Table of Contents