Mitsubishi Electronics T-60 Calculator User Manual


 
Load and convert SERIAL.BLD into a BASIC file (F8 function). Load it into
the T-60. Now, enter the terminal emulator (ALT-M then type T). Press the
RUN (F1) softkey on the T-60. You will be asked a question on your PC’s
screen. Answer it and press Enter. Watch what happens.
The ApplicationBuilder utilizes COM: PUT TEXT pseudocode to transmit
serial data. Actually, COM: PUT TEXT is converted into the PRINT #
BASIC statement to perform serial I/O. Data is gathered into a string
variable and output directly to the port in a single instruction. The COM:
INIT pseudocode generates a CONFIG # BASIC statement to initialize the
I/O. The complexities of the CONFIG statement are hidden from the
programmer with the simplicity of the pseudocode.
Parallel I/O Made Simple
If you thought Serial I/O was easy wait until you take a look at Parallel I/O.
The T-60 has 8 parallel I/O lines built into it. The ApplicationBuilder has a
host of I/O pseudocodes. To look at them, press F5 then press the I key. This
will display a list of available I/O pseudocodes.
An example program which sequences I/O bits one at a time is on your
ApplicationBuilder diskette: IO.BLD. Try loading it and running it. This
program uses on-screen messages to tell you about itself.
EMERSON EMC DX Drive Demo Program
Please read the first part of
the DX.-COM.BLD program.
There are instructions on how
the DX Amplifier must be
setup to operate correctly.
This program (DX-COM.BLD) was written to demonstrate the capability of
the T-60 to control a EMERSON EMC DX Drive. The T-60 starts the
program at power on, and begins communicating with the DX Drive. It then
allows the user to make simple moves, download sequences, and scale units.
This program provides a good starting place for understanding how to
communicate with the EMERSON EMC DX Drives.
Installation
Connect the T-60 to the PC and to the DX Drive Amplifier as shown in Figure
17. T-60’s COM 2 port connects to the PC’s COM 1 or COM 2 port. This
connection must be made with a NULL MODEM cable. The T-60’s COM 1
port connects to the DX Drive Amplifier’s serial “B” port.
You will need a serial communications cable (Model number TIA-XXX), to
connect a DX Drive to the T-60. Such a cable can be obtained from
EMERSON EMC in three standard lengths:
Part Number Length
TIA-010 10 FT
TIA-025 25 FT
TIA-050 50 FT
T-60 Operator's Manual
32