![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 214](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586214.webp)
185
Using Protocol Macros
Section 5-4
whole area if the number of words is specified as 00), then the initial value
will be set to 0000 Hex.
3.
The data that has been received as the result of executing the RECV com-
mand will be stored in the reception buffer (except for the first word) from
the specified first word (offset) and will be verified against the expected re-
ceive messages. If writing the response data is not specified, the receive
data will be saved in the reception buffer and will not be stored in the CPU
Unit.
4.
If writing the response data is specified, the data in the reception buffer up
to the most recent data (except for the first word), will be stored in from
words R+1 onwards. The data stored for the number of words (including R)
up to the last word will be saved. Whenever the number of data words
stored exceeds the maximum, the number of words in R will be updated.
5.
Steps 3 and 4 are repeated until the protocol macro operation is complet-
ed.
Note Processing When a Sequence Ends Abnormally
As shown in the following examples, if END is set when a sequence ends nor-
mally and ABORT is set when a sequence ends abnormally, it is possible to
determine whether each sequence has ended normally or abnormally by
using the Sequence End Completion Flag and the Sequence Abort Comple-
tion Flag.
Reception buffer
Overwrites
initial value
I/O memory
No. of words
specified here I/O memory
Set
CPU Unit
Serial Communications
Board or Unit
Reception
buffer
After PMCR(260)
instruction is executed
the internal
processing buffer is
cleared
Stores
receive data
Write response specified
Stored from the
specified first word
Offset
Receive data
Overwrites receive data
RECV
Changed
No. of words is stored
and updated.
Содержание SYSMAC CJ1W-SCU21-V1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ...x...
Страница 15: ...xvi...
Страница 89: ...60 Basic Operating Procedure Section 1 9...
Страница 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Страница 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Страница 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Страница 277: ...248 Communications Frames Section 6 8...
Страница 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Страница 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Страница 391: ...362 Introduction Appendix A...
Страница 421: ...392 CompoWay F Master Protocol Appendix B...
Страница 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Страница 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Страница 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Страница 627: ...598 ES100 Digital Controller Protocol Appendix K...
Страница 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Страница 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Страница 717: ...688 Visual Inspection System Protocol Appendix O...
Страница 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Страница 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Страница 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Страница 781: ...752 Revision History...