Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 273

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

Advertisement

Communications Frames
Modbus Slave address (e.g., 02 hex)
FUNCTION code: Write data (= 10 hex)
Write data register No. (e.g., frequency reference = 0002 hex)
Write data registers (e.g., 1 register)
Command Details
Operand
Offset
Value
S:
+0:
2804 hex
D01000
+1:
0210 hex
+2:
0002 hex
+3:
0001 hex
+4:
0200 hex
+5:
6400 hex
D:
D02000
C:
+0:
00 0C hex
D00000
+1:
00 0A hex
+2:
0002 hex
+3:
058C hex
+4:
0000 hex
+5:
0000 hex
Response
Operand
Offset
Value
D:
+0:
2804 hex
D02000
+1:
0000 hex
+2:
0210 hex
+3:
0002 hex
+4:
0001 hex
244
Item
Number of write data registers
(e.g, 1 register)
Number of attached data registers
Note: Set 02 hex of this value in
the leftmost byte of S+4. Set 00
hex as the leftmost register No. in
the rightmost byte of S+4.
Register No. 0002 hex data (e.g.,
0064 hex)
Note: Set 64 hex as the rightmost
register No. in the leftmost byte of
S+5.
Response Frame
Item
[CMND
Conversion to Modbus-RTU (FINS command code: 2804 hex)
Modbus-RTU slave address: 02 hex, FUNCTION code: 10 hex (DATA WRITE)
Write data register No.: 0002 hex (frequency reference)
Number of write data registers: 0001 hex (1 register)
Number of attached data bytes: 02 hex (2 bytes); Leftmost register No.: 00 hex
Rightmost register No.: 64 hex (Frequency reference value: 10.0 Hz when unit is 0.1
Hz), blank = 00 hex
First response storage word
Number of command data bytes: 000C hex (12 bytes decimal)
Number of response data bytes: 000A hex (10 bytes decimal)
Send destination network address: 02 hex; Serial port number: 0 hex (direct serial port
unit address specification)
Send destination node address: 05 hex; Send destination unit address: 8C hex
Response required; Communications port number: 0; Resends: 0 hex
Response monitoring time: 2 s
Conversion to Modbus-RTU (FINS command code: 2804 hex)
FINS end code: 0000 hex (normal)
Modbus-RTU slave address: 02 hex, FUNCTION code: 10 hex (DATA WRITE)
Write data register No.: 0002 hex (frequency reference)
Number of write data registers: 0001 hex (1 register)
Set
Setting location
value
0001
Set 0001 hex in controller data s+3 of
hex
CMND(490).
0200
Set 0200 hex in controller data s+4 of
hex
CMND(490).
6400
Set 6400 hex in controller data s+5 of
hex
CMND(490).
Setting
02 hex
Stored in D+2 of CMND(490)
10 hex
0002 hex
Stored in D+3 of CMND(490)
0001 hex
Stored in D+4 of CMND(490)
S
D
C]
Meaning
Meaning
Section 6-8
Setting location

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents