CECX modular control system
by selecting CECX-F-PB-V1.
For the use of Profibus DP-V1 services, set the module parameter DPV1Support of the
appropriate slave to "Enabled".
Please consider, that the behaviour of not all Profibus DP-V1-slaves conforms with the
standard. If the DP-V1 communication does not work with the "Enabled" setting, set it to
"Disabled".
Module parameters
A description of the parameters and data can be found in the CoDeSys online help under "Configuring
PROFIBUS modules".
Bus diagnosis
The library BusDag.lib is used for bus diagnosis.
The device number must be set for this as follows:
DEVICENUMBER = 2
Application example for usage of library „BusDiag_Lib“:
Declaration of variables:
PROGRAMM BusDiag_Lib_Profibus
VAR
DiagGBS : DiagGetBusState;
DiagGS : DiagGetState;
Diag : BOOL:=FALSE;
Stationsadress:DWORD;
(*Stationsadress of the profibus slave*)
END_VAR
Program code:
DiagGBS(ENABLE := TRUE, DRIVERNAME := 0, DEVICENUMBER := 2);
// Initial situation: In the case of an error the bus has the state 7
// (DiagGBS.EXTENDEDINFO[Stationsadress]:= 7).
// In the following it is described, how to reset the bus state and how to
// get diagnosis information.
// 1. At the first ascending edge of the variable diag in case of an error
// the state of DiagGBS.EXTENDEDINFO[Stationsadress] is set from 7 (bus
// member reports an error) to 3 (bus member is active).
// 2. After the second ascending edge of the variable diag the diagnosis
// information is displayed in DiagGS.EXTENDEDINFO
DiagGS(ENABLE := Diag, DRIVERNAME := 0, DEVICENUMBER := 2,
BUSMEMBERID := Stationsadresse);
CECX-I 29
Summary of Contents for CECX-X-C1 Series
Page 1: ...Manual Controller Modular CECX CECX X C1 CECX X M1 761886 1112c en ...
Page 2: ...1112c en ...
Page 4: ......
Page 6: ...1112c en ...
Page 7: ...CECX modular control system CECX modular control system ...
Page 46: ...CECX modular control system CECX I 38 ...
Page 47: ...System manual CECX ...
Page 48: ...CECX II ...
Page 56: ...Content System Manual CECX VIII ...
Page 58: ...System manual CECX Product design CECX II 0 2 ...
Page 68: ...System manual CECX Safety notes CECX II 2 6 ...
Page 76: ...System manual CECX System overview CECX II 3 8 ...
Page 84: ...System manual CECX General assembly and installation instructions CECX II 4 8 ...
Page 118: ...System manual CECX Operating behavior CECX II 8 6 ...
Page 122: ...System manual CECX Disposal CECX II 10 2 ...
Page 124: ...System manual CECX Technical data CECX II 11 2 ...
Page 166: ......
Page 180: ......
Page 212: ......
Page 232: ......
Page 248: ......
Page 260: ......
Page 278: ......
Page 294: ......
Page 308: ......
Page 412: ......
Page 426: ......
Page 500: ...System manual CECX Bus link module CECX B CO CECX II 34 64 ...
Page 501: ...The library Ethernet lib The library Ethernet lib ...
Page 505: ...The library EventData lib The library EventData lib ...
Page 511: ...The library IncEnc lib The library IncEnc lib ...
Page 517: ...The Festo_EasyIP lib library ...
Page 532: ......
Page 535: ...The library PLCService lib The library PLCService lib ...
Page 542: ...The library PLCService lib CECX VII 6 ...
Page 543: ...The library SysLibComEx lib The library SysLibComEx lib ...
Page 547: ...The Festo_Motion lib library ...
Page 584: ......
Page 585: ...The Festo_PartDetector lib library ...
Page 601: ...FED VipWin interface ...
Page 630: ......