Dcs raw write, service code 32h – Rockwell Automation 56AMXN/B ControlLogix AutoMax Comm Module User Manual

Page 47

Advertising
background image

AutoMax DCSNet/RE RIO Module Page

47

Publication number 56AMXN-UM002A-EN-P November 2002

For instance 2, the size must be 16 (8 words). The command writes to
the broadcast registers (32-39). Normally you would do this only as a
DCS master.

The maximum message size limits the number of attributes you can write
in a single message to 7.

DCS Raw Write, Service Code 32h

The DCS raw write command can be used to write a block of data to the
DCS data area on the module. You tell it the starting offset and the data
length and it writes the data. This is a very powerful command, use it
carefully!

Enter the following parameters in the MSG instruction tags:

Message
Type

CIP generic

Service Type

Custom

Service Code 32h

Class (hex)

C4h

Instance 1

Attribute (hex) Leave blank

Source
Element

Enter source tag

Source
Length (bytes)

2 + length of data in words * 2, max 480 (max data
length = 239)

Destination

Enter destination tag name, not used but must be
entered

Table 16 DCS Data Object DCS Raw Write Parameters

In the source tag

First word

offset in words = drop * 64 + register, range is 0 to 55 *
64 + 63 = 3583

Remaining
words

Data[…]

The module checks that the offset in in range and that the combination of
offset and length is in range. If this is not true, it returns an error.

Advertising
This manual is related to the following products: