ADVANCED MICRO SYSTEMS, INC. |
| ||||||
|
|
|
|
|
|
|
|
Command | Function |
| Type |
| NV Bytes |
| |
[ | Read NV Memory |
| Immediate |
| N/A |
| |
|
|
|
|
|
|
| |
Mnemonic |
| Data 1 | Data 2 | Result |
| ||
|
|
| |||||
|
|
|
|
|
| Displayed |
|
| (Name) [ |
| Address | Sequential Bytes | Values |
|
[(Read NV Memory)
The user may display any byte of the 2047 byte external NV memory. The address specifies the desired location to access. At addresses
This command is normally used external from the controller’s
[ 0 20 The result from this command would be 20 sequential bytes starting at location 0 and finishing at location 19.
Command | Function |
| Type | NV Bytes | |
] | Read Limits, Hardware |
| Immediate, Program | 2 | |
|
|
|
|
| |
Mnemonic | Data 1 |
| Data 2 | Result | |
|
| ||||
| (Name) ] |
| None | Status |
] (Read Limits, Hardware)
This command allows the user to examine the status of the various switch inputs. The result will contain the state of the limit switch inputs and current phase outputs in binary values as follows:
Decimal value: | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Bit position: | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Lb | La | Hm | P5 | P4 | P3 | P2 | P1 |
Where:
La = Limit “a” switch
Lb = Limit “b” switch
Hm= Home switch (32 = low input)
P
“] 1” Read other inputs:
This command reads other inputs; some of which can be used by external applications under the condition that the
Decimal value: | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Bit position: | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| JOG2 | JOG1 | * | * | * | * | * |
The returned number is converted to an
] 0 The result from this command would be in decimal format indicating what I/O port is active.
5 4