Controlnet command set – Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual

Page 45

Advertising
background image

4–3

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

The specific memory area emulated by the drive determines the
specific request or action to be taken by the CNA board. These
memory areas resemble PLC addresses.

The following commands are supported:

Command:

Description:

WHO ACTIVE

The station number of the ControlNet Adapter Board
as defined by its DIP switch settings is displayed on
the WHO ACTIVE screen of the PLC software. It
will read DRIV0 1336T next to the selected station
number.

PLC 5 TYPED READ
(N10:1-493)

Memory area N10:1-493 translates into a read
parameter value from the 1336 FORCE. Any
attempt to read outside of this range results in an
error response. The 1336 FORCE interprets the
values 1 through 493 as parameter numbers. For
example, to read the value of parameter 133, the
MSG instruction would request N10:133 with a size
of one element. A size of 10 would read parameters
133 through 142.

PLC 5 TYPED WRITE
(N10:1-493)

Memory area N10:1-493 translates into one or more
write parameter values to the 1336 FORCE. If you
try to write outside of this range, you will get an
error. The 1336 FORCE interprets the values 1
through 493 as parameter numbers. For example, to
write a value to parameter 119 (Preset Speed 1), the
MSG instruction would specify N10:119 with a size
of one element. A size of 10 will write to parameters
119 through 128.

PLC TYPED READ
(N20:0-493)

This request reads the status of the previous
parameter writes (N10:1-493). If a TYPED READ is
specified with a PLC address of N20:0, the write
status of all parameters from the last TYPED WRITE
request (N10:X–XXX) are OR’ed together. If one
error has occurred during the last write operation,
this address contains the parameter number where the
error occurred. If multiple errors occurred, the value
is -1, and the PLC controller can request a TYPED
READ of N20:1-493 to determine which parameters
have had errors.

ControlNet Command Set

Advertising