IEC61850_ENUM_MMS_DataType (ENUM) ¶ TYPE IEC61850_ENUM_MMS_DataType : InOut: Name Initial Comment IEC61850_MMS_TYPE_ARRAY 1 Page 91 MMS Part 2 IEC61850_MMS_TYPE_STRUCTURE IEC61850_MMS_TYPE_BOOLEAN IEC61850_MMS_TYPE_BITSTRING IEC61850_MMS_TYPE_INT IEC61850_MMS_TYPE_UINT IEC61850_MMS_TYPE_FLOAT IEC61850_MMS_TYPE_RESERVED IEC61850_MMS_TYPE_OCTSTRING IEC61850_MMS_TYPE_VISSTRING IEC61850_MMS_TYPE_GENTIME generalized-time IEC61850_MMS_TYPE_TOD Time of day IEC61850_MMS_TYPE_BCD IEC61850_MMS_TYPE_BOOLARRAY IEC61850_MMS_TYPE_OBJECT IEC61850_MMS_TYPE_MMSSTRING IEC61850_MMS_TYPE_UTCTIME IEC61850_MMS_TYPE_BITSTRING_ 36 Ausnahme Coded ENUM ist ein Bitstring. Bei der Initalisierung wird dieser aber mir einer neg. Länge behandelt IEC61850_MMS_TYPE_OCTSTRING_ Ausnahme Ocstring wird ganz versendet
IEC61850_ENUM_SERVICES (ENUM) ¶ TYPE IEC61850_ENUM_SERVICES : InOut: Name Comment IEC6850_SERVICE_INVALID IEC6850_SERVICE_LD_DIRECTORY Logical Device IEC6850_SERVICE_LD_GET_ALL_DATA_VALUES IEC6850_SERVICE_LN_DIRECTORY Logical Node IEC6850_SERVICE_LN IEC6850_SERVICE_GET_DATA_VALUES Data IEC6850_SERVICE_SET_DATA_VALUES IEC6850_SERVICE_GET_DATA_DEFINITION IEC6850_SERVICE_GET_DATA_DIRECTORY IEC6850_SERVICE_GET_DATASET_VALUE DataSet IEC6850_SERVICE_SET_DATASET_VALUE IEC6850_SERVICE_DATASET_CREATE IEC6850_SERVICE_DATASET_DELETE IEC6850_SERVICE_GET_DATASET_DIRECTORY IEC6850_SERVICE_SG_SELECT_ACTIVE Setting Group Control IEC6850_SERVICE_SG_SELECT_EDIT IEC6850_SERVICE_SG_SET_VALUES IEC6850_SERVICE_SG_CONFIRM_EDIT_VALUES IEC6850_SERVICE_SG_GET_VALUES IEC6850_SERVICE_SG_GET_CB_VALUES IEC6850_SERVICE_SELECT TODO: … GOOSE … Control IEC6850_SERVICE_SELECT_WITH_VALUE IEC6850_SERVICE_CANCEL IEC6850_SERVICE_OPERATE IEC6850_SERVICE_COMMAND_TERMINATION IEC6850_SERVICE_TIME_ACTIVATED_OPERATE IEC6850_SERVICE_GET_FILE File Transfer IEC6850_SERVICE_SET_FILE IEC6850_SERVICE_DELETE_FILE IEC6850_SERVICE_GET_FILE_ATTRIBUTE_VALUES
IEC61850_ENUM_TRGOPT (ENUM) ¶ TYPE IEC61850_ENUM_TRGOPT : InOut: Name Initial Comment IEC61850_TRGOPT_NONE 16#1 Bit 0 Reserved IEC61850_TRGOPT_DCHG 16#2 Bit 1 data-change IEC61850_TRGOPT_QCHG 16#4 Bit 2 data-update IEC61850_TRGOPT_DUPD 16#8 Bit 3 quality-change IEC61850_TRGOPT_INTEGRITY 16#10 Bit 4 integrity IEC61850_TRGOPT_GI 16#20 Bit 5 general-interrogation
IEC61850_EthernetAdapter (STRUCT) ¶ TYPE IEC61850_EthernetAdapter : STRUCT InOut: Name Type Initial aSrcMac ARRAY [0..5] OF BYTE [16#FF, 16#FF, 16#FF, 16#FF, 16#FF, 16#FF] nSrcMasterIx INT
IEC61850_HistDataBuffer_In (STRUCT) ¶ TYPE IEC61850_HistDataBuffer_In : STRUCT Achtung: die Reihenfolge der Elemente ist nicht egal InOut: Name Type Comment wLenInBuffer WORD wDataLen WORD dwMsgID DWORD Automatisch vergebene Message Nummer pSource POINTER TO STRING Pointer auf den Quellstring des Datenpunkt-Names dwTimeStampMS DWORD wTimeStampDay WORD iTrgOpt INT Trigger Option wDataType WORD Datentyp wIxInDataset WORD wBufferStatus WORD Status der Daten im Buffer
IEC61850_ENUM_QUALITY (ENUM) ¶ TYPE IEC61850_ENUM_QUALITY : InOut: Name Initial IEC61850_QAULITY_VALIDITY_1 0 IEC61850_QAULITY_VALIDITY_2 IEC61850_QAULITY_OVERFLOW IEC61850_QAULITY_OUTOFRANGE IEC61850_QAULITY_BADREFERENCE IEC61850_QAULITY_OSCILLATORY IEC61850_QAULITY_FAILURE IEC61850_QAULITY_OLDDATE IEC61850_QAULITY_INCONSISTENT IEC61850_QAULITY_INACCURATE IEC61850_QAULITY_SOURCE IEC61850_QAULITY_TEST IEC61850_QAULITY_OPERATORBLOCKED
tyIEC61850_MMS_DataExchange (STRUCT) ¶ TYPE tyIEC61850_MMS_DataExchange : STRUCT InOut: Name Type Comment pTxSPDU POINTER TO tyISO_SPDU Pointer auf die TX Daten pRxSPDU POINTER TO tyISO_SPDU Pointer auf die TX Daten sDeviceName STRING Service Specific sParameter STRING sCallLogicalNodeName STRING String des Aufrufenden Logical Node sCallDataObjectName STRING String des Aufrufenden DataObject sCallMainDataObjectName STRING String des Aufrufenden SubDataObject sCallDataAttrName_01 STRING String des Aufrufenden DataAttribute: Ebene 1 sCallDataAttrName_02 STRING String des Aufrufenden DataAttribute: Ebene 2 sCallDataAttrName_03 STRING String des Aufrufenden DataAttribute: Ebene 3 sCallDataAttrName_04 STRING String des Aufrufenden DataAttribute: Ebene 3 sCallDataAttrName_05 STRING String des Aufrufenden DataAttribute: Ebene 3 nCallAttrEbene INT Ebene des aufgerufenen DataAttribute sCallFC STRING String des Aufrufenden Function constraint eCurrentFC IEC61850_ENUM_FC aktueller functional contraint nArrayIx INT Bei einem Array wird hier der Index eingetragen sCallArrayEntryName STRING Name des Array Eintrags auf letzter Ebene nClientIx INT xErrorPDU BOOL TRUE = Confirmed Error PDU erzeugen xSpeciWithResult BOOL TRUE = DataSet Abfrage; With Result pDataPointRef POINTER TO tyIEC61850_DataPoint Beschreibung des Eintrags pFCPara POINTER TO INT nDataSetIx INT wDataSetEntryIx WORD pRegisterInDataset POINTER TO IEC61850_DatasetFB
tyIEC61850_MMS_Initiate (STRUCT) ¶ TYPE tyIEC61850_MMS_Initiate : STRUCT InOut: Name Type Comment dwlocalDetailCalling DWORD Optional nProposedMaxSerOutstandingCalling INT nProposedMaxSerOutstandingCalled INT byProposedDataStructureNestingLevel BYTE nProposedVersionNumber INT InitRequestDetail: aProposedParameterCBB ARRAY [1..20] OF BYTE aServicesSupportedCalling ARRAY [1..20] OF BYTE
tyIEC61850_ASN1_Header (STRUCT) ¶ TYPE tyIEC61850_ASN1_Header : STRUCT InOut: Name Type eClass IEC61850_ENUM_ASN1_TAGS wTagNr WORD xStruct BOOL diLen DINT
tyIEC61850_DataSetRef (STRUCT) ¶ TYPE tyIEC61850_DataSetRef : STRUCT InOut: Name Type Comment pDataPointRef POINTER TO tyIEC61850_DataPoint Beschreibung des Eintrags pFCPara POINTER TO INT Start Index im Array sDataSetPointName STRING Namen der Dataset Einträge dwChangedDataPointIx DWORD Index der Datenpunkte, wo sich der Wert geändert hat diFirstElementIx DINT n = Index des ersten Elementes in dem Array wIxInDataset WORD Index des Eintrages im Dataset. -> Inclusion Bitstring nDataObjectType INT 0 = DataAttribute Eintrag, 1 = DataObject Eintrag, 2 = DataStuct Eintrag