beckhoff TE1000 — 6.35 Get-TcDataType

TcXaeMgmt Version 7.X | Get-TcDataType SessionId Get-TcDataType [[-Name] ] -SessionId [-ResetSymbols] [-Force] [-AsJson] [ ] DESCRIPTION This Cmdlet get the DataTypes from a target system if symbolic information is provided by the device (Symbol Server running). The DataTypes can be determined via different Providers (e.g.

ADS, MQTT, OPC, see the '-Provider' parameter.) about_AdsSymbolProvider Get-TcSymbol EXAMPLES Example 1 PS> Get-TcDataType -port 851 Name Size Category BaseType ---- ---- -------- -------- BYTE 1 Primitive WORD 2 Primitive DINT 4 Primitive UDINT 4 Primitive DWORD 4 Primitive E_ByteEnum 1 Enum BYTE FB_Test 12424 Struct PLC.PlcAppSystemInfo 256 Struct PLC.PlcTaskSystemInfo 128 Struct POINTER TO BYTE 4 Pointer BYTE R_Range 2 Alias INT (-6..12) REFERENCE TO BOOL 4 Reference BOOL ST_SimpleStruct 166 Struct STRING(80) 81 String ... Get the data types from the local system (Port 851):

Example 2 PS> $types = Get-TcDataType -Name 'ST_*' -NetId 1.2.3.4.5.6 -Port 851 Gets the DataTypes with name pattern 'ST_*' from the NetId / Port address symbol server. Example 3 PS> $session = New-TcSession -Name 'CX_123456' -port 851 PS> Get-TcDataType -Session $session | where ByteSize -gt 1KB Gets an ADS-Session/Connection to the target system CX_123456 on port 851, downloads the datatype information and returns all the DataTypes that are larger than 1KB of Size. PARAMETERS -Name The data type name(s) to get. Wildcards are permitted. Tab completion: Completes data type names from the target's symbol server. The name of the data type. Type: String[] Parameter Sets: (All) Aliases:

Required: False Position: 0 Default value: None TE1000 149 Version: 1.5.0