371
CompoWay/F Master Protocol
Appendix B
Send with ASCII Conversion, with Response:
(Sequence No. 600 (Hex 0258))
• Send word order: Rightmost to leftmost
• Receive word order: Leftmost to rightmost
This sequence converts the specified data beginning with the command code 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))
Note
1.
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.
2.
Frames are created and sent starting from the rightmost to leftmost word of the address in I/O mem-
ory.
606 (025E)
Send word order: Leftmost to rightmost
Receive word order: Leftmost to rightmost
607 (025F)
Send word order: Rightmost to leftmost
Receive word order: Rightmost to leftmost
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 until the byte just
before the ETX.
0000 to 03D8 Hex (0 to 984 decimal)
+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.
Sequence
No.
Send sequence
Receive sequence
1 2 3 4
5 6 7 8
Send data words
Send frame
"56" "78" "12" "34"
Rightmost word
Leftmost word
1 2 3 4
5 6 7 8
Receive data words
Receive frame
"12" "34" "56" "78"
Rightmost word
Leftmost word
1 2 3 4
5 6 7 8
Send data words
Send frame
"12" "34" "56" "78"
Rightmost word
Leftmost word
1 2 3 4
5 6 7 8
Receive data words
Receive frame
"12" "34" "56" "78"
Rightmost word
Leftmost word
Send data
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
(Undefined)
MRC
SRC
Number of send bytes
Node No.
1 2 3 4
5 6 7 8
Send data words
Send frame
"12" "34" "56" "78"
Содержание 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...