N-files – Rockwell Automation 20-COMM-E PowerFlex EtherNet/IP Adapter User Manual

Page 244

Advertising
background image

C-10

EtherNet/IP Objects

20-COMM-E EtherNet/IP Adapter User Manual

Publication 20COMM-UM010G-EN-P

N-Files

N-File

Description

N40

This N-file lets you use Emulated Block Transfer messages to read and write many types

of DPI messages. To use Emulated Block Transfer messages, you send a Write message

to N40:0…N40:63, wait until the adapter responds with a reply message, and then read

the response data in N40:0…N40:63 with a Read message.

For details about Block Transfer messages and the data required for each byte in the

N-File, see the Remote I/O Adapter User Manual, publication 20COMM-UM004.

Bits 15…8 are the Most Significant Byte. Bits 7…0 are the Least Significant Byte.
Write

Read

Bits 15

0 15

0

N40:0

0x00

Length (in Bytes)

0x00

Length (in Bytes)

N40:1

DPI Port

0x81

Status Size

Status Type

N40:2

0x00

CIP Service

Data

(length varies based on message)

N40:3

CIP Class

N40:4

CIP Instance

N40:5

CIP Attribute

N40:6

Data

(length varies based on message)

N40:63
N41

This N-file lets you read and write control I/O messages. You can write control I/O

messages only when all of the following conditions are true:
• The adapter is not receiving I/O from a scanner. For example, there is no scanner on

the network, the scanner is in idle (program) mode, the scanner is faulted, or the

adapter is not mapped to the scanner.

• The adapter is not receiving peer I/O from another adapter.
• The value of N42:3 is set to a non-zero value.
Write

Read

N41:0

N41:1

N41:2

N41:3

N41:4

N41:5

N41:6

N41:7

N41:8

N41:9

N41:10

N41:11

N41:12

N41:13

N41:14

N41:15

N41:16

N41:17

N41:18

Logic Command Word

Reference (least significant word)

Reference (most significant word)

Datalink A1 (least significant word)

Datalink A1 (most significant word)

Datalink A2 (least significant word)

Datalink A2 (most significant word)

Datalink B1 (least significant word)

Datalink B1 (most significant word)

Datalink B2 (least significant word)

Datalink B2 (most significant word)

Datalink C1 (least significant word)

Datalink C1 (most significant word)

Datalink C2 (least significant word)

Datalink C2 (most significant word)

Datalink D1 (least significant word)

Datalink D1 (most significant word)

Datalink D2 (least significant word)

Datalink D2 (most significant word)

Logic Status Word

Feedback (least significant word)

Feedback (most significant word)

Datalink A1 (least significant word)

Datalink A1 (most significant word)

Datalink A2 (least significant word)

Datalink A2 (most significant word)

Datalink B1 (least significant word)

Datalink B1 (most significant word)

Datalink B2 (least significant word)

Datalink B2 (most significant word)

Datalink C1 (least significant word)

Datalink C1 (most significant word)

Datalink C2 (least significant word)

Datalink C2 (most significant word)

Datalink D1 (least significant word)

Datalink D1 (most significant word)

Datalink D2 (least significant word)

Datalink D2 (most significant word)

N42

This N-file lets you read and write some values configuring the port.

N42:3

Time-out (read/write): Time (in seconds) allowed between messages to the N41 file. If the

adapter does not receive a message in the specified time, it performs the fault action

configured in its [Comm Flt Action] parameter. A valid setting is between 1 and 32767

seconds (5…20 seconds is recommended).

N42:7

Adapter Port Number (read only): DPI port on the drive to which the adapter is connected.

N42:8

Peer Adapters (read only): Bit field of devices having DPI Peer capabilities.

Advertising