beautypg.com

Rockwell Automation AutoMax ControlNet Communication Interface Module User Manual

Page 45

background image

AutoMax ControlNet Module Page

45

Publication number DSMBCN-UM001B-EN-P February 2003

NOTE: If more than four tasks try to initiate messages at the same time,
error code '22' is returned to the additional tasks attempting accesses.

If you are using AutoMax Programming Executive software version 2.1
or earlier, any required registers must be defined using IODEFs in the
configuration task. If you are using AutoMax Programming Executive
software version 3.0 or later, these registers are defined using the
Variable Configurator within the Programming Executive. The following
example illustrates one method of enabling the MBCN.

Example:

In the configuration, define the following registers:

RESP_TIME% [SLOT=4, REGISTER=22]

The application could initialize the MBCN as follows:

30 RESP_TIME% = 2 \! GATEWAY_CMD_OK@ should poll for

response every 250 ms.