Plc-5 controller examples, Plc-5 controller examples -23 – Rockwell Automation 20-COMM-E PowerFlex EtherNet/IP Adapter User Manual

Page 149

Advertising
background image

Using Explicit Messaging

6-23

20-COMM-E EtherNet/IP Adapter User Manual

Publication 20COMM-UM010G-EN-P

PLC-5 Controller Examples

Important: The PLC-5 must be Series E (Rev. D.1 or later) to support the

MultiHop feature that routes messaging to the drive.

Important: Due to inherent limitations with the PCCC N-File method, only

contiguous multiple parameters can be read or written using
explicit messaging.

For this explicit message example, we use the N150 N-Files because they
are already mapped to specific parameters in the drive and its connected
peripherals. This enables direct access to any parameter. The other available
N40 N-File to use for explicit messaging requires considerably more
configuration to achieve the same result. Every read or write message using
the N40 N-Files requires configuring a request message, inputing data into
the request data table, configuring a response message, and inputing data
into the response data table. However, if accessing items other than
parameters (for example, drive faults or events), the N40 N-Files must be
used since only parameters can be accessed using the N150 N-Files.

Important: When performing a write parameter message, the data will

always be written to the drive’s Nonvolatile Storage (NVS).
Over time, continuous writes will exceed the EEPROM life
cycle and cause the drive to malfunction.

For PCCC N150 N-File information, see

page C-11

.

PLC-5 Controller Example Ladder Logic Program to Read a Single

Parameter

A read message is used to read a single parameter. The specific N150:6
address shown in this read message example reads the value of parameter
003 - [Output Current] in a PowerFlex 7-Class drive. Footnote 2 under the

Figure 6.27

table shows other N-file addressing to read various integer and

REAL (floating point) parameters in PowerFlex 7-Class and PowerFlex
750-Series drives.

Figure 6.26 Example Ladder Logic to Read a Single Parameter

Advertising