Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 272

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Communications Frames
Item
Send destination network address
(Controller Link network address of PLC
to which Serial Communications Unit is
mounted)
Send destination node address
(node address in Controller Link for PLC
to which Serial Communications Unit is
mounted)
Serial Communications Unit unit num-
ber
Serial Communications Unit serial port
Send destination unit address
(unit address of serial port on Serial
Communications Unit)
Network (Ethernet)
Conversion Link Unit
Node address: 5
conversion
Port 1 unit address:
80 hex + 4 hex × unit number 3 = 8C hex
List of Settings
• FINS Network Settings
Value
(Example)
2
5
3
Port 1
×
80 hex + 4 hex
unit
number 3 = 8C hex (or
10 + unit number 3 = 13
hex, and serial port
number 1 = 1 hex)
• Modbus-RTU Settings
Command Frame
Item
FINS command code: Converting
to Modbus-RTU = 2804 hex
Modbus slave address (e.g., 02
hex)
FUNCTION code: DATA WRITE =
10 hex
Write data register No. (e.g., fre-
quency reference = 0002 hex)
FINS header
FINS message
Modbus-RTU command
2804
FINS header
Serial Communications Unit
Unit No. 3, port 1
CPU Unit
Protocol
Example: Write data for frequency reference value
(FUNCTION code 10 hex, register No. 0002 hex)
Modbus-RTU command
RS-485 (Modbus-RTU)
3G3MV OMRON Inverter
Setting location
Set 02 hex in the control data C+2 bits 00 to 07 (net-
work address) of CMND(490).
Note: Set 0 hex in the control data C+2 bits 08 to 11
(serial port number) of CMND(490).
Set 05 hex in the control data C+3 bits 08 to 15 (send
destination node address) of CMND(490).
Use to calculate the following unit address for the
serial port
×
80 hex + 4 hex
unit number 3 = 8C hex
Set 8C hex in the control data C+3 bits 00 to 07 (send
destination unit address) of CMND(490).
(Alternatively, set 13 hex in the control data C+3 bits
00 to 07 (send destination unit address) and set 1 hex
in C+2 bits 08 to 11 (serial port number).)
Set
value
2804
Set 2804 hex in controller data s of the
hex
CMND(490) instruction.
02
Set 0210 hex in controller data s+1 of
hex
the CMND(490) instruction.
10
hex
0002
Set 0002 hex in controller data s+2 of
hex
CMND(490).
Section 6-8
CMND
instruction
FINS message
2804
Modbus-RTU command
Network (Controller Link)
Network address: 2
Setting location
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents