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
D0
K1
MOV
D1
H3E8
MOV
D3
K10
MOV
D4
H3946
MOV
D5
H3030
MOV
D6
H3030
MOV
D7
H4646
MOV
D8
H3030
TO
H8
H2000
K1
K1
TO
H8
H2
K2
D0
TO
H8
H5
K6
D3
FROM
H8
H4
K1
D2
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.