17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

M1002<br />

MOV H81 D1036<br />

Set communication protocol<br />

as 9600,8,N,1<br />

SET<br />

M1138<br />

Retain communication setting<br />

MOV K2000 D1249<br />

Set receiving time-out as 2s<br />

2. Then enable M0 to execute GPS instruction with sentence identifier $GPGGA<br />

M0<br />

M0<br />

M1314<br />

M1315<br />

SET M1312<br />

GPS K0 D0<br />

Y0<br />

Y1<br />

3. When receiving completed, M1314 = ON. When receiving failed, M1315 = ON. The received<br />

data will be stored in devices starting with D0.<br />

No. Content No. Content<br />

D0 Hour D8 East / West<br />

D1 Minute D9 GPS data valid / invalid<br />

D2 Second D10~D11 Altitude<br />

D3~D4 Latitude D12~D13 Latitude. Unit: ±dd.ddddd<br />

D5 North / South D14~D15 Longitude. Unit: ±ddd.ddddd<br />

D6~D7<br />

Longitude<br />

4. Pin number description on GPS module (LS20022)<br />

Pin No. of GPS 1 2 3 4 5<br />

Definition VCC(+5V) Rx Tx GND GND<br />

5. Pin number description on PLC COM1:<br />

Pin No. of COM1 1 2 3 4 5 6 7 8<br />

Definition VCC(+5V) -- Rx Tx -- -- GND<br />

3-401

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!