ProcessorID (GVL) ¶ <category>Processor ID</category> <description>Specifies which processor is used. With these defines, processor specific code can be managed.</description> InOut: Scope Name Type Initial Comment Constant TRG_X86 UDINT 1 <element name=”TRG_X86” type=”IN”>80x86 processor used</element> TRG_ARM UDINT 2 <element name=”TRG_ARM” type=”IN”>ARM processor used</element> TRG_PPC UDINT 3 <element name=”TRG_PPC” type=”IN”>PowerPC processor used</element> TRG_MIPS UDINT 4 <element name=”TRG_MIPS” type=”IN”>MIPS processor used</element> TRG_SH UDINT 5 <element name=”TRG_SH” type=”IN”>Hitachi SH processor used</element> TRG_BLACKFIN UDINT 6 <element name=”TRG_BLACKFIN” type=”IN”>BlackFin processor used</element> TRG_TRICORE UDINT 7 <element name=”TRG_TRICORE” type=”IN”>Infineon TriCore processor used</element> TRG_NIOS UDINT 8 <element name=”TRG_NIOS” type=”IN”>Altera NIOS processor used</element> TRG_C16X UDINT 9 <element name=”TRG_C16X” type=”IN”>Infineon C16x processor used</element> TRG_CORTEX UDINT 10 <element name=”TRG_CORTEX” type=”IN”>Historical name for Cortex M3 CPUs, which are supporting just Thumb2</element> TRG_DSP UDINT 11 <element name=”TRG_DSP” type=”IN”>Historical name for C28x DSPs from TI</element> TRG_V850 UDINT 12 <element name=”TRG_V850” type=”IN”>Renesas V850 processor</element> TRG_RX6 UDINT 13 <element name=”TRG_RX6” type=”IN”>Renesas RX6 processor</element>
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>
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>
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>
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