Deliver Command Instruction - Cmnd(490) - Omron CS1W-SLK11-21 - 06-2004 Manual

Sysmac link units
Table of Contents

Advertisement

PLC Network Instructions
6-2-7

DELIVER COMMAND Instruction - CMND(490)

Format
Ladder Symbol
(490)
CMND
S
Variations
@CMND(490)
Control Data
Note
1,2,3...
The CMND(490) instruction is used to send specific commands to transfer
data or to control operation at the destination node. When a command is sent,
a response is returned. Specifically, the CMND(490) instruction transmits a
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. Refer to 6-3-4 FINS Commands for PLCs and 6-4 FINS Commands
for SYSMAC LINK Units for the commands that can be sent and the
responses received.
The format of the CMND(490) instruction is as follows:
Operand Data Areas
S: 1
D
C
D: 1
C: 1
*Indirect addressing only
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 des-
tination node, and other parameters.
Word
Bits 00 to 07
C
Number of bytes to send (2 to 542, i.e., $0002 to $021E)
C+1
Number of bytes to receive (2 to 542, i.e., $0002 to $021E)
C+2
Destination network address
(0 to 127, i.e., $00 to $7F)
C+3
Destination unit address
C+4
Bits 00 to 03: No. of retries
(0 to 15 Hex, i.e., $0 to $F)
Bits 04 to 07: Set to 0.
C+5
Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds)
Commands cannot be sent to the PLC executing CMND(490).
1. Number of Bytes to Send
Set the total number of bytes of command data (including command code)
stored at the first command and following words of the command block.
2. Number of Bytes to Receive
Set the total number of bytes of response data (including response code)
to be stored at the first response and following words of the response
block.
3. Destination Network Address
Set the destination network address to 00 if sending the command to a
node in the local network. If more than one SYSMAC LINK Unit, Controller
Link Unit, or Ethernet Unit is mounted on the PLC, the network of the Unit
with the smallest unit address will be considered to be the local network.
4. Destination Node Address
Set the destination node address to FF for broadcasting within the local
network. Set to 00 (and set the network address to 00) for transmission to
a device at the local node. The destination node address can have the fol-
lowing values:
5. Destination Unit Address
Set the network destination address as shown below. If the Destination
st
command word
CIO, W, H, A, T, C, DM, DR*, IR*
st
response word
CIO, W, H, A, T, C, DM, DR*, IR*
st
control word
CIO, W, H, A, T, C, DM, DR*, IR*
Bits 08 to 15: Set to 0.
2
4
Destination node address
Bits 08 to 11: Port number ($0 to $7)
Bit 12 to 14: Set to 0.
Bit 15: ON: No response.
Section 6-2
Bits 08 to 15
1
1
5
OFF: Response returned.
6
101

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Sysmac cs1w-slk11Sysmac cs1w-slk21

Table of Contents