EasyManuals Logo
Home>Omron>Recording Equipment>SYSMAC NX-CIF105

Omron SYSMAC NX-CIF105 User Manual

Omron SYSMAC NX-CIF105
232 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 #133 background imageLoading...
Page #133 background image
7 - 29
7 Serial Communications
NX-series Communications Interface Units User’s Manual (W540)
7-6 User Programming to Receive Data
7
7-6-4 Precautions for Writing User Programming to Receive Data
For example, if the divided data size is 20 bytes, there are 10 bytes of receive data in the receive buffer,
and the data is not the final receive data, the 10 bytes of receive data in the receive buffer is sent to the
CPU Unit or communications master as input data when I/O is refreshed. In this case, the user pro-
gramming would have to get the 10 bytes of input data fr
om th
e 20 bytes of data that was received. You
can determine the size of the input data from the Input Data Length given in the input notification data.
If the Number of Characters to Determine the End is set and more than one end is detected in the
receive d
ata in the receive buffer, the receive data is separated into the different sets of input data and
sent to the CPU Unit or communications master.
For example, if the receive data in the receive buffer
is ABCDEF
GH and ends are detected between D
and E and after H, the receive data is divided into ABCD and EFGH input data and sent to the CPU Unit
or communications master separately.
Therefore, if you set the Number of Characters to Dete
rmi
ne the End, it is not necessary to divide input
data with user programming.
For a programming sample to receive data, refer to A-4-4 Programming Sample 3:
Receiving Data on
page A-38.
Operation When More Than One End Is Detected in the Receive Data
in the Receive Buffer
CPU Unit or communications
master
Divided data size:
20 bytes
Even if there are only 10
bytes, the data is sent when
I/O is refreshed. The value
of the Input Data Length is
0A hex.
User programming
must perform process-
ing to get only 10 bytes.
CIF Unit
Receive buffer
Receive data: 10 bytes
(not the final receive data)
CPU Unit or communications
master
The data is divided into
ABCD and EFGH and sent
separately.
It is not necessary to
divide the input data
with user programming.
CIF Unit
Receive buffer
"EFGH"
"EFGH"
An end was detected.
"ABCD"
"ABCD"
An end was detected.
An end was detected.
An end was detected.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC NX-CIF105 and is the answer not in the manual?

Omron SYSMAC NX-CIF105 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC NX-CIF105
CategoryRecording Equipment
LanguageEnglish

Related product manuals