N-files (continued), Pccc object, Continued) – Rockwell Automation 1203-EN1 EtherNet/IP-to-SCANport Module User Manual
Page 126

C-16
EtherNet/IP Objects
N-Files (Continued)
PCCC Object
(Continued)
N-File
Description
N40
This N-file lets you use Emulated Block Transfer messages to read
and write many types of SCANport messages. To use Emulated
Block Transfer messages, you send a Write message to N40:0 –
N40:63, wait until the module 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, refer to the Remote I/O Adapter User
Manual, Publication 20COMM-UM004….
Bits 15 to 8 are the Most Significant Byte. Bits 7 to 0 are the Least
Significant Byte.
Write
Read
Bits 15
0 15
0
N40:0
Length (in words)
Length (in words)
N40:1
Header Word 1
Error bit + Header Word 1
N40:2
Header Word 2
Header Word 2
N40:3
Data (variable length)
Response data (variable length)
or error code (one word)
…
…
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 module 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 module is not
mapped to the scanner.
• The module is not receiving Peer I/O from another module.
• The module is configured to receive I/O (for example, the [DPI
I/O Cfg] parameter).
• 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
Logic Command Word
Reference
Datalink A1
Datalink A2
Datalink B1
Datalink B2
Datalink C1
Datalink C2
Datalink D1
Datalink D2
Logic Status Word
Feedback
Datalink A1
Datalink A2
Datalink B1
Datalink B2
Datalink C1
Datalink C2
Datalink D1
Datalink D2