EasyManua.ls Logo

Mitsubishi Q12PRHCPU - Page 410

Mitsubishi Q12PRHCPU
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
App - 49
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.7 OUTPUT Instruction
APPENDICES
The program example of sending data by the nonprocedural protocol communication is
shown in Diagram App.32.
(For the I/O signal is X/Y80 to X/Y9F)
Diagram App.32 Program Example
Sets send data and number
of send data
Writes the number of send data and
send data to buffer memory
Turns ON send request signal (Y80)
after writing data
Turns OFF send request signal
Reads send error code
Turns OFF send request signal
Take corrective action to the error
according to error code stored in D20
Turns LED OFF and clears
error code
0
23
X9E
X80
X9F X80 X81 Y80
$MOV "abcdefg" D11
MOVP H0A0D D15
MOVP K5 D10
SET Y80
32
25
X81
RST Y80
RST Y80
TOP H8 H400 D10 K6
FROMP H8 H257 D20 K1
Y8E
X50
X60

Table of Contents

Related product manuals