HEXinASCII_TO_BYTE (FUN) ¶ FUNCTION HEXinASCII_TO_BYTE : BYTE Converts one word in HEX code representing its ASCII value into one byte of binary code The higher byte in the input represents the higher bits in the output. Use BYTE_TO_HEXinASCII function for the reverse conversion. InOut: Scope Name Type Comment Return HEXinASCII_TO_BYTE BYTE Value in binary code of the input W Input W WORD Value in HEX code
WORD_AS_STRING (FUN) ¶ FUNCTION WORD_AS_STRING : STRING(2) Converts one word into its ASCII string representation Example: Input : '16#48_46' Byte order : FALSE -> String : 'FH' InOut: Scope Name Type Comment Return WORD_AS_STRING STRING(2) A STRING(2) representing the HEX code of the input W Input W WORD Input value ORDER BOOL TRUE : Swaps high and low byte
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
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