AutoNegMode (GVL) ¶ Auto-negotiation mode of MAU (only valid, if auto-negotiation is supported) Attributes: qualified_only InOut: Scope Name Type Initial Constant SYSETH_AUTONEGMODE_Disabled USINT 0 SYSETH_AUTONEGMODE_Enabled USINT 1 SYSETH_AUTONEGMODE_Unknown USINT 255
AutoNegSupport (GVL) ¶ Auto-negotiation support of MAU Attributes: qualified_only InOut: Scope Name Type Initial Constant SYSETH_AUTONEGSUP_NotSupported USINT 0 SYSETH_AUTONEGSUP_Supported USINT 1 SYSETH_AUTONEGSUP_Unknown USINT 255
EventIDs (GVL) ¶ InOut: Name Type Initial Comment CMPID_SysEthernet DWORD 16#11C ComponentID to specify for EventOpen EVTPARAMID_SysEthernet WORD 16#1 ID for the event parameter structure EVTVERSION_SysEthernet WORD 16#2 Version for the event parameter structure EVT_EthPacketArrived DWORD (SHL(UINT_TO_DWORD(EventClass.EVTCLASS_INFO), 16) OR 16#1) Event is sent when Ethernet packet has arrived pEventParam may point to EVTPARAM_SysEthernet EVT_EthPacketSent DWORD (SHL(UINT_TO_DWORD(EventClass.EVTCLASS_INFO), 16) OR 16#2) Event is sent when Ethernet packet was sent pEventParam may point to EVTPARAM_SysEthernet EVT_EthGetParameterValue DWORD (SHL(UINT_TO_DWORD(EventClass.EVTCLASS_INFO), 16) OR 16#3) Event is created by the platform specific adaptation of SysEthernet, in case there are parameters, that are designed to be changed by the application. This way it is possible for the application to check if there are such possibilities and to get some parameters by calling “EventPost” pEventParam may point to EVTPARAM_SysEthernet EVT_EthSetParameterValue DWORD (SHL(UINT_TO_DWORD(EventClass.EVTCLASS_INFO), 16) OR 16#4) Event is created by the platform specific adaptation of SysEthernet, in case there are parameters, that are designed to be changed by the application. This way it is possible for the application to check if there are such possibilities and to set some parameters by calling “EventPost” pEventParam may point to EVTPARAM_SysEthernet
MauType (GVL) ¶ Media Access Unit (MAU) type according to RFC 4836 ‘IANAifMauTypeListBits’ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant SYSETH_MAUTYPE_OtherOrUnknown UDINT 0 other or unknown SYSETH_MAUTYPE_AUI UDINT 1 AUI SYSETH_MAUTYPE_10base5 UDINT 2 10BASE-5 SYSETH_MAUTYPE_Foirl UDINT 3 FOIRL SYSETH_MAUTYPE_10base2 UDINT 4 10BASE-2 SYSETH_MAUTYPE_10baseT UDINT 5 10BASE-T duplex mode unknown SYSETH_MAUTYPE_10baseFP UDINT 6 10BASE-FP SYSETH_MAUTYPE_10baseFB UDINT 7 10BASE-FB SYSETH_MAUTYPE_10baseFL UDINT 8 10BASE-FL duplex mode unknown SYSETH_MAUTYPE_10broad36 UDINT 9 10BROAD36 SYSETH_MAUTYPE_10baseTHD UDINT 10 10BASE-T half duplex mode SYSETH_MAUTYPE_10baseTFD UDINT 11 10BASE-T full duplex mode SYSETH_MAUTYPE_10baseFLHD UDINT 12 10BASE-FL half duplex mode SYSETH_MAUTYPE_10baseFLFD UDINT 13 10BASE-FL full duplex mode SYSETH_MAUTYPE_100baseT4 UDINT 14 100BASE-T4 SYSETH_MAUTYPE_100baseTXHD UDINT 15 100BASE-TX half duplex mode SYSETH_MAUTYPE_100baseTXFD UDINT 16 100BASE-TX full duplex mode SYSETH_MAUTYPE_100baseFXHD UDINT 17 100BASE-FX half duplex mode SYSETH_MAUTYPE_100baseFXFD UDINT 18 100BASE-FX full duplex mode SYSETH_MAUTYPE_100baseT2HD UDINT 19 100BASE-T2 half duplex mode SYSETH_MAUTYPE_100baseT2FD UDINT 20 100BASE-T2 full duplex mode SYSETH_MAUTYPE_1000baseXHD UDINT 21 1000BASE-X half duplex mode SYSETH_MAUTYPE_1000baseXFD UDINT 22 1000BASE-X full duplex mode SYSETH_MAUTYPE_1000baseLXHD UDINT 23 1000BASE-LX half duplex mode SYSETH_MAUTYPE_1000baseLXFD UDINT 24 1000BASE-LX full duplex mode SYSETH_MAUTYPE_1000baseSXHD UDINT 25 1000BASE-SX half duplex mode SYSETH_MAUTYPE_1000baseSXFD UDINT 26 1000BASE-SX full duplex mode SYSETH_MAUTYPE_1000baseCXHD UDINT 27 1000BASE-CX half duplex mode SYSETH_MAUTYPE_1000baseCXFD UDINT 28 1000BASE-CX full duplex mode SYSETH_MAUTYPE_1000baseTHD UDINT 29 1000BASE-T half duplex mode SYSETH_MAUTYPE_1000baseTFD UDINT 30 1000BASE-T full duplex mode SYSETH_MAUTYPE_10GbaseX UDINT 31 10GBASE-X SYSETH_MAUTYPE_10GbaseLX4 UDINT 32 10GBASE-LX4 SYSETH_MAUTYPE_10GbaseR UDINT 33 10GBASE-R SYSETH_MAUTYPE_10GbaseER UDINT 34 10GBASE-ER SYSETH_MAUTYPE_10GbaseLR UDINT 35 10GBASE-LR SYSETH_MAUTYPE_10GbaseSR UDINT 36 10GBASE-SR SYSETH_MAUTYPE_10GbaseW UDINT 37 10GBASE-W SYSETH_MAUTYPE_10GbaseEW UDINT 38 10GBASE-EW SYSETH_MAUTYPE_10GbaseLW UDINT 39 10GBASE-LW SYSETH_MAUTYPE_10GbaseSW UDINT 40 10GBASE-SW SYSETH_MAUTYPE_10GbaseCX4 UDINT 41 10GBASE-CX4 SYSETH_MAUTYPE_2BaseTL UDINT 42 2BASE-TL SYSETH_MAUTYPE_10PassTS UDINT 43 10PASS-TS SYSETH_MAUTYPE_100BaseBX10D UDINT 44 100BASE-BX10D SYSETH_MAUTYPE_100BaseBX10U UDINT 45 100BASE-BX10U SYSETH_MAUTYPE_100BaseLX10 UDINT 46 100BASE-LX10 SYSETH_MAUTYPE_1000BaseBX10D UDINT 47 1000BASE-BX10D SYSETH_MAUTYPE_1000BaseBX10U UDINT 48 1000BASE-BX10U SYSETH_MAUTYPE_1000BaseLX10 UDINT 49 1000BASE-LX10 SYSETH_MAUTYPE_1000BasePX10D UDINT 50 1000BASE-PX10D SYSETH_MAUTYPE_1000BasePX10U UDINT 51 1000BASE-PX10U SYSETH_MAUTYPE_1000BasePX20D UDINT 52 1000BASE-PX20D SYSETH_MAUTYPE_1000BasePX20U UDINT 53 1000BASE-PX20U SYSETH_MAUTYPE_10GbaseT UDINT 54 10GBASE-T SYSETH_MAUTYPE_10GbaseLRM UDINT 55 10GBASE-LRM SYSETH_MAUTYPE_1000baseKX UDINT 56 1000BASE-KX SYSETH_MAUTYPE_10GbaseKX4 UDINT 57 10GBASE-KX4 SYSETH_MAUTYPE_10GbaseKR UDINT 58 10GBASE-KR SYSETH_MAUTYPE_10G1GbasePRXD1 UDINT 59 10/1GBASE-PRX-D1 SYSETH_MAUTYPE_10G1GbasePRXD2 UDINT 60 10/1GBASE-PRX-D2 SYSETH_MAUTYPE_10G1GbasePRXD3 UDINT 61 10/1GBASE-PRX-D3 SYSETH_MAUTYPE_10G1GbasePRXU1 UDINT 62 10/1GBASE-PRX-U1 SYSETH_MAUTYPE_10G1GbasePRXU2 UDINT 63 10/1GBASE-PRX-U2 SYSETH_MAUTYPE_10G1GbasePRXU3 UDINT 64 10/1GBASE-PRX-U3 SYSETH_MAUTYPE_10GbasePRD1 UDINT 65 10GBASE-PR-D1 SYSETH_MAUTYPE_10GbasePRD2 UDINT 66 10GBASE-PR-D2 SYSETH_MAUTYPE_10GbasePRD3 UDINT 67 10GBASE-PR-D3 SYSETH_MAUTYPE_10GbasePRU1 UDINT 68 10GBASE-PR-U1 SYSETH_MAUTYPE_10GbasePRU3 UDINT 69 10GBASE-PR-U3 SYSETH_MAUTYPE_40GbaseKR4 UDINT 70 40GBASE-KR4 SYSETH_MAUTYPE_40GbaseCR4 UDINT 71 40GBASE-CR4 SYSETH_MAUTYPE_40GbaseSR4 UDINT 72 40GBASE-SR4 SYSETH_MAUTYPE_40GbaseFR UDINT 73 40GBASE-FR SYSETH_MAUTYPE_40GbaseLR4 UDINT 74 40GBASE-LR4 SYSETH_MAUTYPE_100GbaseCR10 UDINT 75 100GBASE-CR10 SYSETH_MAUTYPE_100GbaseSR10 UDINT 76 100GBASE-SR10 SYSETH_MAUTYPE_100GbaseLR4 UDINT 77 100GBASE-LR4 SYSETH_MAUTYPE_100GbaseER4 UDINT 78 100GBASE-ER4 SYSETH_MAUTYPE_1000baseT1 UDINT 79 1000BASE-T1 SYSETH_MAUTYPE_1000basePX30D UDINT 80 1000BASE-PX30D SYSETH_MAUTYPE_1000basePX30U UDINT 81 1000BASE-PX30U SYSETH_MAUTYPE_1000basePX40D UDINT 82 1000BASE-PX40D SYSETH_MAUTYPE_1000basePX40U UDINT 83 1000BASE-PX40U SYSETH_MAUTYPE_10G1GbasePRXD4 UDINT 84 10/1GBASE-PRX-D4 SYSETH_MAUTYPE_10G1GbasePRXU4 UDINT 85 10/1GBASE-PRX-U4 SYSETH_MAUTYPE_10GbasePRD4 UDINT 86 10GBASE-PRD4 SYSETH_MAUTYPE_10GbasePRU4 UDINT 87 10GBASE-PRU4 SYSETH_MAUTYPE_25GbaseCR UDINT 88 25GBASE-CR SYSETH_MAUTYPE_25GbaseCRS UDINT 89 25GBASE-CR-S SYSETH_MAUTYPE_25GbaseKR UDINT 90 25GBASE-KR SYSETH_MAUTYPE_25GbaseKRS UDINT 91 25GBASE-KR-S SYSETH_MAUTYPE_25GbaseR UDINT 92 25GBASE-R SYSETH_MAUTYPE_25GbaseSR UDINT 93 25GBASE-SR SYSETH_MAUTYPE_25GbaseT UDINT 94 25GBASE-T SYSETH_MAUTYPE_40GbaseER4 UDINT 95 40GBASE-ER4 SYSETH_MAUTYPE_40GbaseR UDINT 96 40GBASE-R SYSETH_MAUTYPE_40GbaseT UDINT 97 40GBASE-T SYSETH_MAUTYPE_100GbaseCR4 UDINT 98 100GBASE-CR4 SYSETH_MAUTYPE_100GbaseKR4 UDINT 99 100GBASE-KR4 SYSETH_MAUTYPE_100GbaseKP4 UDINT 100 100GBASE-KP4 SYSETH_MAUTYPE_100GbaseR UDINT 101 100GBASE-R SYSETH_MAUTYPE_100GbaseSR4 UDINT 102 100GBASE-SR4
MvtIdRange_Contains (FUN) ¶ FUNCTION MvtIdRange_Contains : BOOL InOut: Scope Name Type Inout Const mvtIds MvtIdRange Input mvtId ULINT Return MvtIdRange_Contains BOOL
OperStatus (GVL) ¶ Link state of Ethernet port according to RFC 2863 ‘IfOperStatus’ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant SYSETH_OPERSTAT_Up UINT 1 ready to pass packets SYSETH_OPERSTAT_Down UINT 2 down and not in a condition to pass packets SYSETH_OPERSTAT_Testing UINT 3 in some test mode SYSETH_OPERSTAT_Unknown UINT 4 status can not be determined for some reason SYSETH_OPERSTAT_Dormant UINT 5 not up, pending state SYSETH_OPERSTAT_NotPresent UINT 6 some component e. g. a hardware device is missing SYSETH_OPERSTAT_LowerLayerDown UINT 7 down due to state of lower-layer interface(s)
EventParameter ¶ EVTPARAM_SysEthernet (Struct)
EVTPARAM_SysEthernet (STRUCT) ¶ TYPE EVTPARAM_SysEthernet : STRUCT InOut: Name Type Comment pFrame POINTER TO BYTE Pointer to one Ethernet frame hAdapter RTS_IEC_HANDLE Handle to current adapter
Functions ¶ SysEthernetAdapterClose (Function) SysEthernetAdapterOpen (Function) SysEthernetEthFrameReceive (Function) SysEthernetEthFrameSend (Function) SysEthernetFrameRelease (Function) SysEthernetGetCapabilities (Function) SysEthernetGetInterfaceCounters (Function) SysEthernetGetMediaCounters (Function) SysEthernetGetPortConfigAndStatus (Function) SysEthernetIpFrameReceive (Function) SysEthernetIpFrameSend (Function) SysEthernetLEDBlink (Function) SysEthernetSetAutoNegAdvertisedCap (Function) SysEthernetSetAutoNegMode (Function) SysEthernetSetMauType (Function)
SysEthernetAdapterClose (FUN) ¶ FUNCTION SysEthernetAdapterClose : SysTypes.RTS_IEC_RESULT Close a Ethernet adapter. InOut: Scope Name Type Comment Return SysEthernetAdapterClose SysTypes.RTS_IEC_RESULT Input hAdapter SysTypes.RTS_IEC_HANDLE Handle to the opened Ethernet adapter. Retrieved using SysEthernetAdapterOpen()