Difference between revisions of "DIN Rail Relais 6I6S"
From InCircuit
(added register definition) |
|||
Line 36: | Line 36: | ||
--> | --> | ||
+ | == Railbus Registers / Sub addresses == | ||
+ | |||
+ | Communicating via the [[DIN Rail BUS Protocol]], the DIN Rail Relais 6I6S implements two registers. Both registers have the same layout: | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="text-align:left; " | ||
+ | |- | ||
+ | !style="width: 2em" | SADR | ||
+ | !style="width: 10em"| 31 - 22 | ||
+ | !style="width: 5em" | 21 - 16 | ||
+ | !style="width: 10em"| 15 - 6 | ||
+ | !style="width: 5em"| 5 - 0 | ||
+ | !style="width: 2em" | | ||
+ | |- | ||
+ | | 0 | ||
+ | | 0 | ||
+ | | DIGIN | ||
+ | | 0 | ||
+ | | RELAIS | ||
+ | | R | ||
+ | |- | ||
+ | | 0 | ||
+ | | 0 | ||
+ | | 0 | ||
+ | | 0 | ||
+ | | RELAIS | ||
+ | | W | ||
+ | |- | ||
+ | | 1 | ||
+ | | 0 | ||
+ | | DIGIN | ||
+ | | 0 | ||
+ | | RELAIS | ||
+ | | R | ||
+ | |- | ||
+ | | 1 | ||
+ | | 0 | ||
+ | | 0 | ||
+ | | 0 | ||
+ | | RELAIS | ||
+ | | W | ||
+ | |} | ||
+ | |||
+ | On reading, the current status of all Pins is transmitted. If the first relais is on, bit 0 is set. If the second relais is on, bit 1 is set, and so on. | ||
+ | |||
+ | On writing only the 6 lowest bits are interpreted, and the relais set accordingly. | ||
+ | |||
+ | Writing to SADR 0 sets the relais only temporary. After a power-cycle all relais will be set to their initial state. This can be set by writing to SADR 1. In this case | ||
+ | the state is set and stored in EEProm. | ||
+ | |||
== Downloads == | == Downloads == | ||
Revision as of 15:12, 9 October 2013
Hardware
DIN Rail Relais 6I6S - 6 Chanel Relais Module
The device DIN Rail Relais 6I6S is equipped with an ATXMEGA 128µC.
Features:
- ATXMEGA 128µC
- 6x Binary input (24 - 230V AC/DC)
- 6x Relais output (COM, NO, NC), switching power: 230V/5A
- Each 1x UART for uplink and downlink
- 1x RS485 via BUS connector
- Arbitrary number of modules mountable side by side
- Easy connection of all modules with BUS connector
- All modules can communicate via UART and RS485
- DIN-Rail enclosure: 6 pitch units (div)
- Other DIN-Rail modules available
- Input voltage: 24V DC
- Tempearture range from -10°C to +70°C
Railbus Registers / Sub addresses
Communicating via the DIN Rail BUS Protocol, the DIN Rail Relais 6I6S implements two registers. Both registers have the same layout:
SADR | 31 - 22 | 21 - 16 | 15 - 6 | 5 - 0 | |
---|---|---|---|---|---|
0 | 0 | DIGIN | 0 | RELAIS | R |
0 | 0 | 0 | 0 | RELAIS | W |
1 | 0 | DIGIN | 0 | RELAIS | R |
1 | 0 | 0 | 0 | RELAIS | W |
On reading, the current status of all Pins is transmitted. If the first relais is on, bit 0 is set. If the second relais is on, bit 1 is set, and so on.
On writing only the 6 lowest bits are interpreted, and the relais set accordingly.
Writing to SADR 0 sets the relais only temporary. After a power-cycle all relais will be set to their initial state. This can be set by writing to SADR 1. In this case the state is set and stored in EEProm.