Omron SYSMAC CV Series Operation Manual page 67

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

Advertisement

Sending Commands to Host Computers
CMND(194) Instruction
@
x
x
Node No.
x
x
x
DA2
SNA
x
x
FCS
Word
15
C + 0
C + 1
C + 2
Host Link Unit Communications port no.
C + 3
C + 4
*1
C + 5
1, 2, 3...
The CMND(194) instruction enables the Host Link Unit to control the host com-
puter using CV-mode commands and responses.
When the CMND(194) instruction is executed, the CV-mode command set with
the control data will be sent to the host computer in the following command block
format.
O
F
0
8
x
Header code
ICF
Response delay
x
x
x
x
x
SA1
SA2
*
r
Terminator
Before executing the CMND(194) instruction, it is necessary to set the following
control data beginning with the first control data word.
14
13
12
11
10
No. of transmission data bytes
No. of reception data bytes
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 transmission data bytes: Set the total number of bytes of command
data (including the command code) stored in the beginning word and
succeeding words.
2. No. of reception data bytes: Set the total number of bytes for the response
data (including the command code and response code) to be stored in the
beginning word and succeeding words.
3. Host Link Unit communications port no.: Set the communications port num-
ber of the Host Link Unit that is connected to the host computer.
4. Destination network address: Set the network address of the destination
node. Set to 00 for communications within the local network.
5. Destination node number: Set the destination node number. Set to 00 for
transmissions within the local PC.
0
x
0
x
x
RSV
GCNT
DNA
x
x
x
x
x
SID
Command code
9
8
7
6
5
Destination network address
Destination unit address
0
0
0
Section 4-4
x
x
x
DA1
x
Data
(1,080 characters max.)
3
2
1
0
4
No. of retries
0
Bit
63

Advertisement

Table of Contents
loading

Table of Contents