Other Functions - Omron CJ1W-SCU32 Operation Manual

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

Advertisement

5 Serial Gateway
If a Serial Gateway send start timeout occurs, *_P1_TimeoutErr and *_P2_TimeoutErr (Timeout
Error) become TRUE.
Precautions for Safe Use
When the Serial Gateway is executed during protocol macro execution, the communications
sequence contents and the command reception timing may suspend step transition of the com-
munications sequence (when the next step is a command other than a Receive command, the
Serial Gateway will be executed by interruption of the sequence before the next step, and the
step transition will be suspended).
Use the Serial Gateway send start timeout monitoring function to monitor at the command
source whether step transition in the communications sequence was suspended due to execu-
tion of Serial Gateway. If sending of the command of each protocol does not start within the set
time, either retry execution of the command or change the communications sequence.
5-5-3

Other Functions

Serial Gateway Send Delay (Serial Gateway Mode/Protocol Macro Mode)
Use the send delay function to prevent immediate transfer of a command to the serial port after the
command is received by the Serial Communications Unit and converted into the specified protocol.
With this function, the converted command is sent to the serial port after a set time. (The default is 0
s, and the setting range for user-specified value is 0 to 300 s.)
Use bits 00 to 14 of *_P1_SendDelayCfg and *_P2_SendDelayCfg (Send Delay Settings) to set the
time.
For example, use the send delay function to prevent loss of send frames when receive processing at
the connected device does not provide sufficient speed.
Command source:
Unit:
Remote device:
Serial Gateway Message Queuing
The Serial Communications Unit can hold processing on standby for up to five commands for the
Serial Gateway. If a sixth command is received at the serial port, a error response will be returned to
the source of the command.
5-32
Command received
Command
Send delay
Conversion
Send
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Time
Receive processing

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents