Mitsubishi Electronics A1SJ71AP23Q Network Router User Manual


 
7
PROGRAMMING
7.2 Program for Refresh and for Receiving LRDP/LWTP Instruction
7 - 8
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTIONS
5
PREPARATORY
PROCEDURES BEFORE
OPERATION
6
LINK DATA SEND/
RECEIVE PROCESSING
AND PROCESSING TIME
7
PROGRAMMING
8
TROUBLESHOOTING
Figure 7.9 Program example (Continued)
Divides the buffer memory address by 16 (bits).
Obtains data of the special register (for link).
Obtains the read start device name and start device
No.
Obtains the read data length.
LRDP instruction receive processing
Clears the LRDP instruction work area to zero.
Transfers the D device value to the work area.
Transfers the T device value to the work area.
Transfers the C device value to the work area.
Transfers the W device value to the work area.
LRDP instruction receive request
(5 = Processing completion)
B device reception1(Latter half):
Start No.=Z0, No. of words=Z1
Obtains B of the other stations from the local
module. (Latter half)
B device reception2(Latter half):
Start No.=Z0, No. of words=Z1
Divides the buffer memory address by 16 (bits).
Obtains B of the other stations from the local
module. (Latter half)
Obtains data of the special relay (for link).
Transfers the special relay(for link)(from M9240) to SM1240.
Transfers the special register(for link)(from D9243) to SD1243.