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

NAME

proxr_relay_control.pl - Control the NCD ProXR family of relay controllers

SYNOPSIS

proxr_relay_control.pl --port SerialPort --baud Baud --command Command --bank BankNumber --relay RelayNumber {--help}

OPTIONS

--port SerialPort
  Specify the serial port used to communicate with the controller.
--baud Baud
  Specify the baud rate used to communicate with the controller.
  DEFAULT: --baud 115200
--command Command
  Specify the command. Following commands are recognized:
    BANK_STATUS - Print the status of all relays in the specified bank
    BANK_ON     - Turn ON all relays in the specified bank
    BANK_OFF    - Turn OFF all relays in the specified bank
    STATUS      - Print the status of the relay in the specified bank
    ON          - Turn ON the relay in the specified bank
    OFF         - Turn OFF the relay in the specified bank
    ALL_ON      - Turn ON all relays on all banks
    ALL_OFF     - Turn OFF all relays on all banks
    
  DEFAULT: --command STATUS
--bank BankNumber
  Specify the bank number of the relay. This should be a number 1 to 255.
--relay RelayNumber
  Specify the number of the relay. This should be a number 0 to 7.
--version
  Print version information and exit.
--help
  Display basic help.
--man
  Display more detailed help.

DESCRIPTION

  proxr_relay_control.pl is used to control the NCD ProXR family of relay
  controllers