background image

43

42

• Make a data call to cellular phone number with the modem;
• After the reception of the “CONNECT” notification string

(i.e. the data connection establishment), wait for the string
“RDY<CR>” issued by the interface: this means that the
interface is ready to receive a command from the remote PC;

• If the password was enabled in the phone interface during

last configuration (see “Interface configuration”), the appli-
cation software must send the password within 3 minutes
through the command “PWD<interface password><CR>”
and the interface will answer <ACK> (char 0x06) if the pass-
word is correct, or <CAN> (char 0x18) if password is not
correct, or <NAK> (char 0x15) if command syntax is wrong,
and hangs up the call when 3 minutes have elapsed.

Local channel selection

Before communicating with one of the loggers attached to

HI504903

, the application software on remote PC needs to

specify to the interface to use the RS485 channel with 1200 bps
(this is baud rate used by interface to communicate with 

HI142

during polling procedure). To do this, the C

0A

<CR> com-

mand has to be sent to 

HI504903

. The cellular phone interface

will send back <ACK> if the command is correctly recognized,
otherwise <NAK>. <CAN> is sent back if the required chan-
nel is not configured in the instrument. When command is
correctly recognized, baud rate in the local PC must be set to
1200 bps. In this way the local PC and the selected instrument
are connected directly and everything works like a direct point-
to-point connection (if we exclude the delay issues).

Remote channel selection

Also in remote communication session the application software
needs to select a channel, but the procedure is a bit different
from the local one. Before communicating with one of the in-
struments attached to 

HI504903

, the application software on

remote PC needs to specify to the interface to use the RS485
channel with 1200 bps. To do this, the C

0A

<CR> command

has to be sent to cellular interface. The phone interface will
send back “+++” (the “+++” is needed to return tempo-
rarily to command mode in the cell phone to change baud
rate) and then, after several seconds, <ACK> if the command
is correctly recognized, otherwise <NAK>. <CAN> answer is
sent back if the required channel is not configured in the instru-
ment. When command is correctly recognized, the local PC
and the selected remote instrument are connected directly and

PC COMMUNICATION PROTOCOL

Even if it is strongly recommended to use 

HI92140

 software

to establish local or remote connections between 

HI504903

and a PC, it is possible to try also without 

HI92140

 by build-

ing the application software for communication session
management (i.e. session establishment, serial port channel
selection and session termination). It is necessary to issue to
the interface towards PC some simple commands accom-
plishing with the protocol implemented on 

HI504903

.

Commands are composed of three parts: command identi-
fier, parameter (when needed), end of command. The end of
the commands corresponds to the CR char (0x0d).
Following is the complete list of available commands:

Command

Parameter

Remarks

PWD

<interface password>

Send the general password (*)

C0A

not available

Request to RS485 channel selection

(*) 6 to 20 characters long ASCII string representing interface

password (letters in uppercase format)

Local PC connection session establishment

To start a local PC connection the application software has to
perform the following operations on PC side:
• Set baud rate at 9600 bps on the selected PC serial port.
• Pull up the DTR line of the serial port and wait for phone

interface “RDY<CR>” answer. The DTR line must remain
high while application software is running; if the DTR goes
down while communication is taking place, then 

HI504903

aborts immediately the current PC communication session.

• If the password was enabled in the phone interface during

last configuration (see “Interface configuration“ section), the
application software must send the password through the com-
mand “PWD<interface password><CR>” and the interface
will answer <ACK> (char 0x06) if the password is correct, or
<CAN> (char 0x18) if password is wrong or <NAK> (char
0x15) if command syntax is wrong.

Remote PC connection session establishment

To open a remote PC connection the application software has
to perform the following operations on PC side:
• Set the baud rate at 9600 bps for the serial port where mo-

dem is connected and continue to use this value for 

all the

time

 the communication is in place;

Содержание HI 504903

Страница 1: ...HI 504903 GSM Supervisor Instruction Manual...

Страница 2: ...5 Serial Port 13 Power Supply Input 15 Battery 15 SIM Card Insertion 16 START UP 17 IDLE MODE 18 INTERFACE CONFIGURATION 21 Application Software Installation 21 Starting Configuration 21 Local Configu...

Страница 3: ...and the nature of the failure If the repair is not covered by the warranty you will be notified of the charges incurred If the instrument is to be returned to Hanna Instruments first obtain a Returne...

Страница 4: ...Diagnostic features Internal backup battery which provides power supply in case of mains power failure PRELIMINARY EXAMINATION Remove the instrument from the packing material and exam ine it carefully...

Страница 5: ...h 2 On board battery connector 3 GSM module 4 LED indicators see figure on next page 5 RS232 auxiliary communication port for local PC communication only 6 Terminals not used for this model 7 Terminal...

Страница 6: ...turn off the unit in hospitals or near medical devices like pacemakers or hearing aids The module may interfere with the operation of these devices Unplug and turn off the unit when flying Secure is...

Страница 7: ...the supervi sor use a cable made as shown in the Appendix section 1 and connect the A and B wires to the A and B pins of the HI504903 RS485 terminal INSTALLATION RS232 AUXILIARY PORT HI504903 is prov...

Страница 8: ...LUG THE BATTERY CONNECTOR BEFORE STARTING OPERATION Use only rechargeable sealed lead acid battery with 12 V and 0 8 Ah capability To connect the subsequent dataloggers one to the other use a cable wi...

Страница 9: ...network and the interface was not yet configured see Local configuration section for details To substitute battery please follow below instructions 1 turn off the HI504903 turn OFF the power switch a...

Страница 10: ...ition selected for triggering an alarm message then one or more SMS s are immediately submitted by the HI504903 to the set cellular phone number s see SMS delivery section Note The Query Delay time va...

Страница 11: ...ast blinking if a remote connection configuration is taking place SMS sending by the interface SMS can be submitted by the HI504903 supervisor only if the SMS sending feature is enabled through an ext...

Страница 12: ...ead the computer manual To proceed with local configuration select the Local con nection type on HI504903SW Configuration Settings window and on Serial communication port section the PC COM port to wh...

Страница 13: ...ges CONFIGURATION SETTINGS The setup procedure is divided into three different sections displayed on three different folders inside the main window General Options Setting see General Options Setting...

Страница 14: ...k and the HI504903 interface has not enough time to interrogate all the devices within the set time value upon a call from one of these phones Valid values are num bers of a maximum of 20 digits with...

Страница 15: ...rity options On HI504903 Password field it is possible to set the pass word for the HI504903 device This password protects from unauthorized remote modem connection to one of the instru ments connecte...

Страница 16: ...escription is 20 characters Information options set the options related to the informa tion SMSs to be received upon phone call Red LED status when the contact is closed ON OFF Description of the digi...

Страница 17: ...s 20 characters ALARM DESCRIPTION alarm description string maxi mum length is 30 characters SMS DELIVERY HI504903 is able to send SMSs to one or two cellular phone number s HI504903 can send two types...

Страница 18: ...NG MES SAGES Alarm SMSs specific to the interface Two alarm SMSs are provided to inform the user about troubles specific to the HI504903 interface the first one concerning the internal backup battery...

Страница 19: ...nterface configuration section Note Every time an SMS is submitted the NUMBER OF REMAIN ING MESSAGES is updated and it will always indicate the remaining number of messages that can be sent by the in...

Страница 20: ...situation is managed as an error occurrence and a confir mation is waited When this happens no more messages will be sent by the interface until the error is disactivated Also a cellular error indica...

Страница 21: ...messages are temporarily sus pended PC COMMUNICATION HI504903 interface can act as a gateway for a connection through a remote computer With this feature a seamless data connection will be established...

Страница 22: ...s correctly recognized otherwise NAK CAN answer is sent back if the required channel is not configured in the instru ment When command is correctly recognized the local PC and the selected remote inst...

Страница 23: ...nds As in start up procedure during cellular phone initialization the red LED for SMS disable turns on while the green LED SMS enable turns off When cellular phone is ready HI504903 sends the SMS Powe...

Страница 24: ...nding disabled Note Before removing battery or checking its capability make sure that the HI504903 is turned off Note Even if a battery problem persists all HI504903 functions are still available FAUL...

Страница 25: ...onnected to the RS485port LED off in idle state no instrument is configured or no alarm is on during PC communication session not yet channel selec tion made by remote PC LED on in idle state at least...

Страница 26: ...ace inter faceisperformingthepollingprocedure foranotrespondingdevice etc HI504903is in power failure status HI504903interfaceisturnedoff Solutions CheckiftheHI920010cableiscorrectlycon nectedtotheRS2...

Страница 27: ...for data and voice calls Please check the networkoperatorforfurtherdetails During remote interface configuration attempt the HI504903SW software can not connect to the HI504903 interface Possible caus...

Страница 28: ...I504903 RunHI504903SWapplication software and change the options for SMS sending logic on digitalinput window EnableSMSsendingthroughexternalswitch Can not control digital output contact through SMS m...

Страница 29: ...connections PC side female connector pin 2 3 4 5 6 HI504903 side male connector pin 3 2 6 5 4 SECTION 1 CONNECTING THE HI142 NETWORK TO HI504903 For connecting the first HI142 datalogger to the HI5049...

Страница 30: ...intain the EMC performance of equipment the recommended cables noted in the user s manual must be used Any variation introduced by the user to the supplied equipment may degrade the instruments EMC pe...

Страница 31: ...84 2942 Japan Tel 03 3258 9565 Fax 03 3258 9567 Korea Tel 02 2278 5147 Fax 02 2264 1729 Malaysia Tel 603 5638 9940 Fax 603 5638 9829 Singapore Tel 6296 7118 Fax 6291 6906 South Africa Tel 011 615 6076...

Отзывы: