Application Example - Mitsubishi Electric Q Series Reference Manual

Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

7 APPLICATION FUNCTIONS

7.5.6 Application example

Device code
RECVS
instruction
7 - 112
The following explains the parameter settings and program examples.
Network module
CPU
SEND
(1) How to set the parameters on the interrupt setting screen (network
parameters)
Set the device code, channel No. and interrupt (SI) No. in such a way that an
event is issued to the CPU side when data is received at channel 5 of station
number 15's network module.
Detection
Device No.
method
(Edge
detection)
(2) How to set the parameters on the interrupt pointer setting screen
(PC parameters)
Set the start I/O No. (0000) of the I/O where the network module is loaded and
the interrupt SI No. (0) on the intelligent module side, and the interrupt pointer
(I50) that is used for even issue on the CPU side. It is also possible to start
multiple interrupt programs by setting the interrupt pointer No. of units (setting
count of interrupt conditions).
PLC side
Interrupt pointer
Interrupt pointer
Start No.
No. of module
50
Network module
Station No. 3
Station No. 15
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Network No. 7
Interrupt
condition
(Scan
completed)
Start I/O No.
1
CPU
Channel 1
Interrupt program
execution
Channel 2
I50
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Word device
Board No.
Setting value
5
Intelli. module side
Start SI No.
0000
0
MELSEC-Q
RECVS
IRET
Interrupt (SI)
No.
0
7 - 112

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents