Parameters (PARAMS) ¶ InOut: Scope Name Type Initial Comment Constant INITIAL_NUMBER_OF_CLASS3_CONNECTIONS UINT 8 Initial number of class 3 connections. INITIAL_NUMBER_OF_CLASS1_CONNECTIONS UINT 8 Initial number of class 1 connections. INIT_SIZE_CIPDATA_MEM_MAN UINT 2 Number of cip data messages the cip data manager allocates. RETAIN_INSTANCES UDINT 10
UtilGetLocalByteorderAtRuntime (FUN) ¶ FUNCTION UtilGetLocalByteorderAtRuntime : IDatasources.ByteOrder InOut: Scope Name Type Return UtilGetLocalByteorderAtRuntime IDatasources.ByteOrder
UtilIsGeneralErrorReply (FUN) ¶ FUNCTION UtilIsGeneralErrorReply : BOOL we expect the automatic call of FB_Exit at return InOut: Scope Name Type Return UtilIsGeneralErrorReply BOOL Input pdu ProtocolDataUnit targetByteOrder IDatasources.ByteOrder Output errorCode UDINT retryTime UDINT
UtilIsIntelByteorder (FUN) ¶ FUNCTION UtilIsIntelByteorder : BOOL InOut: Scope Name Type Return UtilIsIntelByteorder BOOL Input bo IDatasources.ByteOrder
UtilIsToSwap (FUN) ¶ FUNCTION UtilIsToSwap : BOOL InOut: Scope Name Type Return UtilIsToSwap BOOL Input bo IDatasources.ByteOrder
UtilsWriteBYTE (FUN) ¶ FUNCTION UtilsWriteBYTE : UDINT Writes a BYTE to an IServiceWriter instance. InOut: Scope Name Type Comment Return UtilsWriteBYTE UDINT 0 if the processing was successful. Input itfServiceWriter IServiceWriter The IServiceWriter instance, where the data has to be written to uiTag UINT The tag used for identifying the data byValue BYTE The BYTE value, that has to be written
UtilsWriteString (FUN) ¶ FUNCTION UtilsWriteString : UDINT Writes a string to an IServiceWriter instance. The return value indicates, whether the processing was successful (0) or not. InOut: Scope Name Type Comment Return UtilsWriteString UDINT Input itfWriter IServiceWriter The IServiceWriter instance, where the data has to be written to uiTag UINT The tag used for identifying the data psz POINTER TO STRING(255) Points to the string, that has to be written
UtilsWriteUDINT (FUN) ¶ FUNCTION UtilsWriteUDINT : UDINT Writes an UDINT to an IServiceWriter instance. InOut: Scope Name Type Comment Return UtilsWriteUDINT UDINT 0 if the processing was successful. Input itfServiceWriter IServiceWriter The IServiceWriter instance, where the data has to be written to uiTag UINT The tag used for identifying the data udiValue UDINT The UDINT value, that has to be written xHasToSwap BOOL Flag, indicating, whether the bytes of the UDINT value have to be swapped
UtilsWriteUINT (FUN) ¶ FUNCTION UtilsWriteUINT : UDINT Writes an UINT to an IServiceWriter instance. InOut: Scope Name Type Comment Return UtilsWriteUINT UDINT 0 if the processing was successful. Input itfServiceWriter IServiceWriter The IServiceWriter instance, where the data has to be written to uiTag UINT The tag used for identifying the data uiValue UINT The UINT value, that has to be written xHasToSwap BOOL Flag, indicating, whether the bytes of the UINT value have to be swapped
UtilsWriteULINT (FUN) ¶ FUNCTION UtilsWriteULINT : UDINT Writes an ULINT to an IServiceWriter instance. InOut: Scope Name Type Comment Return UtilsWriteULINT UDINT 0 if the processing was successful. Input itfServiceWriter IServiceWriter The IServiceWriter instance, where the data has to be written to uiTag UINT The tag used for identifying the data uliValue ULINT The ULINT value, that has to be written xHasToSwap BOOL Flag, indicating, whether the bytes of the ULINT value have to be swapped