Mitsubishi Electronics MELSEC-F Universal Remote User Manual


 
7 - 14
MELSEC-F
FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE
CONTROL METHOD)
7
7 - 14
(Receive program)
•For FX
3U/FX3UC Series PLCs
Program example for the unit No. 0
U0\
G2688
Received
data count
M8000
[ADD H1 D101
Received
data count
]
[MOV D100
Receiving
status
]
[MOV H2 ]
[MOV D101 ]
[INCP D102
Receive
abnormal
processing
]
[= D100
Receiving
status
H1 ]
[= D100
Receiving
status
H8 ]
]
[END
* <<Storing the data received from the external device to the fixed buffer No.2 in D1000 and after>>
U0\
G1611
Receiving
instruction/status
[MOV D101
Received
data count
]
D101
Received
data count
[BMOV D1000
Receive data
storage head
D103
Received
word count
]
U0\
G2689
Fixed buffer
No.2
[DIV H2 D103
Received
word count
]D101
Received
data count
U0\
G1611
Receiving
instruction/
status
* <
Adjustment when an odd number of data bytes is received
* <
Word count from number of receive data
>
>
User applications are described at the area enclosed with .