Ascii Module Operation Overview - Toshiba V Series User Manual

Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 1 Overview

1.2 ASCII Module Operation Overview

1
The Controller
Register
Transmitting
Receiving data
2
When exchanging data with an external device using the ASCII module, the exchanged
data is transmitted through the following path. Ch1 and ch2 can operate independently.
Buffer memory
MWRITE
Transmitting area
MREAD
Receiving area
(1) Data transmission
To transmit data, set the data in the controller register and use the MWRITE
instruction to write in the transmitting area of the ASCII module buffer memory.
Then when the transmit start flag is turned ON, the ASCII module transmits the data
to the external device.
(2) Data receiving
The data received from the external device is stored in the received buffer to be
checked and then stored in the receiving area of the buffer memory. Then after the
ASCII module turns ON the receive data read flag, use the MREAD instruction to
read the data into the controller register.
(3) Data format
The ASCII module can transmit/receive data consisting of a series of ASCII codes.
Data up to 896 bytes can be transmitted at once.
The trailing code of this data is set to CR (0Dh) by default. This code can be
changed to a different code.
1
N: Data length=896 bytes max. (448W max.)
ASCII module
Transmitting buffer
Transmitting
Transmission
Receiving buffer
2
3
Driver
External
device
element
N-1
N
CR
model 3000 ASCII Module (AS311) User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

As311

Table of Contents