Download User Manual - Rockwell Automation
Transcript
B–2 SCANport Messaging Where: This field: Specifies: The action or service requested. The following service values are available: Enter this value: To request this service: 0001H (1 decimal) Read Parameter Full/All Info 0005H (5 decimal) Reset to Default ➀ 000eH (14 decimal) Get Attribute Single 0010H (16 decimal) Set Attribute Single 0015H (21 decimal) Restore from Storage ➀ 0016H (22 decimal) Save to Storage ➀ 0032H (50 decimal) Get Attribute Scattered 0034H (52 decimal) Set Attribute Scattered 004bH (75 decimal) Read Enum String ➀ ➀ Not all SCANport devices support these services. Service Class Instance Attribute Request length Req Data For example, if you enter a service value of 0001H (1 decimal), you are requesting that the SCANport device provide all available information about a particular object. A service value of 000eH is a request for only one piece of information about a particular object. The type of object to access within the SCANport device. The class is the first index into the SCANport device’s database. It directs the message to the desired functional database. For example, a class value of 000fH (15 decimal) indicates that the message is intended to access the parameter database. A particular occurrence of an object in the SCANport device. The instance provides an index into the referenced functional database. For example, when accessing the parameter database, the instance value is the parameter number. If you want to access information about all instances of the object, specify an instance of 0. A specific piece of information about an object. Values are always less than 256. For example, in a parameter object, an attribute value of 0001H (1 decimal) indicates that the message is accessing the parameter value. An attribute value of 0007H (7 decimal) indicates that the message is accessing the parameter name text string. The length, in bytes, in this request. This value is normally less than or equal to 96 bytes. However, Get/Set Attribute Scattered messages can be longer. The actual data portion of the request message. Up to a maximum of 96 bytes of message data is available. This field is optional depending on the type of message sent. The response from the SCANport device appears in the message buffer of the channel used (Channel 1 = M1:e.100–199, Channel 2 = M1:e.200–299, Channel 3 = M1:e.300–399). Publication 1203–5.9 –– October 1996