3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F or m o r e i nf o r m a t i o n v i s i t : www. e a t o n. c o m
3-425
API Mnemonic
Operands
Function
177
GPS
S, D
GPS Data Receiving
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C D E
F
S
*
*
*
D
*
GPS: 5 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P 32 16 P 32 16
P
Operands:
S
: Sentence identifier for GPS data received
D
: Destination address for feedback data
Description:
1. The GPS instruction receives GPS data from COM1 (RS-232) only, with communication
settings: 9600,8,N,1 protocol: NMEA-0183, and communication frequency: 1Hz.
2. Operand
S
is the sentence identifier for receiving GPS data. K0: $GPGGA, K1: $GPRMC.
3. Operand
D
stores the received data. Up to 17 consecutive words will be used. Please refer to
the table below for a description of each
D
value.
When
S
is set to K0, the sentence identifier $GPGGA is specified. The
D
values are:
No.
Content
Range
Format
Note
D
+ 0
Hour
0 ~ 23
Word
D
+ 1
Minute
0 ~ 59
Word
D
+ 2
Second
0 ~ 59
Word
D
+ 3~4
Latitude
0 ~ 90
Float
Unit: dd.mmmmmm
D
+ 5
North / South
0 or 1
Word
0(+)
Æ
North, 1(-)
Æ
South
D
+ 6~7
Longitude
0 ~ 180
Float
Unit: ddd.mmmmmm
D
+ 8
East / West
0 or 1
Word
0(+)
Æ
East, 1(-)
Æ
West
D
+ 9
GPS data valid / invalid
0, 1, 2
Word
0 = invalid
D
+ 10~11
Altitude
0 ~9999.9
Float
Unit: meter
D + 12~13
Latitude -90
~
90
Float
Unit:
±
dd.ddddd
D + 14~15
Longitude
-180 ~ 180
Float
Unit:
±
ddd.ddddd
z
When
S
is set to K1, the sentence identifier $GPRMC is specified. The
D
values are:
No.
Content
Range
Format
Note
D
+ 0
Hour
0 ~ 23
Word
D
+ 1
Minute
0 ~ 59
Word
D
+ 2
Second
0 ~ 59
Word
D
+ 3~4
Latitude
0 ~ 90
Float
Unit: dd.mmmmmm
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...