Romilly's HART® and Fieldbus Message Board


[ Follow Ups ] [ Post Followup ] [ Back to top of Message Board ]

Re: Command 9 Read Device Variables with Status

Message posted by Romilly ( : 208.114.116.122) on 06 October 2011 at 14:57:29.

in reply to: Command 9 Read Device Variables with Status posted by Jens on 06 October 2011 at 13:06:34.

You ask: Does the device check the Device Variable codes in the Request data or does it only count the number of bytes received an then sends the variables 0 - 7?

The field device must look at the actual device variable code values in the command, since they may not be in sequence, or even contiguous. And, of course, the device might have more than just 8 Device Variables, with any set of up to 8 requested.

In your case, if you do not define any Device Variables, yes, you would return PV if a host asks for Device Variable 0, and return the command respose code 14. If a host foolishly asks for further Device Variables, you would return NAN 7F A0 00 00 (see spec for command 9 for more).




Follow Ups:




Post a Followup

Name:
E-Mail:

Subject: Re: Re: Command 9 Read Device Variables with Status

Comments:


[ Follow Ups ] [ Post Followup ] [ Back to top of Message Board ]