Reset-IoFreeRun

SYNOPSIS

Resets the IO FreeRun state on the specified target.

SYNTAX

NetIdPortList (Default)

Reset-IoFreeRun [-Quiet] [-Timeout <Int32>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

NetIdPort

Reset-IoFreeRun -NetId <AmsNetId> [-Quiet] [-Timeout <Int32>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

AddressStr

Reset-IoFreeRun [[-Address] <String>] [-Quiet] [-Timeout <Int32>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Session

Reset-IoFreeRun -Session <ISession> [-Quiet] [-Timeout <Int32>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Resets the IO FreeRun state on the specified target if its in Config state. If its not in config state an error will be produced

EXAMPLES

Example 1

PS> Reset-IOFreeRun -NetId 5.62.192.46.1.1

Reset the IO Free Run mode of the target system with NetID 5.62.192.46.1.1.

PARAMETERS

-NetId

NetId of the target system where to Reset the FreeRun. Tab completion: Completes AmsNetId values from currently reachable routes on the local TwinCAT system. The NetId. Null is not a valid value for the NetId parameter!

Type: AmsNetId
Parameter Sets: NetIdPort
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Address

The address(es) where to set the free run. This can be the RouteName, NetId, the HostName or the IPAddress. Wildcards are permitted. Tab completion: Completes route names from currently reachable ADS systems on the local TwinCAT system. The address.

Type: String
Parameter Sets: AddressStr
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Session

The Session to use for the Cmdlet, must be connected to port 300, R0_IO The Session.

Type: ISession
Parameter Sets: Session
Aliases: InputObject

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Quiet

The Quiet parameter suppresses the 'ShouldProcess' messsage and the Cmdlet will be processed without further user confirmation.. Value of the Quiet parameter

Type: SwitchParameter
Parameter Sets: (All)
Aliases: Silent

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Timeout

The communication ADS timeout in milliseconds. A value of 0 disables the timeout. A value <= 0 sets the Default (5000 ms). The ADS communication timeout in milliseconds.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: -1
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

TwinCAT.ISession

OUTPUTS

NOTES