774
12 NETWORK COMMON INSTRUCTION
12.1 Link Dedicated Instructions
*1 If completion status ((s1)+1) is "Channel in use (dedicated instruction) (error codes: D25AH and D25BH)", data is not stored.
The number of resends (s1)+7 must be set every time the instruction is executed.
Processing details
• The instruction reads data by the specified number of words ((s1)+9) from the target station head device (s2) into the own
station word device (after (d1)). Specify the target stations in control data ((s1)+4) and ((s1)+5). Upon completion of reading
the device data specified by (s2), the completion device specified by (d2) turns on. Upon completion of reading
the device data specified by (s2), the completion device specified by (d2) turns on. In target station, upon completion of
sending the device data specified by (s2), the device specified by (d3) turns on.
• For the target stations that can be specified, refer to the following.
Page 766 Target networks and target station types
• When executing multiple link dedicated instructions concurrently, be careful not to overlap the channels of the link
dedicated instructions. Multiple link dedicated instructions specifying the same channel cannot be used concurrently.
• The execution of the GP.SREAD instruction and whether it has been completed normally or completed with an error can be
checked with the completion device (d2) or completion status indication device (d2)+1.
(s1)+12
Clock data
(Set only in an
abnormal state)
Upper 8 bits: Month (01H to 12H)
Lower 8 bits: Lower 2 digits of year (00H to 99H)
System
(s1)+13
Upper 8 bits: Hour (00H to 23H)
Lower 8 bits: Day (01H to 31H)
System
(s1)+14
Upper 8 bits: Second (00H to 59H)
Lower 8 bits: Minute (00H to 59H)
System
(s1)+15
Upper 8 bits: Upper 2 digits of the year (00H to 99H)
Lower 8 bits: Day of the week (00H (Sun.) to 06H (Sat.))
System
(s1)+16
Error detection network
number
The network number of the station in which an error was detected is stored.
• 1 to 239 (Network number)
System
(s1)+17
Error-detected station
number
The station number of the station where an error was detected is stored. (No
information is stored if an error is detected in the own station.)
• 125: Master station
• 1 to 120: Local station, intelligent device station, submaster station
System
Device
Operation
Completion device (d2)
The device turns on during the END processing for the scan in which the GP.SREAD instruction is
completed, and turns off during the next END processing.
Completion status indication device (d2)+1
The device turns on or off depending on the completion status of the GP.SREAD instruction.
When completed normally: The device does not change (remains off).
When completed with an error: The device turns on during the END processing for the scan in which the
GP.SREAD instruction is completed, and turns off during the next END processing.
Device
Item
Description
Setting range
Set by
SREAD
(d1)
(s2)
FX5-CCLIEF
Ch1
Ch2
FX5 CPU module
CPU module
Network module
[Own station]
[Target station]
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......