FINS Commands with Host Link Protocol
Response Format from a CPU Unit
Responses from a CPU Unit Directly Connected to the Host Computer
Responses from a CPU Unit on a Network
x
Unit No.
DA2
Data
(1,076 characters
= 538 bytes)
Setting SNA and SN1 is required only when sending to a CPU Unit on a net-
work.
SA2 (Source Unit Address)
Set the unit address of the Unit physically connected to the host computer.
The setting changes depending on the connected Unit.
When connected to the CPU Unit, Serial Communications Board, or a Serial
Communications Unit, set "00" to indicate the CPU Unit (ASCII: 30, 30).
SID (Source ID)
The SID is used as a counter when resending. It should normally be set to
"00" (ASCII: 30, 30).
Command Code, Text
Set the command code and text according to the FINS command and
response formats.
FCS (Frame Check Sequence)
Set a 2-character FCS. Refer to FCS Calculations under 2-2 Command/
Response Formats for the FCS calculation method.
Terminator
The terminator is a required delimiter at the end of a command. Set the termi-
nator to *CR (ASCII: 2A, 0D).
The following response format is used to return responses from the CPU Unit
to the host computer.
Note The length of the response must be not more than 1,115 characters. Of this,
the response data without the response code is 1,076 characters (538 bytes).
x
x
Unit No.
x
x
x
FINS command code
x
Header
code
x
x
x
x
x
x
SNA
SA1
SA2
*
x
x
FCS
Terminator
Header
ICF
code
x
x
x
x
x
FINS response code
x
x
ICF
RSV
GCT
x
x
x
x
x
SID
FINS command code
Section 3-5
x
DA2
SA2
SID
x
x
Data
FCS
(1,076 characters
= 538 bytes)
DNA
DA1
x
x
x
x
x
FINS response code
x
*
Terminator
47
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?