![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 257](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586257.webp)
228
Serial Gateway
Section 6-6
Note
If a multiple-frame command (see note) protocol macro is sent during protocol
macro execution, set the Serial Gateway mode status to prohibited (in the CIO
Area). Otherwise, a FINS message converted using Serial Gateway will inter-
rupt between steps of the executing protocol macro, and may occur in
between frames of the multiple-frame command.
Note
A multiple-frame command is a command in which the protocol mac-
ro command text is divided into multiple frames that are sent in se-
quence.
6-6-2
Serial Gateway Timeout Monitoring
The Serial Gateway supports the following two timeout monitoring functions.
These functions can be used to monitor the reception processing time of the
remote device and the wait time of the Serial Gateway during execution of a
protocol macro.
Response Timeout Monitoring (Serial Gateway Mode/Protocol Macro Mode)
During Serial Gateway mode or protocol macro mode, the time is monitored
from when the message converted into the specified protocol by Serial Gate-
way is sent until a response is received from the remote device. (The default is
5 s. The setting range for a user-specified value is between 0.1 and 25.5 s.
This function is set in the DM Area.)
If a response is not received at the serial port within the set time, a FINS error
response is returned to the source of the FINS command (end code: 0205 hex
(response timeout)). If a response is received after the timeout has occurred,
however, the response received for each protocol is discarded and a FINS
response is not returned to the source of the FINS command.
Note
If a Serial Gateway response timeout occurs, CIO word n+8/n+18, bit 05
(Serial Gateway Send Start Timeout or Serial Gateway Response Timeout)
Reception
FINS command
RECEIVE
Step n+1
Step n
Sequence temporarily suspended
Step n+2
Sequence resumes
SEND
SEND&RECV
(The next step is a RE-
CEIVE 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.)
CompoWay/F or
other command
CompoWay/F or
other response
FINS command received
FINS transmission source:
FINS command
Receive
Time
FINS error response
0205 hex (Response timeout)
Board/Unit:
Serial Gateway
Remote device:
Received response is discarded
Protocol
conver-
sion/trans-
mission
Send in
specified
protocol
Response timeout
monitoring time
Receive
processing
Actual response
received after timeout
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...