Publication 1404-UM001D-EN-E - October 2004
4-32
Communications
In the SLC 500 and PLC-5, you assemble the explicit message header
in an integer file and transfer it to the scanner module. When the
response is received, you transfer the response from the scanner to
another integer file. The message header consists of 6 words
organized as follows:
Word 0
contains a transmit identifier (TXID) and command byte.
Assign each explicit message a unique TXID in the range of 0 to 255
decimal (0 to FF hex). The TXID is used to identify the response to
this message request. Valid command codes are:
•
1 hex = Execute transaction block. Use this command first to
start the explicit message.
•
4 hex = Delete transaction from response queue. Use this
command after you copy the response from the scanner to
remove the response from the scanner and enable further
explicit messages.
Word 1
contains the DeviceNet scanner port number and the
transaction body size in bytes. The SLC 500 scanner uses only port 0; a
PLC-5 DeviceNet scanner has two ports, 0 and 1. For a read request,
the transaction body size is 3 words (see table above) therefore 6
bytes. For a write, the body size is the data size in bytes plus the
6-byte path (class/instance/attribute).
Word 2
contains the DeviceNet service code and the MAC ID or node
number of the server device, in this case, the Powermonitor 3000.
Valid service codes for use on Class 4 assembly instances are:
Table 4.6
Message
Word
High byte
Low byte
Header
0
Transmit ID
Command
1
Port
Size
2
Service
MAC ID
Body
3
Class
4
Instance
5
Attribute
6
Data to write if applicable
7
. . .
n
Summary of Contents for 1404-M4
Page 6: ...Publication 1404 UM001D EN E October 2004 Table of Contents 4 ...
Page 26: ...Publication 1404 UM001D EN E October 2004 2 14 Product Description ...
Page 264: ...Publication 1404 UM001D EN E October 2004 C 10 Sample Applications ...
Page 278: ...Publication 1404 UM001D EN E October 2004 C 24 Sample Applications ...
Page 279: ...Publication 1404 UM001D EN E October 2004 Sample Applications C 25 Allen Bradley HMIs ...
Page 280: ...Publication 1404 UM001D EN E October 2004 C 26 Sample Applications ...
Page 285: ...Publication 1404 UM001D EN E October 2004 Sample Applications C 31 Allen Bradley HMIs ...
Page 304: ...Publication 1404 UM001D EN E October 2004 D 6 Technical Specifications ...
Page 324: ...Publication 1404 UM001D EN E October 2004 F 18 Powermonitor 3000 EtherNet IP Device Profile ...
Page 340: ...Publication 1404 UM001D EN E October 2004 G 16 Powermonitor 3000 ControlNet Device Profile ...
Page 354: ...Publication 1404 UM001D EN E October 2004 6 Index ...
Page 355: ...Allen Bradley HMIs ...