![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586199.webp)
170
Auxiliary Area and CIO Area Allocations
Section 5-3
Error Data In Data Agreeing with Expected Receive Message
When RECV is executed, an expected receive message is searched for in the
reception buffer. If the data that has been received agrees with an expected
receive message, it is processed as receive data. If error details are included
in the receive data, the corresponding error flags will turn ON.
The following example shows when 100 bytes of data is received that agrees
with an expected receive message.
Data Not Agreeing with Expected Receive Message
If error details are included in data that do not agree with an expected receive
message, the data will simply be discarded and the error flag status will
remain unchanged. For trace information, all error details in the reception
buffer will be stored within capacity for the trace data.
The following example shows when a parity error occurs for data that does not
agree with an expected receive message.
Protocol Status
The information shown in the following table is input from the Board or Unit to
the Protocol Status Words in the CPU Unit.
n = CIO 1500 + 25
×
unit number
Error Flag ON
100 bytes
P: Parity error
(P)
(P)
Error flags remain
unchanged
Data discarded
(P)
(P)
<
h>
<t>
Words
Bit
Setting contents
Boards
(CS Series Only)
Unit
(CS/CJ Series)
Port 1
Port 2
Port 1
Port 2
CIO
1909
CIO
1919
n + 9
n + 19
15
Port
Operat-
ing
Status
Protocol Macro Executing Flag
14
Step Error Processing Flag
13
Abort Flag
12
Tracing Flag
11
Sequence End Completion Flag
10
Sequence Abort Completion Flag
09
Sequence Wait Flag
08
Serial Gateway Prohibited Flag (protocol macros)
1: Prohibited; 0: Not prohibited
04 to 07
Reserved
03 to 00
Error codes
CIO
1910
CIO
1920
n + 10
n + 20
15 to 12
Reserved
11 to 00
Communications Sequence No.
000 to 999 (000 to 3E7 hex)
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...