The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

solenoctrl.pl - Control software for Solenodrive devices over RS485

VERSION

version 0.1

DESCRIPTION

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.

SYNOPSYS

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.

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.

channel is the channel to set.

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.

AUTHOR

Lieven Hollevoet <hollie@cpan.org>

COPYRIGHT AND LICENSE

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.