PTMAP Response Structure

The response structure is:

typedef struct ptm_rsp

{

    PTM_POINT_STATE state;

    TCHAR        point_id[EXT_ADHOC_POINT_ID_LEN + 1];

    UCHAR        _fill1[2];

    COR_U1       rsp_complete;

    COR_STAMP    timestamp;

    UCHAR        default_data;

    UCHAR        alarm_enabled;

    UCHAR        warning_enabled;

    UCHAR        ack_occurred;

    COR_I2       array_index;

    PTM_DATA     *data;

} PTM_RSP;

Applications may access the fields for the following information:

State

The point state. The state of the point indicates if it is in a normal state, an alarm state, or if the point is unavailable. See the next section for complete documentation on the alarm state.

point_id

Configured point identifier.

timestamp

The time that the point was collected.

data

A pointer to the point data.

The other fields listed in the structure are reserved for use by GE Fanuc.

More information

Access point data.