Mitsubishi QCPU Structured Programming Manual page 152

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

Advertisement

J_RECV, G_RECV
Control Data
Device
Item
Error completion type
[0]
S
Completion status
[1]
S
Host station channel
[2]
S
Channel used by sending
[3]
S
station
Network No. of sending
[4]
S
station
Sending station No.
[5]
S
(Reserved)
[6]
S
(Reserved)
[7]
S
Arrival monitoring time
[8]
S
Receive data length
[9]
S
(Reserved)
[10]
S
*1
[11]
Clock set flag
S
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-114
5.4.6 RECV instruction
Setting data
b15
to
0
Error completion type (bit 7)
Specify the clock data setup status at the time of error completion.
0: Clock data at the time of error completion is not set in the area
starting from
[11].
S
1: Clock data at the time of error completion is set in the area starting
from
[11].
S
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
Specify the channel of host station that stores receive data.
1 to 8: Channel
Channel used by the sending station is stored.
1 to 8: Channel
Network number of the sending station is stored.
1 to 239: Network number
Station number of the sending station is stored.
Ethernet
1 to 64
MELSECNET/H
CC-Link IE controller
1 to 120
network
Specify the monitoring time required for the instruction completion.
When the instruction is not completed within the monitoring time, it
completes abnormally.
Description
0 to TCP retransmission
timer value: Monitoring is
performed by the TCP
Ethernet
retransmission timer value.
MELSECNET/H
(TCP retransmission timer
value + 1) to 16383:
Monitoring time (unit:
second)
0: 10 seconds
CC-Link IE
1 to 32767: 1 to 32767
controller network
seconds
The number of received data stored in
0
: No receive data
1 to 960
: Number of words of receive data
Valid/invalid status of the data in the area starting from
0: Invalid
1: Valid
b7
to
b0
0
Setting value
0 to 16383
0 to 32767
to
+ n is stored.
d1
d1
[12] is stored.
S
*1
Setting range
Setting side
0000
,
H
User
0080
H
System
1 to 8
User
System
System
System
0 to 32767
User
System
System

Advertisement

Table of Contents
loading

Table of Contents