Version
The version string is in the form of v1.5.x.x and the current
version of the API is 1.5.0.114.
Format
The format string determines what format the data is returned in.
The API can currently provide data in the following formats:
Data
The data being requested. The following data is available via the
api:
Paramaters
A parameter to the request. Different data requests have
different parameter sets.
Field | Type | Unit | Description |
---|---|---|---|
mode | integer | LN270 mode word | The LN270 mode word. |
status | integer | LN270 status word | The LN270 status word. |
roll | float | degree | The roll angle. |
pitch | float | degree | The pitch angle. |
yaw | float | degree | The yaw angle. |
shearerSpeed | float | m/s | The speed of the shearer. |
shearerDirection | integer | 0 towards MG 1 toward TG | The direction of the shearer. |
shearerOdometry | float | m | |
rightDrum | integer | mm | |
leftDrum | integer | mm | |
logTime | integer | unix timestamp | Timestamp record was logged by the SPMS. |
tstamp | string | timestamp | Timestamp when the record was received on the surface. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The id of the record to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/1000 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | Record ID | |
mode | integer | LN270 mode word | |
status | integer | LN270 status word | |
logTime | integer | unix timestamp | Timestamp record was logged by the SPMS. |
tstamp | string | timestamp | Timestamp when the record was received on the surface. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The id of the profile record to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/no limit | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | Profile ID | |
status | integer | Bit flags | |
leadLag | integer | mm | The lead or lag applied to this profile. Note this data will be cleared when the profile is rebuilt. |
creep | integer | mm | Not currently implemented. |
retreat | integer | mm | Not currently implemented. |
altitude | float | m | The maingate altitude. |
logTime | integer | unix timestamp | Timestamp first maingate record was logged by the SPMS. |
tstamp | string | timestamp | Timestamp when the profile was built and logged into the database. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
roll | float | deg | |
pitch | float | deg | |
yaw | float | deg | |
easting | float | m | |
northing | float | m | |
floor | float | m | |
roof | float | m |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/100 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
support | integer | support number | |
face | integer | mm | Each column represents a face profile with the header row containing the profile ID. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
support | integer | support number | |
face | integer | mm |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
support | integer | support number | |
desired | integer | mm |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
support | integer | support number | |
face | integer | mm | |
desired | integer | mm |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
horizon floor | float | m | Absolute height. |
horizon roof | float | m | Relative height from floor. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
snapped floor | float | m | Absolute height. |
snapped roof | float | m | Relative height from floor. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
predicted floor | float | m | Absolute height. |
predicted roof | float | m | Relative height from floor. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
required floor | float | m | Absolute height. |
required roof | float | m | Relative height from floor. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
adjustments floor | float | mm | Absolute height. |
adjustments roof | float | mm | Relative height from floor. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
gradients floor | float | deg | |
gradients roof | float | deg |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
desired floor | float | m | |
desired roof | float | m |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
Field | Type | Unit | Description |
---|---|---|---|
odometry | float | m | |
horizon floor | float | m | Absolute height. |
horizon roof | float | m | Relative height from floor. |
desired floor | float | m | |
desired roof | float | m | |
snapped floor | float | m | Absolute height. |
snapped roof | float | m | Relative height from floor. |
predicted floor | float | m | Absolute height. |
predicted roof | float | m | Relative height from floor. |
required floor | float | m | Absolute height. |
required roof | float | m | Relative height from floor. |
gradients floor | float | deg | |
gradients roof | float | deg | |
gradients floor | float | deg | |
gradients roof | float | deg | |
desired floor | float | m | |
desired roof | float | m |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The id of the record to return. -1 returns the current record (-2 previous record etc). |
source | integer | -1/na | The record source type to return. -1 returns all record types 0 returns RPC records 1 returns Face Profile records 2 returns Horizon Adjustment records 3 returns Extracted Floor records 4 returns Floor Gradient records |
limit | integer | 1/20 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | Record ID | |
type | integer | source type | As per request parameter description. |
sequence | integer | Profile ID | LASC current profile ID when data was transmitted. Note that this may differ from the sequence number transmitted in the data payload (i.e. when error payloads are transmitted). |
result | integer | EIP error code | |
data | string | hex | The data payload as a hex string. |
timestamp | string | timestamp |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The id of the event to return. -1 returns the current record (-2 previous record etc). |
source | integer | -1/na | The event source to return records for. -1 returns all sources 1 returns SPMS Client event records 2 returns NDP event records 3 returns OCD event records 4 returns OEM Interface event records 5 returns MUPS event records 6 returns IIB event records 7 returns SPMS event records 8 returns Montioring Service event records 256 returns LASC event records 257 returns Face Alignment event records 258 returns Horizon Control event records 515 returns non control OCD event records |
limit | integer | 1/1000 | The number of event records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | Event ID | |
source | integer | event source type | As per request parameter description. |
code | integer | event code | |
type | integer | event type | |
description | string | Description of the event | |
data | string | Any debug data associated with the event. | |
timestamp | string | timestamp | Timestamp when the event was generated. |
logged | string | timestamp | Timestamp when the event record was logged to the database. |
Field | Type | Default/Max | Description |
---|---|---|---|
source | integer | -1/na | The component to the status of. -1 returns all components 1 returns the SPMS Client component 2 returns the NDP component 3 returns the OCD component 4 returns the OEM Interface component 5 returns the MUPS component 6 returns the IIB component 7 returns the SPMS component 8 returns the Montioring Service component 256 returns the LASC component 257 returns the Face Alignment component 258 returns the Horizon Control component 515 returns the non control OCD component |
Field | Type | Unit | Description |
---|---|---|---|
componentId | integer | component id | As per request parameter description. |
statusId | integer | status id | |
name | string | component name | |
description | string | Description of status. | |
state | integer | state id | |
stateDescription | string | Description of the current state. | |
logged | string | timestamp | Timestamp when the state first occured. |
updated | string | timestamp | Timestamp when the state last occured. |
Field | Type | Unit | Description |
---|---|---|---|
name | string | ||
status | integer | status word | |
mode | string | cutting mode | |
orientation | string | Maingate orientation | |
width | integer | m | |
heading | float | deg | |
easting | float | m | |
northing | float | m | |
zone | string | ||
altitude | float | m | |
length | float | m | |
supports | integer | number of supports | |
advance | float | m | |
discontThreshold | integer | m | |
mgEntry | integer | m | |
mgExit | integer | m | |
tgEntry | integer | m | |
tgExit | integer | m | |
pointsPerMetre | integer | m | |
shearerLeft | integer | m | |
shearerRight | integer | m | |
shearerOffset | float | m |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/45 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | record number | |
sequence number | integer | LASC profile id | |
eip result | integer | EIP result code | |
timestamp | string | timestamp | |
first column | integer | support number | First column represents the support number |
rpc | integer | mm | Each subsequent column represents a RPC profile. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/45 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | record number | |
sequence number | integer | LASC profile id | |
eip result | integer | EIP result code | |
timestamp | string | timestamp | |
first column | integer | support number | First column represents the support number |
rpc | integer | mm | Each subsequent column represents a FP profile. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/45 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | record number | |
sequence number | integer | LASC profile id | |
eip result | integer | EIP result code | |
timestamp | string | timestamp | |
first column | integer | index number | First column represents the index. |
mg floor | integer | mm | Maingate floor. |
mg roof | integer | mm | Maingate roof. |
tg floor | integer | mm | Tailgate floor. |
tg roof | integer | mm | Tailgate roof. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/45 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | record number | |
sequence number | integer | LASC profile id | |
eip result | integer | EIP result code | |
veritical offset | integer | ||
timestamp | string | timestamp | |
first column | integer | index | First column represents the index number |
ef | integer | mm | Each subsequent column represents a EF profile. |
Field | Type | Default/Max | Description |
---|---|---|---|
id | integer | -1/na | The profile id to return. -1 returns the current record (-2 previous record etc). |
limit | integer | 1/45 | The number of records to return. |
Field | Type | Unit | Description |
---|---|---|---|
id | integer | record number | |
sequence number | integer | LASC profile id | |
eip result | integer | EIP result code | |
timestamp | string | timestamp | |
first column | integer | index | First column represents the index number |
floor gradient | integer | ||
roof offset | integer |