remote contro of H101

Safety e-Base Forum

remote contro of H101

Postby giovanniclemente » Thu Apr 14, 2011 1:35 pm

Hi, I need to control the tester H101 from a PC. Is it possible have a more detailed documentation than that supplied with the tester together with some pieces of example source code.
giovanniclemente
 
Posts: 1
Joined: Thu Apr 14, 2011 1:17 pm

Re: remote contro of H101

Postby Julie Jones » Mon Apr 18, 2011 11:34 am

Good Morning Giovannicalemente,
please see the E-mail I have sent you,
Julie Jones
 

Re: remote contro of H101

Postby Lagosr » Thu Jul 21, 2011 6:47 pm

Hi, me too, I need control the tester H101 from PC (RS232). Could you send me a more information or example, please.

Thanks
Lagosr
 
Posts: 1
Joined: Thu Jul 21, 2011 6:43 pm

Re: remote contro of H101

Postby stevethomas » Thu Jul 28, 2011 5:16 pm

I am currently implementing some software to control the H104 remotely, using LabWindows/CVI. The information in the manual is a bit sketchy, and keeps referring to example software that doesn't seem to exist. Having immersed myself fully in the manual, the only things I'm still uncertain about are maximum lengths to allocate for strings in commands and responses. In particular, I've not been able to find the value of ARRAYSZ_SSS_PASSWORD (page 137, data associated with the session start command...)

Still struggling with this. I've now got hold of the example software (Thanks Matthew) and the string I'm sending to the HAL is 00100000000E000000000000000000000000000037CB, with a carriage return on the end (no password).
No response is received. I've tried copying this string into Hyperterminal and sending it from there, but still nothing.
Baud rate is 9600, data bits 8, stop bits 1, no parity. The HAL is in its default power-up state.
If I calculate the crc16 including the two crc bytes, the result is 0000, so I know the crc16 calculation is working as expected.
Has anyone managed to get a response from the HAL?
I've just been looking at this at home (we don't have VC++ 9 at work), and I realised that my code doesn't send the "\x11\x11\x01\x02\x03\x01\x02\x03" sequence first. I'll try this when I get into the office tomorrow. I'll also try using a non-zero sequence number.
stevethomas
 
Posts: 4
Joined: Thu May 19, 2011 4:47 pm

Re: remote contro of H101

Postby stevethomas » Tue Aug 09, 2011 3:26 pm

Progress at last!
For anyone else who is having problems with this:
The CRC is calculated using a CRC16-CCITT algorithm. There are a couple of these published on the web. The initial value is 0xffff.
The tester does not respond to RS232 commands by default; remote mode has to be selected.
The screen should say "REMOTE MODE", "ESTABLISHING COMMUNICATION"
This can be selected as a user startup option, after which the tester will power up in remote mode.
When communication has been established, the screen should say "READY: SSS COMMAND MODE"
The sequence "\x11\x11\x01\x02\x03\x01\x02\x03" needs to be transmitted to the tester after opening the COM port.
The value of ARRAYSZ_SSS_PASSWORD is 11.
All other things being correct, the session start command 00100000000E000000000000000000000000000037CB does work, so could be of use in getting started.
I still couldn't get a response using the example software though...
stevethomas
 
Posts: 4
Joined: Thu May 19, 2011 4:47 pm

Re: remote contro of H101

Postby ic_lorenzo » Mon May 28, 2012 2:40 pm

Julie Jones wrote:Good Morning Giovannicalemente,
please see the E-mail I have sent you,


I would like to get the example source code too, can you send it to me? Thanks!
ic_lorenzo
 
Posts: 1
Joined: Mon May 28, 2012 2:31 pm

Re: remote contro of H101

Postby PaulC » Wed May 08, 2013 10:40 am

Hi, just purchased Hal 104 - the documentation could be better regarding Rs232 - if anyone has any extra info available I would be grateful.

I can see no evidence of the "example software" included in package. Although I can snoop the RS232 port and watch what the Safety eBase software does (and to an extent mimic this) more info - or examples would be better.

Thanks, Paul.
PaulC
 
Posts: 2
Joined: Wed May 08, 2013 9:34 am


Return to Industrial Electrical Safety Testing & Measurement


Who is online

Users browsing this forum: No registered users and 0 guests

 
 
cron