Programming
—
DM 5010
Program
Example 9:
1
REM POLL FOR
NORMAL DEVICE DEPENDENT STATUS
3
GO
TO 100
4
REM USER DEFINABLE KEY *
SENDS GROUP
EXECUTE TRIGGER TO DM5010
5
MBYTE
CD+32,8,63:
7
RETURN
19 REM USER DEFINABLE KEY *
5 DOES AN ERROR QUERY
20
£D:"ERR?"
21
INPUT
CD:
AS
22
23
PRINT AS
24
RETURN
99
REM D = ADDRESS OF DM5010
100
D-16
109
REM
DO SERIAL POLL TO CLEAR POWER ON SERVICE REQUEST
110
POLL
X,Y;D
119
REM DISABLE
SERVICE REQUESTS
120
£D:"INIT;DT TRIG;RQS OFF
”
129
REM S
- PREVIOUS STATUS, SI = PRESENT STATUS
130
S'0
140 Sl-S
144
REM
DO SERIAL POLL
WITH WBYTE TO GET DEVICE DEPENDENT STATUS
145
SET NOKEY
150
WBYTE
£24,D+64:
160
RBYTE S
170 WBYTE £25,95:
175
SET KEY
178
REM IF NEW
STATUS IS SAME AS OLD STATUS THEN PRINT VERTICAL TAB
179
REM SO THAT STATUS
MESSAGE WILL APPEAR BRIGHT
180
IF SOS"; THEN 200
190
"K";
198
REM DECODE
STATUS
BYTE
199
REM
TEST
FOR
READING READY
200
IF
S'132 OR
S'148 OR S=140 OR S'156 THEN 300
209
REM
TEST
FOR
WAITING FOR TRIGGER
210
IF S-136
OR
*
THEN
250
219
REM
TEST FOR
CONVERSION IN PROGRESS
220
IF
S'128 OR
S=144 THEN 280
230
S;"
UNEXPECTED STATUS
BYTE"
240
GO
TO
140
250
PRINT S;"
WAITING FOR TRIGGER"
270
GO TO
140
280 PRINT S;
"
CONVERSION
IN
PROGRESS"
290
GO TO
140
300
INPUT £D:R
310 PRINT
S; "
READING IS
";R
320
GO TO
140
3-36
ADD
JAN
1982
Summary of Contents for DM 5010
Page 14: ...DM 5010 2994 00 DM 5010 Programmable Digital Multimeter xii ADD JUL 1986...
Page 27: ...Operating Instructions DM 5010 2994 03 Fig 2 3 DM 5010 front panel controls and connectors 2 3...
Page 38: ......
Page 134: ......
Page 208: ......
Page 222: ......
Page 250: ......
Page 251: ...Section 8 DM 5010 OPTIONS No options are available 8 1...
Page 252: ......
Page 270: ......
Page 272: ...DM 5010 2994 37 Fig 10 2 Location of DM 5010 adjustments and test points...
Page 273: ......
Page 274: ......
Page 275: ......
Page 276: ...DM 5010 2994 112 DM 5010 BLOCK DIAGRAM...
Page 281: ......
Page 282: ......
Page 291: ......
Page 293: ......
Page 294: ......
Page 297: ......
Page 298: ......
Page 303: ......
Page 304: ...I...
Page 305: ......
Page 310: ......
Page 311: ......
Page 315: ......
Page 318: ......
Page 321: ......
Page 323: ......
Page 326: ......
Page 332: ...2994 57...
Page 334: ......
Page 335: ......
Page 336: ......
Page 337: ...63 REV JUN 1986...
Page 338: ...FIG 1 EXPLODED DM 5010...
Page 339: ......
Page 340: ......
Page 341: ......
Page 347: ......