SysComSettingsEx2 (STRUCT) ¶ TYPE SysComSettingsEx2 : STRUCT <category>Com port extended settings</category> <description>: This structure can be used to get and set the settings of a COM port. NOTE: The difference of this structure to SysComSettingsEx are the 2 members byDtrControl and byRtsControl! Here you can specify BYTE instead of BOOL values in SysComSettingsEx! </description> InOut: Name Type Comment byByteSize BYTE <element name=”byByteSize” TYPE=”IN”>Number of bits/BYTE, 4-8</element> bBinary BOOL <element name=”bBinary” TYPE=”IN”>Binary mode, no EOF check</element> bOutxCtsFlow BOOL <element name=”bOutxCtsFlow” TYPE=”IN”>CTS handshaking on output</element> bOutxDsrFlow BOOL <element name=”bOutxDsrFlow” TYPE=”IN”>DSR handshaking on output</element> byDtrControl BYTE <element name=”byDtrControl” TYPE=”IN”>DTR (data-terminal- ready) flow control. See SYS_COM_DTR_CONTROL for possible values.</element> bDsrSensitivity BOOL <element name=”bDsrSensitivity” TYPE=”IN”>DSR Sensitivity</element> byRtsControl BYTE <element name=”byRtsControl” TYPE=”IN”>Rts (request-to-send) flow control. See SYS_COM_RTS_CONTROL for possible values.</element> bTXContinueOnXoff BOOL <element name=”bTXContinueOnXoff” TYPE=”IN”>XOFF continues Tx</element> bOutX BOOL <element name=”bOutX” TYPE=”IN”>XON/XOFF out flow control</element> bInX BOOL <element name=”bInX” TYPE=”IN”>XON/XOFF in flow control</element> byXonChar BYTE <element name=”XonChar” TYPE=”IN”>Tx AND Rx XON character</element> byXoffChar BYTE <element name=”XoffChar” TYPE=”IN”>Tx AND Rx XOFF character</element> wXonLim WORD <element name=”XonLim” TYPE=”IN”>transmit XON threshold</element> wXoffLim WORD <element name=”XoffLim” TYPE=”IN”>transmit XOFF threshold</element>
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
tSysComRead (STRUCT) ¶ TYPE tSysComRead : STRUCT InOut: Name Type pbyBuffer POINTER TO BYTE ulSize UDINT ulTimeout UDINT pResult POINTER TO RTS_IEC_RESULT pulOut POINTER TO UDINT
tSysComSetSettings (STRUCT) ¶ TYPE tSysComSetSettings : STRUCT InOut: Name Type pSettings POINTER TO COM_Settings pSettingsEx POINTER TO COM_SettingsEx pulOut POINTER TO RTS_IEC_RESULT
tSysComSetTimeout (STRUCT) ¶ TYPE tSysComSetTimeout : STRUCT InOut: Name Type pulTimeout POINTER TO COM_Timeout pulOut POINTER TO RTS_IEC_RESULT
tSysComWrite (STRUCT) ¶ TYPE tSysComWrite : STRUCT InOut: Name Type pbyBuffer POINTER TO BYTE ulSize UDINT ulTimeout UDINT pResult POINTER TO RTS_IEC_RESULT pulOut POINTER TO UDINT
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>