softing_profi_get_serial_device_number (FUN) ¶ FUNCTION softing_profi_get_serial_device_number : INT InOut: Scope Name Type Return softing_profi_get_serial_device_number INT Input pSerialDeviceNumber POINTER TO UDINT
softing_profi_get_versions (FUN) ¶ FUNCTION softing_profi_get_versions : INT InOut: Scope Name Type Return softing_profi_get_versions INT Input pPapiVersion POINTER TO SINT pFirmwareVersion POINTER TO SINT
softing_profi_init (FUN) ¶ FUNCTION softing_profi_init : INT InOut: Scope Name Type Return softing_profi_init INT Input Board USINT ReadTimeout UDINT WriteTimeout UDINT
softing_profi_rcv_con_ind (FUN) ¶ FUNCTION softing_profi_rcv_con_ind : INT InOut: Scope Name Type Return softing_profi_rcv_con_ind INT Input pSdb POINTER TO SOFTING_T_PROFI_SERVICE_DESCR pData POINTER TO BYTE pDataLength POINTER TO UINT
softing_profi_set_data (FUN) ¶ FUNCTION softing_profi_set_data : INT InOut: Scope Name Type Return softing_profi_set_data INT Input DataId USINT Offset UINT DataSize UINT pData POINTER TO BYTE
softing_profi_set_dps_input_data (FUN) ¶ FUNCTION softing_profi_set_dps_input_data : INT InOut: Scope Name Type Return softing_profi_set_dps_input_data INT Input pData POINTER TO USINT DataLength USINT pState POINTER TO USINT
softing_profi_snd_req_res (FUN) ¶ FUNCTION softing_profi_snd_req_res : INT InOut: Scope Name Type Return softing_profi_snd_req_res INT Input pSdb POINTER TO SOFTING_T_PROFI_SERVICE_DESCR pData POINTER TO BYTE Dummy USINT
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:56:04 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpSoftingProfibus.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpSoftingProfibus.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 15:56:04 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace CmpSoftingProfibus Description See: Description Placeholder CmpSoftingProfibus Project CmpSoftingProfibus Title CmpSoftingProfibus Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
CmpTlsRead (FUN) ¶ FUNCTION CmpTlsRead : __XINT Receive data from the encrypted channel. If the connection is not established yet, this will be done transparent in the background. Normally only data is of the encrypted channel is consumed. In some cases (Handshaking has not finished or renegotiation of the session keys) this function will also write data. If the unterlaying IO doens’t write automatically the need to send data will be indicated using the corresponding error code. InOut: Scope Name Type Comment Return CmpTlsRead __XINT Number of bytes received. 0 if an error occured. Input hTlsConn RTS_IEC_HANDLE Handle of the TLS connection, created with one of the TLSxxxOpen functions pbyBuffer POINTER TO BYTE Pointer to a databuffer, where the received decrypted data should be written to. xiBufferSize __XINT Size of pbyData. Maximum number of bytes, that could be received from the TLS connection. pResult POINTER TO RTS_IEC_RESULT Result OF THIS operation. May be one OF these values: ERR_OK: No error. Everything worked as expected. ERR_NOTINITIALIZED: The TLS component was not initialized proberly. ERR_TLS_CONNECTION_CLOSED: The TLS connection is closed. Use TlsShutdown to shutdown locally. ERR_TLS_WANT_READ: The operation needs TO read data FROM the IO system. There is no data available. ERR_TLS_WANT_WRITE: The operation needs to write data to the IO system. This is not possible. ERR_TLS_RETRY_OPERATION: Something went wrong. Try the same function call again ERR_TLS_IO_SYSTEM: An error in the unterlaying IO system. ERR_TLS_INTERNAL: An internal Error of the TLS Component ERR_FAILED: Unknown error.