Mitsubishi Electric QJ71MT91 User Manual page 218

Modbus/tcp interface module
Table of Contents

Advertisement

10
DEDICATED INSTRUCTIONS
Control data
Device
Item
(S1)+0
Execution type
(S1)+1
Complete condition
MODBUS
(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
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: 192. 1.
b15
b8
b7
<(S1) + 4>
Set when a request message is sent to the slave without the MODBUS/TCP
interface via the MODBUS serial gateway, etc.
When the destination of the request message is the MODBUS serial gateway,
the set values are as described below.
0: Broadcast
1 to 247: Station number of MODBUS serial slave
: Set "255" when the destination of the request message is the slave having
the MODBUS/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 × 500ms)
Specify the types of the read/write target MODBUS devices.
b15
Read target
Set value
00
H
01
H
02
H
04
H
05
H
07
H
Set Data
to
to
0.
2
b0
b15
b8
<(S1) + 3>
b8
b7
Write target
Target MODBUS device type
No specification
Coil
Input
Input register
Holding register
Extended file register
MELSEC-Q
Setting
Range
b1
b0
0
1)
0, 1
Refer to *1
b7
b0
0 to 255
0
1 to 65535
(*3)
0
2 to 2400
*3
b0
0001
0005
0007
0100
0200
0400
0500
0505
0700
Setting
*2
Side
User
System
System
User
User
User
User
H
H
H
H
User
H
H
H
H
H
10 - 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents