Mitsubishi QJ71MT91 User Manual page 244

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

Advertisement

11 TROUBLESHOOTING
11 - 15
(6) Automatic communication operation status storage area
(a) The operation statuses of the automatic communication function are stored
in bit format in correspondence with the automatic communication
parameters 1 to 64.
0: Operating normally (OFF)
The case where the automatic communication parameters are not set is
also included.
1: Error occurred (ON)
(b) The operation statuses are stored into the bit positions, from low-order to
high-order bits, in order of the automatic communication parameters 1 to
64.
bF
bE
0C20
16 15 14 13 12 11
H
0C21
32 31 30 29 28 27
H
0C22
48 47 46 45 44 43
H
0C23
64 63 62 61 60 59
H
(c) The operation status is set at the following timing.
1)
When a response message (error completion) is received from a slave.
(Only the corresponding bit turns ON.)
2)
When a communication error occurs. (Only the corresponding bit turns
ON.)
(d) The operation status is cleared at the following timing.
1)
When a response message (normal completion) is received from a
slave. (Only the corresponding bit turns ON.)
2)
When the automatic communication function stops. (All bits turn OFF.)
3)
When the power is turned off and then on again, or when the
programmable controller CPU is reset. (All bits turn OFF.)
(e) Interlock with a target device
The automatic communication operation status storage area can be used
as an interlock signal for a target device error.
Here is a program example.
1) Program condition
The QJ71MT91 is mounted in slot 0 of the base unit with the head I/O
No. set to "0" and the automatic communication parameter 1 is used.
2) Program example
Command
signal
U0\G3104.0
bD bC bB bA
The numbers indicate the automatic communication
parameter numbers.
MELSEC-Q
b5 b4
b3 b2
6
5
4
22
21 20
38
37 36
54
53 52
Processing with data read from target device
by automatic communication parameter 1
b1 b0
3
2
1
19 18 17
35 34 33
51 50 49
11 - 15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents