![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586423.webp)
394
C-mode (Host Link) Command Master
Appendix C
Command Frame Contents
Response Frame Contents
For details on C-mode command codes for sending to CS/CJ-series CPU Units, refer to the
CS/CJ Series
Communications Commands Reference Manual
(W342). For details on C-mode command codes for sending
to C-series CPU Units, refer to each of the C-series PLC operation manuals.
C-mode Command Code Master Protocol Sequences
The C-mode (Host Link) Command Code Master Protocol provides the following 22 communications
sequences.
Structure of the Protocol
The following table shows the structure of the C-mode (Host Link) Command Code Master Protocol.
Item
Contents
@
Must be attached at the beginning of the command.
Host Link unit num-
ber
Set the unit number in BCD from 0 to 31 for each Host Link.
Command code
The command code is specified in two characters
Text
Set parameters corresponding to command code.
FCS
Calculate 2-character FCS (frame check sequence) at host
computer.
Terminator
Set “*” and CR (0DH) as two characters to indicate the end of
the command.
Item
Contents
@
Must be attached at the beginning of the response.
Host Link unit num-
ber
Set the unit number in BCD from 0 to 31 for each Host Link.
Command code
The command code that was received is returned.
End code
The results (error status, etc.) of command execution is
returned.
Text
Returned only if there is read data.
FCS
The 2-character FCS (frame check sequence) is returned.
Terminator
Two characters indicating the end of the command, “*” and CR
(0D hex), are returned.
Sequence
No.
Communications
sequence name
Function
Ladder interface
Send word
allocation
Receive
word
allocation
700 (02BC)
Send/receive C-
mode command
(with ASCII conver-
sion)
Converts the text data for the specified C-mode com-
mand into ASCII and sends to the specified Host Link
Unit. The response is converted into hexadecimal and
stored starting from the specified word.
Yes
Yes
701 (02BD)
Send/receive C-
mode command
(without conversion)
Sends the text data for the specified C-mode command
to the specified Host Link Unit without converting into
ASCII. The response is stored starting from the specified
word without converting into hexadecimal.
Yes
Yes
702 (02BE)
CIO AREA READ
Reads the contents of the specified number of CIO Area
words beginning with the designated word from the spec-
ified Host Link Unit and stores starting from the specified
storage word.
Yes
Yes
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...