11 - 47 11 - 47
MELSEC-Q
11 TROUBLESHOOTING
(3) Program example
An example of the PING test performed with a sequence program is given below.
(a) System configuration
QJ71MT91
(Master)
Ethernet
MOBDBUS /TCP
Slave device
(192.1.0.1)
*1: The QJ71MT91 is mounted on Slot 0 of the base unit, and the head I/O No. is 0.
(b) Program conditions
This program executes a PING test when PING test execution request (Y1C)
is turned on after the PING test conditions are set.
1) PING test condition settings
Setting Item
Buffer Memory Address
Set Value
Communication time check
0FE0
H
(4064)
2
(1s)
Transmission count
0FE1
H
(4065)
4
(4 times)
IP address
0FE2
H
to 0FE3
H
(4066 to 4067)
C0010001
H
(192.1.0.1)
2) Devices available for user
Device Name
Device
Application
X0 Module
READY
X3
Basic parameter setting existence
Input
X1C
PING test completed
QJ71MT91 input/output
Output
Y1C
PING test execution request
External input (command)
X20
PING test execution command
D10000
For getting execution result
D10001
For getting total packet transmission count
D10002
For getting success count
Data register
D10003
For getting failure count
U0\G4064 Communication
time
check
U0\G4065 Transmission
count
U0\G4066 to
U0\G4067
IP address
U0\G4068 Execution
result
U0\G4069
Total packet transmission count
U0\G4070 Success
count
Intelligent function module
device
U0\G4071 Failure
count
Содержание QJ71MT91
Страница 1: ......
Страница 2: ......
Страница 278: ...App 1 App 1 MELSEC Q APPENDICES APPENDICES Appendix 1 External Dimensions Unit mm in 27 4 1 08 90 3 54 98 3 86 APP ...
Страница 291: ......
Страница 292: ......