SNTPServer (FB)¶
FUNCTION_BLOCK SNTPServer
SNTP Server for time synchronization.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xActivateBOOLStarts and stops the server
uiOwnPortUINTPort of the server
sOwnIPSTRING(255)‚0.0.0.0‘
Optional: IP address of the PLC, Default: 0.0.0.0
Output
xErrorBOOLTrue if an error occured.
eErrorError code see ERROR