Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 115

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Communications Frames
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
• 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., frequency
reference = 0002 hex)
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 regis-
ter No. in the leftmost byte of S+5.
Response Frame
Item
Modbus Slave address (e.g., 02 hex)
FUNCTION code: Write data (= 10 hex) 10 hex
Write data register No. (e.g., frequency
reference = 0002 hex)
Write data registers (e.g., 1 register)
[CMND
S
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
Set value
2804 hex
02 hex
10 hex
0002 hex
0001 hex
0200 hex
6400 hex
Setting
02 hex
0002 hex
0001 hex
D
C]
Meaning
Section 3-7
Setting location
Set 2804 hex in controller data
s of the CMND(490) instruc-
tion.
Set 0210 hex in controller data
s+1 of the CMND(490) instruc-
tion.
Set 0002 hex in controller data
s+2 of CMND(490).
Set 0001 hex in controller data
s+3 of CMND(490).
Set 0200 hex in controller data
s+4 of CMND(490).
Set 6400 hex in controller data
s+5 of CMND(490).
Setting location
Stored in D+2 of CMND(490)
Stored in D+3 of CMND(490)
Stored in D+4 of CMND(490)
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents