50
FINS Commands with Host Link Protocol Section 3-5
1,2,3... 1. SEND(090), RECV(098), and CMND (490) executed by the CPU Unit are
converted to the same format for FINS commands that are sent to CPU
Units on networks.
2. A program must be created to process the commands received by the host
computer.
3. When instructions (SEND(090), RECV(098), and CMND (490)) are exe-
cuted in a CPU Unit, some of the control data settings will be different. Re-
fer to the relevant instruction specifications.
3-5-5 Sending Commands from the CPU Unit
When controls are being implemented by sending commands from the local
CPU Unit or another CPU Unit on a network to a host computer, three instruc-
tions can be used in the user program: SEND(090), RECV(098), and
CMND(490).
Send(090) Memory area data can be sent from the CPU Unit to the host computer by
using SEND(090).
Command Format Received by the Host Computer
The FINS command transmitted to the host computer when SEND(090) is
executed is MEMORY AREA WRITE (command code 0102). The command
format received by the host computer is as shown in the following diagram.
Refer to MEMORY AREA WRITE: 0102 in Section 5 FINS Commands for
details.
Control Words
Control data must be set before SEND(090) is executed. The control data is
written in the following format, starting from the first control word.
Number of Send Words
Set the total number of words of data to be transferred to the host comput-
er.
Word Bits 00 to 07 Bits 08 to 15
C Number of send words
C+1 Destination network address Bits 08 to 10: Serial port number
C+2 Destination unit address Destination node address
C+3 Bits 00 to 03: No. of retries Bits 08 to 10: Comm. port number
Bit 15: Response setting
C+4 Response monitor time (unit: 0.1 s)
Unit No. Header
code
Response
wait time
ICF RSV GCT
DNA DA1
DA2 SNA SA1 SA2 SID Command code Memory area
code
Beginning
write address
Number of write
elements
FCS Terminator
xx x x xxxxx
xxxxxxxxxxxx
xxxxxxxxxx xx
*
xx
Write data
(1,068 char-
acters max.)