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.
Ye s Ye s
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.
Ye s Ye s
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.
Ye s Ye s