Omron CJ1W-SCU32 Operation Manual page 155

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

RS/CS Flow Control
Half-duplex Communications
With NJ-series half-duplex protocol macro communications, flow control can be released by turning
ON the RTS (RS) signal (CTS (CS) signal at the Remote Unit) while the Recv command is executed.
Command
SD signal
RD signal
RTS (RS)
signal
RTS (RS) signal ON
while Receive
command is
executed.
Note Signal names used are those at the Serial Communications Unit.
1
With protocol macro communications in half-duplex mode, the RTS (RS) signal is ON only while
the Receive command is being executed.
2
The receive data (RD signal) from the remote device is initially stored in the reception buffer.
3
The data in the reception buffer is analyzed, and a search is performed for data matching an
expected message registered with the Receive command.
4
When matching data is found, the RTS (RS) signal is turned OFF. The search starts after the
final data is received. It takes between 100 µs and 4 ms from the start of the search until the
RTS (RS) signal turns OFF.
5
While the Send command is being executed, and while the ExecPMCR instruction is not being
executed, the RTS (RS) signal stays OFF and receive data is discarded.
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
ExecPMCR instruction
RTS (RS) turned OFF
after 0.1 to 4 ms
Data received before
Send is completed is
discarded.
4 Using Protocol Macros
ExecPMCR
instruction
Data received while the ExecPMCR
instruction is not being executed is
discarded (controlled by turning
OFF the RTS (RS) signal).
The OFF status of the RTS (RS)
signal is maintained after execution
of the ExecPMCR instruction.
4
4-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents