Sending Fins Commands - Omron CS1W-DRM21 Operation Manual

Sysmac cs/cj series
Hide thumbs Also See for CS1W-DRM21:
Table of Contents

Advertisement

Using FINS Message Communications
6-3-4

Sending FINS Commands

DELIVER COMMAND: CMND(490)
Description
S: 1
D: 1
C: 1
154
CMND(490) can be used in the user program of the CS/CJ-series CPU Unit to
send FINS commands to read/write I/O memory, read status data, change the
operating mode, and perform other functions at other nodes.
CMND(490) transmits the command beginning at word S to the designated
Unit at the destination node address in the designated network, and receives
the response beginning at word D.
Ladder Symbol
(490)
(@)CMND
S
Operands
Variations
st
command word
↑ CMND(490)
st
response word
st
control word
Word
C
Number of command bytes to send: 0 to 542 (i.e., $0000 to $021E)
C+1
Number of response bytes to receive: 0 to 542 (i.e., $0000 to $021E)
C+2
Destination network address
(0 to 127, i.e., $00 to $7F, 0 = local
network)
C+3
Destination unit FINS address (See
note 1.)
C+4
Bits 00 to 03:
Bits 04 to 07:
C+5
Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds) (See
note 3.)
Note
1. Indicates a Unit as shown in the following table.
CPU Unit
User program in FA computer
CPU Bus Unit
2. Values of $00 to $3E indicate nodes 0 to 63.
3. Designates the length of time in (0.1-s units) that the PLC retries transmis-
sion when bit 15 of C+3 is OFF and no response is received. The default
value is $0000, which indicates 2 seconds. If baud rate is slow and the re-
sponse monitoring time is short, an error may occur.
Local node (source)
D
C
Bits 00 to 07
No. of retries (0 to 15,
i.e., $0 to $F)
Set to 0.
Unit
00
01
$10 to $1F: Unit numbers 0 to 15
$FE: The local Unit
Section 6-3
Destination node
Command
Interpretation
Com-
mand
data
Response
Execution
Re-
sponse
data
Bits 08 to 15
Set to 0.
Destination node address (See note
2.)
Bits 08 to 10:
Transmission port number
($0 to $7)
Bit 11 to 14:
Set to 0.
Bit 15:
ON: No response.
OFF: Response returned.
Setting

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-drm21Cs1w-drm21-v1

Table of Contents