Omron CJ1W-SCU32 Operation Manual page 222

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

Advertisement

5 Serial Gateway
Immediate Execution of Serial Gateway
When the Serial Gateway is enabled during Protocol Macro Mode and a command is received, and
if the command in the next step is any command except the Receive command (Send, Send&Recv,
Wait, Flush, Open, or Close), the protocol macro communications sequence is temporarily sus-
pended before the next step is executed, and the Serial Gateway is used to execute command con-
version and transmission on an interrupt between steps.
Until the response is received, the command within the next step is not executed. After the response
is received, the protocol macro is resumed, and execution is started from the communications
sequence step that was suspended.
Reception
Precautions for Safe Use
If a multiple-frame command protocol macro is sent during protocol macro execution, set the
Serial Gateway Mode status to Prohibited. To do so, make configuration with the
*_P1_SgwDsblCmd and *_P2_SgwDsblCmd (Serial Gateway Prohibit Switch (Protocol Mac-
ros)).
Otherwise, a message converted using Serial Gateway will interrupt between steps of the exe-
cuting protocol macro, and may occur in between frames of the multiple-frame command.
A multiple-frame command is a command in which the protocol macro command text is divided
into multiple frames that are sent in series.
5-30
Command
(The next step is a Receive
command, so the Receive
command is executed and
the Serial Gateway waits.)
(The next step is a Send command
(not Receive) so the Serial Gateway is
executed.)
Step n+2
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Step n
Send&Recv
Step n+1
Receive
Sequence temporarily suspended
CompoWay/F or
other command
CompoWay/F or
other response
Sequence resumes
Send

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents