Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 70

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

FINS Commands with Host Link Protocol
Host Link Settings
Example: FINS Command Settings for Sending to CPU Unit on a Network
48
@
The @ symbol must be attached to the beginning of the response.
Unit Number and Header Code
The same unit number and header code specified in the FINS command that
was received will be returned.
ICF (Information Control Field)
For a CPU Unit on a network, "C0" (ASCII: 43, 30) will be returned. For a CPU
Unit connected directly to the host computer, "40" (ASCII: 34,30) will be
returned.
RSV (Reserved)
This section is reserved for the system. Do not access the RSV.
GCT (Gateway Count)
This section is reserved for the system. Do not access the GCT. The same
GCT that was specified in the command that was received will be returned.
Setting GCT is required in the response format only from a CPU Unit on a net-
work.
DNA (Destination Network Address), DA1 (Destination Node Address),
DA2 (Destination Unit Address)
The same contents specified for SNA, SA1, and SA2 in the command that
was received will be returned.
Setting DNA and DA1 is required for response formats only from a CPU Unit
on a network.
SNA (Source Network Address), SA1 (Source Node Address), SA2
(Source Unit Address)
The same contents specified for DNA, DA1, and DA2 in the command that
was received will be returned.
Setting SNA and SN1 is required for response formats only from a CPU Unit
on a network.
SID (Source ID)
The SID that was specified in the command that was received will be
returned.
Command Code, Response Code, Text
The command code, response code, and text corresponding to the FINS com-
mand and response formats will be returned.
FCS (Frame Check Sequence)
A 2-character FCS will be returned. 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. The termina-
tor *CR (ASCII: 2A, 0D) will be returned.
With Host Link communications, FINS command transmissions and recep-
tions are handled in ASCII, so hexadecimal values in FINS command frames
must be sent as ASCII. For example, the hexadecimal value "0" would be "30
Hex" in ASCII, and the hexadecimal value "A" would be "41 Hex" in ASCII.
The destination network address, node address, and unit number address are
explained using the following network as an example.
Section 3-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents