Sending Fins Using Cmnd - Omron SYSMAC CS Series Operation Manual

Profibus master units
Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

FINS Commands and Responses
5-1-4

Sending FINS using CMND

CMND
S
S: Source node beginning send word
D: Destination node beginning receive word
D
C: Source node first control data word
C
15
C
"n" bytes of command data
0000 to 07C6 (Hex): 0 to 1,990 words
15
C+1
"m" bytes of response data
0000 to 07C6 (Hex): 0 to 1,990 words
15
11
C+2
0
0
15
C+3
Destination unit address
00 (Hex):
01 (Hex):
10 to 1F (Hex): Unit nos. 0 to 15
E1 (Hex):
FE (Hex):
Destination node N
00 to 20 (Hex): 0 to 32
The same data can be broadcast to all nodes
on the network by setting the destination node address
to FF (Hex).
The range of node addresses will vary for networks
other than Controller Link Networks.
128
20
Read not possible
22
Status error
Note If the FINS command was not completed normally, the 2-byte Response code
will be unequal 0000. In that case, the Response frame will not contain any
further data. Data can only be returned - depending on the command - when
the Response code is 0000.
The CMND instruction can be executed from the user program in a CS/CJ-
series PLC. CMND sends "n" bytes of command data beginning with S (the
beginning send word for storing command data at the source node) to desti-
nation node N. In return, "m" bytes of response data are stored at the source
node beginning with D (the beginning receive word for storing response data).
0
0
8 7
0
Destination network address
00 (Hex): Local network
01 to 7F (Hex): 1 to 127
8 7
0
PC's CPU Unit
Computer (user program)
Inner Board
Unit connected to network
Note With the message service, there is no guarantee that a message to a destina-
tion node will reach its destination. It is always possible that the message may
be lost in transit due to noise or some other condition. When using the mes-
sage service, it is advisable to prevent this situation from occurring by per-
forming resent processing at the node where instructions are issued. With the
CMND instruction, resent processing is performed automatically once the
Source node
15
0
S
"n" bytes
of com-
mand
(S –1)
data
n
+
2
D
"m" bytes
of
response
data
(D –1)
m
+
2
15
10 8 7
3
C+4
0
0
0
Number of retries
0 to F (Hex): 0 to 15 retries
0: Response required
1: Response not required
15
10 8 7
3
C+5
Response monitor time
0000 (Hex): 2 s
0001 to FFFF (Hex): 0.1 to 6,553.5 s
(Unit: 0.1 s)
If the baud rate is slow, then setting a
small value may generate an error. The
standard is approximately 4 seconds at
1 Mbps or 8 seconds at 500 Kbps.
Section 5-1
Destination node N
Command
Analysis
Response
Execution
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj-seriesSysmac cj1w-prm21Sysmac cs1w-prm21

Table of Contents