SafetyIoServices.Receive (METH) ¶ METHOD Receive : SafetyIoServicesItfs.SafetyIoServicesResult This method receives data from the SRTS. InOut: Scope Name Type Comment Return Receive SafetyIoServicesItfs.SafetyIoServicesResult SRTS_OK - if data was read successfully; SRTS_PENDING - if no data has been read yet; SRTS_FAILED - if an error occurred. Input udiModuleId UDINT The module to receive data for. uiProtocolTypeId UINT The id of the protocol type. pbyMemData POINTER TO BYTE Pointer to the reserved memory for the data. udiMemDataSize UDINT Size of the reserved memory. Output udiDataSize UDINT Size of provided data at pbyMemData.
SafetyIoServices.Send (METH) ¶ METHOD Send : SafetyIoServicesItfs.SafetyIoServicesResult This method sends data to the SRTS. InOut: Scope Name Type Comment Return Send SafetyIoServicesItfs.SafetyIoServicesResult SRTS_OK - if data was sent successfully; SRTS_PENDING - if data has not been sent yet; SRTS_FAILED - if an error occurred. Input udiModuleId UDINT The module to send data for. uiProtocolTypeId UINT The id of the protocol type. pbyData POINTER TO BYTE Pointer to the data. udiDataSize UDINT Size of the data to send.
FSoEBase for CODESYS Safety SIL2 Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title FSoEBase for CODESYS Safety SIL2 Version 3.5.18.0 Categories Application|Safety SIL2 Namespace FSoEBase Author 3S - Smart Software Solutions GmbH Placeholder FSoEBase Description 1 ¶ This library implements the FailsSafe over EtherCAT (FSoE) protocol stack for CODESYS Safety SIL2 according to the ETG-specification ETG5100. The implementation is done as an external library, i.e. the FBs as well as the functions of the FBs are implemented as a component of the CODESYS Control SIL2 runtime. Incoming FSoE PDUs can be processed and outgoing FSoE PDUs can be created accordingly. The transport layer for FSoE PDUs has no safety requirements and can be freely chosen. The FSoE PDUs are transmitted from the unsafe context. The transmission is not part of the library and must be implemented by the user of this library. Note: All FBs and methods of the CmpFSoE Base library shall be called in safe context! Contents: ¶ Bibliotheksinformation GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) FSoEBase Enums Function Blocks Indices and tables ¶ 1 Based on FSoEBase.library, last modified 12.04.2022, 12:29:19. LibDoc 4.4.0.0-b.27 The content file FSoEBase.clean.json was generated with CODESYS V3.5 SP16 Patch 1 on 12.04.2022, 12:29:19.
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
Bibliotheksinformation ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
FSoEBase ¶ Enums FSOEDIAG (Enum) FSOESTATE (Enum) Function Blocks Master (FunctionBlock) Init (Method) Input (Method) Output (Method) ResetConnection (Method) Slave (FunctionBlock) Init (Method) Input (Method) Output (Method) ResetConnection (Method)
Enums ¶ FSOEDIAG (Enum) FSOESTATE (Enum)
FSOEDIAG (ENUM) ¶ TYPE FSOEDIAG : Attributes: qualified_only InOut: Name Initial Comment LOCALRESET 0 Local reset ot acknowldegement OF a RESET command INVALID_CMD 1 Unexpected command UNKNOWN_CMD 2 Unknown command INVALID_CONNID 3 Invalid connection id INVALID_CRC 4 Crc error WDEXPIRED 5 Watchdog has expired INVALID_ADDRESS 6 Only slave: Invalid FSoE slave address INVALID_DATA 7 Only master, slave uses next detailed error codes INVALID_COMMPARALEN 8 Invalid communication parameter length INVALID_COMMPARA 9 Invalid communication parameter INVALID_USERPARALEN 10 Invalid application parameter length INVALID_USERPARA 11 Invalid application parameter INVALID_FRAMELEN 16#80 Invalid FSoE frame length NOLICENCE 16#81 Missing licence INVALID_BUFFER 16#82 Invalid buffer, not part of SIL2 memory areas (required for application parameter and the FSoE frame buffers)