USER'S MANUAL. MO-160
6) Once completed the message processing, the MO-160 will send an XON
indicating that its ready for a new command.
A typical communication timing diagram would be as follows:
PC
⇐
1)
XON
2)*?NA<cr> ⇒
⇐
3)
XOFF
⇐
4)
ACK
5) wait ...
⇐
6)
*NAMO-160<cr>
7) wait ...
⇐
8)
XON
(All characters are transmitted in ASCII code)
Commands should always be sent in capital letter and cannot be edited online,
i.e., once a character is received it is stored in the MO-160 buffer and cannot be
rectified by sending an erase code.
When in communication idle mode (MO-160 waiting for a command) the
instrument will send an XON code at one second intervals, to allow synchronization.
Command list: Commands are classified between interrogative and control
commands. They are initiated by sending an '*' character, and have ASCII text
format and always share a similar structure. For instance, the equipment model
name can be asked by sending "*?NA<cr>" and the answer is "*NAMO-160"
(always without quotes) Some amount of parsing must be applied, to recover
the wanted data from the answer text (in this case, "MO-160")
02/2008
MO-160
(equipment ready for command)
(command issued by the controller)
(command received indication)
(command accepted / understood)
(execution delay)
(command answer sent)
(usually some small delay)
(equipment ready for command)
Page 23