SNTPServer (FB)¶
FUNCTION_BLOCK SNTPServer
SNTP Server for time synchronization.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xActivate
BOOL
Starts and stops the server
uiOwnPort
UINT
Port of the server
sOwnIP
STRING(255)
‚0.0.0.0‘
Optional: IP address of the PLC, Default: 0.0.0.0
Output
xError
BOOL
True if an error occured.
eError
Error code see ERROR