5.4 Network Dedicated Instruction
5.4.13 RECV instruction
5-177
J_RECV, G_RECV
5
MODULE DEDICATED
INSTRUCTION
J_RECV, G_RECV
*1 : Data are stored only when 1 is set in bit 7 of Error completion type ( [0]).
[9]
Receive data length
The number of received data stored in to + n is stored.
0 : No receive data
1 to 960 : Number of words of receive data
–
System
[10]
(Reserved)
–––
[11]
Clock set flag
*1
Valid/invalid status of the data in the area starting from [12] is stored.
0: Invalid
1: Valid
– System
[12]
to
[15]
Clock data at the time of
error completion
*1
Clock data at the time of error completion are stored in BCD format.
– System
[16]
Error-detected network No.
*1
Network number of the station where an error was detected is stored.
(However, when an error was detected at the host station, the network
number is not stored.)
1 to 239: Network number
– System
[17]
Error-detected station No.
*1
Number of the station where an error was detected is stored.
(However, when an error was detected at the host station, the network
number is not stored.)
– System
Device Item Setting data Setting range Setting side
s
d1
d1
s
s
s
s
s
b15 b8 b7to b0to
s
s
s
s
Month (01
H
to 12
H
)
Hour (00
H
to 23
H
)
Second (00
H
to 59
H
)
Year (00
H
to 99
H
) First two digits
Year (00
H
to 99
H
) Last two digits
Day (01
H
to 31
H
)
Minute (00
H
to 59
H
)
Day of week (00
H
to 06
H
)
00
H (Sun.) to 06H (Sat.)
[12 ]
[13 ]
[14 ]
[15 ]
s
s
Setting value Description
MELSECNET/H 1 to 64
Ethernet
CC-Link IE Controller Network
1 to 120
CC-Link IE Field Network -
Master station 125 (7DH)
Local station or the intelligent device
station
1 to 120
s