CHAPTER 3. CONTROLLING THE MONITOR WITH A PC
PN-T321/T322B
CONTROLLING THE MONITOR WITH A PC
3 – 2
■
RESPONSE CODE FORMAT
<WHEN A COMMAND HAS BEEN EXECUTED CORRECTLY>
<WHEN A COMMAND HAS NOT BEEN EXECUTED>
MEMO
n
“ERR” is returned when there is no relevant command or when
the command cannot be used in the current state of the monitor.
n
If communication has not been established for reasons such as a
bad connection between the PC and monitor, nothing is returned
(not even “ERR”).
<IF EXECUTION OF THE COMMAND IS TAKING SOME TIME>
When the following commands are used, “WAIT” is returned.
In this case, a value will be returned if you wait a while. Do not send any
command during this period.
COMMANDS WHICH RETURN “WAIT”
When one of the following commands is used:
RSET, INPS, ASNC, WIDE, POWR
<WHEN CONTROL VIA RS-232C IS LOCKED (TO PREVENT
USE) USING THE OPERATION LOCK FUNCTION>
<COMMUNICATION INTERVAL>
n
After “OK” or “ERR” is returned, you must send the following commands.
To set a timeout for the command response, specify 10 seconds or
longer.
n
Provide an interval of 100 ms or more between the command
response and the transmission of the next command.
MEMO
n
When executing ALL RESET, set the timeout period to 30 sec-
onds or longer.
Return code (0D
H
, 0A
H
)
O
K
A response is returned after a command is executed.
Return code (0D
H
, 0A
H
)
E
R
R
Return code (0D
H
, 0A
H
)
W
A
I
T
Return code (0D
H
, 0A
H
)
L
O
C
K
E
D
Interval of 100 ms or more
VOLM0020
OK
INPS0001
WAIT
OK