Interrupts Using The Recvs Instruction - Mitsubishi Electric Q Series Reference Manual

Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

7 APPLICATION FUNCTIONS

7.5.2 Interrupts using the RECVS instruction

7 - 104
An interrupt program can be started when the SEND instruction is received at the
channel whose parameters are designated with the RECVS instruction.
When "RECV instruction" is selected as the device code, the settings of "Channel No."
and "Interrupt (SI) No." are enabled.
In the example below, data is sent from station number 3 to channel 5 of station
number 15 using the SEND instruction.
The interrupt program setting parameters of station number 15 are set so that the
interrupt program is started by the SEND instruction to channel 5.
Network module
CPU
SEND
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
CPU
Interrupt program
Channel 1
execution
Channel 2
SM400
I50
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
MELSEC-Q
RECVS
IRET
7 - 104

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents