tSysFileDeleteByHandle (STRUCT) ¶ TYPE tSysFileDeleteByHandle : STRUCT Parameter to delete the file specified by handle InOut: Name Type Comment pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
tSysFileEOF (STRUCT) ¶ TYPE tSysFileEOF : STRUCT Parameter to check, if end of file is reached Note End of file is only checked after a read operation with SysFileRead! But after a SysFileWrite or SysFileSetPos call, the function returns ERR_FAILED (no end of file)! InOut: Name Type Comment pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library) ERR_OK: End of file reached at reading beyond the end of the file ERR_FAILED: No end of file reached ERR_PARAMETER: hFile is invalid
tSysFileGetName (STRUCT) ¶ TYPE tSysFileGetName : STRUCT Parameter to get the file name InOut: Name Type Comment pszOut REFERENCE TO STRING [OUT] File name of the specified file
PathElem_Serialize (FUN) ¶ FUNCTION PathElem_Serialize : BOOL InOut: Scope Name Type Return PathElem_Serialize BOOL Input stream SM0.IOutStream includeElemFun BOOL Inout Const pe PathElem
tSysFileGetPath (STRUCT) ¶ TYPE tSysFileGetPath : STRUCT Parameter to get the path of this file. If a path is specified in the filename, the path will be extracted from the filename. If no path is specified in the filename, the standard path for this file extension type will be returned. InOut: Name Type Comment szFileName STRING(254) File name. Can contain an absolute or relative path szPath STRING(254) Path for this file diMaxLen DINT [OUT] Maximum size in bytes of path length pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
TCP Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title TCP Version 3.5.19.0 Categories Intern|Networking Namespace TCP Author 3S - Smart Software Solutions GmbH Placeholder TCP Description 1 ¶ Encapsulates socket calls in an easy to use TCP library Contents: ¶ TCP Enums Function Blocks Functions GlobalConstants Structs Indices and tables ¶ 1 Based on TCP.library, last modified 02.03.2023, 10:51:59. LibDoc 4.4.0.0-b.27 The content file TCP.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 10:52:01.
TCP ¶ Enums ERROR (Enum) STREAM_STATE (Enum) Function Blocks Connector (FunctionBlock) Connect (Method) Disconnect (Method) IPAddress (Property) Port (Property) Reset (Method) ResolveHostName (Method) Listener (FunctionBlock) Accept (Method) IPAddress (Property) Listen (Method) Port (Property) Socket (Property) Start (Method) Stop (Method) Select (FunctionBlock) Check (Method) CheckError (Method) CheckReceive (Method) CheckSend (Method) Stream (FunctionBlock) CheckConnectivity (Method) CheckReceive (Method) CheckSend (Method) Close (Method) Create (Method) FdIsSet (Method) FdSet (Method) GetOption (Method) IoControl (Method) Properties IPAddress (Property) Socket (Property) State (Property) Receive (Method) Reset (Method) Send (Method) SetOption (Method) Functions UDINT_TO_IPSTRING (Function) GlobalConstants Constants (GVL) Structs SockAddr (Struct)
OriDynState_ApplyParamState (FUN) ¶ FUNCTION OriDynState_ApplyParamState : BOOL Assuming uDst(x) = uSrc(sigma(x)), and given ps = (sigma(x), sigma’(x), sigma’’(x)), computes the first two derivatives of uDst(x) according to the chain rule. InOut: Scope Name Type Inout errCtx SMRE.ErrorContext ovDst OriDynState Inout Const ovSrc OriDynState ps ParamState Return OriDynState_ApplyParamState BOOL
Enums ¶ ERROR (Enum) STREAM_STATE (Enum)
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Comment NO_ERROR No Error: Everything worked fine. TIME_OUT Call timed out PENDING Still pending INVALID_HANDLE Detected an invalid handle/null pointer INVALID_IPADDRESS The given address is not valid CONNECT_FAILED Failed to connect to Listener HOST_NOT_FOUND Listener could not be found TCP_OPEN_ERROR Could not open tcp connection NO_STREAMS_TO_LISTEN There are no streams to listen to ADDR_NOT_AVAILABLE Address not available on this plc CONNECTION_LOST Connection lost. Check cables STREAM_STATE_ERROR Stream already created GET_OPTION_FAILED Could not get option. Maybe it is not supported by OS SET_OPTION_FAILED Could not set option. Maybe it is not supported by OS IOCTL_FAILED IO-Control failed RECEIVE_ERROR Error receiving a stream SEND_ERROR Error sending a stream FD_SET_INIT_FAILED Could not init fd set