EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #918 background imageLoading...
Page #918 background image
3. Instructions
880
CS/CJ/NSJ Series Instructions Reference Manual (W474)
z Flag Operation
Hint
• Execute RXDU(255) to read the received data from the buffer when the Reception Completed Flag
(in the allocated DM Setup Area) is ON.
Precautions
• Further data cannot be received until the received data is read from the buffer with RXDU(255).
When the Reception Completed Flag goes ON, read that data promptly with RXDU(255) before more
data is input to the port.
• When RXDU(255) is used to read data that was received at one of the Serial Communications Unit's
ports, the port's reception buffer is cleared after RXDU(255) is executed. Consequently, RXDU(255)
can not be executed repeatedly to read a block of data in parts.
• RXDU(255) can be used only for a Serial Communications Unit's serial port that has been set to no-
protocol mode.
• If 0 is specified for N, the Reception Completed Flag and Reception Overflow Flag will be turned OFF,
the Reception Counter will be cleared to 0, and nothing will be stored in memory.
• RXDU(255) uses a logical port (because it sends an internal FINS command) to output a receive
sequence command to a Serial Communications Unit or CS-series Serial Communications Board.
Since SEND(090), RECV(098), CMND(490), PMCR(260), and TXDU(256) also use logical ports 0 to
7, RXDU(255) cannot be executed for a logical port if that logical port is already being used by one of
those instructions or another RXDU(255) instruction.
To ensure that RXDU(255) is not executed while the logical port is busy, program the port's
Communications Port Enabled Flag (A202.00 to A202.07) as a normally open condition.
End code or specified
number of bytes received.
Instruction
execution
ON
OFF
Communications Port
Enabled Flag
(A20200 to A20207 correspond to
communications ports 0 to 7.)
RXDU(255)
CPU Unit
Reception Completed Flag
(Bit 6 of n+9 or n+19,
n = CIO 1500 + 25 x unit number)
ON
OFF
Serial
Communications
Unit
Reception processing
Reception
processing
Writing data to the CPU Unit's
data area
Write
processing
CPU Unit
RXDU
RXDU

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals