tSysSockSend (STRUCT) ¶ TYPE tSysSockSend : STRUCT InOut: Name Type Comment pbyBuffer POINTER TO BYTE diBufferSize __XINT diFlags DINT pResult POINTER TO RTS_IEC_RESULT pdiOut POINTER TO __XINT Send
tSysSockSendTo (STRUCT) ¶ TYPE tSysSockSendTo : STRUCT InOut: Name Type Comment pbyBuffer POINTER TO BYTE diBufferSize __XINT diFlags DINT pSockAddr POINTER TO SOCKADDRESS diSockAddrSize DINT pResult POINTER TO RTS_IEC_RESULT pdiOut POINTER TO __XINT Received
tSysSockSendToUdp (STRUCT) ¶ TYPE tSysSockSendToUdp : STRUCT InOut: Name Type Comment diPort DINT pszDestAddress STRING pbyData POINTER TO BYTE diDataSize __XINT pResult POINTER TO RTS_IEC_RESULT pdiOut POINTER TO __XINT Send
tSysSockSetIpAddress (STRUCT) ¶ TYPE tSysSockSetIpAddress : STRUCT InOut: Name Type Comment pszCard STRING pszIpAddress STRING pulOut POINTER TO RTS_IEC_RESULT Result
tSysSockSetOption (STRUCT) ¶ TYPE tSysSockSetOption : STRUCT InOut: Name Type Comment diLevel DINT diOption DINT pdiOptionValue POINTER TO DINT diOptionLen DINT pulOut POINTER TO RTS_IEC_RESULT Result
tSysSockSetSubnetMask (STRUCT) ¶ TYPE tSysSockSetSubnetMask : STRUCT InOut: Name Type Comment pszIpAddress STRING pszSubnetMask STRING pulOut POINTER TO RTS_IEC_RESULT Result
SysSockBind30 (FUN) ¶ FUNCTION SysSockBind30 : UDINT InOut: Scope Name Type Return SysSockBind30 UDINT Input hSocket UDINT pSockAddr POINTER TO SOCKADDRESS diSockAddrSize DINT
SysTimeRtcHighResGet (FUN) ¶ FUNCTION SysTimeRtcHighResGet : RTS_IEC_RESULT <description>Returns the Rtc (realtime clock) value with a high resolution in UTC. <p>UTC time: current coordinated universal time; has replaced the Greenwich Mean Time. The time zones are given as positive or negative deviation from UTC.: e.g. „UTC+1“ corresponds to the Central European Time (CET) and ”UTC+2” corresponds to the Central European Summer Time (CEST)</p> </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimeRtcHighResGet RTS_IEC_RESULT Inout pTimestamp SYSTIME <param name=”pTimestamp” type=”OUT”>Milliseconds since 1.1.1970 00:00:000 UTC</param>
SysTimeRtcHighResSet (FUN) ¶ FUNCTION SysTimeRtcHighResSet : RTS_IEC_RESULT <description>Set the Rtc (realtime clock) value with a high resolution.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimeRtcHighResSet RTS_IEC_RESULT Inout pTimestamp SYSTIME <param name=”pTimestamp” type=”OUT”>Milliseconds since 1.1.1970 00:00:000 UTC</param>
RTS_SYSTIMEDATE (STRUCT) ¶ TYPE RTS_SYSTIMEDATE : STRUCT <description>Time and date in structured</description> InOut: Name Type Comment wYear UINT <element=”wYear” type=”IN”>Year (e.g. 2006)</element> wMonth UINT <element=”wMonth” type=”IN”>Month (1..12: January = 1, December = 12)</element> wDay UINT <element=”wDay” type=”IN”>Day of month (1..31)</element> wHour UINT <element=”wHour” type=”IN”>Hours after midnight (0..23)</element> wMinute UINT <element=”wMinute” type=”IN”>Minutes after hour (0..59)</element> wSecond UINT <element=”wSecond” type=”IN”>Seconds after minute (0..59)</element> wMilliseconds UINT <element=”wMilliseconds” type=”IN”>Milliseconds after second (0..999). Optional!</element> wDayOfWeek UINT <element=”wDayOfWeek” type=”IN”>Day of week (1..7: Monday = 1, Sunday = 7</element> wYday UINT <element=”wYday” type=”IN”>Day of year (1..365): January 1 = 1, December 31 = 364/365</element>