3. Instruction Set
API Mnemonic Operands Function
177 GPS
GPS data receiving
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
GPS: 5 steps
SS2
X2
SE
SS2
SA2
SX2
SE
SA2
SX2
SE
Operands:
S: Sentence identifier for GPS data receiving D: Destination device for feedback data
Explanations:
1. GPS data receiving instruction is only applicable on COM1 (RS-232), with communication
format: 9600,8,N,1, protocol: NMEA-0183, and communication frequency: 1Hz.
2. Operand S is sentence identifier for GPS data receiving. K0: $GPGGA, K1: $GPRMC.
3. Operand D stores the received data. Up to 17 consecutive words will be occupied and can not
be used repeatedly. Please refer to the table below for the explanations of each D device.
When S is set as K0, sentence identifier $GPGGA is specified. D devices refer to:
When S is set as K1, sentence identifier $GPRMC is specified. D devices refer to: