Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 256

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Serial Gateway
The processing flowchart is as follows:
Serial Gateway enabled, FINS command received
Any command except RECEIVE
Command in
next step
RECEIVE command
RECEIVE command takes priority,
and the next step is executed.
The details of the processing flow are as follows:
Protocol Macro Priority over Serial Gateway
When the Serial Gateway is enabled during protocol macro mode and a FINS
command is received and if the command in the next step is a RECEIVE com-
mand, this next step will be executed without executing conversion, transmis-
sion, and response reception processing for the Serial Gateway.
After the step containing the RECEIVE command is completed, if the next
step contains any command except the RECEIVE command (SEND,
SEND&RECV, WAIT, FLUSH, OPEN, or CLOSE), the protocol macro commu-
nications sequence is temporarily suspended before the next step is exe-
cuted, and the FINS command conversion and transmission is executed on an
interrupt between steps using the Serial Gateway.
Until the response is received, the command in the step is not executed. After
the response is received, the protocol macro is resumed, starting execution
from the communications sequence step that was suspended.
The step that is executing when a FINS command is received is not inter-
rupted. Therefore, if the WAIT command is executing, the Serial Gateway will
not be executed.
Immediate Execution of Serial Gateway
When the Serial Gateway is enabled during protocol macro mode and a FINS
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 FINS command conversion
and transmission is executed on an interrupt between steps using the Serial
Gateway.
Until the response is received, the command within the next step is not exe-
cuted. After the response is received, the protocol macro is resumed, starting
execution from the communications sequence step that was suspended.
Serial Gateway takes priority and
conversion, transmission, and re-
sponse reception processing is exe-
cuted on an interrupt between steps.
The next queued step is executed.
Section 6-6
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents