![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 82](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586082.webp)
53
Basic Operating Procedure
Section 1-9
received data and return responses. An example is provided below for
SEND(090).
SEND(090) can be used to send data from the PLC to a host computer. If the
input condition turns ON when the Communications Port Enabled Flag is ON,
10 words of data from CIO 0100 to CIO 0109 will be sent to the host computer
connected to port 1 on the Serial Communications Unit with network address
0, node address 0, and unit address 10 Hex.
The control data for the above instruction is shown in the following table.
A program would be required at the host computer to receive the above data
and return a response.
Protocol Macros
When a standard system protocol (provided in the Serial Communications
Board, Serial Communications Unit, and CX-Protocol) is executed.
Using Standard System Protocols
1,2,3...
1.
Setting the Send Data
Programming to
return responses.
Host computer
Command
Serial Communications
Board/Unit
CPU Unit
SEND(090),
RECV(098),
CMND(490)
Communications Port
Enabled Flag for Port 0
First send word: CIO 0100
"0000" used to send to a host computer.
First control data word: D00200
@SEND (90)
0100
0000
D00200
Input condition
A20200
Word
Contents
Meaning
D00200
000A
Number of send words: 10
D00201
0100
Bits 00 to 07: Destination network address 0
Bits 08 to 10: Serial Communications Unit port 1
D00202
0010
Bits 00 to 07: Destination unit address 10 Hex
Bits 08 to 15: Destination node address 0
D00203
0000
Bits 00 to 04: Number of retries is 0
Bits 08 to 11: Communications port 0
Bit 15: Response required
D00204
0000
Response monitoring time: 2 s (default value for 0000)
Board or Unit
Uses standard system protocol No. 600
Executed
with
PMCR(260)
(237)
CPU Unit
External device
Example: K3N Series
Digital Panel Meter
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...