SysTargetGetDeviceName (FUN) ¶ FUNCTION SysTargetGetDeviceName : RTS_IEC_RESULT <description>Returns the device name of the target.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetDeviceName RTS_IEC_RESULT Input pwszName POINTER TO WSTRING <param name=”pwszName” type=”OUT”>Pointer to the device name</param> pnMaxLength POINTER TO UDINT <param name=”nMaxLength” type=”IN”>Max length of the name</param>
SysTargetGetId (FUN) ¶ FUNCTION SysTargetGetId : RTS_IEC_RESULT <description>Returns the TargetId. NOTE: Highword of the TargetId is the VendorId! The VendorId is managed by 3S. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetId RTS_IEC_RESULT Input pulTargetId POINTER TO DWORD <param name=”pulTargetId” type=”OUT”>Pointer to the TargetId</param>
SysTargetGetNodeName (FUN) ¶ FUNCTION SysTargetGetNodeName : RTS_IEC_RESULT <description> Get a human readable name that identifies this node in the network. NOTE: This could be the registered host name of the target in the network. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetNodeName RTS_IEC_RESULT Input pwszName POINTER TO WSTRING <param name=”pwszName” type=”IN”>Buffer that is filled with the name of the node. Type is 2 byte unicode!</param> pnMaxLength POINTER TO UDINT <param name=”nMaxLength” type=”IN”>Maximum length of the node name including the trailing zero</param>
SysTargetGetOperatingSystemId (FUN) ¶ FUNCTION SysTargetGetOperatingSystemId : RTS_IEC_RESULT <description>Returns the ID of the operating system.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetOperatingSystemId RTS_IEC_RESULT Input pudiOperatingSystemId POINTER TO UDINT <param name=”pudiOperatingSystemID” type=”OUT”>Pointer to operating system Id. See category “OperatingSystemID”</param>
SysTargetGetProcessorId (FUN) ¶ FUNCTION SysTargetGetProcessorId : RTS_IEC_RESULT <description>Returns the ID of the processor</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetProcessorId RTS_IEC_RESULT Input pudiProcessorId POINTER TO UDINT <param name=”pudiProcessorId” type=”OUT”>Pointer to processor ID. See category “ProcessorID” above</param>
SysTargetGetSerialNumber (FUN) ¶ FUNCTION SysTargetGetSerialNumber : RTS_IEC_RESULT <description>Returns the serial number of the target. This can be a list of hardware specific signs (processor number, board number, mac-address, etc.).</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetSerialNumber RTS_IEC_RESULT Input ppsSerialNumber POINTER TO POINTER TO STRING(255) <param name=”ppsSerialNumber” type=”INOUT”>Pointer to pointer to serial number. If ppsSerialNumber==NULL, the length of the serial number can be retrieved in * pnMaxLen. If * ppsSerialNumber==NULL, the pointer will be set to the serial nubmer. * pnMaxLen contains the real length of the serial number. If * ppsSerialNumber!=NULL, the serial number will be written into the buffer. * pnMaxLen must specify the max length of the buffer!</param> pnMaxLen POINTER TO DINT <param name=”pnMaxLen” type=”INOUT”>Pointer to maxlength of ppsSerialNumber, returns the real length of content of ppsSerialNumber.</param>
SysTargetGetType (FUN) ¶ FUNCTION SysTargetGetType : RTS_IEC_RESULT <description>Returns the target type. See “Device Types” for details.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetType RTS_IEC_RESULT Input pulType POINTER TO DWORD <param name=”pulType” type=”OUT”>Pointer to target type. See corresponding category “Device Types”</param>
SysTargetGetVendorName (FUN) ¶ FUNCTION SysTargetGetVendorName : RTS_IEC_RESULT <description>Returns the vendor name of the target.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetVendorName RTS_IEC_RESULT Input pwszName POINTER TO WSTRING <param name=”pwszName” type=”OUT”>Pointer to the device name</param> pnMaxLength POINTER TO UDINT <param name=”nMaxLength” type=”IN”>Max length of the name</param>
SysTargetGetVersion (FUN) ¶ FUNCTION SysTargetGetVersion : RTS_IEC_RESULT <description>Returns the target version.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTargetGetVersion RTS_IEC_RESULT Input pulVersion POINTER TO DWORD <param name=”pulVersion” type=”OUT”>Pointer to version of the target</param>
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:11:11 companyName string 3S-Smart Software Solutions GmbH libraryFile SysTarget.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysTarget.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 16:11:11 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder SysTarget Project SysTarget Title SysTarget Version version 3.5.17.0