![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 388](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586388.webp)
359
Appendix A
Introduction
Appendices B the N provide information on the standard system protocols provided with the CX-Protocol, the
Serial Communications Boards, and the Serial Communications Units. Refer to
5-4 Using Protocol Macros
for
details on using PMCR(260).
Using Standard System Protocols
Standard system protocols can be executed merely by specifying the sequences number to be executed in the
second operand of PMCR(260) and settings the data described in the appendices in the proper format starting
at the word specified with the third operand of PMCR(260). The data received as a response to executing the
sequence will be automatically stored starting at the word specified with the fourth operand of PMCR(260).
Procedure
1,2,3...
1.
Set the sequence number as a hexadecimal value in the second operand of PMCR(260).
2.
Specify the address of the first word containing the data required for the sequence as the third
operand (S: First word of send data) of PMCR(260).
3.
Specify the address of the first word where respond data is to be stored as the fourth operand
(D: First receive data storage word) of PMCR(260). Unless there is a reason to specify other-
wise, set 0000 Hex in D at the initial value.
Example
The following data would be used to execute sequence number 600 in the CompoWay/F Master Protocol for a
transmission with ASCII conversion.
S: Send Data Word Allocation (3rd Operand)
Offset
Contents (data format)
Data
S+0
Number of send data words
(4 digits Hex)
0005 to 00FA Hex (5 to 250 decimal)
S+1
(Undefined)
Node No. (2 digits
BCD)
00 to 99
S+2 MRC
(2 digits Hex)
SRC (2 digits Hex) Set the command code for the required ser-
vice
S+3
Number of send bytes (4 digits Hex)
Number of data bytes from the next byte
after the command code until the byte just
before the ETX. 0000 to 0492
S+4
on
Send data (4-digit Hex)
The data specified in hexadecimal here will
be converted to ASCII and the number of
bytes specified in S+3 will be sent.
PMCR(260)
#0258
S
D
Communications sequence number 600 (0258 Hex)
Send data
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
(Undefined)
Node number
(Undefined)
SRC
Number of send bytes
Содержание 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...