Slave (FB)ΒΆ
FUNCTION_BLOCK Slave
The FSoEBase Slave FB implements the slave side of the FSoE protocol. The communication is established from the master side and the slave side receives the corresponding configuration and establishes the communication with the master with the specified parameters. The FSoE watchdog time, for example, is specified by the master side. 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- FSoE state - S_uiFWDT- UINT- from Master received F-WatchdogTime - S_uiConnId- UINT- from FSoE master received unique connection id - S_xCheckParameterEvent- BOOL- event to check the stored application parameter. ATTN: Must be done before the method output is called! - 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 - local fault reason - S_byMasterError- BYTE- FSOEDIAG.LOCALRESET - the reported error from the FSoE master 
Methods:
Structure:
