beautypg.com

Write a single parameter – Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual

Page 136

background image

6-8

Using Explicit Messaging

20-COMM-C/Q ControlNet Adapter User Manual
Publication 20COMM-UM003F-EN-P

Write a Single Parameter

ControlLogix Controller Example Ladder Logic Program to Write a Single Parameter
Using RSLogix 5000 Software, Version 15.00 or Later

A Parameter Write message is used to write to a single parameter. This
write message example writes a value to parameter 140 - [Accel Time 1] in
a PowerFlex 7-Class drive.

Important: Parameter Object Class code 0x0F is not supported in

PowerFlex 750-Series drives. To do a single parameter write,
follow the RSLogix 5000 software (any version) single write
example on

page 6-10

.

Table 6.D Example Controller Tags to Write a Single Parameter

Figure 6.6

Example Ladder Logic to Write a Single Parameter

Important: If the explicit message single write must be written

continuously, use DPI Parameter Object Class code 0x93 or
Host DPI Parameter Object Class code 0x9F and attribute A (10
decimal; see

page 6-11

). This writes to RAM—not NVS

(EEPROM) memory. This example single write message using
Class code F writes to NVS. Over time, continuous writes will
exceed the EEPROM life cycle and cause the drive to
malfunction.

Operand

Controller Tags for Single Write Message

Data Type

XIC

Execute_Single_Write_Message

BOOL

MSG

Single_Write_Message

MESSAGE

This manual is related to the following products: