Mitsubishi QJ71MT91 User Manual page 214

Modbus/tcp interface module melsec-q series
Hide thumbs Also See for QJ71MT91:
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS
Control data
Device
Item
(S1)+0
Execution type
(S1)+1
Complete condition
MODBUS
R
(S1)+2
exception code
(S1)+3
Target IP address
(S1)+4
(S1)+5
Module ID
Target slave port
(S1)+6
No.
Response
(S1)+7
monitoring timer
value
Type specification
(S1)+8
of the target
MODBUS
device
R
10 - 3
b15
0
1) Close option (Bit 0)
Set whether a TCP connection will be closed or not after instruction
completion.
0: TCP connection is not closed after instruction completion.
1: TCP connection is closed after instruction completion.
A condition when instruction is completed is stored.
0: Normal completion
Other than 0: Error completion (error code)
Refer to Section 11.3.3 for details of the error code.
An exception code from the slave is stored.
0: Slave processing normally completed
Other than 0: Slave processing completed with an error (exception code)
Refer to Section 11.3.2 for details of the exception code.
Set the IP address of the target slave.
IP address:
b15
b8
b7
<(S1) + 4>
Set when a request message is sent to the slave without the MODBUS
interface via the MODBUS
R
When the destination of the request message is the MODBUS
the set values are as described below.
0: Broadcast
1 to 247: Station number of MODBUS
: Set "255" when the destination of the request message is the slave having
the MODBUS
R
/TCP interface.
Specify the port No. of the target slave.
0: Sent to No. 502
1 to 65535: Sent to the set port No.
Specify the time for monitoring a response from the target device (slave). (500ms
increments)
0: 60 (30s)
2 to 2400: Set value (Response monitoring timer value = set value
Specify the types of the read/write target MODBUS
b15
Read target
Set value
00
H
01
H
02
H
04
H
05
H
07
H
Set Data
to
to
192. 1.
0.
2
b0
b15
b8
<(S1) + 3>
serial gateway, etc.
serial slave
R
R
devices.
b8
b7
Write target
Target MODBUS
R
No specification
Coil
Input
Input register
Holding register
Extended file register
Setting
Range
b1
b0
0
1)
Refer to *1
b7
b0
/TCP
R
R
serial gateway,
0 to 255
1 to 65535
2 to 2400
500ms)
*3
b0
0001
0005
device type
0007
0100
0200
0400
0500
0505
0700
MELSEC-Q
Setting
*2
Side
0, 1
User
System
System
User
User
0
User
(*3)
0
User
H
H
H
H
User
H
H
H
H
H
10 - 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents