![VXI SM8000 Series Скачать руководство пользователя страница 62](http://html1.mh-extra.com/html/vxi/sm8000-series/sm8000-series_user-manual_1057865062.webp)
VXI Technology, Inc.
62
SM8000 Series Programming
30h
Command Name
Move to Absolute Step
Command Format
30h HIGH_BYTE LOW_BYTE
Description
The Move to Absolute Step command sets the position of the stepper motor. The valid
range is 0 - 3200, written in a 2-byte (16-bit) format.
Example
The following example converts a integer decimal step to a
HIGH_BYTE-LOW_BYTE
format:
1.
2485 = 0B1Dh
Convert decimal step number to hexadecimal.
2.
HIGH_BYTE = 0Bh
LOW_BYTE = 1Dh
Convert to HIGH_BYTE and LOW_BYTE format.
31h
Command Name
Query Current Step
Command Format
31h
Description
The Query Current Step command returns the current location of the stepper motor as
a 2-byte (16-bit) value.
Example
The following example shows how to translate the HIGH_BYTE-LOW_BYTE
returned value into a integer decimal step number:
1.
0Bh & 1Dh = 0B1Dh
HIGH_BYTE and LOW_BYTE value to
hexadecimal value.
2.
0B1Dh = 2845
Convert hexadecimal value to an integer decimal
value.
Содержание SM8000 Series
Страница 2: ...VXI Technology Inc 2...
Страница 5: ...VXI Technology Inc SM8000 Series Preface 5...
Страница 8: ...VXI Technology Inc 8 SM8000 Series Preface...
Страница 12: ...VXI Technology Inc 12 SM8000 Series Preface...
Страница 72: ...VXI Technology Inc 72 SM8000 Series Programming...