Mitsubishi Melsec-L Series User Manual page 169

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

Advertisement

C24 side
Receive data
clear request
(address: A8
)
H
CPU module
(Program)
10 - 19
(3) Receive data clear procedure using FROM/TO instruction
Write and read Receive data clear request (address: A8
procedure described below.
When resuming data communication with an external device, resume it after
completing the receive data clear processing with the C24.
Depending on the data communication system, it may be necessary to restart
data communications with the external device after notifying the external device
from the CPU module that resumption of communications is possible.
(Clear Procedure)· ··When the CH1 side interface is used.
(1) While none of receiving, sending, and receive data clearing is being
performed, with the TO instruction, "1" is written to Receive data clear
request (address: A8
(2) Receive data clear processing is performed for the C24's OS area (Refer to
Section 10.1.2).
(3) When receive data clear processing is completed, Receive data clear
request (address: A8
The following pages show an example of a program to clear receive data with the
FROM/TO instruction.
Create a program that contains the contacts (such as user flags) indicating the
following statuses in the TO instruction.
• Contacts indicating that the reception data read request (X3/XA) and reception
abnormal detection (X4/XB) are OFF
• Contact indicating that no dedicated instruction (OUTPUT/PRR/INPUT) is
currently being executed
• Contact indicating that receive data clear processing is not currently being
performed
"0"
(1)
TO instruction
(Write "1" to address A8H)
10 DATA COMMUNICATION USING THE NONPROCEDURAL PROTOCOL
).
H
) becomes "0".
H
Send request
execution disabled
Dedicated instruction
for sending execution
disabled, too
"1"
/148
) using the
H
H
(2)
Receive
data clear
processing
(3)
"0"
10 - 19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents