![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 153](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586153.webp)
124
Host Link Communications
Section 4-1
4-1
Host Link Communications
Host Link System can be used to send C-mode commands or FINS com-
mands from a host computer (e.g., personal computer or PT) to a PLC to
read/write I/O memory, control operating modes, etc. The PLC can also use
the SEND(090), RECV(098), and CMND(490) instructions to send FINS com-
mands to the host computer for “slave-initiated communications.” Using the
PLC to control communications enables controlling and monitoring of the
overall system operating status.
Refer to the
CS/CJ-series Communications Commands Reference Manual
(W342) for details on C-mode and FINS commands.
Host-initiated
Communications
Communications in a Host Link System are normally started by the host com-
puter.
The host computer sends a command to the PLC. The PLC processes the
command and returns a response to the host computer. This process is
repeated, allowing the host computer to monitor and control PLC operation.
Both C-mode and FINS commands can be used in host-initiated communica-
tions.
PLC-initiated
Communications
The PLC can also initiate communications with the host computer, as may be
necessary when errors occur on the line controlled by the PLC or to confirm
the operating status of the host computer.
The PLC sends a command to the host computer through a Serial Communi-
cations Unit or Board. The host computer processes the command and, when
necessary, returns a response to the PLC.
Using PLC-initiated communications requires that a program be prepared on
the host computer to process commands received from a PLC and return the
required responses. Only FINS commands can be used in PLC-initiated com-
munications.
Note
Always transfer uppercase letters when using Host Link communications.
Lowercase letters cannot be processed.
4-2
Setup Area Allocations
This section describes the Setup Area allocated to the Serial Communications
Board and Serial Communications Units in the DM Area when Host Link com-
munications are used.
4-2-1
Setup Area Words
The Serial Communications Board and Serial Communications Units use the
following words as a Setup Area in the DM Area when Host Link communica-
tions are used. The words allocated to the Serial Communications Board are
different from those allocated to the Serial Communications Units (which are
allocated words according to the unit numbers).
Host computer
CS/CJ-series PLC
Command
Response
Host computer
CS/CJ-series PLC
Command
Response
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...