GeneralAndTime

GeneralAndTime (FB)

FUNCTION_BLOCK GeneralAndTime IMPLEMENTS IHttpRequest

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

FB Release

Input

itfHardwareConnector

IHttpRequestConnector

Interface to Hardware Connector

Input

xUserLed

BOOL

Control of the user LED

Input

xGetTime

BOOL

Query system time

Input

dtSetDate

DATE

Date to set

Input

todSetTime

TOD

Time to set

Input

sSetTimeZone

STRING

‘Europe/Berlin’

Time zone to set

Input

xSetTime

BOOL

Start setting date and time

Output

dtTimeData

DT

Output

sTimeZone

STRING

‘’

Output

sHardwareModel

STRING

Output

sBootloaderVersion

STRING

Output

sFirmwareVersion

STRING

Output

sSoftwareVersion

STRING

Output

eError

ERROR

Last updated