MM4006
A
p
p
e
n
d
i
x
B — IEEE-488 Link Characteristics
Service Requests from IEEE-488.2 Devices
The IEEE-488.2 standard redefined the bit assignments in the status byte. In
addition to setting bit 6 when requesting service, IEEE-488.2 devices also
use two other bits to specify their status. Bit 4, the Message Availiable Bit
(MAV), is set when the device is ready to send previously queried data. Bit
5, the Event Status Bit (ESB), is set if one or more of the enabled IEEE-488.2
events occurs. These events include power-on, user request, command
error, execution error, device-dependant error, querry error, request con-
trol and operation complete. The device can assert SRQ when ESB or MAV
is set, or when a manufacturer-defined condition occurs.
Also on page 7-7, National instruments give an example on how to conduct
a serial poll:
SRQ and Serial Polling with NI-488 Device Functions...
The following example illustrates the use of the ibwait and ibrsp functions
in a typical SRQ servicing situation when automatic serial polling is
enabled.
#include "decl.h"
char GetSerialPollResponse (int DeviceHandle)
1
char SerialPollResponse = 0;
ibwait (DeviceHandle, TIMO I RQS);
if (ibsta & RQS)
{
printf ("Device asserted SRQ. \ n");
/* Use ibrsp to retrieve the serial
poll
response. */
ibrsp (DeviceHandle, &SerialPollResponse);
return (SerialPollResponse);
The MM4006 Controller is an IEEE-488 device in which the SRQ is always
enable. It
will
respond accordingly to the National Instruments example.
When the queried data
will be
ready, the MM4006
will
assert the SRQ line
and, in the serial poll response bit 6 will be set (Requesting service) and bit
7 (manufacturer-defined)
will
be set (Message Availiable). After that you
can use the ibrd command to retreive the data from the MM4006.
( A ,
ED110181En1020 — 03/03
8.8
N
e
W
p
O
r
t
.
Summary of Contents for MM4006
Page 9: ...F D110181En1020 03 03 b J e w p o r t...
Page 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Page 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Page 42: ...Section 2 Local Mode C Newport...
Page 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Page 96: ...Section 3 Remote Mode C klevvport...
Page 97: ...Newport...
Page 310: ...Section 4 Motion Control Tutorial Ilevvport...
Page 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Page 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Page 334: ...Section 5 Trajectory Functions Tutorial Newport...
Page 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Page 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Page 346: ...Section 6 Feature Descriptions Tutorial Newport...
Page 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Page 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Page 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Page 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Page 368: ...Section 8 Appendices INevvport...
Page 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Page 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Page 410: ...A7 h7s z c 7...