beautypg.com

Sensaphone WEB600 Users manual User Manual

Page 42

background image

42

WEB600 User’s Manual

non-GeneriC data

timestamps

Timestamps can be decoded using the following equations. “div” means integer division where the remainder

is dropped. “mod” means the “modulus” or “remainder”. All values start at “0”. For example, Day 0 is the first

day of the month and Month 0 is January. The year is offset by -2000, so that a value of 9 indicates 2009.

seconds

= (value div 1) mod 60

Minutes = (value div 60) mod 60

hours

= (value div 3600) mod 24

Day

= (value div 86400) mod 31

Month

= (value div 2678400) mod 12

year

= (value div 32140800)

Timestamps are encoded in the reverse:

Timestamp = (seconds

* 1) +

(Minutes

* 60) +

(hours

* 3600 +

(Day

* 86400) +

(Month

* 2678400) +

(year

* 32140800)

42-byte arrays (schedules)

The 42-byte arrays are bitmapped boolean schedule data, where the first bit of the first byte indicates

the first 30-minute block on Sunday morning (12:00:00am to 12:29:59am) and the last bit of the last

byte indicates the last 30-minute block on Saturday evening (11:30:00pm to 11:59:59pm).

input types:

Input Type

Description

0

normally open

1

normally Closed

2

2 .8k Thermistor ºF

3

2 .8k Thermistor ºC

4

10k Thermistor ºF

5

10k Thermistor ºC

6

4-20ma

12

Battery (internal)

13

power (internal)

alarm Condition and realtime state:

State

Description

0

oK (no alarm)

1

low limit alarm or Closed Dry Contact alarm

2

high limit alarm or open Dry Contact alarm

access level:

Access Level

Description

0

access Disabled

1

read-only

2

read-Write