69 lines
1.3 KiB
Markdown
69 lines
1.3 KiB
Markdown
# ePowerSwitch EPICS StreamDevice
|
|
|
|
An EPICS driver based on StreamDevice allowing to control remotely both ePowerSwitch 4 IEC and 8M+
|
|
|
|
# How to use
|
|
|
|
Before any execution, look at startioc.sh.
|
|
|
|
It will show you any environment variables you need to see.
|
|
|
|
After setting up environment variables, you can start by executing
|
|
|
|
```bash
|
|
$ startioc.sh
|
|
```
|
|
|
|
# Documentation
|
|
|
|
## Setters
|
|
|
|
The stream device exposes 4 or 8 individual setter records.
|
|
```
|
|
$(DEVICE_NAME)_set_outlet_n
|
|
```
|
|
|
|
By default, it should be called
|
|
```
|
|
ePowerSwitch_set_outlet_1
|
|
ePowerSwitch_set_outlet_2
|
|
ePowerSwitch_set_outlet_3
|
|
ePowerSwitch_set_outlet_4
|
|
```
|
|
|
|
## Getters
|
|
|
|
The stream device exposes 4 or 8 individual getter records:
|
|
```
|
|
$(DEVICE_NAME)_get_outlet_n
|
|
```
|
|
|
|
By default, it should be called
|
|
```
|
|
ePowerSwitch_get_outlet_1
|
|
ePowerSwitch_get_outlet_2
|
|
ePowerSwitch_get_outlet_3
|
|
ePowerSwitch_get_outlet_4
|
|
```
|
|
|
|
Furthermore, a record exposes the number of sockets of this device:
|
|
It **should not** be overwritten
|
|
|
|
```
|
|
$(DEVICE_NAME)_config_$(CONFIG_PARAMETER_NAME)
|
|
```
|
|
|
|
By default, it should be called
|
|
```
|
|
ePowerSwitch_config_maxOutlet
|
|
```
|
|
|
|
# Test
|
|
|
|
TODO _Should I ship with my java dummy server ?_
|
|
|
|
# User guide
|
|
|
|
- [ePowerSwitch 4 IEC](https://www.kvm-concepts.de/wp-content/uploads/neol_epowerswitch_4iec_manual.pdf)
|
|
|
|
- [ePowerSwitch 8M+](https://www.neol.com/fileadmin/downloads/en/ePowerSwitch-8M-Plus-EN.pdf) |