Você está na página 1de 51

HERMES LC2

USER MANUAL
3/8/2010

WARNING

1.-

This system has been developed for installation by professionals,

not by final

consumers. If you do not understand some technical aspects, please consult our experts.

2.- Our innovation drive both in terms of software and hardware is permanent and although we take great care in documenting our products properly, there may accidentally be discrepancies between the product and some of its specifications. In the event of any query or observation, we would ask you to get in touch with us at the following e-mail: microcom@microcom.es. 3.- GSM network based communications are extraordinarily reliable. Notwithstanding, we would not advise the use of our equipment in critical systems if no type of redundancy has been foreseen with regard to the communications network. be temporarily out of service. 4.- Life support: This unit is not designed for use in systems on which human life depends. In other words, in devices whose malfunctioning puts human life at stake. 5.- Our responsibility as regards the equipment shall be limited to its repair or replacement under those terms established in our warranty. The GSM network may simply

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

TABLE OF CONTENTS
Pgina 1.0 INTRODUCTION 1.1 INTERNAL BATTERY 2.0 GENERAL CONFIGURATION 2.1 LIST OF AUTHORISED PONE NUMBERS 2.2 GENERAL WINDOW BUTTONS 3.0 PROBES 3.1 ALARMS IN PROBES 4.0 DIGITAL INPUTS 4.1 ALARMS IN DIGITAL INPUTS 5.0 FLOWMETERS 5.1 ALARMS IN FLOWMETERS 6.0 TIMERS 6.1 CYCLIC TIMERS 6.2 WEEKLY TIMERS 6.3 LONG TIMERS 7.0 EQUATIONS ANALYSER 8.0 ALARMS IN FLAGS 9.0 CONFIGURATION OF MACROS / EQUATIONS 9.1 EQUATION CONFIGURATION 9.2 CONFIGURATION OF MACROS 10.0 MATH CHANNELS 10.1 ALARMS IN MATH CHANNELS 11.0 CONFIGURATION OF GPRS PARAMETERS 12.0 REAL TIME 13.0 FIRMWARE 14.0 TERMINAL 15.0 COMMANDS 5 5 6 8 9 10 11 13 14 16 17 19 19 21 22 23 24 26 26 28 29 30 32 35 36 37 38

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

16.0 CONNECTION AND INSTALLATION OF THE EQUIPMENT 16.1 LEDS 16.2 SIM CARD 16.3 DIGITAL INPUTS CONNECTION 16.4 TEMPERATURE PROBES CONNECTION 16.5 HUMIDITY PROBE CONNECTION 16.6 OUTPUT RELAYS CONNECTION 16.7 POWER SUPPLY CONNECTION 16.8 CONNECTION OF THE INTERNAL BATTERY 18.0 TECHNICAL FEATURES A.0 ACTIONS, GENERAL DESCRIPTION A.1 DESCRIPTION OF ACTIONS AVAILABLE B.0 CHANEL IDENTIFIER TABLE

41 41 42 42 43 43 43 43 43 45 46 47 49

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

1.0 INTRODUCTION The Hermes LC2 is a complete GSM remote control system which allows control via a GSM phone and by way of the short message service of any incidents at remote installations in such a way that when an alarm condition is generated in the system monitored, the Hermes sends a short message with the descriptive text of the type of alarm, the date and the name of the station. I n a d d i t i o n , we should mention its capacity as a Datalogger. The equipment has 8 digital inputs and the capacity to read up to 4 temperature sensors. It also has 2 relay outputs to act on remote devices from a simple SMS. It is powered directly at 220v (110v as an option) and is fitted with an internal lithium polymer battery which allows operation without an external power supply for at least one hour. This allows the equipment to notify the power failure status without the need for any external accessory. The configuration of the Hermes LC2 allows the generation of an alarm when one of its digital inputs is activated for a given time period when any of its temperature sensors exceeds the predefined range, e i t h e r a b o v e o r b e l o w , as well as when there is a combination of different input status combinations. 1.1 INTERNAL BATTERY The Hermes LC2 incorporates an internal battery of the Lithium Polymer type. These batteries have excellent characteristics in terms of energy density and charging/discharging cycles. Notwithstanding, some precautions should be taken to obtain the maximum working life from them. The Hermes LC2 is delivered from factory with its battery disconnected. It should not be connected until the equipment is going to start operating. If the equipment is going to be without a power supply for a prolonged period (over one week), the battery should be disconnected to avoid damage by undercharging. The equipment shall not be exposed to temperatures of over 50C as this limits the battery life.

If you respect these conditions, a working life of the battery can be obtained of between 3 and 5 years.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

2.0 GENERAL CONFIGURATION Load the configuration software accompanying the equipment on your PC. Once the programme has started up the window of fig.1 shall appear:

Fig. 1 After pressing General, you gain access to the form shown in fig. 2 and which allows the basic operating parameters of the Hermes LC2 to be configured.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

Fig. 2 Below there is a description of the General window fields:

Name identifying the station. All the SMS sent from the Hermes LC2 shall include this name so that the message sender can be easily identified. This field does not allow over 50 characters. Neither punctuation signs nor accents shall be written.

This shall contain the number of the SMS service centre of the operator to which the SIM belongs on the Hermes LC2.

This is the message which the Hermes LC2 shall send when an alarm has been reestablished. Said message shall precede the text of the alarm which has just been restored. For example: lets assume that an alarm input goes off owing to an electric system failure. When the network returns to normality, the text written in the restoration text box shall be sent, preceding the electric system failure text. If we have written restored in this box, the text which would be received on the mobile would be: restored electric system failure.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

This determines the period of time which will elapse between the successive resends of an alarm if the resend is activated.

This establishes the maximum number of times that an alarm shall be transmitted whilst it is active if the resend is activated.

This shall contain the actual number of the SIM c a r d inserted in the Hermes LC2 in international format. In the event of cards with short numbers (corporate contracts), the short number shall be entered instead of the long one, in this case without the international code first.

The PC port shall be selected which you wish to use for communications with Hermes. If youre going to use a MODEM for remote communications, the MODEM box shall be ticked. On your right you should note the remote Hermes LC2 number we wish to call. 2.1 LIST OF AUTHORISED PONE NUMBERS

This list allows the creation of a list of phone numbers which can communicate with the equipment or, conversely, can be contacted by the latter. There must be a distinction between 4 Privilege options and 8 different priority levels. The Hermes LC2 only executes commands received from phones on its internal list of authorized phone numbers. This list is made up of a maximum of 20 phone numbers which are configurable by the user. We can distinguish between two types of authorised phone numbers; those which have allowed a change in configuration and a question about equipment status and those phone numbers to which the alarm messages shall also be sent or any other message generated spontaneously by the equipment. The latter receive the name of priority numbers. Each priority number is associated with a priority level between 1 (maximum priority) and 8 (minimum priority) which establishes the order in which the messages or voice calls are sent when an alarm is generated. In the case of voice calls, once the call has been answered, the equipment d o e s n o t k e e p c a l l i n g a l l o f t h e phones on its list. By selecting No prio the apparatus will not send any alarm to the programmed phone a l t h o u g h it will allow you to carry out all the

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

functions authorised at its privilege level. Priority numbers may be associated with an input mask; this means that a priority phone number can be configured to which only alarms of the inputs described in the mask shall be sent. In addition, a privilege level may be associated with each phone on the list in four statuses: Administrator: Phone which has authorised the configuration changes, output activation and status interrogation. Advanced user: Phone which has authorised the activation of the outputs and the interrogation of equipment status. User: Phone which solely has authorised the interrogation of equipment status. Zeus: This option must be selected for the number of the MODEM GSM connected to the Zeus. In other words, for the number via which the Hermes LC2 shall be connected to the Zeus. The privilege level has no effect on the receipt of alarms. All priority numbers receive the alarms regardless of their privilege level. The procedure for registering a new phone number is: Complete the Number field with the phone number in international format, select the privilege and priority required and click add. If the number which is going to be added has a short number associated (corporate numbers) you should enter the short number instead of the long one. To delete a phone, just select it from the list and click Delete. IMPORTANT: The list of authorised phones shall not be left empty. 2.2 GENERAL WINDOW BUTTONS

Start Comms: It allows communication to be established with Hermes LC2. The communication shall be undertaken locally via USB or remotely via MODEM. Bear in mind that in the event of local communication, the Hermes LC2 driver automatically creates its own virtual port. Download conf.: This starts the reading of the configuration of the Hermes LC2 connected whether locally or remotely. Upload conf.: This sends the configuration loaded on the forms to the Hermes LC2. It is important to stress that if any configuration parameter is modified, t h e c o n f i g u r a t i o n must be rewritten in order to take effect.

Open: This allows a configuration file with an .hcf extension to be loaded. Save: This allows the configuration entered in a file with .hcf configuration to be saved.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

Language: This allows different languages to be selected for the interface. After changing the language, the application must be restarted so the new configuration can take effect. 3.0 PROBES The Hermes LC2 has a One Wire interface which allows you to read simultaneously up to 4 temperature or humidity sensors. The configuration allows the type of sensor connected to be defined as well as the conditions whereunder alarms on the channel must be notified. The reading of the sensors is carried out every 10 seconds. Fig.4 shows the configuration window for probe alarms:

Fig. 4 The fields on this window are described below:

This allows the selection of the type of sensor connected.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

10

This allows the name of the measured magnitude to be established.

This specifies the unit in which the measured magnitude is expressed.

This allows the selection of the sensor address. If there is only one sensor in the bus the Single probe mode must be selected. Otherwise, the option Probe ID must be selected and the probe ID entered. 3.1 ALARMS IN PROBES The Alarms t a b l e contains all the configuration parameters which allow the desired behaviour for the transmission of alarms to be selected. Each sensor allows 4 d i f f e r e n t , simultaneous configurations; this allows, inter alia, the transmission of different alarm texts in line with the different ranges exceeded or the possibility of having different alarm ranges in different time zones. Description of the fields:

This allows each of the four alarm configurations for the channel to be selected.

This enables the alarm for the selected configuration.

This enables the sending of the alarm restoration message. The alarm restoration message is sent when the signal returns to the nominal values after been triggered. The alarm restoration message consists of the text configured for the alarm preceded by the restoration text configured on the general screen.

Enables the resending of the alarm. When this option is enabled the alarm shall be resent for as long as the alarm condition persists. The time between resends and the maximum number of resends are defined on the general screen in the parameters Retry time and Max retries.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

11

This allows to set the time range of the alarm to be selected.

This connects the alarm enablement to a flag. The alarm shall only be enabled if the flag selected has the TRUE value. To omit this option, you must leave the drop-down menu on TRUE.

This allows selection of the mode in which the alarm shall be notified and the options are: SMS: The alarm shall be notified by SMS. SMS and call: The alarm shall be notified by SMS and by voice call. GPRS: The alarm shall be notified to a Zeus server by GPRS. None: The alarm shall not be notified; useful when it is only wished to execute an action when the alarm goes off.

This establishes the text which shall be sent when the alarm goes off.

This establishes the alarm setpoint parameters. Maximum: Value above which the alarm goes off. Minimum: Value below which the alarm goes off.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

12

Hysteresis: Hysteresis value to be applied. Also called deadband. Persistence: This indicates the time in seconds which the signal must be out of range for the alarm to trigger.

This allows the automatic execution of a series of actions when the value of the signal exceeds the upper or lower range or returns to the nominal status. 4.0 DIGITAL INPUTS The Hermes LC2 has 8 digital inputs. The configuration allows the definition of the conditions under which alarms on the channel must be notified. The mains power failure signal is treated like any other digital input and its configuration is accessed by clicking Power fail. Each digital input is associated with a 32 bit totalizer. Fig.5 shows the digital alarm configuration window:

Fig. 5

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

13

The fields in this window have been described below:

This configures the digital signal as normally open N.O. or normally closed N.C..

This allows the name of the digital signal to be established. 4.1 ALARMS IN DIGITAL INPUTS The Alarms table shows all the configuration parameters which allow the selection of the behaviour desired for the transmission of alarms. Each digital c h a n n e l allows 4 different, simultaneous configurations and this allows, inter alia, the transmission of different alarm texts in line with the different ranges exceeded or the possibility of having different alarm ranges in different time zones. Description of the fields:

This allows each of the four alarm configurations for the channel to be selected.

This enables the alarm for the configuration selected.

This enables the sending of the alarm restoration message. The alarm restoration message is sent when the digital signal returns to the nominal values after been triggered. The alarm restoration message consists of the text configured for the alarm preceded by the restoration text configured on the general screen.

This enables the resending of the alarm. With this option enabled the alarm shall be resent whilst the alarm status persists. The time between resends and the maximum number of resends are defined on the general screen in the parameters Retry time and Max retries.

This allows the selection of the alarm enablement time range.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

14

This connects the alarm enablement to a flag. The alarm shall only be enabled if the flag selected has the TRUE value. To omit this option, you must leave the drop-down menu on TRUE.

This allows selection of the mode in which the alarm shall be notified and the options are: SMS: The alarm shall be notified by SMS. SMS and call: The alarm shall be notified by SMS and by voice call. GPRS: The alarm shall be notified to a Zeus server by way of GPRS. None: The alarm shall not be notified; useful when it is only wished to execute an action when the alarm goes off.

This establishes the text which shall be sent when the alarm goes off.

This establishes the alarm setpoint parameters. Persist: Time in seconds which the digital signal has to be in active status for the alarm to trigger. Rearm: Time in seconds so that the alarm is reset after been triggered.

This allows the automatic execution of a series of actions when the alarm triggers with High value or returns the nominal status :Low value.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

15

5.0 FLOWMETERS Each digital input has a flowmeter function a s s o c i a t e d which allows the direct conversion of a pulse signal from a flowmeter to the flow in engineering units. Fig.6 shows the flowmeter configuration window.

Fig. 6 The fields in this window have been described below:

This enables/ disables the flowmeter function in the corresponding digital input.

This allows the name of the measured magnitude to be established.

This specifies the unit in which the measured magnitude is expressed.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

16

Period in seconds during which the measurements are accumulated.

This shows the value of the 32 bit totalizer associated with a flowmeter. By pressing the Modify button the totalizer can be initialised at a certain value.

This allows the pulse/time ratio to be established at the engineering unit desired. The flow shall be the same as the number of pulses counted during the time base period multiplied by the conversion coefficient. To facilitate configuration, a calculator has been implemented which can be accessed via the Help button. By entering the time base, flow by pulse and the engineering unit desired, it automatically calculates the appropriate conversion coefficient. 5.1 ALARMS IN FLOWMETERS The Alarms table shows all the configuration parameters which allow the desired behaviour for the transmission of alarms to be selected. Each flowmeter allows 4 different, simultaneous configurations which enables, inter alia, the transmission of different alarm texts in line with the different ranges exceeded or the possibility of having different alarm ranges in different time zones. Description of the fields:

This allows the selection of each of the four alarm configurations for the channel.

This enables the alarm for the selected configuration.

This enables the sending of the alarm restoration message. The alarm restoration message is sent when the flow returns to the nominal values after having been exceeded. The alarm restoration message consists of the text configured for the alarm preceded by the restoration text configured on the general window.

This enables the resending of the alarm. With this option enabled the alarm shall be resent whilst the alarm status persists. The time between resends and the maximum number of resends are defined on the general screen in the parameters Retry time and Max retries.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

17

This allows the selection of the alarm enablement time range.

This connects the alarm enablement to a flag. The alarm shall only be enabled if the flag selected has the TRUE value. To omit this option, you must leave the drop-down menu on TRUE.

This allows selection of the mode in which the alarm shall be notified and the options are: SMS: The alarm shall be notified by SMS. SMS and call: The alarm shall be notified by SMS and by voice call. GPRS: The alarm shall be notified to a Zeus server by way of GPRS. None: The alarm shall not be notified; useful when it is only wished to execute an action when the alarm goes off.

This establishes the text which shall be sent when the alarm goes off.

This establishes the alarm setpoint parameters. Maximum: Value above which the alarm goes off. Minimum: Value below which the alarm goes off.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

18

Hysteresis: Hysteresis value to be applied. Also called deadband.

This allows the automatic execution of a series of actions when the value of the signal exceeds the upper or lower range or returns to the nominal status. 6.0 TIMERS The Hermes LC2 has a complete set of timers. There are three types: cyclic, weekly and long timers depending on the time range and functionality thereof. 6.1 CYCLIC TIMERS Cyclic timers are usually used for reading and registering the different equipment inputs. A typical configuration is that of a cyclic timer with a period of 600 seconds whose action to be executed is Register probe 0. This configuration will generate a history of the corresponding temperature probe values in 10 minute intervals.

Fig. 7

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

19

Each cyclic timer has the following fields:

This enables the timer.

This establishes the cyclic timer repetition period in seconds. The valid range includes from 1 second to 43200 seconds.

This allows the period of the days and days of the week to be established when the cyclic timer will be active. By selecting the Always option, the timer shall be activated 24/7.

This links the operation of the timer to the status of one of the system flags. If the corresponding flag has the TRUE value, the timer will be active. This option allows us, for example, to record an input only when some other condition is met such as the activation of a digital input or as regards the range of an analogue input. To disable this option you should leave the drop-down menu on TRUE.

This allows the selection of a list of up to 8 actions which shall be executed once the time period has elapsed.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

20

6.2 WEEKLY TIMERS The weekly timers allow the execution of actions at a certain time of the day or on the days of the week selected. A typical application of the cyclic timers is generating a daily connection by GPRS for downloading the history. To this end a weekly timer is configured which executes the action Start GPRS connection every day at the selected time. Fig. 8 shows the configuration window for weekly timers:

Fig. 8

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

21

6.3 LONG TIMERS The long timers allow functions to be programmed which encompass time periods whose basic unit is the day. The capacity of the timer is 90 days maximum. A typical application is that of executing the synchronisation of the clock in real time with the GSM network every 30 days. Fig. 9 shows the configuration window for long timers:

Fig. 8

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

22

7.0 EQUATIONS ANALYSER The Hermes LC2 incorporates an equation analyser which allows the functions AND, OR, comparisons, arithmetic operations etc to be carried out. This analyser is deployed for three different functions on the Hermes LC2. Flags: The Hermes LC2 has 16 flags and an equation can be assigned to each which shall be calculated once a second, updating as a consequence of the flag value. By way of example, an equation is shown which m a k e s the flag 0 TRUE if the digital inputs 0 and 1 are active: F0=DI(0)&DI(1) Later we will look at how to use the flags to set off alarms or enable inputs/ timers. Math records: The Hermes LC2 has 8 math records or memories which allow the value of an equation to be stored for use later in one of the math channels. The example shows an equation which calculates the dew point, taking the temperature of the analogue channel 0, the humidity of channel 1 and storing the result in the memory 0: M(0)=AI(0)+(35*LOG(AI(1)/100)) Math channels: See section 10.0 The operators available are: Sin() Cos() Atan() Abs () Sqrt() Ln() Log() Exp() + * / > < <> & | DI() AI() DIT() MB() F() NF() M() T() Sin Cosine Arcotangent Absolute value Square root Neperian log Decimal log Exponent Add Subtract Multiplication Division Greater than Lower than Not equal AND function OR function Returns the status (0/1) of the digital input Returns the value of the analogue input Returns the time in seconds which an active digital input takes Returns the value of an MODBUS input Returns the value of the flag Returns the NOT function of the flag Returns the value of a maths record Returns the value of the totalizer

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

23

8.0 ALARMS IN FLAGS Fig. 9 shows the configuration window for alarms in flags. This window allows the sending of alarms to be configured when a flag is activated (when it takes the TRUE value).

Fig. 9 Description of the fields:

This allows each of the four alarm configurations to be selected for the channel. In the case of the flags, only one configuration is allowed per flag.

This enables the alarm for the selected configuration.

This enables the sending of the alarm restoration message. The alarm restoration message is sent when the flag returns the FALSE value after the alarm has been set off. The alarm restoration message consists of the text configured for the alarm preceded by the restoration text configured on the general window.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

24

This enables the resending of the alarm. When this option is enabled the alarm shall be resent for as long as the alarm condition persists. The time between resends and the maximum number of resends are defined on the general screen in the parameters Retry time and Max retries.

This enables the enablement time range of the alarm to be selected.

This allows selection of the mode in which the alarm shall be notified and the options are: SMS: The alarm shall be notified by SMS. SMS and call: The alarm shall be notified by SMS and by voice call. GPRS: The alarm shall be notified to a Zeus server by way of GPRS. None: The alarm shall not be notified; useful when it is only wished to execute an action when the alarm goes off.

This establishes the text which shall be sent when the alarm goes off.

This allows the automatic execution of a series of actions when the alarm triggers with High value or returns the nominal status :Low value.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

25

9.0 CONFIGURATION OF MACROS / EQUATIONS Fig. 10 shows the macros and equations configuration screen.

Fig. 10 9.1 EQUATION CONFIGURATION Equations allow the flag status to be linked to a logical equation which is recalculated once a second. This function is useful when an alarm has to be set off when there is a combination of different inputs. By way of example, there is an illustration of how to configure an equation when the flag 0 b e c o m e s TRUE when the digital input 3 is active for over 60 seconds and the analogue input 0 takes a value of under 3.5. to this end, the flag identifier to be configured (0 to 15) shall be selected o n t h e Macro / Equation drop-down menu and the equation shall be written in the command section, in this case: (DIT(3)>60)&AI(0)<3.5.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

26

Fig. 11 The Add Equation button shall then be pressed.

Fig. 12

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

27

9.2 MACROS CONFIGURATION The macros allow the definition of user c o m m a n d s , establishing the equivalence with the actual command in the language of Hermes LC2. In this way, commands which are easily memorizable by the user can be created. By way of example, there is an illustration of how to configure macro with the name start irrigation which executes the command out0=1, activating the output 0. To this end, the macro index to be configured (0 to 55) shall be selected on the Macro / Equation drop-down menu, completing the Name field with the name of the macro and the Command field with the command or list of commands to be executed in said macro. After pressing the Add Macro button the new macro is shown in the lower text box.

Fig. 13 As soon as the macro has been configured in the system, the Hermes LC2 shall accept the text of the macro as a valid command which can be sent by SMS to execute the function desired. It is perfectly possible t o configure a macro without an associated name; this is useful when it is wished to execute the associated command from a timer or any other event which may bring about the execution of a macro (setting off of alarms, for example).

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

28

10.0 MATH CHANNELS The math channels are virtual channels whose value is the result of an equation which links one or more physical channels. Fig. 14 shows the configuration screen of the math channels.

Fig. 14 Below there is a description of the fields in this window:

This enables/ disables the math channel.

This allows the name of the measured magnitude to be established.

This specifies the unit in which the measured magnitude is expressed.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

29

This establishes the equation which defines the behaviour of the math channel. See section 8.0 for a complete list of available operations. 10.1 ALARMS IN MATH CHANEL The Alarms t a b l e contains all the configuration parameters which allow the desired behaviour for the transmission of alarms to be selected. Description of the fields:

This allows the selection of each of the four alarm configurations for the channel. The math channels only allow one configuration.

This enables the alarm for the selected configuration.

This enables the sending of the alarm restoration message. The alarm restoration message is sent when the value calculated returns to the nominal values after having been exceeded. The alarm restoration message consists of the text configured for the alarm preceded by the restoration text configured on the general window.

This enables the resending of the alarm. When this option is enabled the alarm shall be resent for as long as the alarm condition persists. The time between resends and the maximum number of resends are defined on the general screen in the parameters Retry time and Max retries.

This allows the enablement time range of the alarm to be selected.

This connects the alarm enablement to a flag. The alarm shall only be enabled if the flag selected has the TRUE value. To omit this option, you must leave the drop-down menu on TRUE.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

30

This allows selection of the mode in which the alarm shall be notified and the options are: SMS: The alarm shall be notified by SMS. SMS and call: The alarm shall be notified by SMS and by voice call. GPRS: The alarm shall be notified to a Zeus server by way of GPRS. None: The alarm shall not be notified; useful when it is only wished to execute an action when the alarm goes off.

This establishes the text which shall be sent when the alarm goes off.

This establishes the alarm setpoint parameters. Maximum: Value above which the alarm triggers. Minimum: Value below which the alarm triggers. Hysteresis: Hysteresis value to be applied. Also called deadband.

This allows the automatic execution of a series of actions when the value of the signal exceeds the upper or lower range or returns to the nominal status.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

31

By way of example, there follows an illustration of the configuration of a math channel to obtain the dew point from the temperature (analogue channel 0) and humidity (analogue channel 1). Equation = ai(0)+(35*log(ai(1)/100)).

Fig. 15 11.0 CONFIGURATION OF GPRS PARAMETERS Communication via GPRS allows the downloading of logs at a higher speed than that of GSM communication and at a lower cost as GPRS communication is usually charged more favourably. GPRS communication is deployed in three cases: Alarm notification. The alarms configured to be notified by GPRS bring about the automatic start of communication by GPRS with the server. Start GPRS communication action. The implementation of the Start GPRS communication a c t i o n c a u s e s t h e equipment t o connect to the server configured by the Socket TCP/IP service. Start FTP communication action The implementation of the Start FTP communication a c t i o n c a u s e s t h e equipment t o connect to the FTP server to download the history. Fig.16 shows the GPRS configuration screen.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

32

Fig. 16

The fields in this window have been described below:

This enables communication by GPRS at Hermes LC2.

By enabling this option, the Hermes LC2 maintains the GPRS connection with the server in permanent fashion; as soon as it is powered, the communication starts and if, for any reason, the connection breaks, a new connection shall be made. This option shall only be enabled in special cases.

Name of the APN server.

APN password.

APN user name.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

33

Connection retries made.

Time between connection retries.

Timeout to close the GPRS connection.

IP address of the server to which the equipment shall be connected when executing the Start GPRS communication action.

Server port to which the equipment shall be connected when executing the Start GPRS communication action.

Maximum waiting time for receipt of acknowledgment of receipt when sending frames.

(On FTP parameters) FTP server address.

Path on which to leave the historic files at the FTP server.

User name for FTP connections.

Password for FTP connections.

Maximum number of connection retries.

Time between connection retries.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

34

12.0 REAL TIME Fig. 17 shows the Real time window. This window allows the values to be seen which the Hermes LC2 is reading.

Fig. 17

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

35

13.0 FIRMWARE Fig. 18 shows the firmware updating window. The process to update firmware is as follows: In the Firmware file path f i e l d y o u must select the new firmware to be loaded on the device (usually Hermes LC2 vx.xx.hex). In the CopyFlash file path field you must select the file CopyFlash.hex. After pressing the start button, the firmware updating process starts, showing the operation progress on the progress bar. Once the transfer of firmware has been completed, the Hermes LC2 starts the internal process to update the code flash memory. The power shall not be interrupted until this operation finishes. The operation finishes when the LED status diode starts flashing again.

Fig. 18 NOTE: The updating of firmware is a process which may potentially disable equipment which would mean sending it to the Microcom technical service for its repair.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

36

14.0 TERMINAL The terminal window has two basic functions: on the one hand, to access the operating traces of the device. By way of the traces the Hermes LC2 provides an important source of information about the operations it carries out (communications, reading of inputs etc) as well as any errors which may occur. This window also allows commands and frames to be sent. TRACES: To enable traces output the Trace enable button must be pressed. After a few seconds the equipment status messages will start coming up on the screen. By pressing the Trace disable button, the traces output is disabled. It is best to disable the traces once the session has been considered closed. SEND COMMANDS: The Send command button allows the standard commands to be sent which are usually sent by SMS but from the PC itself.

Fig. 19

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

37

15.0 COMMANDS This is the set of orders which the Hermes LC2 shall execute with their sending by SMS. Remember that the apparatus shall only deal with orders sent by those phones on its list of authorised phones. 15.1 SINC This executes the auto-synchronisation procedure of the real time clock with the time of the GSM network. The auto-synchronisation procedure requires the sending of an SMS by the Hermes LC2 and for the own phone number to be configured properly. If the synchronisation has been successful, the Hermes LC2 shall send an SMS with the present date and time, indicating that the time is synchronised. 15.2 INFO? Request for information f r o m t h e Hermes LC2: the latter responds with one or more SMS indicating the status of its digital and analogue inputs and flowmeters. 15.3 INFO=PhoneNumber This causes the Hermes LC2 to send an info message to the phone specified. This command is particularly useful as a macro for execution by time. Example: INFO=+34637885326 15.4 INFOC=Chanel ID List The INFOC commands allows to request information to the Hermes LC2 about an specific list of chanels. This enables the generation of customized information messages with the chanels of interest for the application and execute them as a macro. INFOC=ID0 ID1 ID2.... The IDx list of parameters specifies the desired chanels to receive. The chanel ID have to be separated by spaces. You will find the chanel ID list in apendix B. Example: Request of information for probes 0 and 1, flowmeter on digital input 3 and totalizer 3. INFOC=105 106 15 7 15.5 CNT? Request for totalizer status. The Hermes LC2 replies with an SMS indicating the value of the totalizers for each of their digital inputs. 15.6 +TLF Add a phone number to the list of authorised numbers. +TLF=PhoneNumber,PRIO=Priority,PRVX Where: PhoneNumber: Phone number to be added in international format unless it is a corporate number. Priority: Number priority, 0 without priority, 1 maximum priority, 8 minimum priority. PRVX: Privilege levels, PRV0 -> User, PRV1 -> Advanced user, PRV2 -> Administrator, PRV3 -> Zeus.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

38

Example to add +34637885326 with priority 1 and administrator privilege: +TLF=+34637885326,PRIO=1,PRV2 15.7 -TLF Eliminates a phone number from the list of authorised numbers. Example: -TLF=+34637885326 15.8 CSM This configures the short message service centre. Example for configuring the Movistar service centre: CSM=+34609090909 15.9 PTLF This configures the own phone number. Example: PTLF=+34637885326 15.10 PASSWORD This sets the access password for data calls, by default it is 1234. The password is made up of 4 numerical digits. Example: PASSWORD=1234 15.11 CNTx=y This allows a totalizer value to be initialised. CNTx=y Where: x: Meter which it is wished to initialise 0 to 7. y: Value to be loaded on the meter. Example for loading the value 1000 on the meter 3: CNT3=1000 15.12 DEVICE? Status request from Hermes LC2, returning different data about the status of equipment, firmware version, GSM field intensity etc. 15.13 ALMREC Acknowledgement or receipt of alarms. This indicates to the Hermes LC2 that the user has received the alarm and hence must stop the resends. Only valid for alarms configured with Resend.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

39

15.14 USSD Executes an USSD command on the Hermes LC2. This command is particularly interesting for asking available credit on a prepaid SIM card. Example for asking about available credit on a Movistar card: USSD=*133# 15.15 OUTx=y This modifies the status of a relay output. OUTx=y Where: x: Output to be modified, 0 or 1. y: Status to be set on the output, 0 -> open contacts, 1 -> close contacts. The OUT command allows the modifier T to activate an output during the time period defined. OUTx=y,T=t Where: t: Time in seconds. Once the output period has elapsed, it shall return to the prior status. Example for closing the relay 0: OUT0=1 Example for generating a 10 second pulse on relay 1: OUT1=1,T=10

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

40

16.0 CONNECTION AND INSTALLATION OF THE EQUIPMENT The Hermes LC2 is housed in a 6 units DIN rail box. Figure 22 shows the front of the equipment.

Fig.22 16.1 LEDS The front of the Hermes LC2 has 12 leds which show the equipment status. INPUT: This shows the status of the digital inputs. OUTPUT: This shows the status of the relay outputs. STATUS: This shows the status of the MODEM GSM and network failure. The LED with the antenna symbol shows the status of the MODEM GSM; it flashes green if the equipment is registered on the network. It flashes red when the equipment is not registered on the network either because of problems regarding coverage, the SIM card or hardware. Until the LED flashes green the Hermes LC2 cannot send any alarm. The LED with the crossed out plug s y m b o l comes on when the equipment detects the power fail and is thus operating from its internal batteries.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

41

16.2 SIM CARD Figure 23 shows the procedure for extracting and inserting the SIM card in the Hermes LC2.

Fig. 23

WARNING! The SIM card must be unlocked before putting it into the Hermes.
16.3 DIGITAL INPUTS CONNECTION Figure 24 shows the arrangement of the Hermes LC2 bushing.

Fig. 24 The digital inputs are: I0: I1: I2: I3: I4: I5: I6: I7: Digital Digital Digital Digital Digital Digital Digital Digital input input input input input input input input 0. 1. 2. 3. 4. 5. 6. 7.

The digital inputs are activated by joining them to any of the GND bushings.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

42

16.4 CONNECTION OF TEMPERATURE PROBES The terminals corresponding to the temperature sensors are T+ and T-. The red cable of the temperature sensor must be connected to the bushing T+, and the black one to T-. If you are going to install more than one sensor, they must be connected in parallel. 16.5 CONNECTION OF HUMIDITY PROBES The terminals corresponding to the humidity sensors are H+, H- y 5V. The red cable of the temperature sensor must be connected to the bushing H+, the black one to H- and the yellow one to bushing 5V. If you are going to install more than one sensor, they must be connected in parallel. 16.6 CONNECTION OF OUTPUT RELAYS The Hermes LC2 has two relay outputs which correspond to the following bushings: NO0: Normally open contact of relay 0. C0: Common contact of relay 0. NO1: Normally open contact of relay 1. NC1: Normally closed contact of relay 1. C1: Common contact of relay 1. Relay 0 supports a maximum of 3A 250V. Relay 1 supports a maximum of 10A 250V. 16.7 POWER SUPPLY CONNECTION The Hermes LC2 is powered directly at the mains voltage by the 220V bushings. 16.8 CONNECTION OF THE INTERNAL BATTERY Like any other battery, the Hermes LC2 b a t t e r y has a limited life of between 3 and 5 years. To access the battery, the cover on the front of the equipment m u s t b e d i s m a n t l e d , using a small f l a t h e a d s c r e w d r i v e r to form a lever on the notches of the cover made to this end. Figure 25 illustrates the procedure.

Fig. 25

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

43

The battery is attached to the board using Velcro. Figure 26 illustrates the procedure for installing a new battery.

Fig. 26 After affixing the battery, the connector shall be connected as shown in Figure 27.

Fig. 27

WARNING: HERMES LC2 LEAVES THE FACTORY WITHOUT ANY BATTERY INSTALLED. THE BATTERY SHALL BE INSTALLED WHEN THE EQUIPMENT STARTS OPERATING AND NOT BEFORE TO PREVENT THE DEGRADATION THEREOF OWING TO UNDERCHARGING.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

44

18.0 TECHNICAL FEATURES Power Supply Consumption Internal battery CPU Code memory Data memory Log memory Slave CPU GSM Size Weight Operating temperature 230V (110V on demand) 5W LiPo 3.7v 400mAh ARM7 Flash 256KB 64 KB Flash 256 KB >40000 records PIC Siemens MC55i Quad-band 105 x 90 x 70 mm 250g 0C to + 50C

DIGITAL INPUTS: Number Impedance Sampling frequency 8, activation by contact to GND. 330 ohm 100Hz

1Wire BUS: Number Voltage Pull-up 1 3,3V 1K

RELAY OUTPUTS: Number Voltage Maximum current 2 250VAC Rele 0: 3A Rele 1: 10A

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

45

APPENDIX A DESCRIPTION OF AVAILABLE ACTIONS


A.0 ACTIONS, GENERAL DESCRIPTION The Hermes LC2 has a series of predefined actions which can be executed under certain circumstances: -Execution from a timer. -Execution by activation / deactivation of digital inputs or flags. -Execution by high / nominal / low level on flow and analogue inputs. Fig. 23 shows the action selection screen. For each event execution can be selected for up to 8 actions.

Fig. 23 ADDING AN ACTION: The procedure for adding an action consists of: Select t h e n e w a c t i o n from the list of Available actions and press the add button. The new action will appear on the list Configured actions. ELIMINATING AN ACTION: The procedure for eliminating an action consists of: Select from the list of Configured actions the action to be eliminated and press the eliminate button.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

46

A.1 ACTIONS DESCRIPTION ACTION X Execute macro X 40 Read all the meters 41 Send meters by SMS 42 Synchronise clock 43 Turn on GSM for 5m DESCRIPTION Executes macro number X. Obsolete, maintained for compatibility. Obsolete, maintained for compatibility. Executes the synchronisation of the real time clock with the time of the GSM network. Requires the sending of an SMS. Causes the turning on of the GSM MODEM for 5 minutes. Useful for implementing the communication window. Causes the sending of an SMS with status information on the inputs / outputs to all the authorised phones with Zeus privilege and priority. Makes a record in memory of all channels. Causes the turning on of the MODEM GSM for 10 minutes. Useful for implementing the communication window. Causes the turning on of the MODEM GSM for 20 minutes. Useful for implementing the communication window. Causes the turning on of the MODEM GSM for 30 minutes. Useful for implementing the communication window. Makes a record in memory of the totalizer of the digital input 0. Makes a record in memory of the totalizer of the digital input 1. Makes a record in memory of the totalizer of the digital input 2. Makes a record in memory of the totalizer of the digital input 3. Makes a record in memory of the totalizer of the digital input 4. Makes a record in memory of the totalizer of the digital input 5. Makes a record in memory of the totalizer of the digital input 6. Makes a record in memory of the totalizer of the digital input 7. Makes a record in memory of the flowmeters in digital inputs 0 and 1. The flow is registered in pairs for reasons of memory optimisation. Makes a record in memory of the flowmeters in digital inputs 2 and 3. The flow is registered in pairs for reasons of memory optimisation. Makes a record in memory of the flowmeters in digital inputs 4 and 5. The flow is registered in pairs for reasons of memory optimisation. Makes a record in memory of the flowmeters in digital inputs 6 and 7. The flow is registered in pairs for reasons of memory optimisation. Obsolete, maintained for compatibility. Stars connection via GPRS to the configured server, mainly to download the recorded log. Executing this action from an event generated by an input (e.g.: Action owing to high value) is registered in the alarm memory history. Starts connection to the FTP server for downloading the recorded log.

48 Send SMS, Zeus type

49 Register all the channels 50 Turn on GSM for 10m 51 Turn on GSM for 20m 52 Turn on GSM for 30m

57 Register meter 0 58 Register meter 1 59 Register meter 2 60 Register meter 3 61 Register meter 4 62 Register meter 5 63 Register meter 6 64 Register meter 7 65 Register flow 0 and 1

66 Register flow 2 and 3 67 Register flow 4 and 5

68 Register flow 6 and 7 69 Enqueue meters 79 Start GPRS connection 80 Register alarm 89 Start FTP connection

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

47

90 91 92 93 94

Read math channel 0 Read math channel 1 Read math channel 2 Read math channel 3 Register math channel 0

95 Register math channel 1 96 Register math channel 2 97 Register math channel 3 98 Register probe 0 99 Register probe 1 100 Register probe 2 101 Register probe 3

Causes the reading of math channel 0. Causes the reading of math channel 1. Causes the reading of math channel 2. Causes the reading of math channel 3. Causes the reading and registration in the math channel 0. Causes the reading and registration in the math channel 1. Causes the reading and registration in the math channel 2. Causes the reading and registration in the math channel 3. Makes a record in memory of probe 0. Makes a record in memory of probe 1. Makes a record in memory of probe 2. Makes a record in memory of probe 3.

memory of memory of memory of memory of

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

48

APENDIX B CHANEL IDENTIFIER LIST (CHANEL_ID)


B.0 CHANEL IDENTIFIER LIST IDENTIFICADOR 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 CANAL Analog input 0 Analog input 1 Analog input 2 Analog input 3 Totalizer on digital input 0 Totalizer on digital input 1 Totalizer on digital input 2 Totalizer on digital input 3 Totalizer on digital input 4 Totalizer on digital input 5 Totalizer on digital input 6 Totalizer on digital input 7 Flow calculated on digital input Flow calculated on digital input Flow calculated on digital input Flow calculated on digital input Flow calculated on digital input Flow calculated on digital input Flow calculated on digital input Flow calculated on digital input Reserved Logic value on digital input 0 Logic value on digital input 1 Logic value on digital input 2 Logic value on digital input 3 Logic value on digital input 4 Logic value on digital input 5 Logic value on digital input 6 Logic value on digital input 7 MODBUS chanel 0 MODBUS chanel 1 MODBUS chanel 2 MODBUS chanel 3 MODBUS chanel 4 MODBUS chanel 5 MODBUS chanel 6 MODBUS chanel 7 MODBUS chanel 8 MODBUS chanel 9 MODBUS chanel 10 MODBUS chanel 11 MODBUS chanel 12 MODBUS chanel 13 MODBUS chanel 14 MODBUS chanel 15 MODBUS chanel 16 MODBUS chanel 17 MODBUS chanel 18 MODBUS chanel 19 MODBUS chanel 20 MODBUS chanel 21

0 1 2 3 4 5 6 7

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

49

51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 105 106 107 108

MODBUS chanel 22 MODBUS chanel 23 MODBUS chanel 24 MODBUS chanel 25 MODBUS chanel 26 MODBUS chanel 27 MODBUS chanel 28 MODBUS chanel 29 MODBUS chanel 30 MODBUS chanel 31 Flag 0 Flag 1 Flag 2 Flag 3 Flag 4 Flag 5 Flag 6 Flag 7 Flag 8 Flag 9 Flag 10 Flag 11 Flag 12 Flag 13 Flag 14 Flag 15 Temperature/Humidity Temperature/Humidity Temperature/Humidity Temperature/Humidity

probe probe probe probe

0 1 2 3

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

50

TERMS AND CONDITIONS OF THE WARRANTY Here at Microcom Sistemas Modulares, S.L. we are totally committed to quality. We believe that our warranty terms and conditions make this quite clear. What matters are the facts. Period: Our products are guaranteed against any manufacturing defect for a period of 3 years. Type of support: Warranty support includes all the components going to make up the equipment and the labour required for correct repair, as well as transport in both directions. Exclusion: The warranty shall not cover equipment which has been clearly manipulated without our express authorisation or which has been exposed to conditions for which it has not been designed. Liability limit: Our liability shall be solely and exclusively limited to the repair of faulty equipment or replacement if we see fit. Under no circumstances shall we assume any kind of liability for causes deriving from the malfunctioning of the equipment. The geographic remit for the application of these warranty terms and conditions is Spanish national territory.

Microcom Sistemas Modulares, S.L. - Avda Letxumborro n100, 2C Irun - www.microcom.es

51

Você também pode gostar