Mitsubishi Melsec-L Series User Manual page 163

Communication module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

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
10 - 13
(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.
POINT
(1) Receive data can also be read using interrupt programs.
For details on reading receive data with interrupt programs, refer to the User's
Manual (Application).
Note that if the reading of data received from the same interface is to be
performed, it is not possible to combine the reading of data received by the
main program and reading of data received by the interrupt program.
Accordingly, either of the above program to read the data received.
(2) The SPBUSY instruction is used to read the execution status when using a
dedicated instruction. (Refer to Chapter 12.)
(3) More than one INPUT instruction cannot be executed simultaneously.
Execute the next INPUT instruction only after the execution of the first INPUT
instruction is completed.
(4) When the communication data count is set in word units, and if the received
data count is an odd byte when requesting the reading of received data to the
CPU module, the receive data count is processed as follows:
Receive data count = Receive data byte count/2 ...Fractions following the
Also, 00
is stored in the higher byte of the final data storage position in the
H
receive area where receive data is stored.
10 DATA COMMUNICATION USING THE NONPROCEDURAL PROTOCOL
Address
Buffer memory
258
Data reception result
H
600
Receive data count
H
601
H
to
Receive data
7FF
H
C24
)
H
)
H
decimal point are rounded up
10 - 13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents