Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
SYPT PRO User Guide / SYPT PRO User Guide.doc
Скачиваний:
244
Добавлен:
03.03.2016
Размер:
17.32 Mб
Скачать

ApcInvertFbckSource

This command inverts the feedback source position, after the source counter [40], but before the integrated counter [48]. This command is active when the source feedback invert flag [47] is 1.

Return Values

Status%

Value

Meaning

0

The operation failed.

1

The operation succeeded.

Target/ Language Restrictions

This operation is only available on SM-Applications and SM-Applications Lite.

See Also (Reference and Feedback Encoder)

  • APCSetReferenceSource

  • APCSetFeedbackSource

  • APCSetNumOfTurnsBits

  • APCEnableRefSourceMarker

  • APCDisableRefSourceMarker

  • APCEnableFbckSourceMarker

  • APCDisableFbckSourceMarker

  • APCResetRefSourceMarkerFlag

  • APCResetFbckSourceMarkerFlag

  • APCResetRefSourceFreezeFlag

  • APCResetFbckSourceFreezeFlag

  • APCInvertRefSource

  • APCDoNotInvertRefSource

  • APCDoNotInvertFbckSource

  • APCSetReferencePosition

  • APCSetFeedbackPosition

  • APCGetReferenceStatus

  • APCGetFeedbackStatus

The Advanced Position Controller information given in this help file should only be used as a quick reference guide. For further information please refer to the Advanced Position Controller User Guide which is available via the DPL Editor's Help menu.

________________________________________________________________________________

ApcDoNotInvertFbckSource

This command cancels a feedback source position invert (APCInvertFbckSource, [47] = 1), and makes the feedback non-inverted. This command is active when the source feedback invert flag [47] = 0.

Return Values

Status%

Value

Meaning

0

The operation failed.

1

The operation succeeded.

Target/ Language Restrictions

This operation is only available on SM-Applications and SM-Applications Lite.

See Also (Reference and Feedback Encoder)

  • APCSetReferenceSource

  • APCSetFeedbackSource

  • APCSetNumOfTurnsBits

  • APCEnableRefSourceMarker

  • APCDisableRefSourceMarker

  • APCEnableFbckSourceMarker

  • APCDisableFbckSourceMarker

  • APCResetRefSourceMarkerFlag

  • APCResetFbckSourceMarkerFlag

  • APCResetRefSourceFreezeFlag

  • APCResetFbckSourceFreezeFlag

  • APCInvertRefSource

  • APCDoNotInvertRefSource

  • APCInvertFbckSource

  • APCSetReferencePosition

  • APCSetFeedbackPosition

  • APCGetReferenceStatus

  • APCGetFeedbackStatus

The Advanced Position Controller information given in this help file should only be used as a quick reference guide. For further information please refer to the Advanced Position Controller User Guide which is available via the DPL Editor's Help menu.

________________________________________________________________________________

ApcSetReferencePosition

This command sets the user reference source position. This user reference position is used when reference source selector is set to 4, set by the command APCSetReferenceSource(4).

Arguments

Turns%

The number of turns.

Pos%

Coarse position in encoder counts. The lower 16-bits of the value are treated as a signed 16-bit value. Bits 16 to 31 are ignored.

Pos%

Fine position in encoder counts. The lower 16-bits of the value are treated as a signed 16-bit value. Bits 16 to 31 are ignored.

Return Values

Status%

Value

Meaning

0

The operation failed.

1

The operation succeeded.

-3

Another process is modifying the reference source.

Target/ Language Restrictions

This operation is only available on SM-Applications and SM-Applications Lite.

See Also (Reference and Feedback Encoder)

  • APCSetReferenceSource

  • APCSetFeedbackSource

  • APCSetNumOfTurnsBits

  • APCEnableRefSourceMarker

  • APCDisableRefSourceMarker

  • APCEnableFbckSourceMarker

  • APCDisableFbckSourceMarker

  • APCResetRefSourceMarkerFlag

  • APCResetFbckSourceMarkerFlag

  • APCResetRefSourceFreezeFlag

  • APCResetFbckSourceFreezeFlag

  • APCInvertRefSource

  • APCDoNotInvertRefSource

  • APCInvertFbckSource

  • APCDoNotInvertFbckSource

  • APCSetFeedbackPosition

  • APCGetReferenceStatus

  • APCGetFeedbackStatus

The Advanced Position Controller information given in this help file should only be used as a quick reference guide. For further information please refer to the Advanced Position Controller User Guide which is available via the DPL Editor's Help menu.

________________________________________________________________________________