App
- 35
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.1 CSET Instruction
APPENDICES
The program example of specifying the send area head address and the send
area size is shown in Diagram App.24.
(For the I/O signal is X/Y80 to X/Y9F)
The program example of specifying the receive area head address and the
receive area size is shown in Diagram App.25.
(For the I/O signal is X/Y80 to X/Y9F)
Diagram App.24 Program Example
Diagram App.25 Program Example
Sets D0 to head address C00
H
.
Sets D1 to buffer memory length 100
H
.
Writes send area setting value.
0
X9E
X9F
MOVP
H0C00
D0
MOVP
H100
D1
TOP
H8
H0A2
D0
K2
Sets D0 to head address D00
H
.
Sets D1 to buffer memory length 300
H
.
Writes receive area setting value.
0
X9E
X9F
MOVP
H0D00
D0
MOVP
H300
D1
TOP
H8
H0A6
D0
K2