beautypg.com

MITSUBISHI ELECTRIC T-60 User Manual

Page 20

background image

Support for the T-60’s 8 bit I/O has been provided by the following
commands. Some commands refer to 24 bits of I/O instead of 8. This reflects

the compatability between the T-60 and the T-61 (the T-61 has 24 bits of I/O
standard while the T-60 has 8 bits of I/O). The T-60 can only use the lower 8

bits of these commands.

INP

Input port data

IO24

Specify an I/O bit pattern to generate an interrupt.

ON IO24

Interrupt on an I/O bit pattern

OUT

Output port data

These commands are described in the EMERSON EMC BASIC USERS
GUIDE in a manner which works with both the EMERSON EMC T-61 and
T-60. The specific changes are as follows:

INP

Input range of 0 to 255.

IO24

Bit pattern ranges: “0”, “1” or “X” through “00000000”,
“11111111”, or “XXXXXXXX”. the input may still be a
string variable.

ON IO24

Unchanged.

OUT

Output range 2 to 255. The MAP function works over
the range of: “0”, “1” or “X” through “00000000”,
“11111111”, or “XXXXXXXX”.

There are similar restrictions on the use of the EVENT DRIVEN SOFTWARE.

I/O ranges are limited to 8 bits. If you have questions about the EVENT DRIVEN
SOFTWARE and the T-60, please contact EMERSON EMC.

Figure 9

One Channel of the 8 Bit I/O

T-60 Operator's Manual

12