5-21
5.6.4 Wait for status generation of the status register
An event status register bit of the MT8801C is set to 1 when the corresponding event
occurs. When the *ESR?, ESR2?, or ESR3? query is executed, the MT8801C outputs
the value of the corresponding status register as a response message. The controller
reads this response message and waits until the response becomes the specified value
for synchronization. Reset the event status register immediately before making a de-
sired event occur.
Note:
Wait for 50 ms for the controller to go to the next operation after reading a
response message.
• <Controller program: Synchronization by operation termination bit>
[2] Sends one or more commands sequentially.
PRINT @1:"*CLS"
PRINT @1:"*ESR?"
[1] Clear the status register.
[3] ∗ESR? query
[4] Reads the response message.
....Goes to the next operation when
the read value becomes the
desired value (bit
2
0
to “1”).
to the next operation
5.6 Techniques for Synchronizing the MT8801C with a Controller