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
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] |
|
|
|
|
|
|
|
|
|
| |||||||
Sequence | END |
|
| END | END |
| END | ||||||||||
processing |
|
| processing | processing | processing | ||||||||||||
program |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Execution of INPUT |
|
|
| Completion of reception by | ||||||||
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
| instruction |
|
|
| an INPUT instruction | ||||||
INPUT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instruction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| ON |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Completion device | OFF |
|
|
|
|
|
|
|
| Abnormal |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| ON | completion | |||||
Status display device | OFF |
|
|
|
|
|
|
|
|
|
|
|
|
| |||
at completion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| Normal |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| completion |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| One scan |
|
|
|
|
9 - 9 | 9 - 9 |