beautypg.com

Denso RC5 User Manual

Page 84

background image

64

3.5.3.10

I/O Read (1010)

(1) 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.

(2) Format

Command area (4 bits, input)
1010

Data area 1 (8 bits, input)
Nothing will be input.

Data area 2 (16 bits, input)
This 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 (ERROR2034) 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.

(3) 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.