Plc Services Library Documentation ¶ Company System Title Plc Services Version 3.5.8.0 Categories Intern|DataServer Author 3S-Smart Software Solutions GmbH Placeholder Plc Services Description 1 ¶ This library provides access to another plc using the communication interface. Contents: ¶ AddLogMessage (Function) ComponentConstants (GVL) Constants (GVL) Enumerations PlcAppConnectionInitFlags (Enum) PlcAppConnectionInternalShuttingDown (Enum) PlcCryptType (Enum) PlcMonitoringErrorCodes (Enum) PlcServiceByteOrder (Enum) PlcServiceChannelMode (Enum) PlcServiceChannelState (Enum) PlcSymbolicMonitoringType (Enum) PlcSymbolicQuality (Enum) PlcVarListMonitoringState (Enum) Global_Instances (GVL) IPlcServiceChannel (Interface) Byteorder (Property) CommBufferSize (Property) ErrorCode (Property) GetReply (Method) Mode (Property) RegisterCallbackTarget (Method) ReleaseReply (Method) Send (Method) SendRaw (Method) State (Property) UnregisterCallbacktarget (Method) IPlcServiceChannelCallbackTarget (Interface) ChannelError (Method) ReplyReceived (Method) IServiceHelper (Interface) CreateResponse (Method) CreateService (Method) SavepointMemory (Property) ITaggedServiceReader (Interface) GetContent (Method) GetContentSize (Method) GetUnreadContentSize (Method) IgnoreBytes (Method) IsDataTag (Property) MoveDown (Method) MoveNext (Method) MoveNextConditional (Method) MoveUp (Method) ReadByte (Method) ReadBytes (Method) ReadBytesSwapped (Method) ReadDWord (Method) ReadLWord (Method) ReadString (Method) ReadWString (Method) ReadWord (Method) TagId (Property) ValidTag (Property) ITaggedServiceWriter (Interface) WriteByte (Method) WriteBytes (Method) WriteBytesSwapped (Method) WriteComplexStartTag (Method) WriteDWord (Method) WriteDataStartTag (Method) WriteEndTag (Method) WriteFillBytes (Method) WriteLWord (Method) WritePString (Method) WriteString (Method) WriteWord (Method) ITaggedServiceWriter2 (Interface) WriteDWordSwapped (Method) WriteLWordSwapped (Method) WriteWordSwapped (Method) ITaggedServiceWriter3 (Interface) AppendRaw (Method) Intern CodeWriter (FunctionBlock) OnChannelError (Function) OnChannelReply (Function) PlcServiceChannel (FunctionBlock) SCM_ChannelInfo (Struct) SCM_ChannelState (Enum) TaggedServiceReader (FunctionBlock) TaggedServiceWriter (FunctionBlock) Logging GVL_LogPlcServices (GVL) PlcServiceLog_Binary (Function) PlcServiceLog_CurrentTime (Function) PlcServiceLog_DumpDataItem (Function) PlcServiceLog_DumpDataItem2 (Function) PlcServiceLog_DumpDataItemBase (Function) PlcServiceLog_DumpDataItemWriting (Function) PlcServiceLog_Error (Function) PlcServiceLog_ErrorAndClose (Function) PlcServiceLog_LogLine (Function) PlcServiceLog_OkAndClose (Function) LoggingHelper (FunctionBlock) FB_Exit (Method) FB_Init (Method) PlcAppConnection (FunctionBlock) Close (Method) CommBufferSize (Property) CutItemsAfterFirstDot (Property) ExecuteDataServerReply (Method) ExecuteMonitoringReply (Method) ExecuteSymbolicMonitoringReply (Method) IServiceHelper-Methods Initialize (Method) Internal-access-Methods InternalShutdownFlags (Property) IsSwappingNeeded (Method) LastError (Property) MonitoringProvider (Property) MonitoringProvider2 (Property) MonitoringProviderSupportsPartialLists (Property) Private-Build-services-Methods Private-Parse-replies-Methods Private-State-Methods Private-Utility-Methods RetryTime (Property) SendDataServerRequest (Method) SendMonitoringRequest (Method) SendSymbolicMonitoringRequest (Method) SendSymbolicWriteVariablesRequest (Method) SendWriteVariablesRequest (Method) StartConnection (Method) StartShutdownConnection (Method) State (Property) StaticMemory (Property) UpdateState (Method) PlcService (FunctionBlock) Create (Method) Data (Property) DataValid (Property) FB_Exit (Method) Finish (Method) HaveToSwap (Property) Header (Property) InitSavepoint (Method) RestoreSavepoint (Method) StoreSavepoint (Method) Writer (Property) PlcServiceChannelMgr (FunctionBlock) BeginCreateChannel (Method) ChannelErrorCallback (Method) ChannelReplyCallback (Method) GetChannel (Method) GetCreateChannelResult (Method) ReleaseChannel (Method) prvFindChannelByHandle (Method) prvFindChannelByInterface (Method) PlcServiceResponse (FunctionBlock) Create (Method) Destroy (Method) FB_Exit (Method) Header (Property) Reader (Property) private PlcVarListMonitoring (FunctionBlock) Building-Services Initialize (Method) OnExecuteMonitoringReply (Method) OnMonitoringRequestSent (Method) OnShuttingDown (Method) Parsing-Resonses Send-Requests SendMonitoringRequest (Method) States Utility-Functions WantsShutdownNotification (Property) prvState (Property) Projektinformationen GetBooleanProperty (Function) GetCompany (Function) GetNumberProperty (Function) GetTextProperty (Function) GetTextProperty2 (Function) GetTitle (Function) GetVersion (Function) GetVersionProperty (Function) ReturnValues (GVL) Services (GVL) Structures DataBuffer (Struct) Guid (Struct) PlcAppConnectionMemory (Struct) PlcAppIdentification (Struct) PlcCredentials (Struct) PlcServiceHeader (Struct) Test Test_CBTarget (FunctionBlock) Test_Connection (Program) Test_DataItem (FunctionBlock) Test_DataItemProvider (FunctionBlock) Test_DataItemProviderBlackfin (FunctionBlock) Test_MonitoringValues (Struct) Test_OSRB (Program) Test_PRG (Program) Testcases (Enum) Utilities Byteorder MonitoringIdMap (FunctionBlock) OptimizedSymbolRequestBuilder (FunctionBlock) PlcMonitoringServiceHelper (FunctionBlock) Swapping Token (Struct) TokenVector (FunctionBlock) UDINT_UINT_Pair (Struct) UtilAreGuidsEqual (Function) UtilByteToHexString (Function) UtilCutStringAfterFirstDot (Function) UtilDumpReadBytes (Function) UtilDumpUInt (Function) UtilDwordToHexString (Function) UtilFindDataItemById (Function) UtilIsGeneralErrorReply (Function) UtilIsGuidEmpty (Function) UtilIsSwappedType (Function) UtilLogOptimizedRequest (Function) UtilMemCmp (Function) UtilMemCpy (Function) UtilMemCpyBytewiseUnchecked (Function) UtilMonitorDataItem (Function) UtilMonitorDataItemArray (Function) UtilPlcAppConnectionMemoryIsEmpty (Function) UtilPstrlen (Function) UtilReadMisalignedDWord (Function) UtilReadMisalignedLWord (Function) UtilReadMisalignedWord (Function) UtilReadValue (Function) UtilReaderHasAtLeastUnreadSize (Function) UtilReaderHasUnreadSize (Function) UtilSetQuality (Function) UtilSetSymbolicQuality (Function) UtilUINT_From_HexString (Function) UtilUintToHexString (Function) UtilWriteValueToWriter (Function) Indices and tables ¶ 1 Based on PlcServices.library, last modified 01.01.1601, 00:53:00. LibDoc 4.4.0.0-b.27 The content file PlcServices.clean.json was generated with CODESYS V3.5 SP10 Patch 2 on 17.05.2017, 17:32:10.
NetVarUdp Library Documentation ¶ Company System Title NetVarUdp Version 3.5.19.0 Categories Intern|NetVars Namespace NetVarUdp Author 3S-Smart Software Solutions GmbH Placeholder NetVarUDP Description 1 ¶ Implements the UDP protocol for network variables Contents: ¶ Data types CLIENT_ACCEPT (Struct) CLIENT_REPLY (Struct) NetVarDataItem_Udp (Struct) NetVarOD_Service_Udp (Enum) NetVarTelegramm_Udp (Struct) NetVarTlgHeader_Udp (Struct) NetVarUDPDiagStruct (Struct) NetVarUDPError (Enum) Global Variables Globale_Variablen (GVL) POUs NetVar POUs Swap (Function) Udp specific Parameters (ParamList) Indices and tables ¶ 1 Based on NetVarUdp.library, last modified 02.03.2023, 10:51:49. LibDoc 4.4.0.0-b.27 The content file NetVarUdp.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 10:51:51.
Data types ¶ CLIENT_ACCEPT (Struct) CLIENT_REPLY (Struct) NetVarDataItem_Udp (Struct) NetVarOD_Service_Udp (Enum) NetVarTelegramm_Udp (Struct) NetVarTlgHeader_Udp (Struct) NetVarUDPDiagStruct (Struct) NetVarUDPError (Enum)
CLIENT_ACCEPT (STRUCT) ¶ TYPE CLIENT_ACCEPT : STRUCT InOut: Name Type diSocket DINT stIPAddress STRING(20)
CLIENT_REPLY (STRUCT) ¶ TYPE CLIENT_REPLY : STRUCT InOut: Name Type diBytesReceived __XINT dwIPAddress DWORD stIPAddressTransmitter STRING
NetVarDataItem_Udp (STRUCT) ¶ TYPE NetVarDataItem_Udp : STRUCT InOut: Name Type Initial pAddress POINTER TO BYTE nDataLen INT siType SINT -1
NetVarOD_Service_Udp (ENUM) ¶ TYPE NetVarOD_Service_Udp : InOut: Name Initial ODStateFree 0 ODReadRequest ODReadRequestReply ODWriteRequest ODWriteRequestReply ODAcknowledgement ODBootUpRequest ODErrorReplyUnnown 20 ODErrorReplyItems ODErrorReplyAccess ODErrorReplyIdx ODErrorReplySub ODErrorReplyLen ODErrorWrongService ODErrorTimeOut ODErrorReplyCPUStopped ODErrorDataLength ODStateBusy 100
NetVarTelegramm_Udp (STRUCT) ¶ TYPE NetVarTelegramm_Udp : STRUCT InOut: Name Type Header NetVarTlgHeader_Udp pData ARRAY [0..(Parameters.UdpPacketSize - 1)] OF BYTE
NetVarTlgHeader_Udp (STRUCT) ¶ TYPE NetVarTlgHeader_Udp : STRUCT InOut: Name Type Initial Comment dwIdentity DWORD 16#33532D00 dwIdentity : DWORD := TELEGRAM_IDENT; (* Kennung für Art der UDP Message BYTE 0 = ‘3’, 1 = ‘S’, 2 = ‘-’ , 3 = Nummer der Version * ) dwID DWORD nIndex INT nSubIndex INT nItems INT nLen INT nCounter INT byFlags BYTE Bit 0: Sende Bestätigung erwünscht byChecksum BYTE Bit 1: Checksumme prüfen Bit 2: Ungültige Checksumme Bit 3: Sender stopped
NetVarUDPDiagStruct (STRUCT) ¶ TYPE NetVarUDPDiagStruct : STRUCT InOut: Name Type nSendCount UDINT tLastSend TIME nReceiveCount UDINT tLastReceive TIME nWriteCount UDINT sLastError NetVarUDPError tLastError TIME nErrorCount UINT nAcknowledges UINT bSenderStopped BOOL