![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 410](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586410.webp)
381
CompoWay/F Master Protocol
Appendix B
Send/Receive with ASCII Conversion with Response
(Sequence No. 607 (Hex 025F))
• Send word order: Rightmost to leftmost
• Receive word order: Rightmost to leftmost
This sequence converts the specified data beginning with the command code (MRC, SRC) to ASCII and sends
it to the specified Unit. The response is converted to hexadecimal and stored starting at the specified word.
Send Data Word Allocation (3rd Operand of PMCR(260))
Set the number of send bytes to twice the number of bytes in memory. This is necessary because the data is
converted to ASCII data before being sent. The frames are created and sent in order from the rightmost word
to leftmost word of the I/O memory address.
Receive Data Word Allocation (4th Operand of PMCR(260))
Offset
Contents (data format)
Data
+0
Number of send data words
(4 digits hex)
0005 to 00FA hex (5 to 250 decimal)
+1
(Undefined)
Node No.
(2 digits BCD)
00 to 99
+2
MRC (2 digits hex) SRC (2 digits hex)
Set the command code for the required ser-
vice
+3
Number of send bytes (4 digits hex)
Number of data bytes from the next byte
after the command code (MRC, SRC) until
the byte just before the ETX.
0000 to 03D8 hex (0 to 984 decimal)
Note: The data is converted to ASCII in the
communications line, so the number of data
bytes is doubled from S+4 and onwards.
+4
on
Send data (4 digits hex)
The data specified in hexadecimal here will
be converted to ASCII and the number of
send bytes specified in S+3 will be sent in
word order from the rightmost to the leftmost
word.
Send data
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
(Undefined)
Number of send bytes
MRC
SRC
Node No.
1 2 3 4
5 6 7 8
Send data words
Send frame
"12" "34" "56" "78"
Offset
Contents (data format)
Data
+0
Number of receive data words
0003 to 00FA Hex (3 to 250 decimal)
+1
Response code (4 digits hex)
The CompoWay/F command response code
is stored in hexadecimal code.
+2
Receive data (4 digits hex)
The data from just after the response code
until just before the ETX is converted from
ASCII to hexadecimal and stored in order
from the rightmost word to the leftmost
word.
Receive data
storage words
+0
+1
+2
Number of receive data words
Response code
Receive data
Содержание 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...