Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


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