<< Prev        Next >>

ID : 1020

I/O Read(1010)

Function

This command outputs to the lower 8 bits of the status area the status of the 8-bit internal I/O area starting from the number specified in data area 2.

Format

Command Area (4 bits, input)

1010

Data Area 1 (8 bits, input)

Nothing will be input.

Data Area 2 (16 bits, input)

The number is the first number of the internal I/O (8-bit) area whose status will be output.

The number can be set between 128 and 504. If the number is out of this range, an error will occur.

Status Area (16 bits, output)

The status of the 8-bit internal I/O area starting from the number specified in data area 2 will be output to the lower 8 bits of this area.

Description

This command outputs to the lower 8 bits of the status area the status of the 8-bit internal I/O area starting from the number specified in data area 2. Zero will be output to the upper 8 bits.

ID : 1020

<< Prev        Next >>