beautypg.com

Type 3 message, Type 4 message – West Control Solutions N8100 User Manual

Page 30

background image

interrogating the values of a group of parameters and status in a single message

from the master device. The reply to such a command would be in the form:

L {N} ] xx aaaaa bbbbb ccccc ddddd eeeee A *

where xx is the number of data digits to follow; this is 20 for a single-control-output

instrument and 25 for a dual-control-output instrument. The digits are expressed as

shown in Table 3-1. For further information, refer to Subsection 3.3.6.

3.2.6

Type 3 Message

L {N} {P} # {DATA} *

This message type is used by the master device to set a parameter to the value

specified in {DATA}. The command is not implemented immediately by the slave

Controller; the slave will receive this command and will then wait for a Type 4

message (see below). Upon receipt of a Type 3 message, if the {DATA} content

and the specified parameter are valid, the slave Controller reply is of the form:

L {N} {P} {DATA} I *

(where I = Hex 49) indicating that the Controller is ready to implement the

command. If the parameter specified is invalid or is not modifiable or if the

desired value is outside the permitted range for that parameter, the Controller

replies with a negative acknowledgement in the form:

L {N} {P} {DATA} N *

3.2.7

Type 4 Message

L {N} {P} I *

This type of message is sent by the master device to the addressed slave

Controller following a successful Type 3 message transmission and reply to/from

the same slave Controller. Provided that the {DATA} content and the parameter

specified in the preceding Type 3 message are still valid, the slave Controller will

then set the parameter to the desired value and will reply in the form:

L {N} {P} {DATA} A *

where {DATA} is the new value of the parameter. If the new value or parameter

specified is invalid, the slave Controller will give a negative acknowledgement:

L {N} {P} {DATA} N *

where {DATA} is indeterminate. If the immediately-preceding message received

by the slave Controller was not a Type 3 message, the Type 4 message is ignored.

3-4

O054-3

59125

This manual is related to the following products: