B–18, Read enum string for value in parameter – Rockwell Automation 1203-SM1 SLC to SCANport Communication Module User Manual
Page 84
SCANport Messaging
B–18
Publication 1203–5.9 –– October 1996
Read Enum String for Value in Parameter
The Read Enum String for Value in Parameter message lets you
request the text string that corresponds to a specific bit in a specific
parameter. The following is an example of this request:
Service=Get Enum String
Parameter Class
Instance=Parameter #5
Attribute=Value/Bit# = 1
Data Length=0 Bytes
M0:e.000
M0:e.001
M0:e.002
M0:e.003
M0:e.004
004b
000f
0005
0001
0000
Value
Read Enum String for a Value of 1 in Parameter #5
Service=Get Enum String
Parameter Class
Instance=Parameter #5
Attribute=Value/Bit# = 1
Data Length=12 Bytes
M1:e.100
M1:e.101
M1:e.102
M1:e.103
M1:e.104
004b
000f
0005
0001
000c
Value
Response
Enum String (Chars Lo=1st, Hi=2nd)
Enum String (Chars Lo=3rd, Hi=4th)
Enum String (Chars Lo=5th, Hi=6th)
Enum String (Chars Lo=7th, Hi=8th)
Enum String (Chars Lo=9th, Hi=10th)
M1:e.105
M1:e.106
M1:e.107
M1:e.108
M1:e.109
6552
6f6d
6574
5020
746f
Enum String (Chars Lo=11th, Hi=12th)
M1:e.110
2020
Figure B.12 shows a Read Enum String for Value in Parameter
request. In this example, parameter 5 has an Enum string of Remote
Pot associated with a value of 1. Note that enum strings are all 12
characters long.
Figure B.12
Example of Read Enum String for Value in Parameter
address 0 1 2 3 4 5 6 7 8 9
N10:0 004b 000f 0005 0001 0000 0000 0000 0000 0000 0000
address 0 1 2 3 4 5 6 7 8 9
N11:0 004b 000f 0005 0001 000c 6552 6f6d 6574 5020 746f
N11:10 2020 0000 0000 0000 0000 0000 0000 0000 0000 0000
address 0 1 2 3 4 5 6 7 8 9
N11:0 \00 K \00\0F \00\05 \00\01 \00\0C e R o m e t P t o
N11:10 \00\00 \00\00 \00\00 \00\00 \00\00 \00\00 \00\00 \00\00 \00\00