Appendix 6 Precautions For Using Serial Communication Module; Appendix; Cset Instruction - Mitsubishi Q12PRHCPU User Manual

Q series
Hide thumbs Also See for Q12PRHCPU:
Table of Contents

Advertisement

APPENDICES
Appendix 6.1 CSET Instruction
(1) When setting initial setting of the unit (word/byte) of the number of send/
App
- 33

Appendix 6 Precautions for Using Serial Communication Module

Appendix 6.1 CSET Instruction
receive data and the send/receive area size
(a) Setting the unit of send/receive data length
The following shows the device and buffer memory used in the sample program of
the send/receive data length unit setting.
1) I/O signal
I/O signal
CH1 side
X(n+1)E
X(n+1)F
2) Buffer memory
Write 0 (word unit) or 1 (byte unit) to the following address.
Buffer memory address hexadecimal (decimal)
CH1 side
96
(150)
H
POINT
Set the send/receive data length unit setting before communication.
In addition, change the setting when the ready signal X(n+1)E of a module is ON.
The program example of send/receive data length unit setting is shown in
Diagram App.23. (For the I/O signal is X/Y80 to X/Y9F)
X9E
X9F
0
(b) Specification of buffer memory head address and buffer memory size used
in on-demand function
For the specification, refer to Appendix 6.6.
Table.App 14 List of I/O Signal
Signal name
CH2 side
Q series C24 ready
Watchdog timer error
(WDT error)
Table.App 15 List of Buffer Memory
CH2 side
136
(310)
H
TOP
H8
H96
K1
Diagram App.23 Program Example
Description of signal
ON: Accessible
ON : Module error occurred
OFF: Module being normally
operated
Buffer memory name
Word/byte units designation
Write "1" (in units of bytes) to
K1
buffer memory address 96
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q25prhcpu

Table of Contents