beautypg.com

Switching drivers manually, Creating a node, Switching drivers manually -13 – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 53

background image

Setting up direct driver communications

2–13

Example: An event for switching drivers

In the Events editor, use the following:

Action

DriverToggle 1

Expression

comm_err(tag1)

where tag1 is a tag that is configured with a node on channel 1.

When the expression evaluates to true, the action is triggered.

Switching drivers manually

To switch drivers manually, operators must have a way to issue a driver
command. Possible methods are:

creating a button and specifying one of the driver commands as

the press action. When the operator activates the button, the driver
on the specified channel is switched.

displaying a command line. When the operator enters a driver

command on the command line, the driver on the specified
channel is switched.

Creating a node

A node allows you to assign a logical name and an address to each
programmable controller that RSView32 will communicate with. Each
programmable controller is then referred to throughout RSView32 by
this name. The node name carries all its configuration information, so
attributes such as type of programmable controller, station number,
and network type need not be repeated.