SysComAsyncFB (FB) ¶ FUNCTION_BLOCK SysComAsyncFB EXTENDS AsyncBaseClass Methods: SysComCloseAsync SysComGetSettingsAsync SysComOpen2Async SysComOpenAsync SysComPurgeAsync SysComReadAsync SysComSetSettingsAsync SysComSetTimeoutAsync SysComWriteAsync SysComCloseAsyncWrapper SysComGetSettingsAsyncWrapper SysComOpen2AsyncWrapper SysComOpenAsyncWrapper SysComPurgeAsyncWrapper SysComReadAsyncWrapper SysComSetSettingsAsyncWrapper SysComSetTimeoutAsyncWrapper SysComWriteAsyncWrapper Structure: SysComCloseAsync (Method) SysComGetSettingsAsync (Method) SysComOpen2Async (Method) SysComOpenAsync (Method) SysComPurgeAsync (Method) SysComReadAsync (Method) SysComSetSettingsAsync (Method) SysComSetTimeoutAsync (Method) SysComWriteAsync (Method) Wrapper SysComCloseAsyncWrapper (Method) SysComGetSettingsAsyncWrapper (Method) SysComOpen2AsyncWrapper (Method) SysComOpenAsyncWrapper (Method) SysComPurgeAsyncWrapper (Method) SysComReadAsyncWrapper (Method) SysComSetSettingsAsyncWrapper (Method) SysComSetTimeoutAsyncWrapper (Method) SysComWriteAsyncWrapper (Method)
SysComAsyncFB.SysComCloseAsync (METH) ¶ METHOD SysComCloseAsync : RTS_IEC_HANDLE <description>Close a com port asynchronously</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysComCloseAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComClose <param name=”pParam” type=”IN”></param> pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComGetSettingsAsync (METH) ¶ METHOD SysComGetSettingsAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComGetSettingsAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComSetSettings pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComOpen2Async (METH) ¶ METHOD SysComOpen2Async : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComOpen2Async RTS_IEC_HANDLE Input pParam POINTER TO tSysComOpen2 pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComOpenAsync (METH) ¶ METHOD SysComOpenAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComOpenAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComOpen pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComPurgeAsync (METH) ¶ METHOD SysComPurgeAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComPurgeAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComPurge pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComReadAsync (METH) ¶ METHOD SysComReadAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComReadAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComRead pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComSetSettingsAsync (METH) ¶ METHOD SysComSetSettingsAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComSetSettingsAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComSetSettings pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT
SysComAsyncFB.SysComWriteAsync (METH) ¶ METHOD SysComWriteAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComWriteAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComWrite pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComAsyncFB.SysComSetTimeoutAsync (METH) ¶ METHOD SysComSetTimeoutAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return SysComSetTimeoutAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysComSetTimeout pudState POINTER TO UDINT <param name=”pudState” type=”IN”>State of the async job. See CmpAsyncMgr.GVL.ASYNCSTATE_ definitions in CmpAsyncMgr.library.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>