EasyManuals Logo

Omron CJ - REFERENCE MANUAL 07-2009 User Manual

Omron CJ - REFERENCE MANUAL 07-2009
267 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #116 background imageLoading...
Page #116 background image
94
Communications Frames Section 3-7
Response
Sending Host Link FINS Commands
Set any FINS command code in S.
Be sure to set the Host Link unit number (0 to 31) incremented by one (1
to 32) for the PC slave corresponding to the send destination node
address in C+3 bits 08 to 15.
Example of Sending Host Link FINS Commands Using CMND(490)
The following example is for sending FINS commands to a CS/CJ/CP-series
PLC or an NSJ Controller connected to the Serial Communications Unit
through an RS-422A/485 communications path via an Ethernet network.
Example: The CMND(490) instruction is executed in the PC on the Ethernet.
The FINS command (e.g., OPERATING MODE CHANGE STOP: 0402 hex) is
sent to the CS/CJ/CP-series PLC or NSJ Controller (Host Link unit number =
1) that is connected to port 2 (unit address = 81 hex + 4 hex
× unit number 6
= 99 hex = 153 decimal, corresponding to network address 5 in the routing
tables) of the Serial Communications Unit (unit number 6) that is connected to
the PC on the Ethernet. Routing is performed between the networks, so use
the setting for routing tables.
Operand Offset Value Meaning
D:
D02000
+0: 2804 hex Conversion to Modbus-RTU (FINS command code: 2804 hex)
+1: 0000 hex FINS end code: 0000 hex (normal)
+2: 0210 hex Modbus-RTU slave address: 02 hex, FUNCTION code: 10 hex (DATA WRITE)
+3: 0002 hex Write data register No.: 0002 hex (frequency reference)
+4: 0001 hex Number of write data registers: 0001 hex (1 register)
Network (Ethernet)
Serial Communications Unit
Unit No. 6, port 2
Ethernet unit
node address: 4
Port 2 unit address:
81 hex + 4 hex × unit
No. 6 = 99 hex
(153 decimal), which
corresponds to network
address 5.
Unit No. for Host Link = 0 Unit No. for Host Link = 1 Unit No. for Host Link = 2
Host Link
header
FINS
command
Terminator
Unit No. Network address
Serial port unit
address: 153
FINS command
FINS message
RS-422A/485 (Host Link)
CS/CJ-series or
CVM1/CV-series PC
(Host Link slave)
CPU Unit
CMND
instruction
E.g., Operation mode change
(operation stopped): 0402 hex
Protocol
conversion
Local
network
table
Serial port network
address: 5

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Omron CJ - REFERENCE MANUAL 07-2009 Specifications

General IconGeneral
BrandOmron
ModelCJ - REFERENCE MANUAL 07-2009
CategoryComputer Hardware
LanguageEnglish

Related product manuals