The PSION Organiser II Homepage
Forum Home Forum Home Help Help Search Search Members Members Login Login Register Register

Welcome, Guest. Please Login or Register.
Why register?
   The Psion Organiser II Forum
   User Forum
   General
(Moderator: Mikesan)
   Communication between PsionII and surveying Instr
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Communication between PsionII and surveying Instr  (Read 129 times)
Nikos_Athens
Member




   
Email

Posts: 15
Communication between PsionII and surveying Instr
« on: Nov 11th, 2018, 5:12pm »
Quote Quote Modify Modify

Hello. I am looking for a sample routing to communicate Psion II with my South total station (surveying instrument).I have one routine like this to communicate Psion II with Topcon, Nikon and Sokkisha total stations. It supposed that routine for Topcon total stations would work with South but it doesn't. Can anyone helps.
Thank you.
MartinReid
Mega Power Member




   
WWW

Posts: 116
Re: Communication between PsionII and surveying In
« Reply #1 on: Nov 12th, 2018, 5:36pm »
Quote Quote Modify Modify

Dear Nikos
 
Post the model number of your south total station.
 
(1) the thesourcerer gave me some data packs with different surveying software on them. I can look though their set-up options and look for a South.
 
(2) I've found the Souths manuals page but need a log ID to download your manual so I can look at the comms port.
http://www.southinstrument.com/support/download.asp?pid=28#
 
Check out Jaaps manuals..
 
(a) NRG Surveys Software
Setting Up Instruments to Transmit
all Wild instruments
Geotronics instruments
opcon GTS3B
Sokkisha or Pentax instruments
 
 
(b) National Survey Software's LZ Engineer
there is a section.. Using a total station
You can try LZ Engineer in Jape and look in the options setting for a South
 
Anyway I'll look on the data packs when I can
 
Sincerely and in good faith
Martin Reid
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #2 on: Nov 12th, 2018, 5:50pm »
Quote Quote Modify Modify

Hello MartinReid.
First of all thank you for your reply.
The model of my South total station is NTS 365.
Is NTS 360 series.
As I have written in my first post, I have a routine for Topcon instruments comminication. When I use this routine with my South total station, the instrument takes the signal from my psion II (lz) and starts to measure. But doesn't send the measurment back to Psion as it happens with Topcon instruments.
MartinReid
Mega Power Member




   
WWW

Posts: 116
Re: Communication between PsionII and surveying In
« Reply #3 on: Nov 13th, 2018, 11:52am »
Quote Quote Modify Modify

Dear Nikos
 
I think this is very promising for a 1980's organiser to be 'talking' to a 2009 Surveying Instrument.
 
I think we may get some clues from the 'comms section' of the South NTS 360 manual, can you log in to their web-site and see if you can get a PDF of the manual then we can have a look. Or you could scan the appropriate section of your manual and post it so we can have a look.
 
Hardware:
When we were connecting an LZ to a pen plotter (to plot the survey plans) we had to mess with DIP switches (https://en.wikipedia.org/wiki/DIP_switch) to get the correct pins to align. Have a look at Japp's Comms Link Manual (1989) pin assignments in the Adaptors section. It looks like pin 3 is transmitting but maybe pin 2 in not playing nicely. The manual may confirm the pins.
 
Software:
Also, If we were able to set the '2 Communications parameters' on the comms link - does your communication routine for the Topcon instruments reset them. Understanding this may help by either setting the parameters in the routine or in the comms link. You could check this by (making a record and) setting the parameters and seeing if they are altered after connecting to the South.
 
Is the 'routine for Topcon instruments' written in OPL or is it translated (OB3). We could see if that is setting parameters.
 
Check out Jaaps - software by others
DumpPack CM/XP/LZ Boris Cornet Transfer pack via comms link to an OPK file on PC
bin2opl PC ?    Converts machine code into an OPL procedure.
 
If you have access to an older IBM PC with a COM1 port then the Developer Kit Manual (1989) section 5. Loading a pack to the PC: UNMAKE shows how we can break this pack into its component files. So we can look to see if it is setting parameters.
 
Anyway that's enough to be going on with
Sincerely and in good faith.
Martin
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #4 on: Nov 13th, 2018, 12:41pm »
Quote Quote Modify Modify

Hello again Martin.
The folowing routine works perfect with Topcon instruments.
 
topcon:  
 
LOCAL C$(6),AK$(6),DT$(57),HDF$(8),HDFC$(8)  
LOCAL SDF$(8),SDFC$(8),Z12$(8),DD$(8),BC$(4),F$(253),data$(60),BCC$(4)
LOCAL V$(9),HA$(9),sd$(9),sd,Vang,Hangle  
LOCAL b%,i%,q%,s%,b1%,b2%
 
HDF$="Z44090"+CHR$(3)  
HDFC$="Z42092"+CHR$(3)  
SDF$="Z34093"+CHR$(3)  
SDFC$="Z32091"+CHR$(3)  
Z12$="Z12089"+CHR$(3)  
C$="C067"+CHR$(3)  
AK$=CHR$(6)+"006"+CHR$(3)  
 
CLS :BEEP 250,250  
PRINT "Press the [EXE] key"  
get  
 
LSET: (1200,2,7,1,0,0,-1,-1,-1,-1,-1,-1,-1,-1,2)  
com::  
LPRINT SDFC$  
pause 5  
LPRINT C$  
F$=LINPUT$: (57)  
IF LEFT$(F$,5)=AK$ :PRINT "Ok" :ENDIF  
DT$=LINPUT$: (57)  
LPRINT AK$  
dt$=left$(data$,45) :bc$=mid$(data$,46,3) :gosub bcc::  
if bc$<>bcc$
goto daterr::
endif
 
 
LSET: (9600,2,7,1,0,0,-1,-1,-1,-1,-1,-1,CHR$(9)+" ",-1,2)  
 
ha$=mid$(dt$,20,7) :v$=mid$(dt$,12,7) :sd$=mid$(dt$,4,7)  
ha$=left$(ha$,3)+"."+mid$(ha$,4,4) :v$=left$(v$,3)+"."+mid$(v$,4,4)  
sd$=left$(sd$,4)+"."+mid$(sd$,5,3)  
sd=val(sd$) :vang=val(v$) :Hangle=val(ha$)  
 
cls :beep 500,500  
print "H angle :";Hangle  
print "V angle :";vang  
print "Distance :";sd  
get  
stop  
 
BCC::  
B%=0 :I%=0        
  DO  
I%=I%+1  
Q%=ASC(MID$(dt$,I%,1))  
B1%=Q% AND (NOT B%)  
B2%=B% AND (NOT Q%)  
B%=B1% OR B2%  
  UNTIL I%=LEN(dt$)  
BCC$=GEN$(B%,10)  
BCC$=RIGHT$("000"+BCC$,3)  
RETSUB  
 
daterr::
cls  
print "Comms error"  
get
stop
 
 
I have read the operating manual of my South instrument.
Settings and strings that must be send to instrument is exactly the same. When I send the string to South instrument the instrument starts to measure.
But it doesn't send back the meaurment to Psion II.
« Last Edit: Nov 13th, 2018, 2:51pm by Nikos_Athens »
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #5 on: Nov 13th, 2018, 1:04pm »
Quote Quote Modify Modify

You can download the operation manual from the folowing address.
http://www.surveytechtrading.com/downloads/manual/TS/NTS360%20Operation% 20Manual.PDF
In last pages of this manual you can find communication info.
Thank you again.
Nikos.
MartinReid
Mega Power Member




   
WWW

Posts: 116
Re: Communication between PsionII and surveying In
« Reply #6 on: Nov 13th, 2018, 1:57pm »
Quote Quote Modify Modify

Dear Nikos
 
Check the settings in Data Transfer pages 131 to 136.
 
I'm at a loss to how the routine above TRANSlated. To my knowledge there is no GOSUB or RETSUB in OPL!
 
Sincerely
Martin
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #7 on: Nov 13th, 2018, 3:03pm »
Quote Quote Modify Modify

Hello again Martin.
There is no GOSUB or RETSUB command in OPL indeed.
But there is a compiler that is made by a man from Spain I think.
I have found this compiler in this site many years ago.
It is called ATRAN.EXE.
It is an msdos exe file and compiles opl files to ob3.
You have to type for example ATRAN topcon -a and produces a topcon.ob3 file from
topcon.opl .
I don't know how to attach this file here.
If you would like to have this compiler please tell me how to attach it here.
Nikos.
jaap
Power Member




   
WWW

Posts: 55
Re: Communication between PsionII and surveying In
« Reply #8 on: Nov 14th, 2018, 1:22am »
Quote Quote Modify Modify

Atran can be found here:
https://www.jaapsch.net/psion/software/pc2/atran.zip

Jaap Scherphuis
https://www.jaapsch.net/psion/
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #9 on: Nov 14th, 2018, 9:59am »
Quote Quote Modify Modify

Thank you very much Jaap
MartinReid
Mega Power Member




   
WWW

Posts: 116
Re: Communication between PsionII and surveying In
« Reply #10 on: Nov 14th, 2018, 12:29pm »
Quote Quote Modify Modify

on Nov 14th, 2018, 1:22am, jaap wrote:
Atran can be found here:
https://www.jaapsch.net/psion/software/pc2/atran.zip

 
Yes I saw that.. thanks Jaap
 
I've just read the operating txt, very interesting, it's been there all this time (Barcelona 9-11-90) and I never knew. What use would I have made of GOSUB?
 
Bemused
Martin
 
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #11 on: Nov 14th, 2018, 1:28pm »
Quote Quote Modify Modify

Never is too late Martin.
I still use PsionII LZ to collect data from surveying instruments.
And I do my work much better with my software than the software of instruments.
So start to modify all your software now.
Nikos.
MartinReid
Mega Power Member




   
WWW

Posts: 116
Re: Communication between PsionII and surveying In
« Reply #12 on: Nov 14th, 2018, 1:43pm »
Quote Quote Modify Modify

Dear Nikos
 
I'm back now; I got a little distracted with the other stuff.
 
(1) Page 132 of your manual has the COMM PARAMETERS
(2) I see the setting for LSET: (1200,2,7,1,0,0,-1,-1,-1,-1,-1,-1,-1,-1,2) in the routine
 
LSET:(Baud%,Parity%,Bits%,Stop%,Hand%,Echo%,Width%,Reol$,Reof$,Rtrn$,Teo l$,Teof$,Ttrn$,Timeout%,Protocol%)
 
Baud%  1200
Parity% 2 (EVEN)
Bits% 7 (7 BIT DATA)
Stop% 1 (1 STOP BIT)
Hand%  0 (NONE)
Echo%  0 (LOCAL)
Protocol%  2 (PSION)
 
You will have checked that the (comms parameters) and (lset) values are the same. Also I was of the opinion that PSION protocol expected CL.exe (or Psi2Win) to take control over all other handshaking etc. I can't imagine that the total station has PSION protocol, that would be the first one I would change after checking the Baud rate.
 
Also
SDFC$="Z32091"+CHR$(3)
LPRINT SDFC$
 
Z32091_ may be a code specific to the Top Con, something like - be ready to send! It may be a different code on the South
 
I assume you have consulted (3) Real time communication on Page 167
 
I'll leave it with you for a while
Sincerely and in good faith
Martin
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #13 on: Nov 14th, 2018, 1:59pm »
Quote Quote Modify Modify

Thank you very much Martin for your help.
I'll let you know if I have some success.
Have a nice evening.
Nikos.
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #14 on: Dec 2nd, 2018, 5:37pm »
Quote Quote Modify Modify

Hello again Martin.
There are two choises for Protocol in South intstruments settings.
1) Ack/Nak 2) One Way
Psion protocol choises are 0(NONE) , 1(XMODEM) , 2(PSION).
What have I to do?
MartinReid
Mega Power Member




   
WWW

Posts: 116
Re: Communication between PsionII and surveying In
« Reply #15 on: Dec 2nd, 2018, 6:20pm »
Quote Quote Modify Modify

Dear Nikos
 
Read this...
 
Search Wikipedia for "Acknowledgement (data networks)"
 
and
 
Read this - particularly the Transfer details section https://en.wikipedia.org/wiki/XMODEM
 
Checkout handshaking here... https://www.jaapsch.net/psion/mancomms2.htm and see if you're receiving anything!
 
Then let me know what you think.
 
Sincerely
Martin
 
PS what relationship to Nick_Kostelidis - Athens Greece
Nikos_Athens
Member




   
Email

Posts: 15
Re: Communication between PsionII and surveying In
« Reply #16 on: Dec 2nd, 2018, 7:02pm »
Quote Quote Modify Modify

I am Nick Kostelidis.
I had made this membership (Nick_Kostelidis) many years ago.
Two years ago I wanted to ask for something here but I had forgoten my user name.So  I asked Mikesan to make a new membership for me with user name "Nikos Athens".
A few weeks ago I was watching the members list and I found my old username. So I use my old username sometimes in ordrer to keep it "alive".  
Now as far as the South - Psion II communication is concerned, I am very disappointed. South instrument's behavior is very nondescript.
As I told you I have made comms routines for Topcon instrumens, for Sokkia - Sokkisha instruments and for Nikon instruments too.
The instruments of these brands have a normal behavior as is being written in instruction manuals. I remember sometime I had a problem with Topcon communication, I asked for help from the company and they helped very much. I send emails to South company in china , in India , in USA but I take no answer.
Anyway. I ll see what I will do.
In any case I thank you for your help.
All the best.
Nikolaos (Nikos) Kostelidis.
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

The Psion Organiser II Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2002,
Xnull. All Rights Reserved.
top