EasyManuals Logo

NAiS FP Series User Manual

NAiS FP Series
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #171 background imageLoading...
Page #171 background image
FPΣ
Communication Function 2 General-purpose Serial Communication
9-4
Outline of operation
To send data to and receive it from an external device using the general-purpose serial
communication function, the “Data transmission” and “Data reception” functions
described below are used. The F159 (MTRN) instruction and the “Reception done” flag
are used in these operations, to transfer data between the FPΣ and an external device.
Data transmission
Datatobeoutput is stored inthe data register usedasthetransmissionbuffer(DT),and
when the F159 (MTRN) instruction is executed, the data is output from the COM. port.
Data writing
Device with
RS232C port
Data register (DT)
FPΣ
Data transmission using
F159(MTRN) instruction
The end code specified by the system register is
automatically added to the data that has been
sent.
The maximum volume of data that can be sent i
s
2,048 bytes.
Figure 163: FPΣ Data transmission
Data reception
Input data from the COM. port is stored in the received buffer specified by the system
register, and the “Reception done” flag goes on. Data can be received whenever the
“Reception done” flag is off.
FPΣ
Data register (DT)
Reception done
flag: on
Data receiving
Device with
RS232C port
When data is received, the “Reception done” flag
is controlled by the F159 (MTRN) instruction.
No end code is included in the stored data.
Themaximum volume ofdata thatcan bereceived
is 4,096 bytes.
Figure 164: FPΣ Data reception

Table of Contents

Other manuals for NAiS FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NAiS FP Series and is the answer not in the manual?

NAiS FP Series Specifications

General IconGeneral
BrandNAiS
ModelFP Series
CategoryController
LanguageEnglish

Related product manuals