Gray Conversions ¶ BYTE_TO_GRAY (Function) DWORD_TO_GRAY (Function) GRAY_TO_BYTE (Function) GRAY_TO_DWORD (Function) GRAY_TO_WORD (Function) WORD_TO_GRAY (Function)
BYTE_TO_GRAY (FUN) ¶ FUNCTION BYTE_TO_GRAY : BYTE Converts one byte of binary code into one byte of GRAY code InOut: Scope Name Type Comment Return BYTE_TO_GRAY BYTE Value in GRAY code for input B Input B BYTE Value in binary code
DWORD_TO_GRAY (FUN) ¶ FUNCTION DWORD_TO_GRAY : DWORD Converts one DWORD of binary code into one DWORD of GRAY code InOut: Scope Name Type Comment Return DWORD_TO_GRAY DWORD Value in GRAY code for input X Input X DWORD Value in binary code
GRAY_TO_BYTE (FUN) ¶ FUNCTION GRAY_TO_BYTE : BYTE Converts one byte of GRAY code into one byte of binary code Requirements: Functions: PUTBIT , EXTRACT InOut: Scope Name Type Comment Return GRAY_TO_BYTE BYTE Value in binary code for the input B Input B BYTE Value in GRAY code
GRAY_TO_DWORD (FUN) ¶ FUNCTION GRAY_TO_DWORD : DWORD Converts one DWORD of GRAY code into one DWORD of binary code Requirements: Functions: PUTBIT , EXTRACT InOut: Scope Name Type Comment Return GRAY_TO_DWORD DWORD Value in binary code for input X Input X DWORD Value in GRAY code
GRAY_TO_WORD (FUN) ¶ FUNCTION GRAY_TO_WORD : WORD Converts one WORD of GRAY code into one WORD of binary code Requirements: Functions: PUTBIT , EXTRACT InOut: Scope Name Type Comment Return GRAY_TO_WORD WORD Value in binary code for input W Input W WORD Value in GRAY code
WEEKDAY (ENUM) ¶ TYPE WEEKDAY : Attributes: qualified_only InOut: Name Initial UNKNOWN 0 MONDAY 1 TUESDAY 2 WEDNESDAY 3 THURSDAY 4 FRIDAY 5 SATURDAY 6 SUNDAY 7
FunctionBlocks ¶ DateTimeProvider (FunctionBlock) GetDateTime (Method) TimerSwitch (FunctionBlock) IDateTimeProvider GetDateTime (Method)
DateTimeProvider (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL DateTimeProvider IMPLEMENTS IDateTimeProvider Methods: GetDateTime Structure: GetDateTime (Method)
DateTimeProvider.GetDateTime (METH) ¶ METHOD FINAL GetDateTime : ULINT InOut: Scope Name Type Comment Return GetDateTime ULINT date and (UTC) time in milliseconds since 1.1.1970 00:00:00.000 Output eErrorID ERROR