Mitsubishi Electronics C64 Home Safety Product User Manual


 
9. Exclusive Commands 1
BUFRCV
- 332 -
{ BUFRCV ... Data reception (for fixed–buffer communication)
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S1
{ { { { { { { {
S2
{ { { { { {
D1
{ { { { { {
D2
{ { { { { {
{
13
Setting data Details Data type
"
Un
"
Head input/output No. for Ethernet I/F card BIN16 bit
S1 Connection No. (1 to 8) BIN16 bit
S2 Head device of local station storing control data BIN16 bit
D1 Head No. of device to store the received data BIN16 bit
D2
Local device that turns 1 scan ON at completion of command.
(D1)+1 device also turns ON at error completion.
Bit
Command
ZP.BUFRCV
"
Un
"
S1 S2
D1
BUFRCV
D2
Function
Reads the data received from the client device. (Fixed-buffer communication.)
Used by the main program.
(1) Control data
Device Item Setting data
Setting
range
Setting
side (*1)
(S2) + 0 System area
(S2) + 1 Completion
status
The status at completion is stored.
0000
H
: Normal completion
Other than 0000
H
: Error completion
(error code)
— System
*1: User : Data to be set by user before executing exclusive command.
System : The results of the exclusive command executed is stored by the sequencer CPU.
(2) Received data
Device Item Setting data
Setting
range
Setting
side (*1)
(D1) + 0 Received data
length
Designate the received data length.
Designate the data length according to the
communication procedure.
System
Procedural : No. of words 1 to 1017
Non-procedural : No. of bytes 1 to 2046
(D1) + 1 to
(D1) + n
Received data Designate the received data. System
(3) Error code
Refer to OPEN command for details of error code.