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

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

Advertisement

FINS Commands with Host Link Protocol
46
computer. When the host computer is connected to a CPU Unit, the unit num-
ber is designated in the PLC Setup.
When the host computer is connected to a Serial Communications Board or a
Serial Communications Unit, the unit number is the designated in the Setup
for the Board or Unit.
Header Code
The header code distinguishes between different types of commands. Set
"FA" (ASCII: 46, 41) when using FINS commands.
Response Wait Time
The response wait time sets the time from when the CPU Unit receives a
command block until it starts to return a response. It can be set from 0 to F in
hexadecimal, in units of 10 ms.
Example:
If F(15) is set, the response will begin to be returned 150 ms (15 × 10 ms)
after the command block was received.
ICF (Information Control Field)
Specifies whether or not there are network relays. Set "80" (ASCII: 38,30)
when sending an FINS command to a CPU Unit on a network. Set "00"
(ASCII: 30,30) when sending to a CPU Unit connected directly to the host
computer.
RSV (Reserved)
Set "00" (ASCII: 30,30). Setting RSV is required only when sending to a CPU
Unit on a network.
GCT (Gateway Count)
This is the number of networks through which the transmission can be
relayed. Set "07" (ASCII: 30, 37). Setting GCT is required only when sending
to a CPU Unit on a network.
DNA, DA1, DA2
Set the destination network, node, and unit addresses.
DNA (Destination Network Address)
Set between 00 and 7F Hex (0 and 127 decimal). Setting DNA is required
only when sending to a CPU Unit on a network.
DA1 (Destination Node Address)
Set within the following ranges. Setting DA1 is required only when sending
to a CPU Unit on a network.
Ethernet Units with model numbers ending in ETN21:
Ethernet Units with other model numbers:
Controller Link Unit:
SYSMAC NET:
SYSMAC LINK:
DA2 (Destination Unit Address)
Refer to 3-4-2 Addresses in FINS Commands for details on unit addresses.
In Host Link mode, it is assumed that the destination unit is the CPU Unit,
so set "00" (ASCII: 30, 30).
SNA (Source Network Address), SA1 (Source Node Address)
Set the source network and node addresses. Set both to "00" (ASCII: 30, 30)
regardless of whether or not there is a network relay.
01 to FE hex (1 to 254)
01 to 7E hex (1 to 126)
01 to 20 hex (1 to 32 decimal)
01 to 7E hex (1 to 126 decimal)
01 to 3E hex (1 to 62 decimal)
Section 3-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents