![Lake Shore 475 Скачать руководство пользователя страница 87](http://html.mh-extra.com/html/lake-shore/475/475_user-manual_670635087.webp)
Lake Shore Model 475 Gaussmeter User’s Manual
Remote Operation
6-11
Table 6-3. Programming Example to Generate an SRQ
Command or Operation
Description
*ESR?
Read and clear the Standard Event Status Register.
*ESE 32
Enable the Command Error (CME) bit in the Standard Event Status Register
*SRE 32
Enable the Event Summary Bit (ESB) to set the RQS
*ABC
Send improper command to instrument to generate a command error
Monitor bus
Monitor the bus until the Service Request interrupt (SRQ) is sent.
Initiate Serial Poll
Serial Poll the bus to determine which instrument sent the interrupt and clear the
RQS bit in the Status Byte.
*ESR?
Read and clear the Standard Event Status Register allowing an SRQ to be
generated on another command error.
6.1.4.3.4 Using Status Byte Query (*STB?)
The Status Byte Query (*STB?) command is similar to a Serial Poll except it is processed like any other instrument
command. The *STB? command returns the same result as a Serial Poll except that the Status Byte bit 6 (RQS/MSS) is
not cleared. In this case bit 6 is considered the MSS bit. Using the *STB? command does not clear any bits in the Status
Byte Register.
6.1.4.3.5 Using the Message Available (MAV) bit
Status Byte summary bit 4 (MAV) indicates that data is available to read into your bus controller. This message may be
used to synchronize information exchange with the bus controller. The bus controller can, for example, send a query
command to the Model 475 and then wait for MAV to set. If the MAV bit has been enabled to initiate an SRQ, the user’s
program can direct the bus controller to look for the SRQ leaving the bus available for other use. The MAV bit will be
clear whenever the output buffer is empty.
6.1.4.3.6 Using Operation Complete (*OPC) and Operation Complete Query (*OPC?)
The Operation Complete (*OPC) and Operation Complete Query (*OPC?) are both used to indicate when pending
device operations complete. However, the commands operate with two distinct methods.
The *OPC command is used in conjunction with bit 0 (OPC) of the Standard Event Status Register. If *OPC is sent as
the last command in a command sequence, bit 0 will be set when the instrument completes the operation that was
initiated by the command sequence. Additional commands may be sent between the instrument and the bus controller
while waiting for the initial pending operation to complete. A typical use of this function would be to enable the OPC bit
to generate an SRQ and include the *OPC command when programming the instrument. The bus controller could then
be instructed to look for an SRQ allowing additional communication with the instrument while the initial process
executes.
The *OPC? query has no interaction with bit 0 (OPC) of the Standard Event Status Register. If the *OPC? query is sent
at the end of a command sequence, the bus will be held until the instrument completes the operation that was initiated by
the command sequence. Additional commands (except *RST) should not be sent until the operation is complete as erratic
operation will occur. Once the sequence is complete a 1 will be placed in the output buffer. This function is typically
used to signal a completed operation without monitoring the SRQ. It is also used when it is important to prevent any
additional communication on the bus during a pending operation.
Содержание 475
Страница 16: ...Lake Shore Model 475 Gaussmeter User s Manual 1 6 Introduction 1 4 SAFETY SYMBOLS ...
Страница 25: ...Lake Shore Model 475 Gaussmeter User s Manual Background 2 9 Figure 2 8 Examples of PI Control ...
Страница 36: ...Lake Shore Model 475 Gaussmeter User s Manual 3 10 Installation This Page Intentionally Left Blank ...
Страница 68: ...Lake Shore Model 475 Gaussmeter User s Manual 4 32 Operation This Page Intentionally Left Blank ...
Страница 82: ...Lake Shore Model 475 Gaussmeter User s Manual 6 6 Remote Operation Figure 6 2 Model 475 Status System ...