Aliaro reserve the right to vary from the description given in this data sheet and shall not be liable for any errors.
www.aliaro.com
Each module is instantiated with the correct IP-
Address (“url”) and module name (“devices”)
parameters. The defaults for these are:
•
“url”
- 192.168.1.149
•
“devices”
- AL-1020U-XXX-ModY
where X is the device serial number printed on the chassis and Y the slot number
of the card (1-3).
The following API is available for each driver:
class PowerSwitchBoard(__builtin__.object)
Methods defined here:
__init__(self, url=None, devices=None)
Method for instantiating the PowerSwitchBoard class
get_digital_state(self, channel)
Method for reading the digital state of a channel
:param channel: 0..11
:return:
get_source(self, channel)
:param channel: (int32) 0..11
:return:
set_source(self, channel, source)
:param channel: (int32) 0..11
:param source: (int32) 0(Disabled)
1(Power_1)
2(Power_2)
:return: