Mitsubishi Electronics QJ71C24/-R2 Network Card User Manual


 
9 - 20 9 - 20
MELSEC-Q
9 DEDICATED INSTRUCTIONS
Function
(1) This function clears reception data in the OS area. It does not clear the user data
reception area in the buffer memory.
(2) If the CSET instruction is executed while the read request (X03/X0A) or reception
abnormal detection signal (X04/X0B) is turned on, the CSET instruction is kept
waiting until the signal is turned off.
(3) The status of the CSET instruction, whether it is being executed or completed
normally/abnormally, can be checked by the complete device (D2) specified by
the setting data.
(a) Complete device ((D2) + 0)
This device turns on at the End processing of the scan at which the CSET
instruction is completed and turns off at the next End processing.
(b) Complete device ((D2) + 1)
It turns on/off by the status at which the CSET instruction is completed.
• At normal completion: It is kept turned off and does not change.
• At abnormal completion: It turns on at the END processing of the scan at
which the CSET instruction is completed and
turns off at the next END processing.
[Operation at execution of CSET instruction]
Scan
Sequence program
Q series C24
At abnormal completion
End
processing
Scan Scan
CSET instruction
Complete device
Complete device+1
Execution of instruction
Setting processing
End
processing
End
processing
Error
(1) If the dedicated instruction is abnormally completed, the error flag (SM0) turns on
and the error code is stored in SD0.
See the following manuals according to the error code, and check/take action
according to the error.
<Error code>
4FFF
H
or less
: QCPU User's Manual
(Hardware Design, Maintenance and Inspection)
7000
H
or more: Section 10.2 of the User's Manual (Basic)