Linx Technologies RXM-GPS-SG User Manual

Page 12

Advertising
background image

Page 23

The receiver outputs a response to this command. The table below contains the
response for the above command:

$PLSR,200,1,2,300,1000,300000,30000*02

For some further examples of this command:

n Query the power management mode

Input command: $PLSC,200,0*0E

Output response: $PLSR,200,1,1*03

202 – StaticNavigation

This command is used to query, enable, and disable static navigation. The table
below contains the values for the following example to disable static navigation:

$PLSC,202,2*0E

The table below contains the response for the above command:

Name

Example

Units

Description

MID

$PLSR,200

Message ID

Valid

1

0: command invalid, 1: command valid

Mode

2

See Table 22

OnTime

300

Display when mode = 2

LP Interval

1000

Display when mode = 2

MaxAcqTime

300000

Display when mode = 2

MaxOffTime

30000

Display when mode = 2

Checksum

*02

<CR> <LF>

End of message termination

Table 23: Power Management Response Example

Page 22

211 – SetIO

The table below contains the values for the following example to set GPIO 1 as
an input:

$PLSC,211,1,0,0*0F

The receiver outputs a response to this command. The table below contains the
response for the above command:

For some further examples of this command:

n Set GPIO 1 as an Input

Input command: $PLSC,211,1,0,0*0F

Output response: $PLSR,211,1*1E

n Set GPIO 1 as an output, initial state low

Input command: $PLSC,211,1,1,0*0E

Output response: $PLSR,211,1*1E

NOTE

1. If the message ID is not recognized, the response will be “$PLSR,999,0,ERROR*60”
2. If the value is not allowed, the response will be “$PLSR,MID,0,ERROR*CS”
3. All GPIOs default to inputs on power-up and reset.

Name

Example

Units

Description

MID

$PLSC,211

Message ID

GPIO
Number

1

Number of the GPIO line to set. Only one
line can be set at a time.

Direction

0

Direction; 0 = Input; 1 = Output

State

0

Set to 1 if the direction is an output; the
value does not matter if the direction is an
input.

Checksum

*0F

<CR> <LF>

End of message termination

Table 26: SetIO Example

Name

Example

Units

Description

MID

$PLSR,211

Message ID

Valid

1

0: command invalid, 1: command valid

Checksum

*1E

<CR> <LF>

End of message termination

Table 27: SetIO Response Example

Name

Example

Units

Description

MID

$PLSR,202

Message ID

Command

1

0: Query, 1: Enable (default), 2: Disable

Checksum

*02

<CR> <LF>

End of message termination

Name

Example

Units

Description

MID

$PLSR,202

Message ID

Valid

1

0: command invalid, 1: command valid

Result

2

0: command failed, 1: static navigation
enabled, 2: static navigation disabled

Checksum

*1E

<CR> <LF>

End of message termination

Table 24: StaticNavigation Example

Table 25: StaticNavigation Response Example

Advertising