Herunterladen Inhalt Inhalt Diese Seite drucken

Slc_Diag_Gs3S - Bosch Rexroth IndraControl SafeLogic compact Inbetriebnahme

Inhaltsverzeichnis

Werbung

DOK-CONTRL-SLC*F*STEP*-CO04-DE-P
IndraControl SafeLogic compact Erste Schritte
ErrorIdent=> rErrIdent,
BusMaster:= IL_BUSMASTER.IL_BUSMASTER_0,
SercosAdr:= 65,
Idn:= IL_SIIIElementsToIdn(
ParamType:= IL_P_PARAM,
Set:= 0,
Nbr:= 3692,
StructInst:= 13, // = Gateway 1
StructElem:= 3),
Timeout:= T#2S,
Value=> ,
Attribute=> );
prSLC_DIAG_GS3S13 :=
ADR(fbIL_SIIIReadParameter.Value);
7.1.3

SLC_DIAG_GS3S

TYPE SLC_DIAG_GS3S :
STRUCT
// Byte 0
OperationStatus
: BIT; // 0.0
InternalError
: BIT; // 0.1
ExternalError
: BIT; // 0.2: Summary of Bits 1.0 to 2.7
Reserved03
: BIT; // 0.3
ConfigurationStatus : BIT; // 0.4
ModuleInputStatus
: BIT; // 0.5: Sercos in CP4
ModuleOutputStatus
: BIT; // 0.6: All CIP Safety output connect. active
SercosInCP4
: BIT; // 0.7
// Byte 1
Target01active
: BIT; // 1.0
Target02active
: BIT; // 1.1
Target03active
: BIT; // 1.2
Target04active
: BIT; // 1.3
Target05active
: BIT; // 1.4
Target06active
: BIT; // 1.5
Target07active
: BIT; // 1.6
Target08active
: BIT; // 1.7
// Byte 2
Target09active
: BIT; // 2.0
Target10active
: BIT; // 2.1
Target11active
: BIT; // 2.2
Target12active
: BIT; // 2.3
Target13active
: BIT; // 2.4
Target14active
: BIT; // 2.5
Target15active
: BIT; // 2.6
Target16active
: BIT; // 2.7
Der ausgelesene 4 Byte Modulstatus kann dann einer einfachen Strukturdefi‐
nition zugewiesen werden.
Abb. 7-2:
Beispiel zur Struktur SLC_DIAG_GS3S
Nachfolgende Beispiel-Strukturen können verwendet werden, d. h. den Code
hier aus der Dokumentation kopieren und im SPS-Projekt als neuen Datentyp
STRUCT anlegen.
Programm:
Bosch Rexroth AG
37/57
Applikationshinweise

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis