Cip client area – Rockwell Automation 1747-SCNR ControlNet Scanner Module Reference Manual User Manual

Page 62

Advertising
background image

Publication 1747-RM623D-EN-P - June 2006

C-2 CIP Client Management

CIP Client Area

The 1747-SCNR M0 file contains a CIP client area that can be used to
let limited unconnected data exchange with a remote node on the
local ControlNet link. These messages are initiated by the SLC
processor.

The 1747-SCNR module processes CIP client requests when the SLC
processor is in Run mode, regardless of the state of the Scanner Mode
bit of the Module Command word (O:e0/10). CIP client requests are
not processed when the SLC processor is in Program mode.

The message is built by ladder programming using the structure
described in the table.

M0 File
Word Offsets

Word
Size

Contents

Description

1000

1

CIP Message
Control

These bits are similar to the MSG bits from the
SLC 500 instruction set.

Bit 0-7: Reserved
Bit 8: TO -Timeout on message sent
Bit 9: unused (NR)
Bit 10: EW -Message taken into account by
1747-SCNR, waiting for a response
Bit 11: CO -Continuous mode
Bit 12: ER -Error returned by the 1747-SCNR
Bit 13: DN -Response received
Bit 14: unused (ST)
Bit 15: EN -Message enable.

1001

1

Target MAC ID

Destination node address.

1002

1

Timeout

The scanner will wait this number of ms for a
response. Must be nonzero, typical range
200-500 ms.

1003

1

Complex IOI size

The number of words from Complex IOI Buffer
to be sent in the CIP message. If null, a default
IOI is built from words 1004 through 1008. If
non-null, this many words from 1050 through
1099 will be used for the IOI.

1004

1

Service code

Any value in the 0x01 to 0x7F range will be sent
by the 1747-SCNR module as a valid service
code. If the Object attribute code is non-null,
the IOI will contain the class and instance
logical segments. If the attribute code is
non-null, the IOI will also contain the attribute
logical segment.

Any other value will generate an error and no
service will be sent on the wire. Refer to the
ControlNet International Specification for valid
service codes.

(1)

1005

1

Object class code

Destination object class number.
First IOI logical segment.
This field must be non-null.

1. You can purchase the ControlNet International Specification from ControlNet International.

Advertising