Mitsubishi Electronics A1SJ71AR23Q Network Router User Manual


 
4 - 6
4.2 Transient Transmission Function
4
FUNCTIONS
4.2 Transient Transmission Function
When a transient request is made, this function allows data communication between a
master station and a local station.
(1) Communication from a master station to a local station
(a) Communication from a master station to a local station
By executing the LRDP/LWTP instruction in the sequence program of the master
station, data can be read from or written to local station devices (T, C, D, W).
(b) LRDP/LWTP instruction receive processing
Q series local stations handle the reception of the LRDP/LWTP instruction with
the sequence program.
If the LRDP/LWTP instruction is received when the CPU module is in STOP
status, the local module will send an error response to the master station (4:
LRDP/LWTP inexecutable on the station).
CHAPTER 7 PROGRAMMING
Figure 4.9 LWTP instruction receive processing (Q series local station)
Q series local station
Local module
CPU module
Link data
storage area
Buffer memoryBuffer memory
Data memory
storage area
DCH
DMOV Z0
BMOV D0Z1 Z2
Write data
Master station
Data memory
storage area
D20 to D29
Command
LWTP
Device
write
D200 to D209
= K4
MOV Z2
= H4420 Z0
U0\
G174
U0\
G220
U0\
G216
U0\
G219
"A part" of the program for receiving LWTP instruction