User Tools

Site Tools


acdsn:acdsn-c-fx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

acdsn:acdsn-c-fx [2012/11/26 13:58] – external edit 127.0.0.1acdsn:acdsn-c-fx [2014/08/04 09:47] (current) – removed fdacruz
Line 1: Line 1:
-====== ACDSN-C-FX ====== 
-The following line shows how to address and 
-communicate with a NiX1 slave over a RS485 line. 
- 
-<code bash> 
- 1Qw3 
- ^^^^ 
- |||| 
- |||- option 
- ||-- argument 
- |--- command 
- ---- address 
-</code> 
- 
-===== Commands ===== 
-^ Label     ^ Command ^ 
-|[[#new]]   | N       | 
-|[[#query]] | Q       | 
- 
-===== Arguments ===== 
-==== New ==== 
-^ Label                    ^ Arguments ^ Options                   ^ Comments                                                ^ 
-| new address              | a         | <address>                 | change address                                          | 
-| new buzzer mode          | b         | <mode>                    | buzzer activated or not                                 | 
-| new contact mode         | c         | <contact>\t<mode>         | set contact NO/NC mode                                  |  
-| new discontinuation    | d         | <discontinuation>         | set the timeout value after which the slave consider itself to be abandoned by the server| 
-| new limit                | l         | <ow>\t<limitH>\t<limitL>  | set alarm boundaries                                    |  
-| new mode                 | m         | 0\t<mode>                 | slave enable/disable                                    | 
-| :::                      | :::       | <contact>\t<mode>         | contact enable/disable                                  | 
-| :::                      | :::       | <ow>\t<mode>              | OW device enable/disable                                |  
-| new recess               | r         | <recess>                  | scan-rate interval                                      |  
-| new timestamp            | t         | <timestamp>               | only if RTC defined (used to synchronize clock)         |  
-| new wire                 | w         | -                         | scan the lines and return the number of OW device found | 
- 
- 
-==== Query ==== 
-^ Label                        ^ Arguments ^ Options ^ Comments                     ^ 
-| query buzzer status          | b         ||| 
-| query contact status         | c         ||| 
-| query discontinuation status | d                     | no query from server timeout | 
-| query family                 | f         | <ow>        | get the 1-wire family of device n | 
-| query mode                   | m         | 0 (zero)    | slave active or not   | 
-| :::                          | :::       | <contact>   | contacts active or not | 
-| :::                          | :::       | <ow>        | OW devices active or not | 
-| query recess                 | r                     | scan-rate intervall          | 
-| query status                 | s         | 0 (zero)    | global status | 
-| :::                          | :::       | <contact>   | contacts status | 
-| :::                          | :::       | <ow>        | OW devices status | 
-| query timestamp              | t                     | only if RTC is defined       |  
-| query value                  | v         ||| 
-| query wire                   | w         | 0 (zero)    | tel the number of OW devices connected | 
-| :::                          | :::       | <ow>        | return the OW SID            | 
- 
- 
-===== Options ===== 
-^ Options               ^ Comments ^ 
-|<address>              | 0 to 65535                                  | 
-|<contact>              | 1 or 2                                      | 
-|<limitH>               | Higher alarm limit                          | 
-|<limitL>               | Lower alarm limit                           | 
-|<mode>                 | 0 [disable] or 1 [enable]                   | 
-|<ow>                   | OW devices ranges from 3 to the number of OW devices detected on line | 
-|<recess>               | 0 to 180 [seconds]                          | 
-|<timestamp>            | 0 to 9'999'999'999 [seconds since 1.1.1970] | 
- 
  
acdsn/acdsn-c-fx.1353938291.txt.gz · Last modified: 2014/08/04 09:47 (external edit)