If both the Primary and Standby IODevices
are on the same server and they have the same IODevice name you can
disable them individually by using the:
IODeviceControl("PLC1,P",1,1); // for the
Primary
IODeviceControl("PLC1,S",1,1); // for the Standby
where,
P is for the Primary and
S is for the Standby
NOTES -
1. The function IODeviceInfo() also accepts this syntax for getting
information about a primary or a standby device.
2. If you have more than one standby device on the same server
there is currently no way of using either function for other than
the first standby device. |