Send a set attribute single request – Rockwell Automation 1747-SCNR ControlNet Scanner Module Reference Manual User Manual

Page 68

Advertising
background image

Publication 1747-RM623D-EN-P - June 2006

C-8 CIP Client Management

Send a Set Attribute
Single Request

This process is illustrated in the following example. The steps in the
process correspond to the steps in the illustrations following.

1 . The CIP message control image is updated on a regular base.

2. You want to send a Set Attribute Single to Data Attribute

(Attribute number 3) of assembly instance 6 (Input file words 1
to 32). The CIP message control area and command data are
initialized in an internal data file. The command data is copied
in M0 first, then the command word is cleared and, as a last
step, the message control area is copied into M0 with the EN bit
set to what will send the message on the wire.

3. Request and response are exchanged on the wire.

4. When the bit DN is set without an error or timeout, nlatch the

DN bit. No response data is expected in case of a successful
response.

The response is available in an SLC internal data file.

See the following list for assembly object instance numbers supported by the
Get and Set Attribute Single services on Data attribute.

Instance 5 : Output file words 1 to 32
Instance 6 : Input file words 1 to 32

Advertising