7 Serial Communications
7 - 8
NX-series Communications Interface Units User’s Manual (W540)
4 Inputting
the first
data
• The communications master
receives
the input notification data
given on the right.
• The Input SID is 01 hex, so the mas-
ter knows that the first input data is
inclu
ded in the input notification data
that was received.
• The input data is stored in the
receive
buffer.
• The CIF Unit inputs the following input
notification data.
• The CIF Unit sets the Input SID to 01 hex
to tel
l the CPU Unit or communications
master that the first input data is included
in the input notification data.
5 First input
re
sponse
•
The communications master outputs
the following output notification data.
• The communications master sets the
In
put SID Respo
nse to the value of
the Input SID (01 hex) to tell the CIF
Unit that the communications master
has normally received the first input
data.
• The CIF Unit receives the outpu
t notifica-
tion da
ta given on the left.
• The CIF Unit knows that the CPU Unit or
communi
ca
tions master has normally
received the first input data because the
Input SID Response in the output notifica-
tion data is 01 hex.
6 Inputting
the sec-
ond data
• The communications master
receives
the input
notification data
given on the right.
• The communications master checks
th
e In
put SID.
• The Input SID is 02 hex, so the mas-
ter knows that the second input data
is includ
ed in the input notification
data that was received.
• The input data is stored in the
receive
bu
ffer.
• The CIF Unit inputs the following input
no
tifica
tion data.
• The CIF Unit sets the Input SID to 02 hex
to tel
l the CPU Unit or communications
master that the second input data is
included in the input notification data.
Step Process
CPU Unit or communications master
processing
Communi-
cations
direction
*1
CIF Unit processing
-
01 hex
-
-
-
-
The first
data
received
from the
serial line
Input Data
Port Status
Input SID
Output SID
Response
Input Data Type
Input Sub Info
Input Data Length
-
01 hex
-
-
-
-
Output SID
Input SID
Response
Output Data
Type
Output Sub Info
Output Data
Length
Output Data
-
02 hex
-
-
-
-
The
second
data
received
from the
serial line
Input Data
Port Status
Input SID
Output SID
Response
Input Data Type
Input Sub Info
Input Data Length