Mitsubishi Electric QJ71C24N User Manual page 157

Q corresponding serial communication module
Table of Contents

Advertisement

6
DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
For normal completion
D 0
Interface number
D 1
Reception result
D 2
Receive data count
D 3
Allowable receive data count
D10
Receive data
to
to
D m
Receive data
For abnormal completion
D 0
Interface number
D 1
Reception result
D 2
Receive data count
D 3
Allowable receive data count
D10
Receive data
to
to
D x
Receive data
6 - 13
4) The device completing the INPUT instruction turns ON when the reading of receive
data is completed.
When the complete device + 1 (abnormal completion signal) turns ON, the error
code is stored in the control data completion status (S1 + 1).
(Program example)
When the Q series C24 I/O signals are from X/Y00 to X/Y1F:
(1)
(0)
(n)
(10)
When the receive data count is larger than the
allowable receive data count, only the data up to
the allowable receive data count will be stored
and the excess data will be discarded.
(1)
(other than 0)
From the buffer memory (address 258
(n)
From the buffer memory (address 600
(10)
Data received prior to an error occurrence will be
stored in the receive data storage device.
Q series C24
Address
Buffer memory
258
Data reception result
H
600
Receive data count
H
601
H
to
Receive data
7FF
H
)
H
)
H
MELSEC-Q
6 - 13

Advertisement

Table of Contents
loading

Table of Contents