7-2
Section
Using Message Communications
88
Item
Setting method
Loc Netwk
The network address of each CPU Bus Unit mounted to the PC (1 to 127)
SIOU unit #
The unit number of each CPU Bus Unit mounted to the PC and
connecting it to a network (0 to 15)
Specify CMND(194) in the ladder program as shown below.
Variations
j
CMND(194)
(194)
CMND
S
D
C
Ladder Symbol
S: 1
st
command word
D: 1
st
response word
C: 1
st
control word
Local node (source)
Com-
mand
data
Destination node
Operands
Re-
sponse
data
Interpretation
Execution
Command
Response
...
...
...
Description
CMND(194) transmits n bytes of command data (the data after command code
28 01) beginning at word S to the destination node. The m bytes of response
data (the data after command code 28 01) are stored in the local node beginning
at word D.
Control Data
The control words, beginning with C, specify the number of bytes of control data
to be sent, the number of bytes of response data to be received, the destination
node, and other parameters. Some control data parameters depend on the des-
tination.
Word
Bits 00 to 07
Bits 08 to 15
C
Number of command bytes to send: 0 to 1990 (i.e., 0000 to 07C6 Hex)
C+1
Number of response bytes to receive: 0 to 1990 (i.e., 0000 to 07C6 Hex)
C+2
Destination network address
(0 to 127, i.e., 00 to 7F Hex)
1
Set to 0.
C+3
Destination unit FINS address
2
Destination node address
3
C+4
Bits 00 to 03:
No. of retries (0 to 15,
i.e., 0 to F Hex)
Bits 04 to 07:
Set to 0.
Bits 08 to 11:
Transmission port number
(0 to 7 Hex)
Bit 12 to 14:
Set to 0.
Bit 15:
ON: No response.
OFF: Response returned.
C+5
Response monitoring time (0001 to FFFF Hex = 0.1 to 6553.5 seconds)
4
Note
1. Set the destination network address to 00 when transmitting within the same
network.
2. Indicates a Unit as shown in the following table.
Unit
Setting
CPU Unit
00
User program in FA computer
01
CPU Bus Unit
10 to 1F Hex: Unit numbers 0 to 15
FE Hex: The local Unit
3. Values of 01 to 3F
Hex
indicate nodes 1 to 63.
4. Designates the length of time that the PC retries transmission when bit 15 of
C+3 is OFF and no response is received. The default value is 0000, which
indicates 2 seconds.
DELIVER COMMAND:
CMND(194)