Pigeon Tool

Pigeon Tool

Pigeon Tool is a simple program that allows convenient reading inputs and setting outputs of Pigeon computers.

To download and run the program, use the following commands:

wget www.pigeoncomputers.com/files/pigeon-tool
chmod u+x pigeon-tool
sudo ./pigeon-tool

If operations were correct you should see the following information:

Usage: pigeon-tool [options]

Options:
  --all           read all inputs and display device information
  --i1            read optoisolated input I1
  --i2            read optoisolated input I2
  --i3            read optoisolated input I3
  --i4            read optoisolated input I4
  --i5            read optoisolated input I5
  --i6            read optoisolated input I6
  --i7            read optoisolated input I7
  --i8            read optoisolated input I8
  --id1           read dry contact input ID1
  --id2           read dry contact input ID2
  --id3           read dry contact input ID3
  --id4           read dry contact input ID4
  --bo1 <BOOL>    set binary output O1
  --bo2 <BOOL>    set binary output O2
  --bo3 <BOOL>    set binary output O3
  --bo4 <BOOL>    set binary output O4
  --bo5 <BOOL>    set binary output O5
  --bo6 <BOOL>    set binary output O6
  --bo7 <BOOL>    set binary output O7
  --bo8 <BOOL>    set binary output O8
  --ao1 <FLOAT>   set analog output AO1, FLOAT range 0.00-10.00 (RB300 only)
  --ao2 <FLOAT>   set analog output AO2, FLOAT range 0.00-10.00 (RB300 only)
  --ai1           read analog input AI1 (RB300 only)
  --ai2           read analog input AI2 (RB300 only)
  --ai3           read analog input AI3 (RB300 only)
  --ai4           read analog input AI4 (RB300 only)

Examples:
  pigeon-tool --bo1 1    set binary output O1 to 1
  pigeon-tool --ao1 5.00 set analog output AO1 to 5.00V
  pigeon-tool --i1       read binary input I1
  pigeon-tool --id1      read dry contact ID1
  pigeon-tool --ai1      read analog input AI1

For example, when you run the program with the option --all it will read all inputs and displays information about the device:

+---------------------------+
| PIGEON TOOL ver. 1.0      |
| Device: PIGEON RB300      |
| Firmware ver.: 161122.01  |
+-------+-------------------+
| Input | Value             |
+-------+-------------------+
|  I1   |  1                |
|  I2   |  0                |
|  I3   |  0                |
|  I4   |  0                |
|  I5   |  0                |
|  I6   |  0                |
|  I7   |  0                |
|  I8   |  0                |
+-------+-------------------+
|  ID1  |  0                |
|  ID2  |  0                |
|  ID3  |  0                |
|  ID4  |  1                |
+-------+-------------------+
|  AI0  |  1.25 V           |
|  AI1  |  5.00 V           |
|  AI2  |  7.25 V           |
|  AI3  | 10.00 V           |
+-------+-------------------+
Back to Top