9 - 9 9 - 9
MELSEC-Q
9 DEDICATED INSTRUCTIONS
1 For error codes relating to abnormal completion, see Chapter 10 of the User's
Manual (Basic).
2 When setting "Word/byte units designation" by GX Configurator-SC, set the number
of bytes when bytes are designated and set the number of words when words are
designated.
3 The settings are done by either of the following:
• User: Data set by the user before executing the INPUT instructions.
• System: The PLC CPU stores the execution result of the INPUT instructions.
Function
(1) The function stores in the device designated in (D1) and succeeding devices the data
received with the non procedure protocol of the module designated in Un, according
to the control data of the device designated in (S) and succeeding devices.
(2) When an INPUT instruction is executed on a channel, other INPUT instructions
cannot be executed on the channel at the same time.
If an attempt is made during execution of an INPUT instruction to execute another
INPUT instruction, the second instruction will not be executed until the execution
of the first INPUT instruction is completed.
(3) In case of reading the receive data to the same interface, it cannot be used along
with BUFRCVS instruction (for interrupt programs).
(4) Whether an INPUT instruction was completed normally or abnormally can be
checked by the completion device ((D2)) or status display device at completion
((D2)+1).
(a) Completion device: Turns on at the END processing of the scan where the
INPUT instruction is completed, and turns off at the next
END processing.
(b) Status display device
at completion
: Turns on and off depending on the completion status
of the INPUT instruction.
• Normal completion : Off with no change.
• Abnormal completion: Turns on at the END
processing of the scan where
the INPUT instruction is
completed, and turns off at
the next END processing.
[Operation during execution of an INPUT instruction]
Execution of INPUT
instruction
Completion of reception by
an INPUT instruction
ON
ON
OFF
OFF
Sequence
program
INPUT
instruction
Completion device
Status display device
at completion
END
processing
END
processing
Abnormal
completion
Normal
completion
One scan
END
processing
END
processing