B–10, Write value to parameter – Rockwell Automation 1203-SM1 SLC to SCANport Communication Module User Manual

Page 76

Advertising
background image

SCANport Messaging

B–10

Publication 1203–5.9 –– October 1996

Write Value to Parameter

The Write Value to Parameter message lets you write a value to a
specific parameter. The following is an example of this request:

Service=Set Attribute Single

Parameter Class

Instance=Parameter #5

Attribute=Value

Data Length=2 Bytes

M0:e.000

M0:e.001

M0:e.002

M0:e.003

M0:e.004

0010

000f

0005

0001

0002

Value

Write a Value of 6 to Parameter 5

Service=Set Attribute Single

Parameter Class

Instance=Parameter #5

Attribute=Value

Data Length=0 Bytes

M1:e.100

M1:e.101

M1:e.102

M1:e.103

M1:e.104

0010

000f

0005

0001

0000

Value

Response

Data=Value of 6

M0:e.005

0006

Figure B.7 shows an example of a Write Value to Parameter request.
The drive accepted the message, and parameter number 5 now has a
value of 6.

Figure B.7
Example of Write Value to Parameter

address 0 1 2 3 4 5 6 7 8 9
N10:0 0010 000f 0005 0001 0002 0006 0000 0000 0000 0000

address 0 1 2 3 4 5 6 7 8 9
N11:0 0010 000f 0005 0001 0000 0000 0000 0000 0000 0000

Advertising