SysFileStreamFGetS (FUN) ¶ FUNCTION SysFileStreamFGetS : POINTER TO STRING InOut: Scope Name Type Return SysFileStreamFGetS POINTER TO STRING Input str POINTER TO STRING n DINT File RTS_IEC_HANDLE
SysFileStreamFOpen (FUN) ¶ FUNCTION SysFileStreamFOpen : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysFileStreamFOpen RTS_IEC_HANDLE Input FileName STRING Mode STRING can contain ‘w’ (write), ‘r’ (read), ‘a’ (append), ‘+’, ‘b’, ‘t’
SysFileStreamFPrintf_Int (FUN) ¶ FUNCTION SysFileStreamFPrintf_Int : DINT InOut: Scope Name Type Return SysFileStreamFPrintf_Int DINT Input File RTS_IEC_HANDLE szFormat STRING(20) nArg DINT
SysFileStreamFPrintf_Real (FUN) ¶ FUNCTION SysFileStreamFPrintf_Real : DINT InOut: Scope Name Type Return SysFileStreamFPrintf_Real DINT Input File RTS_IEC_HANDLE szFormat STRING(20) rArg REAL
SysFileStreamFPrintf_String (FUN) ¶ FUNCTION SysFileStreamFPrintf_String : DINT InOut: Scope Name Type Return SysFileStreamFPrintf_String DINT Input File RTS_IEC_HANDLE szFormat STRING(20) sArg POINTER TO STRING
SysGraphicLightBeginPaint (FUN) ¶ FUNCTION SysGraphicLightBeginPaint : RTS_IEC_RESULT <description> This function and <see>SysGraphicEndPaint</see> are used to encapsule some paint calls together. An implementing platform could use this encapsulation for some optimizations. For every call to SysGraphicBeginPaint there will be an according call to SysGraphicEndPaint. </description> <param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”rsCurrentVisuName” type=”IN”>The name of the current visualization.</param> <param name=”udiFlags” type=”IN”>Additional flags.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightBeginPaint RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE rsCurrentVisuName REFERENCE TO STRING udiFlags UDINT
SysGraphicLightEndPaint (FUN) ¶ FUNCTION SysGraphicLightEndPaint : RTS_IEC_RESULT <description> This function and <see>SysGraphicBeginPaint</see> are used to encapsule some paint calls together. An implementing platform could use this encapsulation for some optimizations. For every call to SysGraphicBeginPaint there will be an according call to SysGraphicEndPaint. </description> <param name=”hDisplayContext” type=”IN”>Handle to device context.</param> <param name=”rsCurrentVisuName” type=”IN”>The name of the current visualization.</param> <param name=”udiFlags” type=”IN”>Additional flags.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightEndPaint RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE rsCurrentVisuName REFERENCE TO STRING udiFlags UDINT
SysGraphicLightGetDisplayDeviceContext (FUN) ¶ FUNCTION SysGraphicLightGetDisplayDeviceContext : RTS_IEC_HANDLE <description> Provides a handle to the basic display context. If you do not use this handle any more, release it using <see>SysGraphicLightReleaseDisplayDeviceContext</see> </description> <param name=”udiDisplayID” type=”IN”>Optional parameter for indicating different display contexts by ID. If only one display is used the parameter is always 0. </param> <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param> <result><p>RESULT: Handle to the display context or RTS_INVALID_HANDLE if failed.</p></result> InOut: Scope Name Type Return SysGraphicLightGetDisplayDeviceContext RTS_IEC_HANDLE Input udiDisplayID UDINT pResult POINTER TO RTS_IEC_RESULT
SysGraphicLightReleaseDisplayDeviceContext (FUN) ¶ FUNCTION SysGraphicLightReleaseDisplayDeviceContext : RTS_IEC_RESULT <description> Releases a handle to the basic display context that was returned by <see>SysGraphicLightGetDisplayDeviceContext</see>. </description> <param name=”hDisplayContext” type=”IN”>The display device context to release.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightReleaseDisplayDeviceContext RTS_IEC_RESULT Input hDisplayContext RTS_IEC_HANDLE
SysGraphicLightRegisterFont (FUN) ¶ FUNCTION SysGraphicLightRegisterFont : RTS_IEC_RESULT <description> Function to register a font, which is downloaded by the user. </description> <param name=”pbyData” TYPE=”IN”>Font data</param> <param name=”udiDataSize” type=”IN”>Font data size</param> <param name=”pszFontName” type=”IN”>Name of the font that should be created.</param> <param name=”iFontSize” type=”IN”>Size of the font.</param> <param name=”udiFontFlags” type=”IN”>The font flags.</param> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Return SysGraphicLightRegisterFont RTS_IEC_RESULT Input pbyData POINTER TO BYTE udiDataSize UDINT Input Const pszFontName REFERENCE TO STRING Input iFontSize INT udiFontFlags UDINT