ADVANCED MICRO SYSTEMS, INC. |
Command
Function |
| Type | NV Bytes | |
Terminate Program |
| Immediate | 2 | |
|
|
|
|
|
Mnemonic | Data 1 |
| Data 2 | Result |
|
|
|
| Status |
(Name) |
|
|
| Byte |
(Selective Termination)
This command (pipend: vertical dash
Program Example |
|
|
P 0 |
|
|
0 O |
| Set Origin To Zero |
1 I | 400 | Initial SPS |
4 T | 1000 128 | Set a Trip |
9 M | 5000 | Start Motion |
12 I | 1000 | Change Initial SPS |
15 V | 1000 | Slew |
18 G | 18 | Wait |
21 P | 0 | End Program Flag |
P 128 |
| Trip Routine Start |
128 | +2000 | Decelerate and Index |
133 W | 0 | Wait |
136 Z |
| Show Position |
138 (axis name) | Abort Program (where “axis name” is the selected axis to | |
|
| terminate) |
140 P | 0 | End Program Flag |
S |
| Save Code at 128 |
Issue "GO": The sequence will complete and show the position that the number of extra steps is due to (decelerate) ramp plus a few steps of overhead. The overstep difference is repeatable.
Command | Function |
| Type |
| NV Bytes |
^N | Name Controller |
| None |
| N/A |
|
|
|
|
| |
Mnemonic | Data 1 | Data 2 | Result | ||
| ^N | None | None | None |
^N (Name Axis)
Response to the single character “Ctrl N“ (14 decimal, 0E hex) is immediate.
This command must be executed with one axis attached, otherwise a bus conflict will occur and all axes may receive the same name. On entry of the “Ctrl N” the controller responds with “name?” Type the desired name, the character will be stored in NV memory and the
5 7