beautypg.com

Setting the network properties, Downloading the configuration, Putting the mbcn in run mode – Rockwell Automation AutoMax ControlNet Communication Interface Module User Manual

Page 32: Accessing i/o data

background image

Page 32 AutoMax ControlNet Module

Publication number DSMBCN-UM001B-EN-P February 2003

5. RSNetWorx assigns the Input Address, Output Address and Status

Address automatically if Enable automatic addressing on insert is
turned on. If you want to manually assign these addresses, enter the
values.

6. Click OK to accept the connection.

Example:

To produce 120 words of data on the MCN and consume them on the
ControlLogix, create a produce connection of size 120 on the MBCN,
then create a consumeddata type in the ControlLogix that consists of a
DINT and an array of 120 INTs. Create a tag in the ControlLogix that
uses this data type.

Setting the Network Properties

From the main RSNetWorx window, select Network/Properties… Set
the Network Update Time (NUT) in ms, the Max. Scheduled Address
(SMAX), the Max. Unscheduled Address (UMAX), and the Media
Redundancy
. If necessary, you can select the Media Configuration tab
and add any repeaters, etc. on your network.

Downloading the Configuration

When all the configuration information has been entered into
RSNetWorx, select Save to save and download the configuration. The
Save Configuration dialog box appears. Select Optimize and re-write
schedule for all connections
and click OK. Answer Yes to break
connections and download.

Putting the MBCN in Run Mode

Before you put the MBCN in run mode, your program should check the
NAM (network attachment monitor) state to confirm that the MBCN is
online. Refer to page 60 for information on how to do this.

Put the MBCN in run mode by setting bit 1 in register 5.

The MBCN goes out of run mode when you do a stop all in the AutoMax
or when you clear bit 1 in register 5.

Accessing I/O Data

You assign the location for the data for each connection either manually
or automatically in the Scanlist Configuration tool. If you assign
locations manually, RSNetWorx checks that there are no overlaps.