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_eStateFSoE communication state
S_xProcessDataBOOLFALSE
true, if the FSoE communication is established and valid FSoE frame with command PPROCESSDATA is received.
S_byLocalErrorBYTEFSOEDIAG.LOCALRESET
the local error of initialization or received FSoE frame event
S_byDeviceErrorBYTEFSOEDIAG.LOCALRESET
the received error from the FSoE device
S_udiResponseTimeMSUDINTthe FSoE response time in milliseconds for one cycle between FSoE master to slave and back
Methods:
Structure: