beautypg.com

Changing node information at runtime – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 78

background image

3–16

RSView32 User’s Guide

Changing node information at runtime

To change an OPC node’s server name and access path or a DDE
node’s application and topic at runtime, use the NodeSwitch
command. This command allows you to set up node–level
redundancy. That is, if the server that a node is pointing to fails, you
can immediately switch to another server.

NodeSwitch

<node name> <parameter>

<node name>

The name of the node that you want to change to
another server.

<parameter>

One of the following:

<\\computer

For OPC servers, the computer name, server name,

name\server

and access path (if in use) for the OPC server you

name[|access

want to switch to. Separate the access path from the

path]>

server name with the | character.

<application

For DDE servers, the application and topic,

|topic>

separated by the | character, for the DDE server you

want to switch to.

When you use the NodeSwitch command to change a node’s server
information, the change appears in the Node editor’s spreadsheet. If
the Node editor is open when you use the command, the change will
not appear until you close and re–open the editor.

For more information about the NodeSwitch command, see
Appendix A, RSView32 commands, or see Help.

You can also enable and disable nodes at runtime, using the
NodeEnable and NodeDisable commands. For more information see
Appendix A, RSView32 commands.