solenoctrl.pl - Control software for Solenodrive devices over RS485
version 0.1
This scripts implements the control protocol to Solenodrive hardware. Solenodrive is an 8 channel solenoid controller with RS485 interface, 8 digital inputs and 8 user buttons.
Usage: solenoctrl.pl -d <device> -i <ID> -c <channel>
Where device is either a serial port or a TCP socket (format host:portnumber) that provides the interface to the RS485 bus.
device
When using a serial port, the default baudrate used is 57600 bps. To override, pass the parameter 'b' with the required baudrate when invoking the script.
ID is the ID of the Solenodrive you target on the RS485 bus.
ID
channel is the channel to set.
channel
Optionally, a parameter -v <verboselevel> can be passed to modify the verbosity of the Device::Solenodrive module. Defaults to '0', set to '3' for useful debugging.
Lieven Hollevoet <hollie@cpan.org>
This software is copyright (c) 2013 by Lieven Hollevoet.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Device::Solenodrive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Solenodrive
CPAN shell
perl -MCPAN -e shell install Device::Solenodrive
For more information on module installation, please visit the detailed CPAN module installation guide.