Read number of parameters – Rockwell Automation 1203-SM1 SLC to SCANport Communication Module User Manual

Page 73

Advertising
background image

SCANport Messaging

B–7

Publication 1203–5.9 –– October 1996

Read Number of Parameters

The Read Number of Parameters message lets you request how many
parameters the SCANport device supports. The following is an
example of this request:

Service=Get Attribute Single

Parameter Class

Instance

Attribute=Last Parameter Number

Data Length = 0

M0:e.000

M0:e.001

M0:e.002

M0:e.003

M0:e.004

000e

000f

0000

0002

0000

Value

Read Number of Parameters

Service=Get Attribute Single

Parameter Class

Instance

Attribute=Last Parameter Number

Data Length=6 Bytes

M1:e.100

M1:e.101

M1:e.102

M1:e.103

M1:e.104

000e

000f

0000

0002

0006

Value

Data=216 Parameters

M1:e.105

00d8

Discard

M1:e.106

0000

Discard

M1:e.107

0000

Response

Figure B.4 shows an example of a Read Number of Parameters
request. The reply to the Read Number of Parameters request
message indicates that the SCANport device contains 216 (D8h)
parameters.

Figure B.4
Example of Read Number of Parameters

address 0 1 2 3 4 5 6 7 8 9
N10:0 000e 000f 0000 0002 0000 0000 0000 0000 0000 0000

address 0 1 2 3 4 5 6 7 8 9
N11:0 000e 000f 0000 0002 0006 00d8 0000 0000 0000 0000

Advertising