Using Fins Message Communications; Instructions For Sending Fins Commands - Omron CS1W-CRM21 Operation Manual

Componet master units
Table of Contents

Advertisement

Using FINS Message Communications

6-3
Using FINS Message Communications
6-3-1

Instructions for Sending FINS Commands

CMND(490)
Note
156
Execute CMND(490) to send a FINS command.
Control operations, such as reading or writing I/O memory data at another
node, reading status information, and changing operating modes, can be per-
formed by executing CMND(490) in the user program in a CS/CJ-series CPU
Unit to send a FINS command.
Command data (n bytes) is sent from local node S to address N. The
response data (m bytes) is stored from local node address D onwards.
(@)CMND(490)
S
S: First command word
D
D: First response word
C
C: First control word (below)
15
C
Number of bytes of control data n
0000 to 021E hex: 0 to 542 bytes
15
C+1
Number of bytes of response data m
0000 to 021E hex: 0 to 542 bytes
15
1 1 8
7
C+2
00
Remote (destination) network address
00 hex:
15
8 7
C+3
Remote (destination) unit address
20 to 7F hex:
Remote (destination)
node address N
00 hex
15
10 8 7
00
C+4
Communications port number
0 to 7
Response required/not required
0: Required
1: Not required
15
10 8 7
C+5
Response monitoring time
0000 hex:
0001 to FFFF hex: 0.1 to 6553.5 s (Unit: 0.1 s)
Note:
If the remote node is a CompoNet Slave Unit, CompoNet explicit messages
can be sent by setting "28 02" as the FINS command code.
When doing so, set the response monitoring time in C+5 to a value no lower
than the message monitoring timer value (default: 2 s). If it is set to a lower
value, the next command sent after a timeout may encounter a busy signal.
Local node
15
S
0
+ n/2
0
D
(D−1)
+ m/2
0
Local network
0
Unit number 0 to 95
3
0
Number of retries 0 to F hex: 0 to 15
3
0
2 s
If the transfer speed is slow, setting a
small value will result in an error.
Section 6-3
Local (destination)
node address N
0
Command
Command
Interpretation
data
n bytes
Response
Execution
Response
data
m bytes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-crm21

Table of Contents