Omron SYSMAC CV Series Operation Manual page 64

Host link system, unit
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Sending Commands to Host Computers
SEND(192) Instruction
@
x
x
Node
Header code
No.
x
x
x
DA2
SNA
x
x
FCS
15
14
Word
C + 0
C + 1
Host Link Unit Communications port no.
C + 2
C + 3
*1
C + 4
1, 2, 3...
60
The SEND(192) instruction enables the memory area data in the local PC to be
sent to the host computer.
When the SEND(192) instruction is executed, the CV-mode command
"MEMORY AREA WRITE" (command code 0102) is sent to the host computer in
the following command block format.
O
F
0
8
x
ICF
Response delay
x
x
x
x
x
SA1
SA2
*
r
Terminator
Before executing the SEND(192) instruction, it is necessary to set the following
control data beginning with the first control data word.
13
12
11
10
No. of words to be transferred
Destination node number
Communica-
0
0
0
0
tions port no.
Response monitor time (Unit: 0.1 s)
(*1) Response designation (0: Response required; 1: Response not required)
1. No. of words to be transferred: Set the total number of words of data to be
transmitted to the host computer.
2. Host Link Unit communications port no.: Set the communications port num-
ber of the Host Link Unit that is connected to the host computer.
3. Destination network address: Set the network address of the destination
node. Set to 00 for communications within the local network.
4. Destination node number: Set the destination node number. Set to 00 for
transmissions within the local PC.
5. Destination unit address: Set the unit address of the Host Link Unit that is
connected to the host computer.
6. Response designation: Usually set this bit to 0 (OFF). If no response is re-
quired, set this bit to 1 (ON).
7. Communications port no.: Set the port number of the PC sending the
SEND(192) instruction.
8. No. of retries: Set the upper limit of the number of retries for obtaining a re-
sponse after the SEND(192) instruction is sent.
0
x
0
x
x
RSV
GCNT
DNA
x
x
0
1
0
SID
Command code
9
8
7
6
5
Destination network address
Destination unit address
0
0
0
Section 4-4
x
x
x
DA1
2
Data
(1,080 characters max.)
3
2
1
0
4
0
No of retries
Bit

Advertisement

Table of Contents
loading

Table of Contents