EasyManua.ls Logo

Mitsubishi Q12PRHCPU - Page 404

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 - 43
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.4 PUTE Instruction
APPENDICES
The program example of registering the user registration frame No.3E8H is shown in
Diagram App.27.
(For the I/O signal is X/Y80 to X/Y9F)
Diagram App.29 Program Example
Requests registration
Sets registration request
Sets frame No. to be registered
Sets the number of data byte
to be registered
Sets registered data of a frame
to be registered to D4 to D8
Registers user registration frame
Reads registration result when
write completion is turned ON
Executes error processing when
D2 is other than 0
0
PLS M50
3
MOV D0K1
MOV D1H3E8
MOV D3K10
MOV D4H3946
MOV D5H3030
MOV D6H3030
MOV D7H4646
MOV D8H3030
TO H8 H2000 K1K1
TO H8 H2 K2D0
TO H8 H5 K6D3
FROM H8 H4 K1D2
SET M1
RST Y98
RST M1
SET Y98
M50
36
M1
X98
X98
X50
Sets the write permission to the flash ROM.
Sets the flash ROM write request flag.
Writes data to the flash ROM.
Resets the flash ROM write request flag.

Table of Contents

Related product manuals