![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 401](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586401.webp)
372
CompoWay/F Master Protocol
Appendix B
Receive Data Word Allocation (4th Operand of PMCR(260))
Note
Received frames are stored starting from the leftmost to rightmost word of the address in I/O memory.
Example:
The following example illustrates reading the present value from a K3N
@
-series Intelligent Signal
Processor.
Sequence No. 600 (Send with ASCII Conversion, with Response) is used. The specified data beginning with
the command code is converted ASCII and sent to the Intelligent Signal Processor with the specified node
number. The response is converted to hexadecimal and stored starting at the specified word.
The command frame for reading the present value for a K3N
@
-
@@@@
-FLK1/2/3/4/5/6 Intelligent Signal Pro-
cessor (command code 01 01) is shown below. The following data is specified in the operands for PMCR(260).
• Rightmost byte of S+1: Node number (2 digits BCD)
• S+2: Command code: MRC + SRC = “0101”
• S+4 on: Send data = Variable type + first read a 00 + number of elements.
Data in shaded portions is specified in the PMCR(260) instruction.
Note
A first read address of 0000 specifies the present value. An address of 0001 specifies the maximum
value; 0002, the minimum value; and 0003, the status.
The response frame is shown below. The response code and receive data are stored according to the oper-
ands for PMCR(260) as follows:
Offset
Contents (data format)
Data
+0
Number of receive data words
(4 digits Hex)
0003 to 00FA Hex (3 to 250 decimal)
+1
Response code (4 digits Hex)
The response code will be stored in hexa-
decimal form.
+2
on
Receive data (4-digit Hex)
The data from just after the response code
until just before the ETX will be converted
from ASCII to hexadecimal and stored here.
STX
Node No.
Subad-
dress
SID
Command code
Send data
ETX
BCC
MRC
SRC
Variable
type
First read
address
(Note)
Always
00
No. of ele-
ments
(02 Hex) (
×
10
1
)
(
×
10
1
)
00
0
01
01
C0
0000
00
0001
(03 Hex)
Receive data
storage words
Number of receive data words
+0
+1
+2
Response code
Receive data
5 6 7 8
1 2 3 4
Receive data words
Receive frame
"12" "34" "56" "78"
CS/CJ
-series PLC
CompoWay/F response
Read data = present value
CompoWay/F command
VARIABLE AREA READ
Command code: 01 01
First read address
Intelligent Signal Processor
K3N
#
-
####
-FLK1/2/3/4/5/6
Содержание 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...