5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
147
5
*1 Data are stored only when 1 is set in bit 7 of Error completion type ((s1)[0]).
*2 Logical channel setting is not available for the CC-Link IE network module.
Program example
The following program sends data of the devices from D750 to D753 of the station number 1 (host station) to the channel 5 of
the station number 2 (target station).
For the method for reading the data, which are sent by the SEND instruction, from the channel 5 of the station number 2
(target station), refer to the following sections.
• For reading out data in a main program
• For reading out data in an interrupt program
(s1)[8]
Arrival
monitoring time
Specify the monitoring time required for instruction completion. (Setting is available
when Execution type is set to '1: With arrival confirmation' in ((s1)[0].)
If the instruction is not completed within this time, it is resent by the number of times
specified in (s1)[7].
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)
■
MELSECNET/H CC-Link IE
• 0 to 32767
• 0: 10 seconds
• 1 to 32767: 1 to 32767 seconds
0 to 32767
User
(s1)[9]
Send data
length
Specify the number of send data.
1 to 960
User
(s1)[10]
(Reserved)
(s1)[11]
Clock set flag
Valid/invalid status of the data in the area starting from (s1)[12] is stored.
0: Invalid
1: Valid
System
(s1)[12]
(s1)[15]
Clock data at
the time of error
completion
Clock data at the time of error completion are stored in BCD format.
System
(s1)[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
(s1)[17]
Error-detected
station No.
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.)
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
Device
Item
Setting data
Setting
range
Setting side
b
1
5
b
8
b7
to
b
0
to
s1
s1
s1
s1
M
ont
h (
01
H
to
12
H
)
H
our
(
00
H
to
23
H
)
S
econd
(
00
H
to
59
H
)
Y
ear
(
00
H
to
99
H
) Fi
rst
t
w
o
d
i
g
i
ts
Y
ear
(
00
H
to
99
H
) L
ast
t
w
o
d
i
g
i
ts
D
ay
(
01
H
to
31
H
)
Mi
nute
(
00
H
to
59
H
)
D
ay
o
f w
ee
k (
00
H
to
0
6
H
)
00
H
(S
un
.)
to
0
6
H
(S
at
.)
[
12
]
[
13
]
[
1
4 ]
[
1
5 ]
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......