Parameters ¶ ConvertReceivedParameter (Method) ConvertTransmitParameter (Method) GetMappedAxisParameter (Method) GetParamCommunicationMethod (Method) GetParamDirectValue (Method) GetParamType (Method) SetParamDirectValue (Method)
Axis_REF_CAN_DSP402_SML.ConvertReceivedParameter (METH) ¶ METHOD ConvertReceivedParameter : BOOL InOut: Scope Name Type Return ConvertReceivedParameter BOOL Input diParameterNumber DINT dwAxisValue DWORD Output val SML_ParamValue
SYS_COM_RTS_CONTROL (ENUM) ¶ TYPE SYS_COM_RTS_CONTROL : <category>RTS control</category> <description>: RTS control configuration</description> InOut: Name Initial Comment SYS_RTS_CONTROL_DISABLE 0 <element name=”SYS_RTS_CONTROL_DISABLE” TYPE=”IN”>Disables the RTS line when the device is opened and leaves it disabled.</element> SYS_RTS_CONTROL_ENABLE 1 <element name=”SYS_RTS_CONTROL_ENABLE” TYPE=”IN”>Enables the RTS line when the device is opened and leaves it on.</element> SYS_RTS_CONTROL_HANDSHAKE 2 <element name=”SYS_RTS_CONTROL_HANDSHAKE” TYPE=”IN”>Enables RTS handshaking.</element> SYS_RTS_CONTROL_TOGGLE 3 <element name=”SYS_RTS_CONTROL_TOGGLE” TYPE=”IN”>Specifies that the RTS line will be high if bytes are available for transmission. After all buffered bytes have been sent, the RTS line will be low.</element>
SYS_COM_STOPBITS (ENUM) ¶ TYPE SYS_COM_STOPBITS : <category>Stop bits</category> <description>: Supported stop bits</description> InOut: Name Initial SYS_ONESTOPBIT 1 SYS_ONE5STOPBITS SYS_TWOSTOPBITS
SYS_COM_TIMEOUT (ENUM) ¶ TYPE SYS_COM_TIMEOUT : <category>Timeouts</category> <description>: Specified standard timeouts</description> InOut: Name Initial SYS_NOWAIT 0 SYS_INFINITE 16#FFFFFFFF
SysComClose (FUN) ¶ FUNCTION SysComClose : RTS_IEC_RESULT <description>Close a serial communication device.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysComClose RTS_IEC_RESULT Input hCom RTS_IEC_HANDLE <param name=”hCom” type=”IN”>Handle to com port to close</param>
SysComGetSettings (FUN) ¶ FUNCTION SysComGetSettings : RTS_IEC_RESULT <description>Get the parameter of the interface specified by handle. Use SysComGetSettings2()! This function should only be used for backward compatibility! </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysComGetSettings RTS_IEC_RESULT Input hCom RTS_IEC_HANDLE <param name=”hCom” type=”IN”>Handle to com port</param> pSettings POINTER TO SysComSettings <param name=”pSettings” type=”IN”>Pointer to get settings</param> pSettingsEx POINTER TO SysComSettingsEx <param name=”pSettingsEx” type=”IN”>Pointer to get extended settings</param>
SysComGetSettings2 (FUN) ¶ FUNCTION SysComGetSettings2 : RTS_IEC_RESULT <description>Get the parameter of the interface specified by handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysComGetSettings2 RTS_IEC_RESULT Input hCom RTS_IEC_HANDLE <param name=”hCom” type=”IN”>Handle to com port</param> pSettings POINTER TO SysComSettings <param name=”pSettings” type=”IN”>Pointer to get settings</param> pSettingsEx2 POINTER TO SysComSettingsEx2 <param name=”pSettingsEx2” type=”IN”>Pointer to get extended settings</param>
SysComOpen (FUN) ¶ FUNCTION SysComOpen : RTS_IEC_HANDLE <description>Open a serial communication device.</description> <result><p>RESULT: Handle to the opened com port or RTS_INVALID_HANDLE if failed</p></result> InOut: Scope Name Type Comment Return SysComOpen RTS_IEC_HANDLE Input sPort SYS_COM_PORTS <param name=”sPort” type=”IN”>Com port to open. SYS_COMPORT1 = COM1, …</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysComOpen2 (FUN) ¶ FUNCTION SysComOpen2 : RTS_IEC_HANDLE <description>Opens a serial communication device specified by settings</description> <result><p>RESULT: Handle to the opened com port or RTS_INVALID_HANDLE if failed</p></result> InOut: Scope Name Type Comment Return SysComOpen2 RTS_IEC_HANDLE Input pSettings POINTER TO SysComSettings <param name=”pSettings” type=”IN”>Settings for the communication device. See category “Com port settings” for detailed information</param> pSettingsEx POINTER TO SysComSettingsEx <param name=”pSettingsEx” type=”IN”>Optional extended settings for the serial device. Can be 0.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>