IODisableFailover() Script Function
- Last UpdatedNov 23, 2018
- 1 minute read
You can use the IODisableFailover() function in a script to disable failover for a specified Access Name. IODisableFailover() disables switching for all failover methods except by the IOForceFailover() script function method.
Category
I/O Communication
Syntax
IODisableFailover ("AccessName",Option);
Arguments
AccessName
Access name for which failover has been configured.
Option
1 = Disables failover
0 = Enables failover
Remarks
The Access Name can be specified as a literal string or it can be a string value provided by other InTouch tags or functions.
Examples
In this example, failover is disabled for the ModbusPLC1 Access Name.
IODisableFailover ("ModbusPLC1",1)
In this example, failover is enabled for the ModbusPLC1 Access Name.
IODisableFailover ("ModbusPLC1",0)