Transmission Procedure - Toshiba V Series User Manual

Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 2 Specifications

2.2 Transmission Procedure

2
8
The ASCII module transmission method is commonly used in personal computers. A
general method uses the following polling method and commonly uses CR (0DH) as the
trailing code.
Send
Text
Receive
(1) Transmitted text
To transmit data using the ASCII module, create an ASCII code text data as shown
below and write it in the transmitting area of the ASCII module with an MWRITE
instruction.
• Be sure to add a trailing code
(CR) at the end of the
transmitted text.
• The transmitted text can be up to
448w.
(2) Received text
When data is received with the ASCII module, read the ASCII code text data as
shown below with the MREAD instruction.
• The text up to the trailing code
(CR) is received.
• Text up to 448w can be received.
• The received byte length is
stored in the 19W/83W
parameters.
CR
Text
CR
S3 register
F
"1"
"0"
"3"
"2"
"5"
"4"
"7"
"6"
"9"
"8"
NULL
CR
HIGH
LOW
byte
byte
S3 register
F
"1"
"0"
"3"
"2"
"5"
"4"
"7"
"6"
"9"
"8"
NULL
CR
HIGH
LOW
byte
byte
Received bytes (N)
model 3000 ASCII Module (AS311) User's Manual
Text
CR
Transmitted text
0
"0"
"1"
"2"
"3"
"4"
N bytes
"5"
"6"
"7"
"8"
"9"
CR
Received text
0
"0"
"1"
"2"
"3"
"4"
N bytes
"5"
"6"
"7"
"8"
"9"
CR

Advertisement

Table of Contents
loading

This manual is also suitable for:

As311

Table of Contents