Inputting/Outputting Data

Other topics about Communication with External Devices

Overview

The E5071C handler I/O port provides the ports for data I/O shown below.

Port Name

Usage

Data Structure

Port A

Output

Port B

Output

Port C

Input/Output

Port D

Input/Output

Port E

Input/Output

Port F

Output

Specifying Signal Direction of Port

Signal direction (input/output) can be changed for the ports C, D, and D as shown in I/O ports and control signal lines. Thus, before the ports are used, the directions should be determined according to their usage.

To specify the signal direction for the ports C and D, use the following command. Direction for the port E depends on the setting for the ports C and D.

Port Name

Command

Port C

:CONT:HAND:C:MODE

Port D

:CONT:HAND:D:MODE

 

 

Reading Data Input into Port

When the ports C, D, or E is configured to input ports, binary data represented with High(0)/Low(1) of each bit of the port will be read as decimal data.

To retrieve the data, use the following command as query:

Port Name

Command

Port C

:CONT:HAND:C

Port D

:CONT:HAND:D

Port E

:CONT:HAND:E

Data Output to Port

To the ports A through F (the ports C, D, and E should be configured to output ports), binary data (decimal data when output data is specified with a command) represented with High(0)/Low(1) of each bit of the port can be output.

To output data, use the following command:

Port Name

Command

Port A

:CONT:HAND:A

Port B

:CONT:HAND:B

Port C

:CONT:HAND:C

Port D

:CONT:HAND:D

Port E

:CONT:HAND:E

Port F

:CONT:HAND:F

Sample Program

See Handler Interface.