Home
        Sensorsoft Power Sensor User Manual for SP6400J
         Contents
1.    lt 01h gt   lt 00h gt   lt 00h gt   lt 00h gt   lt 00h gt   lt 00h gt   lt 20h gt   lt S5Eh gt     The ID response contains four variable length null terminated strings  The sequence of four  strings begins at the 10  byte in the response packet     To read the SSD   s description  count to the 10  byte in the ID response and extract the following  ASCII null terminated string     Following this is the manufacturer   s name  also a null terminated string     13    Sensorsoft Power Sensor User Manual    The third null terminated string is the SSD   s model number  The model number can be used to  uniquely identify the type of SSD  so that your software can configure itself appropriately for  different models of SSDs     The fourth and final null terminated string is the SSD   s firmware version     Structure of the ID response packet    Byte Description of field    1 Response byte  2 3   Packet length  4 9   Notused  10   Device name or description  null terminated   a Manufacturer  null terminated       Model Number  null terminated     Firmware Version  null terminated       Record Terminator  FFh   a CRC bytes  2                                         Sample ID response packet from a SP6400J Sensorsoft Power Sensor    Byte Contents    1  lt 90h gt    2    lt 46h gt    3    lt 00h gt   4 9    lt O1h gt   lt 00h gt   lt 00h gt   lt O1h gt   lt 03h gt   lt 07h gt   10   Sensorsoft  TM  Power Sensor  lt 00h gt      Sensorsoft Corp   lt 00h gt        SP6400  lt 00h gt      1
2.  02  lt 00h gt         lt FFh gt    ms  lt 09Dh gt   lt 017h gt                                            14    Sensorsoft Power Sensor User Manual    Getting Help    Limited Warranty    Sensorsoft Corporation warranties Sensorsoft products to be free from manufacturing defects for  a period of two years  This includes parts and labor  All shipping and brokerage fees are your  responsibility when returning a Sensorsoft product for warranty claims  The following will void  the warranty and 30 day money back guarantee     e signs of water or chemical damage  e cracks to the housing  e signs of tampering or reverse engineering    Technical Support    If in the unlikely event you should have problems installing or using your Sensorsoft product and  the previous sections of this manual have failed to provide a solution  we offer technical support  to help you overcome your difficulties  see web site address below   No charge installation and  configuration support is provided for 90 days  after that there is a per incident fee  Sensorsoft  Corporation does not provide free support to those wishing to write their own software  this is  available on a charge per incident basis only  Please contact us for current rates     World Wide Web  http   www sensorsoft com  E mail  support sensorsoft com    30 Day Money Back Guarantee    If for any reason you want to return a Sensorsoft product for a refund  you can do so within 30  days  calendar days  of your purchase  The refund does not 
3.  CMD byte to the last ARGUMENT byte or ADDRESS byte     Send the following bytes to request a status reading     Hex C1 0B 00 01 00 00 00 00 00 47 98    Send the following bytes to request the Boolean state of the sensor     Hex C5 0C 00 01 00 00 00 00 00 01 OE 49    Note  In the above examples the last two bytes are CRC bytes that were pre calculated     11    Sensorsoft Power Sensor User Manual    Receiving responses from the Sensorsoft Power Sensor    Each response packet the Sensorsoft Power Sensor returns is in the following format    lt RESPONSE byte gt   lt PACKETlength bytes gt   lt DATA byte s  gt   lt CRC bytes gt     RESPONSE byte  A single byte response code indicating the type of response  Valid codes are 90 hex or 94 hex     PACKETlength bytes  Two bytes indicating the total length of the packet from start to finish  includes CRC bytes      DATA byte s    Most responses return additional data in the form of byte s   In response to a command to read the  sensor s Boolean state  one byte is returned for DATA byte s   Receiving a 00h byte in this  placeholder indicates a POWER OK condition while a 01h indicates a POWER FAIL  condition  In response to a status command  one byte is returned for DATA byte s   See  SENSORSOFT DEVICE STATUS BYTE FORMAT chart     CRC bytes   A two byte  16 bit  Cyclic Redundancy Check  This placeholder is filled with CRC bytes  calculated by the Sensorsoft device on the entire packet from the RESPONSE byte to the last  DATA byte  These b
4.  position modular plug for round stranded wire cables  P N 5 557961 3  CATS    AMP DB 9 receptacle subminiature D connector  crimp snap in   P N 205203 1 or  3   AMP DB 25 receptacle subminiature D connector  crimp snap in   P N 205207 1 or 207463 1  AMP socket crimp contact for subminiature D connectors  P N 1 66504 0   AMP pin crimp contact for subminiature D connectors  P N 1 66506 0    Sensorsoft Power Sensor User Manual    Cable P N C2000  9 pin Serial Port to Sensorsoft Device  DB 9F to RJ45 modular plug    9 pin Port Sensorsoft Device  3 TX white green RX 1  2 RX white orange TX 3  4 DTR white brown POWER  V 7  7 RTS blue POWER  V 4  5 SIGNAL GND green GND 2    P N C2000 is for use with PC   s and most other devices which have a 9 position serial  port  F indicates female socket type connector     Cable P N C2001 and C2002    DTE Serial Port to Sensorsoft Device  DB 25 to RJ45 modular plug       DTE Port Sensorsoft Device  2 TX white green RX 1  3 RX white orange TX 3  20 DTR white brown POWER  V 7  4 RTS blue POWER  V 4  7 SIGNAL GND green GND 2    P N C2002 is for use with Sun SPARCstation or SPARCserver serial ports A or B  The  DTE end of this cable uses a DB 25M connector  P N C2001 is for use with PC   s that  have a DB 25 connector  The DTE end of this cable uses a DB 25F connector  M  indicates male pin type connector  F indicates female socket type connector     Sensorsoft Power Sensor User Manual    Cable P N C2012    DCE Serial Port to Sensorsoft Device  DB 
5. 25M to RJ45 modular plug    DCE Port Sensorsoft Device  3 TX white green RX 1  2 RX white orange TX 3  6 DSR white brown POWER  V 7  5 CTS blue POWER  V 4  7 SIGNAL GND green GND 2    P N C2012 is for use with some multiport cards and terminal servers that have a DCE  pin out  M indicates male pin type connector     Sensorsoft Power Sensor User Manual    Writing programs for the Sensorsoft Power Sensor    The following describes how to write your own programs for the Sensorsoft Power Sensor  This  Sensorsoft device uses a binary  packet formatted  master slave protocol  All data is represented  in the little endian format   least significant byte is first and the most significant byte is last   Your host computer  master  must send commands to and receive responses back from the  Sensorsoft device  slave      Use the following parameters when programming the serial port where the Sensorsoft device is  connected     Bit rate  1200 bps    Bits  8  Parity  none  Stop bits  1    Flow control  none  Null discard  do not strip NULL bytes    In order to make use of the port powered feature of the Sensorsoft device you must enable serial  port lines DTR and RTS when the port is opened  A delay of 1 2 seconds is required after  opening the serial port before any commands are sent to the Sensorsoft device  This delay allows  the Sensorsoft device to power up correctly before it receives any commands and prevents  incorrect readings     You should also be aware that the Sensorsoft devic
6. Sensorsoft      Sensorsoft  Power Sensor  User Manual    Model SP6400J  Manual P N 071 0033 Rev5 October 24  2014    Copyright    1999 2014 Sensorsoft Corporation  All rights reserved   Sensorsoft and Soft Power Sensor are trademarks of Sensorsoft Corporation     Table of Contents    OVOIVICWS sass  E tate etapa E nano A E T oats Resta ap tae ae eee eat 4  ADOUL tS Manual iz cic cece Fash cee rdia aa ERE RA a cea cage ne sagerensstnadadeeneeeen sonar EAREN EEES 4  Installing the Sensorsoft Power Sensor           eeeccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeaeeecegeeaeeeseeeaeeeseeaeeeeeenaes 5  Choosing a Location for Installation            ccccceceeeeeeeeeeeeeeeeeeeeeseeeaeeeeseeeaeeeseeeaeeeseeaeeesenaeeeeeeaaees 5  Connecting the Sensorsoft Power Sensor to a Serial POFrt           ececceeeeeeeeeeeeeeeeeeeteeeeeeneeeeeeeaaes 5  SP6400J Sensorsoft Power Sensor Specifications                 ccccccecceeceeceeceeeeeeeeeeneeceeeeeeeetesessucaeeeeees 6  Making communication cables for J Suffix Sensorsoft DEVICES    cece ee eeeeeeeeeeeeeeeeeneeeeeeaes 7  Writing programs for the Sensorsoft Power SeENSOl           ccccceseceeeeseeeeeeeeeeeeseeeeeeeeeenaeeeeeeneeeeeeaes 10  Sending commands to the Sensorsoft Power SENSO           ecceeceeeeeeeeeeeeeeeeeeeeeeneeeeeeenaeeeeneaaes 10  Receiving responses from the Sensorsoft Power Sensor            ceecceeeeeeeeeeeeeneeeeeeneeeeeeeneeeeseaaes 12  Reading the Sensorsoft ID Record            cee ceeceeeeeeeeeeeneeeeeeeeeeeeeaaeeeseeaeees
7. bles  The following  details will assist you in doing that     A properly made cable will allow your Sensorsoft device to operate reliably over long cable  lengths up to 305 m  1000 ft  long  The Sensorsoft device modular jack connector uses the same  UTP wire map as 10 BASE T and ISDN  It is therefore possible to use this type of cabling  system for Sensorsoft devices     PIN OUT OF THE MODULAR 8 POSITION JACK PLUG ON A SENSORSOFT DEVICE    Note  Terminal No  1 is the terminal to the extreme left as you face the cable opening  latch tab down     Terminal Function UTP wire color  solid tracer    1s  ST Receive Data white green _     3   STTransmitData__  white orange            ble o     4  Power  V_   C blue    5  Ground  white blue     6  Ground  orane y   8  Ground  brown S    O    The following are suggested specialized tools and parts needed to make good quality cables        Hand Tools    AMP Crimping Tool P N 1 231652 0 or 2 231652 1  for modular plugs   AMP 8 position modular die set P N 853400 1   AMP Crimping Tool P N 90312 1 or 90302 1  for subminiature D pin or socket contacts  AMP PROCRIMPER P N 58448 2  for subminiature D pin or socket contacts   AMP Insertion Extraction Tool P N 91285 1  for subminiature D connector contacts    Materials     Berk Tek UTP  Unshielded Twisted Pair  round stranded cable  P N 540036  TP   4 pair  8  24 AWG wires  category 4 or better  75 C     AMP 8 position modular plug for round stranded wire cables  P N 5 554169 3  CAT4    AMP 8
8. e has an inter packet retry time out delay  This  delay is one  1  second and is encoded into the Sensorsoft device   s firmware  If your program  sends a command to the Sensorsoft device and it receives no response  your program must wait at  least one  1  second before re sending that command  Possible reasons that a Sensorsoft device  may ignore your commands can be due to data transmission  CRC  errors or improper power up  delay during hot plugging     Sending commands to the Sensorsoft Power Sensor    Each command packet your host sends to the Sensorsoft Power Sensor must be in the following  format      lt CMD byte gt   lt PACKETlength bytes gt   lt ADDRESS bytes gt   lt ARGUMENT byte gt   lt CRC bytes gt     CMD byte  A single byte command indicating the desired action the Sensorsoft Power Sensor device should  carry out     PACKETlength bytes  Two bytes indicating the total length of the packet from start to finish  includes CRC bytes      ADDRESS bytes    The six byte  48 bit  address of the device you are sending the command to  For RS232  Sensorsoft Devices this is always decimal 1     10    Sensorsoft Power Sensor User Manual    ARGUMENT byte   The number of the Sensorsoft Power Sensor s internal register you want to read or write  This  byte must be 01h  register 1  to read the Boolean state of the sensor  This byte is not required for  the status command    CRC bytes   A two byte  16 bit  Cyclic Redundancy Check that is calculated on the entire packet from the 
9. eeaeeeeeenaeeeeneieeeeneaes 13  Getting Hel a EE EEE E PE eck aap T A E E E A E da apace T E opie meatineh brag aaatapsee mane 15  kime d Waran asra iene aR a AREE R anae TAR RESE EERE AA ae TARR EA ESRA ARR RAE ETRA 15  Technical  SUpport asee e aa aaa a a e E a a Ea OA Ee a E A AE a E Ea AE e Salat 15  30 Day Money Back Guarantee    eeccccceeeee tenner erent ee eee eeee ee eaeeeeeeaeeeseeaeeeeeeaeeeeneneeeeneaas 15    Co 10 kc aA eR Pe NP OEP ne ee a 15    Sensorsoft Power Sensor User Manual    Overview    The SP6400J Sensorsoft Power Sensor is an RS232 compatible serial device based on the  Sensorsoft Device Protocol  The SP6400J is intended for applications where the customer needs  to be immediately informed of the loss or availability of AC power source  The SP6400J detects  the loss or availability of AC power source using an AC DC power adapter connected to its 2 1  mm power detector jack  The SP6400J provides a boolean state output indicating POWER FAIL  or POWER OK     The SP6400J monitors the voltage level on its 2 1 mm power detector jack using a threshold  comparator  Using an external AC DC power adapter  the SP6400J  can detect a power failure  when AC line voltage drops to 50 percent of the normal line voltage  See specifications in this  document for appropriate AC DC power adapters to use with this device     Sensorsoft Devices offer the following features and benefits over other RS232 serial devices     Powered from the serial port  no external power or bat
10. illan Publishing   Pg  107 112   e The modem reference  the complete guide to selection  installation  and applications  2nd  edition  Michael A Banks  Brady Publishing 1991  Pg  27 42    12    Sensorsoft Power Sensor User Manual    SENSORSOFT DEVICE STATUS BYTE FORMAT    B NAME DESCRIPTION    PNA    5 NV option  6 EEPROM fail    A logic one condition on any of these bits indicates the condition is set or active  Otherwise they  are reset to logic zero  It is a good practice for the host to check the status of the Sensorsoft  device on a regular basis in case a bit changes state        If bit 0 is set  this indicates that the Sensorsoft device power supply voltage is too low     When bit 3 is set  this indicates that the Sensorsoft device has just powered up  This bit gets reset  after the status is read     Bits 1 2 4 5 6 and 7 can be ignored  they are not used in the SP6400J     Reading the Sensorsoft ID Record    Every Sensorsoft Device  SSD  accepts an identification  ID  command  whose response can be  used to uniquely identify the type of SSD currently connected  Specifically  the model number  and description can be extracted from the SSD   s ID response  allowing application software to  determine the specific model of the SSD connected and to configure itself appropriately    The format of the ID command is identical to the format of all other commands  described earlier   Send the following bytes to the SSD to request the ID    Hex  lt C3h gt   lt OBh gt   lt 00h gt
11. include shipping or brokerage fees  you may have incurred or paid     Returns    If returning a product or item  please keep in mind the follow guidelines     e Contact Sensorsoft for an RMA number  Return Material Authorization     e Provide a detailed explanation or reason for returning the product    e Return shipments that bear no RMA number  on the outside of the package  or are not  prepaid for shipping clearing charges  will be refused     15    
12. server   Please refer to the Sensorsoft price list for the available types of cables     Plug the AC plug of the AC DC power adapter into the AC power source outlet that you wish to  monitor  Plug DC plug  2 1 mm  of the AC DC power adapter into the power jack of the Power  Sensor     If you intend to make your own custom cable for a J Suffix Sensorsoft device  please refer to  Making communication cables for J Suffix Sensorsoft Devices     If you are connecting the Power Sensor to a device server please be sure to configure the port as  follows     1200 bps  8 bits  no parity  1 stop bit  Turn off autobaud   Flow control set to none   Non telnet binary  raw  transfer mode  Assert RTS and DTR always    Refer to your device server documentation for more details on the above     Note the physical port number where you plugged the cable into your computer or device server   If the Power Sensor is being plugged into a Windows based computer that has only one COM  port  the port number is usually COM1     Sensorsoft Power Sensor User Manual    SP6400J Sensorsoft Power Sensor Specifications    Detection Capabilities  Can detect availability or loss of AC power source with boolean state  output  PWR_FAIL PWR_OK     Maximum measurement rate  one reading every second   Housing Dimensions  8 cm  3 1   x 4 cm  1 6   x 2 cm  0 8     Housing Material  injection molded ABS thermoplastic   Housing Colour  light gray   Communications connector  8 position modular jack   accepts 8 position pl
13. tery required   CRC error detection  detects transmission errors and improves reliability   Virtually unlimited cable lengths  1000 ft    Plug and go operation  little or no user configuration required     About this Manual    The Sensorsoft Power Sensor may also be referred to as a Soft Power Sensor  Power Sensor   Sensorsoft device or SSD  Sensorsoft Soft Device  throughout this manual     When other sections of this manual are referenced  italics are used     Sensorsoft Power Sensor User Manual    Installing the Sensorsoft Power Sensor    Installation of the Sensorsoft Power Sensor is composed of the following     e Choosing a Location for Installation   e Connecting the Sensorsoft Power Sensor to a serial port   e Starting the Sensorsoft software  Please refer to the specific software manual that applies to  your installation     Choosing a Location for Installation    Locate the Power Sensor within 6 feet  2 m  of the AC power source you are monitoring  Please  also keep the following points in mind     e The Power Sensor can only be powered from the serial port through its RJ45 modular  connector  The 2 1 mm power jack is for AC power detection only    e The computer or device server where you connect the Power Sensor must always be backed  up by a UPS  Uninterruptible Power Supply  in order for it to detect AC power loss     Connecting the Sensorsoft Power Sensor to a serial port    Use the appropriate C200X cable to connect the Power Sensor to your computer or device 
14. ug RJ45    Power source  Port powered  RTS and DTR  both asserted    Power supply current drain   lt  10 mA   Power detector connector  2 1 mm power jack  accepts plug from AC DC power adapters such  as P N PA6109  PA6209 or similar  The minimum voltage on this jack must be 7 8 volts DC for a  PWR_OK reading  A voltage below this would give a PWR_FAIL reading    Power detector method  threshold voltage comparator   Operating temperature range  0    C to  60    C  32    F to  140    F    Communications Interface  RS232C using TX RX RTS DTR and GND  One device per serial  port    Maximum communications cable length  305 m  1000 ft   using recommended cable type  Low  capacitance shielded cable or UTP is recommended    Communications Protocol  Sensorsoft Device Protocol  Version 2 0   Error control  16 bit CRC  cyclic redundancy checking  for detection of communication errors  between the device and host computer     Sensorsoft Power Sensor User Manual    Making communication cables for J Suffix Sensorsoft  Devices    In some applications it is not possible to use pre assembled cables  When installing the Sensorsoft  Power Sensor at a remote location it may be necessary to run cables through walls  ceiling or  conduits where connectors would get jammed  In this situation it makes sense to run the cables  and then terminate them  on site  using hand tools  Further  if your host serial port is of the DCE  type  some multi port serial cards  it will be necessary to make your own ca
15. ytes allow the host to verify the integrity of the response packet  You may  choose to use or ignore these bytes depending on your programming skill or application     The Sensorsoft device returns a normal RESPONSE byte  90 hex  in acknowledgement that the  previous host command was received and executed without errors  The Sensorsoft device only  acknowledges correctly received commands that have no CRC errors  If the Sensorsoft device  detects a CRC error in a received command packet  it does not respond to the command  It is  considered the job of the host to time out and re transmit that command packet     When an internal problem occurs inside the Sensorsoft device it sends out an abnormal response  byte  94 hex  in response to any command from the host  If the host receives this response byte  it  must immediately read and interpret the Sensorsoft device   s status to determine the problem  See  SENSORSOFT DEVICE STATUS BYTE FORMAT chart     The generator polynomial used for the CRC is hexadecimal 1021  The following references  provide information for readers who wish to use the CRC capability     e Calculating CRC   s by Bits and Bytes  Greg Morse  Byte Magazine  September 1986  Pg   115 124   e Implementing CRC s  Jack Crenshaw  Embedded Systems Programming Magazine  January  1992  Pg  18 45   e Technical Aspects of Data Communication  John McNamara  Digital Equipment Press 1982   Pg  110 122   e Data and Computer Communications  2nd edition  William Stallings  Macm
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Panasonic TY-ST32L7-S flat panel floorstand  全文をみる - 国土交通省  Au moins 19 morts dans un attentat terroriste hier en Tunisie  Manuel d`utilisation  KitchenAid KFP0711ER Instructions / Assembly  FAQ: Getting started with your HP Officejet or PSC all-in  RoHS   外1『賓起物規制にも対応。 付属のア  ,`で 難防止寅1策も。  scanpro20 - LaserShowParts    User Manual - produktinfo.conrad.de    Copyright © All rights reserved. 
   Failed to retrieve file