Mitsubishi Electric MELSEC-L Special Instructions Manual page 149

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Device
Item
(s1)[8]
Arrival
monitoring time
(s1)[9]
Send data
length
(s1)[10]
(Reserved)
*1
(s1)[11]
Clock set flag
(s1)[12]
Clock data at
the time of error
*1
(s1)[15]
completion
(s1)[16]
Error-detected
*1
network No.
(s1)[17]
Error-detected
*1
station No.
*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
Page 150 J(P)_RECV, G(P)_RECV
• For reading out data in an interrupt program
Page 154 Z_RECVS
Setting data
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
Specify the number of send data.
Valid/invalid status of the data in the area starting from (s1)[12] is stored.
0: Invalid
1: Valid
Clock data at the time of error completion are stored in BCD format.
b15
to
b8 b7
[12 ]
Month (01
to 12
)
s1
H
H
[13 ]
Hour (00
to 23
)
s1
H
H
[14 ]
Second (00
to 59
)
H
H
s1
[15 ]
Year (00
to 99
) First two digits
s1
H
H
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
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
to
b0
Year (00
to 99
) Last two digits
H
H
Day (01
to 31
)
H
H
Minute (00
to 59
)
H
H
Day of week (00
to 06
)
H
H
00
(Sun.) to 06
(Sat.)
H
H
5 MODULE DEDICATED INSTRUCTION
Setting
Setting side
range
0 to 32767
User
1 to 960
User
System
System
System
System
5.4 Network Dedicated Instruction
5
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents