Tciputilitiesbc; Fig. 37 Function Block Fb_Sntp - Beckhoff BC9000 Documentation

Bus terminal controller for ethernet
Table of Contents

Advertisement

Key
Byte_Offset_Output: Specifies the offset for the digital output terminals (table 0, offset 19)
Byte_Offset_Input: Specifies the offset for the digital input terminals (table 0, offset 20)
PLC_Offset_Input: Specifies the offset for the fieldbus input data (PLC variables) (table 1, offset 0)
PLC_Len_Input: Specifies the length of the fieldbus input data (PLC variables) (table 1, offset 1)
PLC_Offset_Output: Specifies the offset for the fieldbus output data (PLC variables) (table 1, offset 2)
PLC_Len_Output: Specifies the length of the fieldbus output data (PLC variables) (table 1, offset 3)
Task_Time: Task time (table 1, offset 12)
Background_Time: Background time (table 1, offset 13)
RetainData: Number of retain data (table 1, offset 15)
PersistentData: Number of persistent data (table 1, offset 18)
Terminal_Refresh: K-bus refresh (table 1, offset 17)
Check_Terminals: Deactivate Bus Terminal verification during start-up (table 1 offset 14.6)
Return parameter iErrId
0
> 0
Download sample: (https://infosys.beckhoff.com/content/1033/bc9000/Resources/zip/4351405707.zip)
6.9.3

TcIpUtilitiesBC

6.9.3.1
Time protocol (SNTP)
(from firmware version BB)
The Simple Network Time Protocol is used to synchronize clocks via the internet. The BC9000 can be
synchronized with a time server.
Download library: (https://infosys.beckhoff.com/content/1033/bc9000/Resources/zip/4351407883.zip)
Fig. 37: Function block FB_SNTP
FUNCTION_BLOCK FB_SNTP
From firmware version BA:
If an empty string is entered in variable sSntpServer, the BC9000 will search for a time server. If no server is
found the process is terminated. If a time server is found, the IP address can be displayed via the
cCurrSntpServer variable. A rising edge of bStart activates the function block and starts the time server
query.
From firmware version BB:
If an IP address is entered the Bus Terminal Controller uses the SNTP protocol. If an empty string is
transferred, the time protocol (UDP port 37) is used.
BC9000 and BC9100
Meaning
No error
Error number (#not documented#)
Version: 4.0.0
Programming
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bc9100

Table of Contents