
128
Chapter 9
Communication with External Equipment (Using the I/O Ports)
Using the I/O Ports
To read out data from each input port (C to E) to the controller, use the following
commands.
To use ports C, D, and E as input ports, use the following commands to set ports C and D as
input ports in advance.
•
“CIN” on page 278
•
“DIN” on page 297
To select positive logic or negative logic for input/output signals of ports, use the following
commands. You can save this setting into an instrument setup file using the save function.
•
“NEGL” on page 362
•
“POSL” on page 403
NOTE
The above commands, used to change the positive logic/negative logic setting, are
available for the following ports.
•
Output ports A to H
•
Input ports C to D
•
PASS/FAIL signal
To make the setting so that OUTPUT1 and OUTPUT2 goes HIGH (or LOW) when a pulse
is inputted into INPUT1, use the following commands.
•
“OUT1ENV{H|L}” on page 367
•
“OUT2ENV{H|L}” on page 368
To set OUTPUT1 and OUTPUT2 to HIGH (or LOW), use the following commands.
•
“OUT1{H|L}” on page 367
•
“OUT2{H|L}” on page 368
To check that any pulses have been inputted to INPUT1, use the following command.
•
“INPT?” on page 319
GPIB command
Instrument BASIC command
Description
“OUTPINPCIO?” on page 381
“READIO(16,2)”
Reads out 4-bit width data from port C.
“OUTPINPDIO?” on page 382
“READIO(16,3)”
Reads out 4-bit width data from port D.
“OUTPINPEIO?” on page 382
“READIO(16,4)”
Reads out 8-bit width data from port E.
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...