
4-17
4 Using Protocol Macros
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
4-2 De
vic
e
V
ariab
les
fo
r CJ
-series Un
it and
Sys
tem-defined
V
ariables
(Pr
o
toco
l Macr
o Mo
de)
4
4-2-2 Area Descr
ipt
ions
With full-duplex mode, the reception buffer is cleared immediately before the sequence is executed.
While Recv and Send commands are executed, data is input into the reception buffer and is used as
the protocol macro data.
*1
With full-duplex, you can use RS-232C or RS-422A/485 (1:1 and 4-wire connections) can be used. You cannot
use RS-422A/485 1:N or 2-wire connections.
*2
The Flush command can be used at any time to clear the reception buffer.
*3
Although the received data is discarded until completion of Send execution, it is reflected in the character trace.
Transmission
mode
Time reception
buffer cleared
Data reception
Character
trace
Timing chart (example)
Half-duplex Immediately
before
communications
sequence execution
and immediately
after Send comple-
tion by the Send or
Send&Recv com-
mand
From Send
completion to
Recv comple-
tion, Send com-
pletion to
immediately
before Send
execution
All during trace
execution
Full-duplex
(*1)
Immediately before
communications
sequence execution
(*2)
All during com-
munications
sequence exe-
cution
All during trace
execution
Communications
sequence
Reception buffer
cleared
Data reception
Character trace
Recv
Send
Recv
(*3)
Communications
sequence
Reception buffer
cleared (*3)
Data reception
Character trace
Recv
Send
Recv
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...