Server.ResetRequestStatistics (METH) ¶ METHOD ResetRequestStatistics Reset the requests statistics information
RequestDataRead (STRUCT) ¶ TYPE RequestDataRead : STRUCT Represents a read request for ReadCoils, ReadDiscreteInputs, ReadHoldingRegisters and ReadInputRegisters. InOut: Name Type Initial Comment uiStartAddress UINT 0 uiQuantity UINT 1 ReadCoils / ReadDiscreteInputs: 1 to 2000 ReadHoldingRegisters / ReadInputRegisters: 1 to 125
RequestDataReadWriteMultipleRegisters (STRUCT) ¶ TYPE RequestDataReadWriteMultipleRegisters : STRUCT Represents a write request for ReadWriteMultipleRegisters. InOut: Name Type Initial uiReadStartAddress UINT 0 uiQuantityRead UINT 1 uiWriteStartAddress UINT 0 uiQuantityWrite UINT 1 usiWriteByteCount USINT 0
RequestDataWriteMultiple (STRUCT) ¶ TYPE RequestDataWriteMultiple : STRUCT Represents a write request for WriteMultipleCoils and WriteMultipleRegisters. InOut: Name Type Initial uiStartAddress UINT 0 uiQuantity UINT 1 usiByteCount USINT 0
RequestDataWriteSingle (STRUCT) ¶ TYPE RequestDataWriteSingle : STRUCT Represents a write request for WriteSingleCoil and WriteSingleRegister. InOut: Name Type Initial uiAddress UINT 0
RequestUnion (UNION) ¶ TYPE RequestUnion : UNION InOut: Name Type read RequestDataRead writeSingle RequestDataWriteSingle diagnostics RequestDataDiagnostics writeMultiple RequestDataWriteMultiple maskWriteRegister RequestDataMaskWriteRegister readWriteMultipleRegisters RequestDataReadWriteMultipleRegisters
SupportedFcs (STRUCT) ¶ TYPE SupportedFcs : STRUCT Supported function codes InOut: Name Type Initial Comment ReadCoils BIT FALSE supported functions codes ReadDiscreteInputs BIT FALSE ReadHoldingRegisters BIT FALSE ReadInputRegisters BIT FALSE WriteSingleCoil BIT FALSE WriteSingleRegister BIT FALSE ReadExceptionStatus BIT FALSE Diagnostics BIT FALSE GetCommEventCounter BIT FALSE GetCommEventLog BIT FALSE WriteMultipleCoils BIT FALSE WriteMultipleRegisters BIT FALSE ReportServerID BIT FALSE ReadFileRecord BIT FALSE WriteFileRecord BIT FALSE MaskWriteRegister BIT FALSE ReadWriteMultipleRegisters BIT FALSE ReadFifoQueue BIT FALSE EncapsulatedInterfaceTransport BIT FALSE DiagnosticsReturnQueryData BIT FALSE supported sub functions codes for FC08 DiagnosticsRestartCommunicationsOption BIT FALSE DiagnosticsReturnDiagnosticRegister BIT FALSE DiagnosticsChangeASCIIInputDelimiter BIT FALSE DiagnosticsForceListenOnlyMode BIT FALSE DiagnosticsClearCountersAndDiagnosticRegister BIT FALSE DiagnosticsReturnBusMessageCount BIT FALSE DiagnosticsReturnBusCommunicationErrorCount BIT FALSE DiagnosticsReturnBusExceptionErrorCount BIT FALSE DiagnosticsReturnServerMessageCount BIT FALSE DiagnosticsReturnServerNoResponseCount BIT FALSE DiagnosticsReturnServerNAKCount BIT FALSE DiagnosticsReturnServerBusyCount BIT FALSE DiagnosticsReturnBusCharacterOverrunCount BIT FALSE DiagnosticsClearOverrunCounterAndFlag BIT FALSE
TableDefinition (STRUCT) ¶ TYPE TableDefinition : STRUCT TableDefinition is used to define one of the “primary tables” as part of the “data model”. InOut: Name Type Initial Comment uiNumSections UINT 0 Number of sections in table pSections POINTER TO TableSection 0 sections
TableDefinitions (STRUCT) ¶ TYPE TableDefinitions : STRUCT TableDefinitions represents the “primary tables” (the “data model”). InOut: Name Type tableDiscreteInputs TableDefinition tableCoils TableDefinition tableInputRegisters TableDefinition tableHoldingRegisters TableDefinition
TableSection (STRUCT) ¶ TYPE TableSection : STRUCT TableSection is used to define a section of one of the “primary tables” as part of the “data model”. InOut: Name Type Initial Comment uiStart UINT 0 The “data item” start index uiNumDataItems UINT 0 Number of “data items” in section pStartAddr POINTER TO BYTE 0 Section start address uiDataItemSize UINT 0 “data item” size in bit, 1 or 8 for DiscreteInputs and Coils, 16 for InputRegisters and HoldingRegisters. DiscreteInputs and Coils can be put in memory as ARRAY[] OF BOOL (uiDataItemSize = 8) or adressed bit-wise (uiDataItemSize = 1).