CONFIG_COCKPIT_EX

This is a structure information for cockpit setting and consists of the following fields.

BYTE#

Field Name

Data Type

Value

Remarks

0

_bEnable

unsigned char

Enable flag for Cockpit mode
(0: Disable, 1: Enable)

1

_iButton[2]

unsigned char[2]

Defines the function mapping for Cockpit buttons
0: Direct Teach
1: TCP-Z
2: TCP-XY
3: Orientation Only
4: Position Only

3

_bRecoveryTeach

unsigned char

Enables or disables Recovery Teach mode
(0: Disable, 1: Enable)

Total size: 4 bytes

Defined in: DRFS.h

typedef struct _CONFIG_COCKPIT_EX
{
    /* disable: 0, enable: 1 */
    unsigned char  _bEnable;
    /* Direct Teach: 0, TCP-Z: 1, TCP-XY: 2, Orientation Only: 3, Position Only: 4 */
    unsigned char  _iButton[2];
    /* disable: 0, enable: 1 */
    unsigned char  _bRecoveryTeach;
} CONFIG_COCKPIT_EX, *LPCONFIG_COCKPIT_EX;