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)
FSOESTATE (ENUM) ¶ TYPE FSOESTATE : Attributes: qualified_only InOut: Name Initial Comment INIT 0 INTERNAL FSoE state before execution of method Init RESET 100 FSoE state Reset (outputs are in safe mode) SESSION 101 FSoE state Session, the session ID is being transferred (outputs are in safe mode) CONN 102 FSoE state Connection, the connection ID and FSoE-Address is being transferred (outputs are in safe mode) PARA 103 FSoE state Parameter, the communication and the optional application parameter are being transferred (ooutputs are in safe mode) DATA 104 FSoE state Data, process or failsafe data are being transferred (outputs are only active if the pocess data command is received) ERROR 200 INTERNAL unexpected error, no futher execution of code
Function Blocks ¶ Master (FunctionBlock) Init (Method) Input (Method) Output (Method) ResetConnection (Method) Slave (FunctionBlock) Init (Method) Input (Method) Output (Method) ResetConnection (Method)
Master (FB) ¶ FUNCTION_BLOCK Master The FSoEBase Master function block implements the master side of the FSoE protocol and is responsible for establishing communication with an FSoE slave, parameterizing it and setting the FSoE watchdog time. With the call of the FB no execution is done, the flow control of the FSoE communication is executed by calling the functions of the FB. InOut: Scope Name Type Initial Comment Output S_eState FSOESTATE FSoE communication state S_xProcessData BOOL FALSE true, if the FSoE communication is established and valid FSoE frame with command PPROCESSDATA is received. S_byLocalError BYTE FSOEDIAG.LOCALRESET the local error of initialization or received FSoE frame event S_byDeviceError BYTE FSOEDIAG.LOCALRESET the received error from the FSoE device S_udiResponseTimeMS UDINT the FSoE response time in milliseconds for one cycle between FSoE master to slave and back Methods: Init Input Output ResetConnection Structure: Init (Method) Input (Method) Output (Method) ResetConnection (Method)