![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 83](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586083.webp)
54
Basic Operating Procedure
Section 1-9
Refer to information on the 3rd operand of PMCR(260) in
Appendix B
CompoWay/F Master Protocol
and set the number of send data words in
S, and set the send data starting in S+1.
2.
Coding PMCR(260)
Example:
The following example shows how to use a Serial Communications Board
to read the present value for a K3N-series Digital Panel Meter using the
CompoWay/F Master standard system protocol sequence No. 600:
Send/receive with ASCII conversion and response.
If the input condition turns ON when the Protocol Macro Executing Flag
(CIO 191915 for Port 2) is OFF and the Communications Port Enabled
Flag (A20207: Internal logic port, communications port 7) is ON, commu-
nications sequence No. 600 of the standard system protocol in the Serial
Communications Board is called, and data is sent and received via port 2
of the Serial Communications Board.
Send Data
Receive Data
3.
Executing the PMCR(260) Instruction
4.
For details on confirming operation, see
Section 12 Tracing and I/O Mem-
ory Monitoring
in the
CX-Protocol Operation Manual
(W344).
• Transmission Line Tracing
The data in the send/receive messages flowing over the transmission
line (RS-232C or RS-422A/485) and the control codes are traced.
• I/O Memory Monitoring
Monitors send/receive data and the status of the various flags.
Protocol Macro
Executing Flag
Communications Port
Enabled Flag for Port 7
Communications port 7 and serial port 2
Destination unit address E1: Serial Communications Board
Sequence No. 600
First word of send data
First storage word for receive data
C1
C2
S
D
PMCR(260) (260)
#72E1
#0258
D00000
D00010
FAL (006) 01
Input condition
191915
A20207
ER
7 words from D00000 to D00006
K3N node No. : 00
CompoWay/F command "0101" (reads the K3N present value)
Number of send bytes
CompoWay/F command send data
(Variable type, read start address, 00, number of elements)
S:D00000
D00001
D00002
D00003
D00004
D00005
D00006
0007
0000
0101
000C
C000
0000
0001
Response code is stored.
The read data (in this case, the present value of K3N) is stored.
4 words from D00010 to D00013
D:D00010
D00011
D00012
D00013
0004
Содержание 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...