ADVANCED MICRO SYSTEMS, INC. | ||||||
|
|
|
|
|
| |
Command | Function |
| Type |
| NV Bytes | |
F | Find Home |
| Immediate, Program | 3 | ||
|
|
|
|
| ||
Mnemonic | Data 1 | Data 2 | Result | |||
| ||||||
| (Name) F (n, d) | SPS | Direction (0,1) | None |
F (Find Home)
The special Home algorithm is intended to eliminate mechanical hysteresis typically found in many switches, encoders and is generally present in the form of system mechanical backlash.
The
Normally Open Home Switch
The Find Home step velocity, using a normally open Home switch (actuation from logic high to low) is programmable over the entire slew velocity available, from
Normally Closed Home Switch
The Find Home step velocity, using a normally closed Home switch (actuation from logic low to high) will always be the (I) initial velocity parameter setting. Once the Home switch is actuated all motion ceases and the Homing function is complete. The following table illustrates the possible combinations of switch motion:
|
|
| “d” |
|
|
|
| |
| Home Switch | Parameter | Direction of Motion |
|
| |||
|
|
|
|
|
|
|
|
|
| Normally Open (High to Low) | 0 |
| Negative |
|
|
| |
| Normally Closed (Low to High) | 0 |
| Positive |
|
|
| |
| Normally Open (High to Low) | 1 |
| Positive |
|
|
| |
| Normally Closed (Low to High) | 1 |
| Negative |
|
|
| |
| This command may be implemented within a program. Following, is an example: |
| ||||||
| P 0 | Enter program mode. |
|
|
|
| ||
| F 1000 1 Find the home switch in the “1” direction at a step rate of 1000 SPS. |
| ||||||
| P | Exit program mode. |
|
|
|
| ||
|
|
|
|
|
|
|
| |
Command | Function |
|
| Type |
|
| NV Bytes | |
G | Execute Program |
|
| Immediate, Program | 3 | |||
|
|
|
|
|
|
| ||
Mnemonic |
| Data 1 |
| Data 2 | Result | |||
|
|
|
| |||||
|
| (Name) G (a, t) |
| Trace | None |
G (Go)
The Go command is used to execute a user programmed sequence starting at location “a.” Most programs will start at “0”, however, you may wish to start at another address. The address MUST begin at a stored instruction address, i.e., “go to” data produces unpredictable results.
3 8