Case: Multistage Positioning (Input Terminal Conditions)
When X(11) = 1 upon homing, the servomotor moves to the following position depending on the status of the X(00) to X(03) terminals:
Input terminal | Target position | ||||
---|---|---|---|---|---|
X(03) | X(02) | X(01) | X(00) | Data | |
0 | 0 | 0 | 0 | 0 | P(00) |
0 | 0 | 0 | 1 | 1 | P(01) |
0 | 0 | 1 | 1 | 3 | P(02) |
0 | 1 | 1 | 0 | 6 | P(03) |
1 | 1 | 0 | 1 | 13 | P(04) |
1 | 1 | 1 | 1 | 15 | P(05) |
Other | P(06) |
CodeWindow
DataWindow
(1) | Homing is achieved. |
---|---|
(2) | The program waits until X(11) turns ON. The bits are masked to prevent the X(11) to X(04) terminals from being affected. |
(3)(4) | Since X(00) to X(3) = OFF, the servomotor moves to the P(00) position. |
(11) | The program returns to Step (2) above. |
(2) | The program waits until X(11) turns ON. |
(5)(6) | Since X(00) = ON and X(01) to X(03) = OFF, the servomotor moves to the P(01) position. |
(11)' | The program returns to Step (2) above. |
(2) | The program waits until X(11) turns ON. |
(7)(8) | Since X(00) = ON, X(01) = ON, and X(02) to X(3) = OFF, the servomotor moves to the P(02) position. |
(11)'' | The program returns to Step (2) above. |
(2) | The program waits until X(11) turns ON. |
(9)(10) | Since X(00) = OFF and X(01) to X(3) = ON, the servomotor moves to the P(06) position. |
(11) | The program waits until X(11) turns ON. |
(2) | The program waits until X(11) turns ON. |