5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
151
5
Setting data
Device
Item
Setting data
Setting
range
Setting side
(s)[0]
Execution/error
completion type
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 (s)[11].
1: Clock data at the time of error completion is set in the area starting from (s)[11].
0000H, 0080H
User
(s)[1]
Completion
status
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
(s)[2]
Host station
channel
Specify the channel of host station that stores receive data.
Setting values are as follows.
• Ethernet, MELSECNET/H, CC-Link IE Controller Network: 1 to 8
• CC-Link IE Field Network: 1 to 2
1 to 8
User
(s)[3]
Channel used
by sending
station
Channel used by the sending station is stored.
1 to 8: Channel
System
(s)[4]
Network No. of
sending station
Network number of the sending station is stored.
1 to 239: Network number
System
(s)[5]
Sending station
No.
Station number of the sending station is stored.
Stored values are as follows.
• MELSECNET/H: 1 to 64
• Ethernet, CC-Link IE Controller Network: 1 to 120
• Master station in CC-Link IE Field Network: 125 (7DH)
• Local station or the intelligent device station in CC-Link IE Field Network: 1 to 120
System
(s)[6]
(Reserved)
(s)[7]
(Reserved)
(s)[8]
Arrival
monitoring time
Specify the monitoring time required for the instruction completion. When the
instruction is not completed within the monitoring time, it completes abnormally.
Setting values are as follows.
■
Ethernet
• 0 to 16383
• 0 to TCP retransmission timer value: Monitoring is performed by the TCP
retransmission timer value.
• (TCP retransmission timer value + 1) to 16383: Monitoring time (unit: second)
■
CC-Link IE MELSECNET/H
• 0 to 32767
• 0: 10 seconds
• 1 to 32767: 1 to 32767 seconds
0 to 32767
User
(s)[9]
Receive data
length
The number of received data stored in (d1) to (d1)+n is stored.
0: No receive data
1 to 960: Number of words of receive data
System
(s)[10]
(Reserved)
(s)[11]
Clock set flag
Valid/invalid status of the data in the area starting from (s)[12] is stored.
0: Invalid
1: Valid
System
(s)[12]
(s)[15]
Clock data at
the time of error
completion
Clock data at the time of error completion are stored in BCD format.
System
(s)[16]
Error-detected
network No.
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
b15
0
0
(1)
b7
b0
…
…
b15
b8 b7
to
b0
to
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 06
H
(Sat.)
[12 ]
[13 ]
[14 ]
[15 ]
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......