Rockwell Automation 1769-SM1 Compact I/O to DPI/SCANport Module User Manual

Page 71

Advertising
background image

MicroLogix 1500 Ladder Example Program

5-17

Set Attributes Scattered Example

The Set Attributes Scattered service can be used with the DPI Parameter
object to write the value of more than one parameter with a single
message instruction.

In this example, a write of PowerFlex 70 drive parameters 140 - [Accel
Time 1], 142 - [Decel Time 1], and 100 - [Jog Speed] is being
performed.

The Message Configuration screen in RSLogix 500 for this example is
shown in

Figure 5.12

. It is assumed that the 1769-SM1 occupies slot

number 1, and that the PowerFlex 70 drive is connected to the 1769-SM1
channel 1.

Refer to

Table 5.A on page 5-11

for a description of the content in each

box.

Figure 5.12 Set Attributes Scattered Write Message Configuration Screen

Refer to

Appendix C

,

Object Specific Services

for information on the

message data format.

Configuration

Value

Description

Refer to…

Service Code
Class

4C (hex)
93 (hex)

Set_Attribute_Scattered
DPI Parameter Object

C-11
C-8

Advertising