Mitsubishi Electronics A1SJ71AP23Q Network Router User Manual


 
7 - 15
7.2 Program for Refresh and for Receiving LRDP/LWTP Instruction
7
PROGRAMMING
Figure 7.14 Program example (Continued)
LWTP instruction receive processingLWTP instruction receive processing
Obtains the write start device name and start
device No.
Clears the LWTP instruction work area to zero.
Obtains the write data length.
Transfers the work area value to T device.
Transfers the work area value to C device.
Transfers the work area value to D device.
Transfers the work area value to W device.
LWTP instruction receive request
(5 = Processing completion)
For a local station in the third tier, receives the For a local station in the third tier, receives the
data of the second-tier master station.data of the second-tier master station.
W device reception (First half): W device reception (First half):
Start No. = Z0, No. of words = Z1Start No. = Z0, No. of words = Z1
Obtains W of the master station from the local
module. (First half)
W device reception (Latter half): W device reception (Latter half):
Start No. = Z0, No. of words = Z1Start No. = Z0, No. of words = Z1
Obtains W of the master station from the local
module. (Latter half)
B device reception (First half): B device reception (First half):
Start No. = Z0, No. of words = Z1Start No. = Z0, No. of words = Z1
Obtains B of the master station from the local
module. (First half)
Divides the buffer memory address by 16 (bits).
B device reception (Latter half): B device reception (Latter half):
Start No. = Z0, No. of words = Z1Start No. = Z0, No. of words = Z1
Obtains B of the master station from the local
module. (Latter half)
Divides the buffer memory address by 16 (bits).
Refresh completionRefresh completion
Turns OFF the refresh in execution.
Turns OFF the refresh request.
Turns ON the refresh request.