EasyManuals Logo

Mitsubishi QJ71C24/-R2 User Manual

Mitsubishi QJ71C24/-R2
358 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #135 background imageLoading...
Page #135 background image
6 - 15 6 - 15
MELSEC-Q
6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
The following is a program example of clearing the reception data by the
dedicated instruction "CSET."
Set the execution type
Set the request type
(Reception data clear)
Execute the reception
data clear
Normal completion
Abnomal completion
Reset the complete flag b
y
external command
(3) Receive data clear procedure using FROM/TO instruction
Write and read the buffer memory receive data clear request area (addresses A8
H
/148
H
) using the procedure described below.
When resuming data communications with an external device, resume it after
completing the reception data clear processing with the Q Series C24.
Depending on the data communications system, it may be necessary to restart
data communications with the external device after notifying the external device
from the PLC CPU that resumption of communications is possible.
(Clear Procedure)ยท ยทยทWhen the CH1 side interface is used.
(1) Since receive processing, send processing and receive data clear processing
are not being performed, โ€œ1โ€ is written to buffer memory address A8H using
the TO instruction for the sequence program.
(2) Receive data clear processing is performed for the Q Series C24โ€™s OS area
(See Section 6.1.2).
(3) When receive data clear processing is completed, the value in buffer memory
address A8H becomes โ€œ0.โ€
The following page shows an example of a program to clear receive data with the
FROM/TO instruction.
Create a program that contains the contacts (user flags, etc.) indicating the
following statuses in the TO instruction.
โ€ข Contact when the CHn reception data read request signal (X3/XA) is OFF
โ€ข Contact when the CHn reception abnormal detection signal (X4/XB) is OFF
โ€ข Contact indicating that send and receive processes are not currently being
performed
โ€ข Contact indicating that reception data clear processing is not currently being
performed
1 When the function version A Q Series C24 is used, resume data
communications a further 100 ms after the buffer memory address
A8H/148H value changes from a โ€œ1โ€ to a โ€œ0.โ€

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi QJ71C24/-R2 and is the answer not in the manual?

Mitsubishi QJ71C24/-R2 Specifications

General IconGeneral
BrandMitsubishi
ModelQJ71C24/-R2
CategoryController
LanguageEnglish

Related product manuals