TcXaeMgmt Version 7.X | Read-TcValue AddressSymbol Read-TcValue -Address -Port [-Path] [-Extended] [-Force] [-ResetSymbols] [-Timeout ] [-Encoding ] [ ] SessionIndexed Read-TcValue -Session [-IndexGroup] [[-IndexOffset] ] [- Size] [-Force] [-Timeout ] [-Encoding ] [ ] SessionIndexedTyped Read-TcValue -Session [-IndexGroup] [[-IndexOffset] ] [- ValueType] [[-Size] ] [-Force] [-Timeout ] [-Encoding ] [ ] SessionSymbol Read-TcValue -Session [-Path] [-Extended] [-Force] [-ResetSymbols] [- Timeout ] [-Encoding ] [ ] SessionIdIndexed Read-TcValue -SessionId [-IndexGroup] [[-IndexOffset] ] [- Size] [-Force] [-Timeout ] [-Encoding ] [ ] SessionIdIndexedTyped Read-TcValue -SessionId [-IndexGroup] [[-IndexOffset] ] [- ValueType] [[-Size] ] [-Force] [-Timeout ] [-Encoding ] [ ] SessionIdSymbol Read-TcValue -SessionId [-Path] [-Extended] [-Force] [-ResetSymbols] [- Timeout ] [-Encoding ] [ ] InputObject Read-TcValue [-InputObject] [-Force] [-Timeout ] [-Encoding ] [ ] DESCRIPTION This Cmdlet read values from TwinCAT Devices.
The devices can be accessed via different ValueProviders. EXAMPLES Example 1 PS> $session = New-TcSession -NetId '1.2.3.4.5.6' -Port 851 PS> $symbol = $session | get-TcSymbol -Path 'TwinCAT_SystemInfoVarList._AppInfo.ProjectName' PS> $symbol | Read-TcValue ADS_DynSymbols Create an ADS Session/Connection, determine the 'ProjectName' Symbol from the running PLC Project, read the current value of the symbol and print it to the console. TE1000 180 Version: 1.5.0