
|
|
|
| Appendix D How to Use PLC Function | |||||||
|
|
| LD | X11 | Load A contact of X11 |
|
| ||||
|
|
| OUT | Y10 | Drive Y10 coil |
|
|
| |||
|
| : |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
|
|
| MCR | N0 |
| Disable N0 common series |
|
| |||
|
|
|
|
|
| connection contact |
|
| |||
|
|
|
|
|
|
|
|
|
| ||
Mnemonic |
|
|
| Function |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
LDP |
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
| |||
Operand | X0~X17 | Y0~Y17 | M0~M159 |
| T0~15 |
| C0~C7 | D0~D29 | |||
|
|
|
|
|
|
|
|
|
|
| |
9 | 9 |
| 9 |
|
| 9 |
| 9 | |||
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
Explanations:
Usage of the LDP command is the same as the LD command, but the motion is different. It is used to reserve present contents and at the same time, saving the detection status of the acquired contact
Program Example: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
| Ladder diagram: |
| Command code: | Operation: |
|
| ||||||||||||||
|
|
| X0 | X1 |
|
|
|
|
|
|
|
| ||||||||
|
|
|
| LDP |
| X0 | Start X0 | |||||||||||||
|
|
|
|
|
|
|
|
|
| Y1 |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| AND |
| X1 | Series connection A contact of X1 | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
| OUT |
| Y1 | Drive Y1 coil |
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
| Mnemonic |
|
|
|
|
|
|
|
|
| Function |
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
| LDF |
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
| Operand |
|
|
| X0~X17 |
| Y0~Y17 | M0~M159 |
| T0~15 |
| C0~C7 | D0~D29 | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
| 9 |
| 9 | 9 |
| 9 |
| 9 | |||||||||
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Explanations:
Usage of the LDF command is the same as the LD command, but the motion is different. It is used to reserve present contents and at the same time, saving the detection status of the acquired contact
Program Example:
Revision June 2008, 04EE, |