Mitsubishi Electric QJ71MT91 User Manual page 227

Modbus/tcp interface module
Table of Contents

Advertisement

10
DEDICATED INSTRUCTIONS
Control data
Device
Item
(S1)+0
Execution type
(S1)+1
Complete condition
(S1)+2
(S1)+3
Target IP address
(S1)+4
(S1)+5
Module ID
Target slave port
(S1)+6
No.
Response
(S1)+7
monitoring timer
value
10 - 12
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.
(Fixed value)
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)
*1:
Set the value that satisfies the following conditions.
Condition 1: The IP address class is any of A, B and C.
Condition 2: The host address bits are not all "0" or all "1".
*2:
The setting side is as described below.
User: Data are set by the user before dedicated instruction execution.
System: The programmable controller CPU stores the result of dedicated
instruction execution.
*3:
When specifying a value of 32768 (8000
the value in hexadecimal.
POINT
When the close option setting of the execution type ((S1)+0) is "TCP connection is
closed after instruction completion", TCP connection is closed after the dedicated
instruction has been completed and the completion device (D2) has turned ON.
If the dedicated instruction is executed again for the same target device during this
TCP connection closing processing, it is completed with an error.
When the execution interval of the dedicated instruction for the same target device
is short, set the close option to "TCP connection is not closed after instruction
completion".
Set Data
to
b1
to
0
0.
2
b0
b15
b8
b7
<(S1) + 3>
) or more in a sequence program, set
H
MELSEC-Q
Setting
Range
b0
1)
0, 1
0
Refer to
1
b0
0 to 255
0
1 to 65535
(*3)
0
2 to 2400
Setting
*2
Side
User
System
User
User
User
User
User
10 - 12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents