7 Serial Communications
7 - 20
NX-series Communications Interface Units User’s Manual (W540)
3 • Output
respon-
se for
ABCD
• Input-
ting
1234
• The communications master receives
the in
put notification data given on the
right.
• The communications master knows
that ABCD
wa
s normally received by
the CIF Unit because the Output SID
Response in the input notification data
is 03 hex.
• The CIF Unit inputs the following input
no
ti
fication data to tell the CPU Unit or
communications master that ABCD was
received normally.
• At the same time, it passe
s 1234 to the
CPU Unit or communications master.
4 Sending
ABCD
--- The CIF Unit sends ABCD to the serial line.
5 Input
response
fo
r 1
234
• The communications master outputs
the following output notification data to
tell the CIF Unit that 1234 was
received normally.
• The CIF Unit receives the output notifica-
tion data given on the left.
• The CIF Unit knows that 1234 was nor-
mally received by the CPU Unit or com-
munications master because the Input
SID
Response in the output notification
data is 03 hex.
6 Detecting
th
e end
of
the
receive
data
---
The CIF Unit detects the end of the receive
data.
Step Process
CPU Unit or communications master
processing
Communi-
cations
direction
*1
CIF Unit processing
Incremented.
Set the Output
SID.
There is receive data
that is not the final
receive data.
4 bytes
1234
0010 hex
03 hex
03 hex
1000 hex
0000 hex
0004 hex
31 hex,
32 hex,
33 hex,
34 hex
Input Data 01
Port Status
Input SID
Output SID
Response
Input Data Type
Input Sub Info
Input Data Length
Set the Input
SID.
03 hex
03 hex
0000 hex
0000 hex
0000 hex
00 hex,
00 hex,
00 hex,
00 hex
Output SID
Input SID
Response
Output Data
Type
Output Sub Info
Output Data
Length
Output Data 01