background image

Poseidon2 

– Family manual 

HW group 

 

 

 

www.HW-group.com 

 

 

77 / 104

 

 

E-mail subject: 

The following strings are appended to the specified e-mail subject: 

 

Test

” for the test e-mail 

 

Periodical report

” for the periodically e-mailed report 

 

T-Room Alarm ACTIVATED

” when the alarm for the sensor named T-Room is activated  

 

T-Room Alarm DEACTIVATED

” when the alarm for the sensor named T-Room is 

deactivated  

 

Alarm activation:

  

DATE         TIME       Device_NAME       Device_IP 
10.10.2005   15:04:27   Server_room1      192.168.1.20 
 
Email  initiated:  48245  T-Room           Alarm ACTIVATED 
 
------------------------------------------------------------ 
ID    SENSOR_Name     VALUE   UNIT    Safe_RANGE    ALARM 
------------------------------------------------------------ 
 
ALARM state: 
------------------------------------------------------- 
48245 T-Room            25.30  °C   -45.0 ..   22.0 Enabled 
    1 C-water             OFF                       if OFF 
 
 
Sensors list: 
-------------------------------------------------- 
48245 T-Room            25.30  °C   -45.0 ..   22.0 Enabled 
 1559 H-Room            53.00 %RH    30.0 ..   80.0 Enabled 
   48 T-Srv01          -27.30  °C   -49.0 ..  –25.1 Disabled 
  257 ABCDEFGHIJKLMNO -109.30  °C  -150.0 .. -105.0 Enabled 
    1 C-water             OFF                       if OFF 
    2 C-AirFl             OFF                       if ON 
    3 C-Door1             OFF                       Disabled 
 
 
------------------------------------------------------------ 
Server_room1:   http://192.168.1.20        00:0A:59:00:00:00 
------------------------------------------------------------

 

  
 

 

Summary of Contents for Poseidon2 3266

Page 1: ...or use in remote monitoring and for measuring over LAN The family consists of several product versions designated for use in different environments 19 rack cabinets data centres switchboard cabinets Specific models vary in number and types of sensors it can connect otherwise the devices offer identical features ...

Page 2: ...puts 23 RJ11 1 Wire bus 24 RJ45 RS 485 27 User interface 33 UDP Config 33 WEB interface 34 Update Firmware 60 Software Applications 61 CONNECTING POSEIDON2 TO SENSDESK PORTAL 63 Connecting to the portal 63 USING POSEIDON2 UNITS IN YOUR APPLICATIONS 67 PosDamIO Command line control 67 HWg SDK 68 Poseidon formats and interfaces 75 SMS Interface description 75 E mail Interface description 76 XML Inte...

Page 3: ...Poseidon2 Family manual HW group www HW group com 3 104 Poseidon2 devices Poseidon2 3266 Poseidon2 3268 ...

Page 4: ...Poseidon2 Family manual HW group www HW group com 4 104 Poseidon2 3468 Poseidon2 4002 ...

Page 5: ... future future future future SMS Local RS 232 SMS netGSM SMS Destinations 5 5 5 5 Logger Logger reccords 250 000 250 000 250 000 250 000 HWg Push protocol IPv6 future future future future Comm monitor DO Local conditions 1 Wire sensors 8 8 8 16 1 Wire UNI support RS 485 support RS 485 sensors 24 M BUS meters Modbus TCP Email Alarm reminder Email Periodical Status Power Input 1 9 30V 9 30V 9 30V 9 ...

Page 6: ...sensors RS 485 only Poseidon2 4002 For connecting RS 485 HWg sensors TermA and TermB switches are used for bus termination More in chapter Connecting the sensors Inputs INx Inputs for connecting dry contacts All inputs have one common GND potential Green LED light shows that the input is triggered Outputs OUTx relay outputs with switch contacts Clamps connected in normal state are NCx Normally clo...

Page 7: ... connection works properly the LINK LED lights up after a short while and then flashes whenever data are transferred activity indication 2 Configuring the IP address UDP Config UDP Config utility root directory of the supplied CD Windows and Linux versions Available for download at www HW group com Software UDP Config Click the icon to launch UDP Config The program automatically looks for connecte...

Page 8: ...ame optional Click the Apply Changes button to save the settings Alternatively you may use the following utilities to configure the IP address UDP Config for Linux Important To reset the device to factory defaults toggle DIP1 several times within 5 seconds after applying power to the device No configuration changes can be stored while DIP2 On To change the IP address set DIP2 Off ...

Page 9: ...ngs General Setup IP address DNS security user name password SNMP SNMP SNMP Trap configuration ports and alarm recipients E mail Configuration and test GSM RFID Configuration and test in order to use a remote SMS GW Log Time Time configuration NTP server Portal Connection to a remote portal system Sensors Device name sensor names status overview Inputs Control of inputs and alert parameters System...

Page 10: ...Poseidon2 Family manual HW group www HW group com 10 104 General Setup SNMP Device name e g First floor 1 5 destinations for SNMP Traps Three levels of passwords for device security ...

Page 11: ...vice is in the Alarm state For example every 15 minutes NOTE Configuration changes must be confirmed by clicking the Apply Changes button Sends a test E mail Inserts this text at the beginning of the e mail subject line Up to 5 recipients for alarm e mails E mail test result 1 Correct Gateway IP address 2 DNS server in network settings 3 SMTP server and port 4 Authentication turned on correct user...

Page 12: ... group com 12 104 GSM Log Time Press to synchronize the time with the specified server Interval for logging measured values Expected size of recorded data IP address of HWg SMS GW to use for sending text messages SMS Recipients phone numbers ...

Page 13: ... in AutoPush configuration Poseidon2 connects to the portal and notifies a value change whenever a change in the sensor reading exceeds the configured AutoPush value This configuration only applies to the communication between Poseidon2 and the online portal Local alarm values are configured in the portal Enable connection to the remote portal Message from the portal AutoPush configuration Click t...

Page 14: ...isplays detected sensors Sends an E mail if the Safe Range for this sensor is exceeded Sends a text message SMS if the Safe Range for this sensor is exceeded Range of allowed values If exceeded alarm is signaled To avoid numerous false alerts by e mail or SMS whenever the reading fluctuates around the threshold you can use 1 Hysteresis Idle Range Tolerance band around the Safe Range Prevents multi...

Page 15: ...at the safe range is exceeded but alarm notification is off FAQ Connecting the inputs Inputs NOTE Configuration changes must be confirmed by clicking the Apply Changes button Enter Digital Input name will be shown in e mails text messages or SNMP traps ALARM CONTACT STATUS Active if On Alarm when the contact closes 1 On Active if Off Alarm when the contact opens 0 Off Disabled No Alarm Reaction to...

Page 16: ...annot be controlled via web or M2M protocols in Local Condition mode o On if any alarm The output is active if at least one input or sensor is in alarm o On if value equal to Trigger The output is active if the selected sensor reading is equal to the Target Value o On if value higher than Trigger The output is active if the selected sensor reading is greater than the Target Value o On if value low...

Page 17: ...trols a virtual Digital Input that is available in Inputs as Com Monitor 1 with an ID of 123 If no communication took place in the specified time using the selected protocols it sets Com Monitor 1 0 Off If three protocols are selected all 3 conditions must be met for the OK state Configuration Download Retrieve the configuration from the device and store it on the PC Upload Send a saved configurat...

Page 18: ...powering up the Poseidon the connector must click in Max distance per active port is 60m Sensors can be daisy chained Sensors can be also connected using a star topology with the T Box TBox2 hub After any change in the connected sensors an autodetection has to be run again WWW interface Sensors Autodetect sensors Max distance 60m ...

Page 19: ...or set the sensor address Each sensor on the RS 485 bus must have an unique address The address ID is expressed as a letter A Z a z or a number 65 122 The numbers correspond to the ASCII codes of the letters A 65 Z 90 a 97 z 122 More details on setting up the address in sensor manuals After any change in the connected sensors an autodetection has to be run again WWW interface Sensors Autodetect se...

Page 20: ... our public online demo 999 9 can sometimes appear even though the sensor works properly This is due to limited computing performance of the unit Try to reduce the load Units are assigned to values automatically according to the detected sensor type Supported units include Temperature C K F please note that Safe Range thresholds can be set in C only Humidity RH Voltage V current A or mA Other unit...

Page 21: ...e written over XML For calibration settings use the Calibrator utility For download on Poseidon 2250 websites or EX104 from HWg SDK menu can be opened by a right click Calibration value 3 sensor measures 0 5 C Poseidon shows 3 5 C Calibration value 3 sensor measures 0 5 C Poseidon shows 2 5 C Calibration value 10 sensor measures 27 RH Poseidon shows 17 RH ...

Page 22: ...old See the graph for an explanation Without a hysteresis of 5 C the alarm raised at point 8 would end at point 9 With the hysteresis function the alarm continues until the temperature rises above the tolerance band point 10 that is 5 C 15 C 10 C Hysteresis 5 C The unit sends 3 e mails SMS Alarm at points 0 4 8 10 12 and beyond No hysteresis 0 C The unit sends 8 e mail SMS messages Alarm active in...

Page 23: ...0 m Supported sensors Any contact without external voltage dry contact Per input alarm settings o Alarm inactive o Alarm when the contact is opened or closed o Alarm whenever the contact is open Possible alarm responses Common setting for all inputs o No response o Alarm alert sent as a SNMP trap o Alarm alert sent by e mail or text message SMS o Alarm alert sent as a SNMP trap as well as by e mai...

Page 24: ...onnected sensor from one active port to another the sensor will be shown as disconnected After connecting run sensor autodetection again Passive port is an RJ11 connector on T Hub or an RJ11 connector on a sensor for daisy chaining Cannot guarantee full length and power supply for following sensors Power supply issues can be resolved by using 1 Wire hub Power 1 Wire UNI RJ11 1 Wire UNI is a softwa...

Page 25: ...tside of the safe range disconnection triggers the alarm 1 Wire bus accessories o Poseidon T Box Hub for 5 1 Wire 1 Wire UNI sensors o 1 Wire hub Power photo hub additional power supply for 8 1 Wire 1 Wire UNI sensors o Poseidon T Box2 photo Hub for 2 1 Wire 1 Wire UNI sensors Remember All 1Wire bus sensors have their unique serial numbers These are stored with sensor names during autodetection an...

Page 26: ...Spider unit connects to the Poseidon2 over the Industrial bus RS 485 Spider unit can connect 4 sensors over 1 Wire bus Spider supports ONLY sensors for temperature humidity and dry contact inputs Each sensor is connected to a separate connector and may be located up to 25m away Maximum number of connected sensors 4x 1 Wire Sensor types 1 Wire bus 1 Wire Does not support 1 Wire UNI Connects to RS 4...

Page 27: ...rs an S Hub can be added to power more sensors Communication cable Twisted 2 wire UTP eventually 4 wire phone cable Alarm settings Monitoring of the measured values SafeRange Polling period 800 ms to 10 s depending on the number of sensors 10 seconds for 41 sensors Sensor address assignment Manual each sensor must have a unique address see sensor manual Range of sensor IDs Sensors use IDs from 48 ...

Page 28: ...oup com 28 104 RS 485 termination on the side of Poseidon2 Poseidon2 4002 units are equipped with two DIP switches TermA and TermB for RS 485 bus termination Poseidon2 4002 at the start of RS 485 line Poseidon2 4002 in the middle of RS 485 line ...

Page 29: ... can be used to reduce the current consumption of the sensors Note A disadvantage is that it is necessary to have a wiring topology with a single beginning and a single terminated end as opposed to the popular star topology with a single interconnection point Special accessories for the RS 485 bus B Cable RJ45 4 wire connection The B Cable module is an adapter that converts a RJ45 jack connection ...

Page 30: ...s connected with this table must not terminate the RS 485 bus Sensor RJ45 LAST cableRS 485 cable 0 5m RJ45 4 pins Connects 4 terminals A B to a RJ45 modular jack 2 pairs only This cable is used to connect the last sensor in the chain The sensor connected with this cable MUST TERMINATE the RS 485 bus in one of the following ways Equipped with an external 120Ω resistor Jumper or DIP switch at the se...

Page 31: ...45 TP hub The S Hub unit with one input and 8 output ports is used to connect up to eight RS 485 sensors with TP cables Makes it possible to connect sensors in a star topology sensors must be connected using TP cables Simpler and faster connection of sensors Makes expanding an installation easier Easier way of powering the sensors A standard power adapter connects directly to the S Hub unit Note I...

Page 32: ...ect three Temp 1Wire 10m sensors and one contact door contact connects to the blue RJ45 pair The second S Hub unit is connected with a patch cable to the Spider output Temp 485 and HTemp 485 sensors are connected to S Hub connectors 1 through 3 using 6 wire connections brown pair for power blue pair leads the bus to the device green pair back from the device Connector 4 connects a Temp 485 sensor ...

Page 33: ...address and communication port is displayed after a device is found Compatible with all HW group products Poseidon Damocles PortBox PortStore I O Controller IP relay and other product lines Windows and Linux versions available Displays current network settings of your computer Verifies whether the IP address is available before assigning it Single click access to the product web page Ability to op...

Page 34: ...t readings the interface provides access to complete device configuration and management including network settings sensor configuration and alarm responses SNMP traps To access the web interface enter the Poseidon IP address into the URL field of your browser The main page with the overview of sensor and input readings automatically reloads every 10 seconds This period can be easily changed ...

Page 35: ...put is not in alarm Red Input is in alarm Sensors The Sensors table displays information valid at the time of the last refresh about detected and activated sensors including their states Name Input name Textual name of the input assigned by user in the Sensors tab ID 16 bit ID of the sensor unique within a particular device Current Value Current sensor reading including the unit Note If a sensor i...

Page 36: ...ave the file to disk OID SNMP Object Identifier Contains a list of most frequent SNMP OID right click the link and save the file to your hard drive with Save Target as option XSD links to the XML definition file for values xml right click the link and select Save Target as to save the file to disk Text and link For more information try www HW group com Customizable link to the supplier or service ...

Page 37: ...04 General Setup Network parameters trusted IP address range temperature units output states etc Device Name Name assigned to a particular device The name is shown in all lists along with the IP address UDP Config it is used as the sysname variable in SNMP ...

Page 38: ... Web index General filtered Other pages R W R R R W R W filtered Values xml R R R R R filtered Setup xml R W R R R W R W filtered SNMP get next R R filtered R R SNMP set W filtered R W R W Modbus TCP R W R TCP setup UDP Config R W R FW update filtered M2M outputs R W R W R R W R W R and or W must be enabled on the SNMP Setup tab by checking appropriate boxes W Only outputs can be changed nothing e...

Page 39: ...ngs in WEB setup IP Access Filter Allowsyou to define a range of trusted IP addresses that are allowed to access the Poseidon over HTTP and SNMP Each protocol has its own range Always only the IP addresses range is set using the default IP address and the range around the entered value mask following the pattern where AND is bit multiplication Access is granted if the above condition is true IP tr...

Page 40: ...tings are available at the SNMP Setup tab What to do if you forget your password Restore the factory default configuration of the device by one of the following methods Use the UDP Config utility must run on the same network segment Right click the line corresponding to the device and select Load defaults from the pop up menu Use the DIP Load defaults feature Toggle the DIP1 switch several times d...

Page 41: ...eration A DNS server is necessary for converting domain names to IP addresses Without a correctly configured DNS server the following functions will not work Time sync SNTP used in e mails and SNMP traps to timestamp events E mailing SMTP Logging of values with timestamps Other Settings and Information Display temperature in Specifies the unit of temperature C Celsius centigrade F Fahrenheit K Kel...

Page 42: ... is useful when connecting the Poseidon to a publicly accessible network Note Any changes must be confirmed by clicking the Apply Changes button A successful change is indicated by an animation in the status bar next to the Apply changes button SNMP The SNMP Setup tab allows you to configure the settings for communication with the device using the SNMP protocol General SNMP Settings SNMP port Port...

Page 43: ...inations for sending SNMP traps Community Textual name of the group for the SNMP trap being sent IP address Destination address where the SNMP traps are sent Port Destination port where the SNMP traps are sent Enable SNMP traps are sent to this destination MIB II System Group User defined settings in the standard SNMP header SysContact Contact information of the system administrator e g an e mail ...

Page 44: ...ssword authentication if the SMTP server requires it Secure TLS mode Activates SSL TLS authorization gmail etc Name User name for authentication with the SMTP server Password Password for authentication with the SMTP server Email Subject Text Subject of the e mails sent Alarm Email Recipient E mail address of the recipient To Alarm Email Copy E mail address of the recipient Cc Periodic Log Recipie...

Page 45: ...NSOR_Name VALUE UNIT Safe_RANGE ALARM ALARM state 48245 T Room 25 30 C 45 0 22 0 Enabled 1 C water OFF if OFF Sensors list 48245 T Room 25 30 C 45 0 22 0 Enabled 1559 H Room 53 00 RH 30 0 80 0 Enabled 48 T Srv01 27 30 C 49 0 25 1 Disabled 257 ABCDEFGHIJKLMNO 109 30 C 150 0 105 0 Enabled 1 C water OFF if OFF 2 C AirFl OFF if ON 3 C Door1 OFF Disabled Server_room1 http 192 168 1 20 00 0A 59 00 00 00...

Page 46: ... available options Disabled Serial port is off Only if the modem is not connected and the device works as a client GSM modem A GSM modem is connected to a device and Poseidon works as a server for netGSM Remote SMS GW Allows setting up the IP address HTTP port and service destination where the request for sending the SMS messages and for RFID functions is sent On Poseidon units the path is always ...

Page 47: ... o Initializing Modem initialization in process o Ready SMS center Number Control information loaded from the SIM card about provider s SMS center number If the number is not loaded no SMS can be sent GSM SMS recipient section Allows users to choose the recipient numbers for SMS messages regardless the function mode local remote modem SMS example Device name Poseid11 Sensors in Alarm Rack11 48 5 C...

Page 48: ... time settings Current Date Date in the dd mm yyyy format for example 31 12 2014 Current Time Current time in the 24 hour hh mm ss format for example 17 38 55 The time updates automatically while the browser window is open It is only saved when the Set Date Time button is clicked Note Date and time changes are not linked to the Apply Changes button and must be confirmed by clicking the Set Date Ti...

Page 49: ...cular buffer within the internal flash memory When the buffer is full the oldest values are overwritten with the newest ones This function is supported only by certain Poseidon models Log Period Period for logging of all values into a logfile Logfile capacity XXX The capacity estimate is given in days hours and minutes The Poseidon calculates the capacity based on the number of sensors detected Ca...

Page 50: ...enever a change in a sensor value exceeds the configured AutoPush value The www SensDesk comportal connection parameters are filled in Portal Message section Information from the portal containing for example links to graphs etc This relies on the portal type Portal section Portal Enables or disables portal function Push Period Period for sending the data to a remote server The period is set on th...

Page 51: ...he data saving to the flash memory Current AutoPush Block Timer Shows the time remaining to the next AutoPush This period is set from the side of the portal Manual Push Button for immediate manual sending of the data to the portal AutoPush configuration Poseidon2 connects to the portal and notifies a value change whenever a change in the sensor reading exceeds the configured AutoPush value This co...

Page 52: ...rts the automatic detection of connected sensors Click the button to stop all activity and start the autodetection The process can take a long time even 2 minutes When the detection completes a dialog informs you about the results After a successful autodetection all sensors are ready to measure Note For a faster autodetection with a more detailed output see the TCP Setup section ...

Page 53: ...15 0 35 0 an alarm e mail will be sent when the values are below 14 9 and above 35 1 Hysteresis Defines a tolerance band when exceeding a threshold in order to avoid raising multiple alarms when the reading fluctuates near the threshold See the detailed description in the Sensor Hysteresis section Delay s Delays the information about alarm beginning and alarm end Out of Safe Range Defines the resp...

Page 54: ...eft door smoke room 1 ID Unique ID of the input variable within the device 1 32 Current Value Current state of the input 0 Off 1 On Alarm State Alarm state definition for each input Active if On Alarm is active whenever the input is in 1 On Active if Off Alarm is active whenever the input is in 0 Off Disabled Input has no alarm state defined ...

Page 55: ... state for dry contact inputs SNMP Trap Enables sending a SNMP trap upon alarm activation deactivation Email Enables sending an e mail upon alarm activation deactivation SMS Enables sending an SMS upon alarm activation deactivation Note SMS text messages are sent through a GSM modem connected directly to the Poseidon unit via the RS 232 interface See the list of Poseidon models for details ...

Page 56: ...r example set flooded closed etc ON Closed Name State 0 name Off for example disconnected open etc Pulse timer Allows switching the output to the state 1 On for a defined time If you need the opposite polarity use the NO NC relay output With Pulse Timer 0 the pulse function on the output is inactive default value Switching the output for a defined time apply also for local condition mode Pulse tim...

Page 57: ... and HYSTERESIS settings of the specific active sensors and inputs On if alarm on This output switches if an Alarm occurs on a specific selected sensor input On if value equal to Trigger The output is closed if the value matches the Target Value setting On if value higher than Trigger The output is closed if the Current Value is greater than the Target Value setting On if value Lower than Trigger ...

Page 58: ...W product is used Remote GSM modem has to be accessible online via service xml using address A usually on port 80 SOAP protocol is used for communication If the connection is not established or is refused Poseidon tries to send the SMS again The throughput of the remote GSM modem is limited to 5 SMS per minute for Poseidon units and about 20 SMS per minute for SMS GW The modem function can be test...

Page 59: ...uration Stores the setup xml file with device configuration to your HDD Load Configuration Loads a XML file with the configuration from your PC Uptime Time of uninterrupted device operation since last restart Check for firmware updates Online check if a newer firmware version is available at the HW group server Set Default Config Restore factory default settings Restart device resets the unit Upda...

Page 60: ...the file at our website Caution Please contact us in case of any problems with firmware upload Poseidon Firmware Upload step by step Power off the Poseidon Connect the Poseidon2 to the serial port on your PC using a RS 232 cable with the Laplink wiring Set the Poseidon2 DIP switches to DIP1 ON DIP2 OFF DIP3 OFF DIP4 OFF Run the Hercules Setup utility and select the Serial tab Select the serial por...

Page 61: ...ense Free HWg PDMS version for 3 sensors Paid versions for 8 20 200 unlimited sensors HWg Trigger Windows application for detecting and reacting to events Detects for instance disconnected devices failed sensors values out of range or incoming SNMP Trap alerts Possible responses include sending an e mail activating a relay over the network or sending a text message SMS using HWg SMS GW Other respo...

Page 62: ...seidon2 can connect to the SensDesk Internet service All devices can be managed from a single WWW interface Watch sensor states display your devices in a map compare trends in time and analyze alarm messages SensDesk is a way to implement fully functional monitoring of customer technology in a matter of minutes with fixed costs of the system No need for installing a complex system or adding anothe...

Page 63: ...the device to a computer network and set the network parameters More in First steps chapter in the user manual 2 Go to the device s WWW setup Portal tab in the Portal Config section tick the Portal field save the changes and then press the Manual Push button Standard procedure http sensdesk com portal php Click the message in Portal message section ...

Page 64: ...Poseidon2 Family manual HW group www HW group com 64 104 ...

Page 65: ... Register to Portal link to get to the registration form 5 Create the login details E mail address has to be unique for the whole portal Company name field allows you to create a 3rd level domain typically company sensdesk com If you leave this field empty a user name will be used for the sub domain A user account will be created after clicking the Create new account button and at the same time an...

Page 66: ...time is needed set the AutoPush parameters in the device s setup 7 Device Password can be found in the user account options on SensDesk com My Account in the field Push This password is saved in devices and mobile applications Device password cannot be changed and for security reasons it is different to your user password 8 Mobile phone app SensDesk Mobile In the account configuration settings on ...

Page 67: ...s digital inputs and outputs to the screen or to a file Set the state of an output with a command line command Read the state of an input and set the ErrorLevel return value accordingly Download or upload the values xml file containing the current readings Download or upload the setup xml file containing device configuration for easy device cloning Features Windows and Linux version Source code in...

Page 68: ...d XML file A simple XML parser is sufficient to transform the data into another structure However to receive alarm alerts a SNMP trap parser needs to be implemented and so on All of these functions use standard interfaces On the other hand unless you already have a complete SNMP implementation in your software it is easier to use HWg SDK functions that invoke the respective event handlers in your ...

Page 69: ...ith NVT commands based on a RFC2217 extension by HW group Functions used hwudps_init hwudps_uninit hwudps_reinit hwudps_search hwudps_search_finish hwudps_count hwudps_record hwudps_setup hwudps_setup_finish hwnvt_init hwnvt_uninit hwnvt_open hwnvt_close hwnvt_open_finish hwnvt_clr_callback_struct hwnvt_in_change2callback hwnvt_get_in hwnvt_wait_finish hwnvt_get_in_cache hwnvt_get_out hwnvt_get_ou...

Page 70: ...og window EX105 XML file downloader XML B An application to demonstrate UDP search for devices reading basic network parameters and downloading and parsing the XML file with sensor and binary input states Readings can be downloaded from up to five devices at a time Written in Borland C Builder using the HWg SDK Functions used hwudps_init hwudps_uninit hwudps_reinit hwudps_search hwudps_search_fini...

Page 71: ...ures Using the PosDamInstWiz dll high level library Support for Poseidon and Damocles products Using the Installation Wizard Storing all values from all devices into one large shared table Setting the digital outputs Setting the safe range thresholds for analog sensors EX110 Setting outputs The application shows how to use the Installation Wizard to add a device to the host application All sensors...

Page 72: ...pplication shows how to change the values of digital outputs It shows how to create a non blocking application that does not freeze the graphical user interface HTTP authentication is supported for access to the device Written in Borland C Builder using the HWg SDK Functions used hwxml_init hwxml_uninit hwxml_open hwxml_close hwxml_authenticate_set hwxml_clr_callback hwxml_callback hwxml_send_setu...

Page 73: ... in C and compiled in Borland C Builder using the HWg SDK Demonstrated features Displaying a list with sensor states digital inputs and outputs on the screen or recording it to a file Setting an output using the command line Reading the state of an input and setting ErrorLevel according to the returned value Downloading and uploading the values xml file Downloading uploading the setup xml configur...

Page 74: ...74 104 Documentation for programmers Generated automatically using the Doxygen system Opens after SDK installation or by clicking HW group SDK HWg SDK main page Conclusion Register and download the current SDK version on the page http www hw group com ...

Page 75: ...DEVICE_NAME is truncated to a maximum of 8 characters SENSOR1 _NAME is truncated to a maximum of 6 characters Values are only positive or negative integers no decimal separators The list always shows all sensors including those in alarm Temperature is displayed in the following format 48C Humidity is displayed in the following format 10 SMS example Device name Poseid11 Sensors in Alarm Rack11 48 5...

Page 76: ...X XXX XXXX X XXXX X XXXXXXXX XXXXX XXXXXXXXXXXXXXX XXXX XX XXX XXXX X XXXX X XXXXXXXX XXXXX XXXXXXXXXXXXXXX XXXX XX XXX XXXX X XXXX X XXXXXXXX 2 Device_NAME http Device_IP 00 0A 59 xx xx xx Description When a sensor is not available disconnected not found 999 99 is shown All texts that exceed the reserved length are truncated Device name is 16 characters long sensor names are 15 chars long Reading...

Page 77: ...oom is deactivated Alarm activation DATE TIME Device_NAME Device_IP 10 10 2005 15 04 27 Server_room1 192 168 1 20 Email initiated 48245 T Room Alarm ACTIVATED ID SENSOR_Name VALUE UNIT Safe_RANGE ALARM ALARM state 48245 T Room 25 30 C 45 0 22 0 Enabled 1 C water OFF if OFF Sensors list 48245 T Room 25 30 C 45 0 22 0 Enabled 1559 H Room 53 00 RH 30 0 80 0 Enabled 48 T Srv01 27 30 C 49 0 25 1 Disabl...

Page 78: ...0 C 150 0 105 0 Enabled 1 C water OFF if OFF 2 C AirFl OFF if ON 3 C Door1 OFF Disabled Server_room1 http 192 168 1 20 00 0A 59 00 00 00 Periodical e mail DATE TIME Device_NAME Device_IP 10 10 2005 15 04 27 Server_room1 192 168 1 20 Email initiated Periodical report ID SENSOR_Name VALUE UNIT Safe_RANGE ALARM ALARM state 1 C water OFF if OFF Sensors list 48245 T Room 21 30 C 45 0 22 0 Enabled 1559 ...

Page 79: ...nt without measure Min 10 0 Min Lower alarm limit string with a decimal point without measure Max 50 0 Max Upper alarm limit string with a decimal point without measure Hyst 0 0 Hyst Hysteresis range string with a decimal point without measure SNMPTrap 1 SNMPTrap SNMP Trap 0 off 1 on EmailSMS 0 EmailSMS E mail SMS 0 off 1 on AlarmState Active AlarmState Alarm Active or Inactive Color 0 Color Line ...

Page 80: ... WSDL ValuesReport AlarmReminder Portal Features Model 34 Model Technical device type available also over UDP Setup 5 chars VendorID 10 VendorID Vendor ID number 0 65565 16 bit number in ASCII MAC 00 0A 59 03 0C 91 MAC Unique device MAC address Uptime 564620 Uptime Total running time since last restart Title Poseidon model 1250 Title Customizable device title Top of the HTML page Read only Marketi...

Page 81: ...ntry Entry ID 2 ID Binary input 2 Name Binary 2 Name Number I2 Number Value 0 Value Alarm 2 Alarm Delay 0 Delay State 0 State SNMPTrap 0 SNMPTrap Email 0 Email SMS 0 SMS ApDelta 0 ApDelta Entry Entry ID 3 ID Binary input 3 Name Binary 3 Name Number I3 Number Value 0 Value Alarm 2 Alarm Delay 0 Delay State 0 State SNMPTrap 0 SNMPTrap Email 0 Email SMS 0 SMS ApDelta 0 ApDelta Entry BinaryInSet Binar...

Page 82: ... to use in the future Min 1 5 Min SafeRange minimal limit Max 24 6 Max SafeRange maximal limit Hyst 0 0 Hyst Hysteresis non sensitivity range value SNMPTrap 1 SNMPTrap SNMP trap alarm enable 0 don t send 1 send if value out of SafeRange Email 0 Email E mail alarm enable 0 don t send 1 send if value out of SafeRange SMS 0 SMS SMS alarm enable 0 don t send 1 send if value out of SafeRange Delay 0 De...

Page 83: ...ommunity settings 32 chars IPaddr 192 168 1 39 IPaddr SNMP trap destination IP address Port 162 Port SNMP trap destination port E 1 E Enable Disable destination 0 1 Entry Entry Idx 2 Idx Community Community IPaddr IPaddr Port Port E 0 E Entry Entry Idx 3 Idx Community Community IPaddr IPaddr Port Port E 0 E Entry Entry Idx 4 Idx Community Community IPaddr IPaddr Port Port E 0 E Entry Entry Idx 5 I...

Page 84: ... with a username ServerAddress www sensdesk com portal php ServerAddress full URL of the remote server PortalPort 80 PortalPort Portal listening port PortalMessage a href http www sensdesk com 80 sensdesk device 779 target _blank SensDesk com Check sensor online a PortalMessage Portal communication status Portal_PushTimer 7 Portal_PushTimer Counts out the time to the next standard data sending Por...

Page 85: ...ice can storage data format hours mins secs it is only proximate value Report Periodic email with current value and logged data E 0 E Enable periodic reporting Period 5 Period Reporting period in min Minimal is 5 minutes Erase 0 Erase 0 1 1 Erase reported delivered to SMTP server values from Logfile LogName spilog LogName Name of logfile Report LogCapacity 0 0 0 LogCapacity DataLogger Security Sec...

Page 86: ...ntry Entry Read Write Outputs Read only device configuration Idx 2 Idx Name Name Name Pswd Pswd Password you can see current Password in Flash Setup Entry Entry Read Write access to setup xml and Flash setup interface Idx 3 Idx Name Name Name Pswd Pswd Password you can see current Password in Flash Setup Entry User Root ...

Page 87: ...nt 1 value value_count 1 log_type 0 normal periodical 1 alarm log_group Type of sensors o 0 Wire1 sensors o 1 RS232 sensors o 2 RS485 sensors o 3 inputs o 4 outputs value_count of values in this record value_id i Unique ID in the Poseidon device o 1 64 Digital inputs o 128 Digital outputs o 65 A 122 z RS485 sensors o 0 1 RS232 sensors o 256 65535 Wire1 sensors value i the most important number in ...

Page 88: ... and finisher log digital inputs and outputs RECORD STRUCTURE spi_record_header data_record_header data_1 data_2 data_n typedef struct u_char occupied_bytes record length data TSpiRecordHeader u_char type Record type LOG_FILE_DATA_TYPE LOG 0 ALARM 1 time_t time sampling time u_long TSpiRecordHeader typedef struct u_char type Sensor type 0 Wire1 sensors 1 RS232 sensors 2 RS485 sensors 3 inputs 4 ou...

Page 89: ...K F Current value of the sensor No 1 through x where x is the value at address 100 Units are configured in WEB Setup Binary values Address I O Type Functions Units Description 100 102 In bit 2 0 1 Current values of binary inputs 200 In bit 1 0 1 Reads the current value of the DTR output 200 Out bit 5 0 1 Sets the value of the DTR output 201 In bit 1 0 1 Reads the current value of the RTS output 20...

Page 90: ...esses of sensors and digital inputs for the online Poseidon demo Poseidon_Sensors mbp and Poseidon_Inputs mbp are available on the CD or as an archive on the Internet Open these two files select a TCP IP connection and the address of our online demo and establish the connection Connecting over Modbus TCP to our online demo A permanently running Poseidon2 unit with a public IP address is installed ...

Page 91: ... and several clients 1 Server part is HWg SMS GW device or Poseidon 4002 2250 with a GSM modem 2 Clients can be software applications other Poseidon units HWg PWR and others Functions provide by netGSM SMS sending Drop calling remote telephone number Receiving SMS only for HWg DCD Receiving drop calls only for HWg DCD Devices supporting netGSM netGSM Server contains a SIM card HWg SMS GW HWg SMS G...

Page 92: ...d With default settings it is necessary to first activate the GSM modem in Serial port Settings and then set the GSM Function to Local Deactivation of SOAP destination is optional just as SMS Ring when Alarm option XML settings example SerialPort E 1 E SerialPort SMS Function 1 Function Ring 0 Ring Dest 1 Dest Module Ready Module CenterNmr 420608005681 CenterNmr Recp1 777232759 Recp1 Recp2 State 1...

Page 93: ...d settings of phone numbers for sending SMS messages SMS Ring when Alarm function is optional Settings example in XML SerialPort E 0 E SerialPort SMS Function 0 Function Ring 0 Ring Dest 1 Dest Module Ready Module CenterNmr Recp1 777232759 Recp1 Recp2 State 13 State Message OK Message SMS SOAP Entry Idx 1 Idx E 1 E Server 192 168 2 23 Server Port 80 Port Route service xml Route Entry SOAP ...

Page 94: ...s received XML with data Command action for example a request of values XML with data ServiceStatus info about the service rslt disabled netGSM SMS sending or drop call requests An ID is assigned after the request is queued with which it is possible to ask for the request state Sent commands are QueueAdd queue qGsmOut cmd SMS Call phone number and a message text or cmd ringNotify phone number Repl...

Page 95: ...ll into the queue pos QueueAdd Queue GsmOut Queue Gsm Cmd Call Cmd Nmr 00420800123456 Nmr Gsm pos QueueAdd Reply pos QueueAdd Rslt 0 Rslt ID 121 ID pos QueueAdd Get from the queue non specified request pos QueuePick Queue GsmIn Queue ID 121 ID pos QueuePick Reply for qGsmIn pos QueuePick Rslt 0 Rslt Gsm Cmd SMS Cmd ID 121 ID Nmr 00420800123456 Nmr Text Poseidon halo halo Text Gsm pos QueuePick Get...

Page 96: ...s Rslt 0 Rslt Retry 5 Retry pos RecordStatus Erase queue record pos RecordDelete Queue Rfid Queue ID 120 ID pos RecordDelete Reply pos RecordDelete Rslt 0 Rslt pos RecordDelete Information on putting into queue qGsmln pos NotificationEvent Queue GsmIn Queue DeviceName device name DeviceName MAC 00 0A 59 00 B1 66 MAC Gsm Cmd SMS Cmd ID 120 ID Nmr 00420800123456 Nmr Text Poseidon halo halo Text Gsm ...

Page 97: ...vided by a device over SNMP is relatively quick to implement In the standard communication mode a request and response communication model is used Variables are defined by a hierarchy sequence of numbers that is described in the MIB table where the meanings names and formats of individual variables are given If you know the hierarchy numeric line for example 1 3 6 1 4 1 21796 3 3 1 1 2 3 Binary 3 ...

Page 98: ...amily manual HW group www HW group com 98 104 Downloading the MIB file from the main product web page The MIB file is located in the device itself Use the right mouse button in your browser to download and save it ...

Page 99: ...m 1 3 6 1 4 1 21796 3 3 1 1 4 3 inpTable inpEntry inpSetupAlarm No 0 Alarm for the binary input generated by the device under defined conditions RTS Output Port 2 1 3 6 1 4 1 21796 3 3 2 1 2 2 outTable outEntry outState Off 1 Binary input state integer Sensor 1 Name 1 3 6 1 4 1 21796 3 3 3 1 2 1 tempTable tempEntry sensorName HTemp temp Sensor name string Sensor 1 State 1 3 6 1 4 1 21796 3 3 3 1 4...

Page 100: ... 6 2 Sensor 2 current value 10 integer 1 3 6 1 4 1 21796 3 3 3 1 6 10 Sensor 10 current value 10 integer 1 3 6 1 4 1 21796 3 3 3 1 2 1 Sensor 1 name R W string 1 3 6 1 4 1 21796 3 3 3 1 2 2 Sensor 2 name R W string 1 3 6 1 4 1 21796 3 3 3 1 4 1 Sensor 1 state integer 0 Invalid 1 Normal 2 AlarmState 3 Alarm 1 3 6 1 4 1 21796 3 3 3 1 5 1 Sensor 1 current value units included string 1 3 6 1 4 1 21796...

Page 101: ...ensor is in alarm upon startup two more traps immediately follow Alarm raised on a dry contact A pair of SNMP traps sent when an alarm is activated for a dry contact The first trap contains alarm activation identification for maintaining the alarm table The second trap contains for instance the name of the input in alarm Alarm terminated on a dry contact A pair of SNMP traps sent when an alarm end...

Page 102: ...ables in the SNMP tree reading the values setting the values and displaying details according to the MIB Before using the utilities we recommend to watch the demonstration Flash animation that is available at our website License Freeware Supported OS Windows 2000 XP 2003 Server Communication protocol SNMP contains MIB Manager Alarm response No SNMP trap reception not supported ...

Page 103: ...es for working with SNMP variables They allow browsing the variables in the SNMP tree reading the values setting the values and displaying details according to the MIB that can be loaded to the utility Before using the utilities we recommend to watch the demonstration Flash animation that is available at our website ...

Page 104: ...Transmit Data 4 DTR Data Terminal Ready 5 GND System Ground 6 DSR Data Set Ready 7 RTS Request to Send 8 CTS Clear to Send 9 Not used RJ11 1 Wire 5V Power 1 Not used 2 Data Transmit Data 3 GND Ground 4 5V Power Not used RJ45 RS 485 1 Not used 2 Not used 3 485 B back 4 B RS 485 5 A 6 485 A back 7 GND Ground 8 12V Power Power connector ...

Reviews: