Controllogix controller examples – Rockwell Automation 20-750-ENETR PowerFlexDual-Port EtherNet/IP Option Module User Manual

Page 101

Advertising
background image

Rockwell Automation Publication 750COM-UM008A-EN-P - July 2012

101

Using Explicit Messaging (Adapter mode only)

Chapter 6

For information on the maximum number of Explicit Messages that can be
executed at a time, see the documentation for the bridge or scanner and/or
controller that is being used.

ControlLogix Controller
Examples

For supported classes, instances, and attributes, see

Appendix C

, EtherNet/IP

Objects (Adapter mode only).

ControlLogix Controller Example Ladder Logic Program to Read a
Single Parameter

A Get Attribute Single message is used to read a single parameter. This read
message example reads the value of the 32-bit REAL (floating point) parameter
007 - [Output Current] in a PowerFlex 750-Series drive.

Table 6 - Example Controller Tags to Read a Single Parameter

Figure 24 - Example Ladder Logic to Read a Single Parameter

The controller retrieves the Explicit Message Response from the scanner’s buffer (upload).

The Explicit Message is complete.

Event

Description

TIP

To display the Message Configuration dialog box in RSLogix 5000 software, add
a message instruction (MSG), create a new tag for the message (Properties:
Base tag type, MESSAGE data type, controller scope), and click the

button

in the message instruction.

IMPORTANT

The explicit messaging examples in this section can be performed using any
version of RSLogix 5000 software.

IMPORTANT

The read and write messaging examples in this section are for Device
parameters which use Class Code 0x93. For Host parameters, use Class Code
0x9F and format the rest of the message in the same way as these examples.

The Message Configuration has a Service Type of “Parameter Read” which is
Class code 0x0F, Parameter Object. Parameter Object is not supported in
PowerFlex 750-series drives.

Operand

Controller Tags for Single Read Message

Data Type

XIC

Execute_Single_Read_Message

BOOL

MSG

Single_Read_Message

MESSAGE

Advertising