Explicit Messaging Quick Start
To send explicit messages, the Epsilon
Equipment
Allen Bradley SLC 500 PLC™,
1770 KFD RS 232 to DeviceNet Interface module with 96881501 RS232 cable DeviceNet thin cable
RS Logix 500 Industrial Programming Software (PLC)
Ei DeviceNet Drive Parameter Tables from the “Drive Parameters” chapter of this manual
How to Send Explicit Messages
An Explicit Message is compiled using an integer file (for example N10). Format the message using the following table.
| Integer File N10 | High Byte |
| Low Byte |
| N10:0 | TXID |
| COMMAND |
|
|
|
|
|
Message Header | N10:1 | PORT |
| SIZE OF FIELD |
|
|
|
|
|
| N10:2 | SERVICE |
| MacID |
|
|
|
|
|
| N10:3 |
| CLASS | |
|
|
|
| |
| N10:4 |
| INSTANCE | |
Message Data |
|
|
| |
N10:5 |
| ATTRIBUTE | ||
|
|
|
| |
| N10:6 |
| VALUE LOW WORD | |
|
|
|
| |
| N10:7 |
| VALUE HIGH WORD | |
|
|
|
|
|
Once formatted, use the copy command to transfer it to the M0 file. The copy initiates the explicit message transfer from the scanner to the Ei DeviceNet drive. The Ei drive response will be placed into the M1 file by the scanner. Using the scanner message received status flag (in the example of this chapter the location would be I:3/15), copy the M1 file to an integer file (N11). Once the message has been copied, the results may be examined from the N11 file.
TXID is set at 0x01 for all of the following examples. PORT will be set to 0x00 indicating a 1 port network.
53