20 SERIAL COMMUNICATION INSTRUCTIONS
20.14 Reading User Frames
1719
20
Processing details
• The data of the user frame is read from the module specified by (U).
• The completion status of the G(P).GETE instruction can be checked with the completion device (d) and the completion
status indication device (d)+1.
• The following figure shows how the G(P).GETE instruction operates when completing its execution.
Precautions
• The following table summarizes the processes that take place if another instruction is issued while the G(P).GETE
instruction is active or the G(P).GETE instruction is issued while another instruction is active with the same channel.
• Completion device (d)
This device turns on during END processing of the scan where the G(P).GETE instruction completes, and turns off during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the completion status of the G(P).GETE instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the G(P).GETE instruction completes, and turns off during the
next END processing.
Instruction to execute
concurrently
Possibility of
concurrent execution
Handling for concurrent execution
G(P).ONDEMAND
G(P).OUTPUT
G(P).PRR
G(P).BIDOUT
G(P).BIDIN
G.INPUT
ZP.CSET
G(P).PUTE
A dedicated instruction concurrent execution error (7FF0H) occurs in the second
instruction.
G(P).GETE
The instruction is ignored and does not start processing until the active instruction
completes.
Z.BUFRCVS
G(P).SPBUSY
ZP.UINI
A dedicated instruction concurrent execution error (7FF0H) occurs in the second
instruction.
G(P).CPRTCL
(s2)+0
b15
b8
A
A
B
C
D
E
F
(s2)+1
C
(s2)+2
E
b7
b0
B
D
F
(s1)+3
User frame
CPU module
Reading
a user frame
Serial communication
module
…
…
END
0
0
END
0
END
END
0
END
0
OFF
OFF
OFF
OFF
ON
ON
Sequence scan
G(P).GETE instruction
Completion device (d)
1 scan
Completion of
the instruction
Completed successfully
Completed with an error
Execution of the instruction
Completion status
indication device (d)+1
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......