Function: Sread Instruction Overview; Target Stations That Can Be Specified/Checking The Execution Status Of The Sread Instruction - Mitsubishi Electric QJ71GF11-T2 User Manual

Melsec-q series cc-link ie field network master/ local module
Table of Contents

Advertisement

(2) Function
(a) SREAD instruction overview
The instruction reads data by the specified number of words (control data ((S1)+9)) from the target station start
device (S2) into the own station word devices (after (D1)).
Specify the target stations in control data ((S1)+4 and (S1)+5).
When the reading of the data specified in (S2) is completed, the following devices are turned on.
• Own station: Completion device (D2)
• Target station: Read notification device (D3)
[Own station]
CPU module
(D1)
SREAD
(b) Target stations that can be specified
For details on target stations which can be specified, refer to the following.
Page 236, Section 10.1 (1)
(c) Checking the execution status of the SREAD instruction
The execution status (completion or error) of the SREAD instruction can be checked using the following
devices specified in the setting data.
• Completion device (D2)
This device turns on in the END process of the scan where the SREAD instruction is completed and turns
off in the next END process.
• Completion status indication device ((D2)+1)
If the SREAD instruction fails, this device turns on in the END process of the scan where the SREAD
instruction is completed and turns off in the next END process.
[Target station]
Master/local module
(S2)
Channel 1
Channel 2
CHAPTER 10 DEDICATED INSTRUCTIONS
CPU module
Network module
10
259

Advertisement

Table of Contents
loading

Table of Contents