
5 Serial Gateway
5-32
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
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.
z
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.
z
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-5-3
Other Functions
Command
Send delay
Send
Receive processing
Time
Command received
Command source:
Unit:
Remote device:
Conversion
Содержание 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...