Mitsubishi QCPU Structured Programming Manual page 107

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

Control Data
Device
Item
Execution type
[0]
S2
Completion status
[1]
S2
Request type
[2]
S2
Word/byte unit specification
[3]
S2
Buffer memory start address for on-
[4]
S2
demand function
Buffer memory size for on-demand
[5]
S2
function
Send area start address
[6]
S2
Send area size
[7]
S2
Receive area start address
[8]
S2
Receive area size
[9]
S2
[10]
S2
to
For system
[111]
S2
Setting data
Specify '0'.
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
Specify the request.
1: Change of unit (word/byte) and buffer memory
assignment
Specify the unit of the number of send/receive data.
0: Current setting value
1: In units of words
2: In units of bits
Specify the start address of the buffer memory used by
the on-demand function
0
: Current setting value is used.
H
400
to 1AFF
, 2600
to 3FFF
H
H
H
Specify the size (the number of words) of the buffer
memory to be used by the on-demand function.
0
: Current setting value is used.
H
1
to 1A00
: Size
H
H
Specify the start address of the send area used for the
nonprocedural/bidirectional protocol.
0
: Current setting value is used.
H
400
to 1AFF
, 2600
to 3FFF
H
H
H
Specify the size (the number of words) of the send area
used by the nonprocedural/bidirectional protocol.
0
: Current setting value is used.
H
1
to 1A00
: Size
H
H
* The start area of the send area (1 word) is used for the
number of send data specification area.
Specify the start address of the receive area used for the
nonprocedural/bidirectional protocol.
0
: Current setting value is used.
H
400
to 1AFF
, 2600
to 3FFF
H
H
H
Specify the size (the number of words) of the receive
area used for the nonprocedural/bidirectional protocol.
0
: Current setting value is used.
H
1
to 1A00
: Size
H
H
* The start area of the receive area (1 word) is used for
the number of receive data storage area.
5.2 Serial Communication and Modem Interface Instruction
5.2.10 CSET instruction (initial setting)
Setting range
0
1
0,1,2
0
,
H
400
to
H
1AFF
,
H
2600
to
H
: Start address
H
3FFF
H
0
,
H
1
to 1A00
H
0
,
H
400
to
H
1AFF
,
H
2600
to
H
: Start address
H
3FFF
H
0
,
H
1
to 1A00
H
0
,
H
400
to
H
1AFF
,
H
2600
to
H
: Start address
H
3FFF
H
0
,
H
1
to 1A00
H
ZP_CSET
Setting side
User
System
User
H
5
User
H
H
System
5-69

Advertisement

Table of Contents
loading

Table of Contents