Download  Print this page

Message Type; Get Current Parameter From A Monitor; "Get Parameter" Reply - NEC V321-2 Communications Manual

V321-2 : rs232 codes for v321, v421, v461
Hide thumbs

Advertisement

Table of Contents

5. Message type

5.1 Get current Parameter from a monitor.

STX
st
1
Send this message when you want to get the status of a monitor.
For the status that you want to get, specify the "OP code page" the "OP code", refer to "Appendix
A. Operation code table".
st
1
byte) STX: Start of Message
ASCII STX (02h)
nd
rd
2
-3
bytes) OP code page: Operation code page.
Specify the "OP code page" for the control which you want to get the status.
Refer to "Appendix A Operation code table" for each item.
OP code page data must be encoded to ASCII characters.
Ex.) The byte data 02h must be encoded to ASCII characters '0' and '2' (30h and 32h).
OP code page 02h ->
Refer to Operation code table. (Appendix A)
th
–5
th
4
bytes) OP code: Operation code
Refer to "Appendix A Operation code table" for each item.
OP code data must be encoded to ASCII characters.
Ex.) The byte data 3Ah must be encoded to ASCII characters '3' and 'A' (33h and 41h).
OP code 3Ah ->
Refer to Operation code table.
th
6
byte) ETX: End of Message
ASCII ETX (03h)

5.2 "Get parameter" reply

Result
OP code page
STX
Hi
Lo
Hi
st
nd
rd
1
2
-3
The monitor replies with a current value and the status of the requested item (operation code).
st
1
byte) STX: Start of Message
ASCII STX (02h)
nd
rd
2
-3
bytes) Result code.
OP code page
OP code
Hi
Lo
Hi
nd
rd
th
–5
2
-3
4
OP code page (Hi) = ASCII '0' (30h)
OP code page (Lo) = ASCII '2' (32h)
OP code (Hi) = ASCII '3' (33h)
OP code (Lo) = ASCII 'A' (41h)
OP code
Lo
Hi
Lo
th
–5
th
th
–7
th
4
6
ETX
Lo
th
th
6
Type
Max value
Hi
Lo
MSB
th
th
th
8
-9
10
(7/37)
Current Value
LSB
MSB
th
th
-13
14
-17
ETX
LSB
th
th
18

Advertisement

Table of Contents
loading

  Also See for NEC V321-2

  Related Manuals for NEC V321-2